#include <webop.h>
Inheritance diagram for OpSaveAsNativeV2:
Static Public Member Functions | |
static BOOL | Init () |
Registers the OpDescriptor for the Save Operation. | |
static OpState | GetState (String_256 *, OpDescriptor *) |
The OpState function. | |
Protected Member Functions | |
virtual UINT32 | GetSearchFilterId () |
To allow different ops to just specify different filters and reuse the same operation code to save out the file in different file formats. | |
virtual BOOL | FixFileType () |
To determine whether this operation requires the file type or extension on the specified file path to be correct and match the filter we are about to use. This baseclass version says no as the old native save operation did not do it. |
Definition at line 148 of file webop.h.
|
To determine whether this operation requires the file type or extension on the specified file path to be correct and match the filter we are about to use. This baseclass version says no as the old native save operation did not do it.
Reimplemented from OpMenuSave. Definition at line 262 of file webop.cpp. 00263 { 00264 // Say we do not want it in this baseclass version 00265 return TRUE; 00266 }
|
|
To allow different ops to just specify different filters and reuse the same operation code to save out the file in different file formats.
Reimplemented from OpMenuSave. Definition at line 241 of file webop.cpp. 00242 { 00243 return FILTERID_NATIVE; 00244 }
|
|
The OpState function.
Reimplemented from OpMenuSave. Definition at line 318 of file webop.cpp. 00319 { 00320 OpState Blobby; 00321 return Blobby; 00322 }
|
|
Registers the OpDescriptor for the Save Operation.
Reimplemented from OpMenuSave. Definition at line 279 of file webop.cpp. 00280 { 00281 BOOL InitOK = TRUE; 00282 00283 // Register the save as web op desciptor 00284 InitOK = RegisterOpDescriptor( 00285 0, // Tool ID 00286 _R(IDS_SAVEASNATIVEV2), // String resource ID 00287 CC_RUNTIME_CLASS(OpSaveAsNativeV2), // Runtime class 00288 OPTOKEN_SAVEASNATIVEV2, // Token string 00289 GetState, // GetState function 00290 0, // help ID 00291 _R(IDBBL_SAVEASNATIVEV2), // bubble help 00292 0, //_R(IDD_BARCONTROLSTORE), // resource ID 00293 0, //_R(IDC_FILESAVETEMPLATE), // control ID 00294 SYSTEMBAR_ILLEGAL, // Bar ID 00295 TRUE, // Recieve system messages 00296 FALSE, // Smart duplicate operation 00297 TRUE, // Clean operation 00298 0, // No vertical counterpart 00299 0, // String for one copy only error 00300 (DONT_GREY_WHEN_SELECT_INSIDE | GREY_WHEN_NO_CURRENT_DOC) // Auto state flags 00301 ); 00302 if (!InitOK) return FALSE; 00303 00304 // All worked 00305 return TRUE; 00306 }
|