#include <pngfiltr.h>
Inheritance diagram for PNGExportOptions:
Public Member Functions | |
PNGExportOptions (const FilterType FilterID, const StringBase *pFilterName) | |
Default constructor for a PNGExportOptions object to provide PNG export options. | |
PNGExportOptions () | |
virtual BOOL | GetSupportsImageMap () |
virtual BOOL | RetrieveDefaults () |
See BitmapExportOptions for interface details Notes: Gets GIF specific preferences. | |
virtual BOOL | SetAsDefaults () const |
Provides additional implementation to set PNG specific options as defaults See Also: BitmapExportOptions::SetAsDefaults(). | |
virtual UINT32 | GetFilterNameStrID () |
Static Public Member Functions | |
static BOOL | Declare () |
To declare preferences associated with these export options. | |
Static Protected Attributes | |
static UINT32 | g_CompactedFlagsForDefaults = 0 |
Definition at line 120 of file pngfiltr.h.
|
Default constructor for a PNGExportOptions object to provide PNG export options.
Definition at line 170 of file pngfiltr.cpp. 00170 : 00171 MaskedFilterExportOptions(_R(IDD_EXPORTBMPOPTS), FilterID, pFilterName) 00172 { 00173 // just us rats in here 00174 }
|
|
Definition at line 128 of file pngfiltr.h.
|
|
To declare preferences associated with these export options.
Reimplemented from MaskedFilterExportOptions. Definition at line 151 of file pngfiltr.cpp. 00152 { 00153 if (Camelot.DeclareSection(_T("Filters"), 10)) 00154 Camelot.DeclarePref( NULL, _T("ExportPNGtype"), &g_CompactedFlagsForDefaults, 0, 3 ); 00155 00156 // All ok 00157 return TRUE; 00158 }
|
|
Reimplemented from BitmapExportOptions. Definition at line 135 of file pngfiltr.h. 00135 { return _R(IDS_FILTERNAME_PNG);}
|
|
Reimplemented from BitmapExportOptions. Definition at line 130 of file pngfiltr.h. 00130 { return TRUE; }
|
|
See BitmapExportOptions for interface details Notes: Gets GIF specific preferences.
Reimplemented from MaskedFilterExportOptions. Definition at line 186 of file pngfiltr.cpp. 00187 { 00188 if (!MaskedFilterExportOptions::RetrieveDefaults()) 00189 return FALSE; 00190 00191 SetMakeInterlaced(g_CompactedFlagsForDefaults & 1); 00192 return TRUE; 00193 }
|
|
Provides additional implementation to set PNG specific options as defaults See Also: BitmapExportOptions::SetAsDefaults().
Reimplemented from MaskedFilterExportOptions. Definition at line 205 of file pngfiltr.cpp. 00206 { 00207 if (!MaskedFilterExportOptions::SetAsDefaults()) 00208 return FALSE; 00209 00210 g_CompactedFlagsForDefaults = WantTransparent() ? 2 : 0; 00211 g_CompactedFlagsForDefaults |= WantInterlaced() ? 1 : 0; 00212 00213 return TRUE; 00214 }
|
|
Definition at line 140 of file pngfiltr.h. |