CFx SDK Documentation  2023 SP0
Classes | Public Types | Public Member Functions | Protected Member Functions | Friends | List of all members
OdDbPlotSettingsValidator2PE Class Referenceabstract

#include <DbPlotSettingsValidatorPE.h>

Inheritance diagram for OdDbPlotSettingsValidator2PE:
OdDbPlotSettingsValidatorPE OdRxObject

Classes

struct  Margins
 

Public Types

enum  StdConfigs {
  kNoneDevice , kDefaultWindowsSysPrinter , kDWF6ePlot , kDWFePlotOptForPlotting ,
  kDWFePlotOptForViewing , kPublishToWebDWF , kPublishToWebJPG , kPublishToWebPNG ,
  kPDF , kSVG
}
 

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdDbPlotSettingsValidator2PE)
 
virtual bool hasDevice (const OdString &deviceName)=0
 
virtual bool hasMedia (const OdString &deviceName, const OdString &media, OdString *canonical=0)=0
 
virtual bool hasPlotStyle (const OdString &style)=0
 
virtual OdResult getCanonicalMediaNameList (const OdString &deviceName, OdArray< OdString > &mediaList)=0
 
virtual OdResult getLocalMediaName (const OdString &deviceName, const OdString &canonicalMediaName, OdString &localMediaName)=0
 
virtual OdResult getMediaBounds (const OdString &deviceName, const OdString &canonicalMediaName, OdDbPlotSettings::PlotRotation rotation, OdGePoint2d &pageSize, Margins &printableArea, OdDbPlotSettings::PlotPaperUnits &units)=0
 
virtual OdResult getMediaSize (const OdString &deviceName, const OdString &canonicalMediaName, OdDbPlotSettings::PlotRotation rotation, OdGePoint2d &pageSize, OdDbPlotSettings::PlotPaperUnits &units)=0
 
virtual OdResult getStdConfigName (StdConfigs stdConfig, OdString &configName)=0
 
virtual OdResult getCustomMediaList (StdConfigs stdConfig, OdArray< OdString > &customMediaList)=0
 
virtual OdResult addCustomMedia (StdConfigs stdConfig, OdString &name, const OdGePoint2d &paperSize, const Margins &margins, OdDbPlotSettings::PlotPaperUnits units)=0
 
virtual OdResult removeCustomMedia (StdConfigs stdConfig, const OdString &canonicalMediaName)=0
 
- Public Member Functions inherited from OdDbPlotSettingsValidatorPE
 ODRX_DECLARE_MEMBERS (OdDbPlotSettingsValidatorPE)
 
virtual OdResult getDeviceList (OdArray< OdString > &pDeviceList)=0
 
virtual OdResult getMediaList (const OdString &deviceName, OdArray< psvPaperInfo > &pMediaList, bool bUpdateMediaMargins)=0
 
virtual OdResult getDefaultMedia (const OdString &deviceName, OdString &defaultMedia)=0
 
virtual OdResult getMediaMargins (const OdString &deviceName, psvPaperInfo &pMediaInfo)=0
 
virtual OdResult getPlotStyleSheetList (OdArray< OdString > &pPlotStyleSheetList)=0
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () const
 
virtual void addRef ()=0
 
virtual void release ()=0
 
virtual long numRefs () const
 
bool isKindOf (const OdRxClass *pClass) const
 
virtual OdRxObjectPtr clone () const
 
virtual void copyFrom (const OdRxObject *pSource)
 
virtual OdRx::Ordering comparedTo (const OdRxObject *pOther) const
 
virtual bool isEqualTo (const OdRxObject *pOther) const
 

Protected Member Functions

virtual OdResult refreshLists ()=0
 

Friends

class OdDbPlotSettingsValidatorImpl2
 

Additional Inherited Members

- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Detailed Description

Definition at line 106 of file DbPlotSettingsValidatorPE.h.

Member Enumeration Documentation

◆ StdConfigs

Enumerator
kNoneDevice 
kDefaultWindowsSysPrinter 
kDWF6ePlot 
kDWFePlotOptForPlotting 
kDWFePlotOptForViewing 
kPublishToWebDWF 
kPublishToWebJPG 
kPublishToWebPNG 
kPDF 
kSVG 

Definition at line 142 of file DbPlotSettingsValidatorPE.h.

Member Function Documentation

◆ addCustomMedia()

virtual OdResult OdDbPlotSettingsValidator2PE::addCustomMedia ( StdConfigs  stdConfig,
OdString name,
const OdGePoint2d paperSize,
const Margins margins,
OdDbPlotSettings::PlotPaperUnits  units 
)
pure virtual

◆ getCanonicalMediaNameList()

virtual OdResult OdDbPlotSettingsValidator2PE::getCanonicalMediaNameList ( const OdString deviceName,
OdArray< OdString > &  mediaList 
)
pure virtual

◆ getCustomMediaList()

virtual OdResult OdDbPlotSettingsValidator2PE::getCustomMediaList ( StdConfigs  stdConfig,
OdArray< OdString > &  customMediaList 
)
pure virtual

◆ getLocalMediaName()

virtual OdResult OdDbPlotSettingsValidator2PE::getLocalMediaName ( const OdString deviceName,
const OdString canonicalMediaName,
OdString localMediaName 
)
pure virtual

◆ getMediaBounds()

virtual OdResult OdDbPlotSettingsValidator2PE::getMediaBounds ( const OdString deviceName,
const OdString canonicalMediaName,
OdDbPlotSettings::PlotRotation  rotation,
OdGePoint2d pageSize,
Margins printableArea,
OdDbPlotSettings::PlotPaperUnits units 
)
pure virtual

◆ getMediaSize()

virtual OdResult OdDbPlotSettingsValidator2PE::getMediaSize ( const OdString deviceName,
const OdString canonicalMediaName,
OdDbPlotSettings::PlotRotation  rotation,
OdGePoint2d pageSize,
OdDbPlotSettings::PlotPaperUnits units 
)
pure virtual

◆ getStdConfigName()

virtual OdResult OdDbPlotSettingsValidator2PE::getStdConfigName ( StdConfigs  stdConfig,
OdString configName 
)
pure virtual

◆ hasDevice()

virtual bool OdDbPlotSettingsValidator2PE::hasDevice ( const OdString deviceName)
pure virtual

◆ hasMedia()

virtual bool OdDbPlotSettingsValidator2PE::hasMedia ( const OdString deviceName,
const OdString media,
OdString canonical = 0 
)
pure virtual

◆ hasPlotStyle()

virtual bool OdDbPlotSettingsValidator2PE::hasPlotStyle ( const OdString style)
pure virtual

◆ ODRX_DECLARE_MEMBERS()

OdDbPlotSettingsValidator2PE::ODRX_DECLARE_MEMBERS ( OdDbPlotSettingsValidator2PE  )

◆ refreshLists()

virtual OdResult OdDbPlotSettingsValidator2PE::refreshLists ( )
protectedpure virtual

◆ removeCustomMedia()

virtual OdResult OdDbPlotSettingsValidator2PE::removeCustomMedia ( StdConfigs  stdConfig,
const OdString canonicalMediaName 
)
pure virtual

Friends And Related Function Documentation

◆ OdDbPlotSettingsValidatorImpl2

friend class OdDbPlotSettingsValidatorImpl2
friend

Definition at line 172 of file DbPlotSettingsValidatorPE.h.


The documentation for this class was generated from the following file: