#include <prvwflt.h>
Inheritance diagram for PreviewFilter:
Public Member Functions | |
PreviewFilter () | |
Constructor for an PreviewFilter object. The object should be initialised to put it in the filter list, but NEVER used for anything. | |
BOOL | Init () |
Initialise a PreviewFilter object. | |
virtual INT32 | HowCompatible (PathName &, ADDR, UINT32, UINT32) |
Override pure virtual function so we can have an instance of this object. | |
virtual BOOL | DoImport (SelOperation *, CCLexFile *, Document *, BOOL AutoChosen=FALSE, ImportPosition *Pos=NULL, KernelBitmap **ppImportedBitmap=NULL, DocCoord *pPosTranslate=NULL, String_256 *=NULL) |
Override pure virtual function so we can have an instance of this object. | |
virtual BOOL | DoExport (Operation *, CCLexFile *, PathName *, Document *, BOOL) |
Override pure virtual function so we can have an instance of this object. | |
Static Public Attributes | |
static MILLIPOINT | PreviewBitmapSize = 96000 |
Allows people to set the approximate size of the Preview bitmap that can be included in Camelot Native EPS files and Camelot EPS files. It is measured in Millipoints and defaults to 96000 (about 128 pixels or just over an inch). | |
Private Member Functions | |
CC_DECLARE_DYNAMIC (PreviewFilter) |
Definition at line 133 of file prvwflt.h.
|
Constructor for an PreviewFilter object. The object should be initialised to put it in the filter list, but NEVER used for anything.
Definition at line 165 of file prvwflt.cpp. 00165 : Filter() 00166 { 00167 ImportMsgID = _R(IDN_IMPORTMSG_TIFF); // the preview used to be a TIFF ?don't know what to do? 00168 00169 // Set it up so that it can neither Import or Export so that it does not appear in the 00170 // Filter menus. 00171 Flags.CanImport = FALSE; 00172 Flags.CanExport = FALSE; 00173 FilterID = FILTERID_PREVIEW; 00174 00175 ExportMsgID = _R(IDS_BUILDINGPREVIEW); 00176 }
|
|
|
|
Override pure virtual function so we can have an instance of this object.
Reimplemented from Filter. Definition at line 277 of file prvwflt.cpp.
|
|
Override pure virtual function so we can have an instance of this object.
Reimplemented from Filter. Definition at line 250 of file prvwflt.cpp.
|
|
Override pure virtual function so we can have an instance of this object.
Reimplemented from Filter. Definition at line 223 of file prvwflt.cpp. 00225 { 00226 //TRACEUSER( "Martin", __FILE__ "(%d) : warning: PreviewFilter::HowCompatible called\n", __LINE__ ); 00227 // Not compatible with anything. 00228 return 0; 00229 }
|
|
Initialise a PreviewFilter object.
Implements Filter. Definition at line 191 of file prvwflt.cpp. 00192 { 00193 // Get an OILFilter object 00194 pOILFilter = new OILFilter(this); 00195 if (pOILFilter==NULL) 00196 return FALSE; 00197 00198 // Load the description strings 00199 FilterName.Load(_R(IDN_FILTERNOTPRESENT)); 00200 00201 // All ok 00202 return TRUE; 00203 }
|
|
Allows people to set the approximate size of the Preview bitmap that can be included in Camelot Native EPS files and Camelot EPS files. It is measured in Millipoints and defaults to 96000 (about 128 pixels or just over an inch). Preference: PreviewBitmapSize Section: Filters Range: 1 to INT_MAX |