#include <webop.h>
Inheritance diagram for OpSaveAsWeb:
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 122 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 158 of file webop.cpp. 00159 { 00160 // Say we do not want it in this baseclass version 00161 return TRUE; 00162 }
|
|
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 137 of file webop.cpp. 00138 { 00139 return FILTERID_WEB; 00140 }
|
|
The OpState function.
Reimplemented from OpMenuSave. Definition at line 214 of file webop.cpp. 00215 { 00216 OpState Blobby; 00217 return Blobby; 00218 }
|
|
Registers the OpDescriptor for the Save Operation.
Reimplemented from OpMenuSave. Definition at line 175 of file webop.cpp. 00176 { 00177 BOOL InitOK = TRUE; 00178 00179 // Register the save as web op desciptor 00180 InitOK = RegisterOpDescriptor( 00181 0, // Tool ID 00182 _R(IDS_SAVEASWEB), // String resource ID 00183 CC_RUNTIME_CLASS(OpSaveAsWeb), // Runtime class 00184 OPTOKEN_SAVEASWEB, // Token string 00185 GetState, // GetState function 00186 0, // help ID 00187 _R(IDBBL_SAVEASWEB), // bubble help 00188 0, //_R(IDD_BARCONTROLSTORE), // resource ID 00189 0, //_R(IDC_FILESAVETEMPLATE), // control ID 00190 SYSTEMBAR_ILLEGAL, // Bar ID 00191 TRUE, // Recieve system messages 00192 FALSE, // Smart duplicate operation 00193 TRUE, // Clean operation 00194 0, // No vertical counterpart 00195 0, // String for one copy only error 00196 (DONT_GREY_WHEN_SELECT_INSIDE | GREY_WHEN_NO_CURRENT_DOC) // Auto state flags 00197 ); 00198 if (!InitOK) return FALSE; 00199 00200 // All worked 00201 return TRUE; 00202 }
|