OpMenuSave Class Reference

Saves the document to the file specified in the params to the disk using the NativeEPS format. More...

#include <nativeop.h>

Inheritance diagram for OpMenuSave:

Operation MessageHandler ListItem CCObject SimpleCCObject OpSaveAsNativeV1 OpSaveAsNativeV2 OpSaveAsWeb List of all members.

Public Member Functions

virtual void DoWithParam (OpDescriptor *, OpParam *pOpParam)
 This function should be over-ridden to perform an operation which requires parameters.
virtual void Do (OpDescriptor *pOpDesc)
 This function should be over-ridden to perform an operation without passing a parameter.

Static Public Member Functions

static BOOL Init ()
 Declares a preference that allows you to clear memory in delete().
static OpState GetState (String_256 *, OpDescriptor *)

Protected Member Functions

virtual BOOL FindFilterAndSave (CCLexFile *pFile, UINT32 nPrefFilter)
virtual Filter * FindFilter (UINT32 nPrefFilter)
virtual BOOL Save (Filter *pFilter, CCLexFile *pFile)
virtual BOOL SaveSpecificFile (Filter *, CCLexFile *pFile)
virtual UINT32 GetSearchFilterId ()
virtual BOOL EnsureFileTypeCorrectId (Filter *pFilter, PathName &Path)
virtual BOOL FixFileType ()

Detailed Description

Saves the document to the file specified in the params to the disk using the NativeEPS format.

Author:
Rik_Heywood (Xara Group Ltd) <camelotdev@xara.com>
Date:
21/12/94

Definition at line 174 of file nativeop.h.


Member Function Documentation

virtual void OpMenuSave::Do (  OpDescriptor *  pOpDesc  )  [virtual]
 

This function should be over-ridden to perform an operation without passing a parameter.

Author:
Simon_Maneggio (Xara Group Ltd) <camelotdev@xara.com>
Date:
9/6/94
Parameters:
OpDesc,: A pointer to the OpDescriptor which invoked the operation [INPUTS]
- [OUTPUTS]
Returns:
-

Errors: -

See also:
Operation::DoWithParam

Reimplemented from Operation.

virtual void OpMenuSave::DoWithParam (  OpDescriptor *  ,
OpParam *  pOpParam
)  [virtual]
 

This function should be over-ridden to perform an operation which requires parameters.

Author:
Simon_Maneggio (Xara Group Ltd) <camelotdev@xara.com>
Date:
9/6/94
Parameters:
OpDesc,: A pointer to the OpDescriptor which invoked the operation [INPUTS] pOpParam: Optional operator parameters, these are similar to a window procedures (lParam, wParam). Each operation requiring parameters will describe what these should be.
- [OUTPUTS]
Returns:
-

Errors: -

See also:
Operation::Do

Reimplemented from Operation.

virtual BOOL OpMenuSave::EnsureFileTypeCorrectId (  Filter *  pFilter,
PathName &  Path
)  [protected, virtual]
 

virtual Filter* OpMenuSave::FindFilter (  UINT32  nPrefFilter  )  [protected, virtual]
 

virtual BOOL OpMenuSave::FindFilterAndSave (  CCLexFile *  pFile,
UINT32  nPrefFilter
)  [protected, virtual]
 

virtual BOOL OpMenuSave::FixFileType (   )  [protected, virtual]
 

Reimplemented in OpSaveAsNativeV1, OpSaveAsWeb, and OpSaveAsNativeV2.

virtual UINT32 OpMenuSave::GetSearchFilterId (   )  [protected, virtual]
 

Reimplemented in OpSaveAsNativeV1, OpSaveAsWeb, and OpSaveAsNativeV2.

static OpState OpMenuSave::GetState (  String_256 *  ,
OpDescriptor * 
)  [static]
 

Reimplemented in OpSaveAsNativeV1, OpSaveAsWeb, and OpSaveAsNativeV2.

static BOOL OpMenuSave::Init (  void   )  [static]
 

Declares a preference that allows you to clear memory in delete().

Author:
Rik_Heywood (Xara Group Ltd) <camelotdev@xara.com>
Date:
19/4/94
Returns:
TRUE if it worked OK, FALSE if not

Reimplemented from SimpleCCObject.

Reimplemented in OpSaveAsNativeV1, OpSaveAsWeb, and OpSaveAsNativeV2.

virtual BOOL OpMenuSave::Save (  Filter *  pFilter,
CCLexFile *  pFile
)  [protected, virtual]
 

virtual BOOL OpMenuSave::SaveSpecificFile (  Filter *  ,
CCLexFile *  pFile
)  [protected, virtual]
 


The documentation for this class was generated from the following file:
Generated on Sat Nov 10 03:58:27 2007 for Camelot by  doxygen 1.4.4