CFx SDK Documentation  2020SP3
Classes | Public Member Functions | List of all members
OdDbPlotSettingsValidator2 Class Referenceabstract

#include <DbPlotSettingsValidator.h>

Inheritance diagram for OdDbPlotSettingsValidator2:
OdDbPlotSettingsValidator OdRxObject

Classes

struct  FlagResetter
 

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdDbPlotSettingsValidator2)
 
virtual OdResult setPlotViewId (OdDbPlotSettings *pPlotSet, const OdDbObjectId &id)=0
 
virtual OdResult setPlotPaperSize (OdDbPlotSettings *pPlotSet, double paperWidth, double paperHeight)=0
 
virtual OdResult setMargins (OdDbPlotSettings *pPlotSet, double leftMargin, double topMargin, double rightMargin, double bottomMargin)=0
 
virtual OdResult setStyleSheet (OdDbPlotSettings *pPlotSet, const OdString &styleSheetName)=0
 
virtual OdResult recalculatePlotData (OdDbPlotSettings *pPlotSet)=0
 
virtual FlagResetter disablePlotDataRecomputation ()=0
 
- Public Member Functions inherited from OdDbPlotSettingsValidator
 ODRX_DECLARE_MEMBERS (OdDbPlotSettingsValidator)
 
virtual OdResult setPlotCfgName (OdDbPlotSettings *pPlotSettings, const OdString &plotDeviceName, const OdString &mediaName=OdString::kEmpty)=0
 
virtual OdResult setCanonicalMediaName (OdDbPlotSettings *pPlotSettings, const OdString &mediaName)=0
 
virtual OdResult setPlotOrigin (OdDbPlotSettings *pPlotSettings, double xCoordinate, double yCoordinate)=0
 
virtual OdResult setPlotPaperUnits (OdDbPlotSettings *pPlotSettings, const PlotPaperUnits plotPaperUnits)=0
 
virtual OdResult setPlotRotation (OdDbPlotSettings *pPlotSettings, const PlotRotation plotRotation)=0
 
virtual OdResult setPlotCentered (OdDbPlotSettings *pPlotSettings, bool plotCentered)=0
 
virtual OdResult setPlotType (OdDbPlotSettings *pPlotSettings, const PlotType plotType)=0
 
virtual OdResult setPlotWindowArea (OdDbPlotSettings *pPlotSettings, double xMin, double yMin, double xMax, double yMax)=0
 
virtual OdResult setPlotViewName (OdDbPlotSettings *pPlotSettings, const OdString &plotViewName)=0
 
virtual OdResult setUseStandardScale (OdDbPlotSettings *pPlotSettings, bool useStandardScale)=0
 
virtual OdResult setCustomPrintScale (OdDbPlotSettings *pPlotSettings, double numerator, double denominator)=0
 
virtual OdResult setCurrentStyleSheet (OdDbPlotSettings *pPlotSettings, const OdString &currentStyleSheet)=0
 
virtual OdResult setStdScaleType (OdDbPlotSettings *pPlotSettings, const StdScaleType stdScaleType)=0
 
virtual OdResult setStdScale (OdDbPlotSettings *pPlotSettings, double standardScale)=0
 
virtual OdString getLocaleMediaName (OdDbPlotSettings *pPlotSettings, const OdString &canonicalName)=0
 
virtual OdString getLocaleMediaName (OdDbPlotSettings *pPlotSettings, int mediaIndex)=0
 
virtual OdResult setClosestMediaName (OdDbPlotSettings *pPlotSettings, double paperWidth, double paperHeight, const PlotPaperUnits plotPaperUnits, bool matchPrintableArea)=0
 
virtual OdResult setZoomToPaperOnUpdate (OdDbPlotSettings *pPlotSettings, bool zoomToPaperOnUpdate)=0
 
virtual OdResult setDefaultPlotConfig (OdDbPlotSettings *pPlotSettings)=0
 
virtual void plotDeviceList (OdArray< OdString > &deviceList)=0
 
virtual OdResult canonicalMediaNameList (OdDbPlotSettings *pPlotSettings, OdArray< OdString > &mediaList)=0
 
virtual OdResult plotStyleSheetList (OdArray< OdString > &styleList)=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
 

Additional Inherited Members

- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 
- Protected Member Functions inherited from OdDbPlotSettingsValidator
virtual void plotDeviceList (OdArray< const OdChar * > &deviceList)=0
 
virtual OdResult canonicalMediaNameList (OdDbPlotSettings *pPlotSettings, OdArray< const OdChar * > &mediaList)=0
 
virtual OdResult plotStyleSheetList (OdArray< const OdChar * > &styleList)=0
 
virtual void refreshLists (OdDbPlotSettings *pPlotSettings)=0
 

Detailed Description

Definition at line 489 of file DbPlotSettingsValidator.h.

Member Function Documentation

◆ disablePlotDataRecomputation()

virtual FlagResetter OdDbPlotSettingsValidator2::disablePlotDataRecomputation ( )
pure virtual

◆ ODRX_DECLARE_MEMBERS()

OdDbPlotSettingsValidator2::ODRX_DECLARE_MEMBERS ( OdDbPlotSettingsValidator2  )

◆ recalculatePlotData()

virtual OdResult OdDbPlotSettingsValidator2::recalculatePlotData ( OdDbPlotSettings pPlotSet)
pure virtual

Returns an array of all available plot style tables.

Remarks
Plot device and style lists should be refreshed with refreshLists() prior to using the other methods in this class, in case any plot devices, PC3 files, or plot style tables were changed after starting your application.
Parameters
styleList[out] Receives the plot style list.

Implements OdDbPlotSettingsValidator.

◆ setMargins()

virtual OdResult OdDbPlotSettingsValidator2::setMargins ( OdDbPlotSettings pPlotSet,
double  leftMargin,
double  topMargin,
double  rightMargin,
double  bottomMargin 
)
pure virtual

◆ setPlotPaperSize()

virtual OdResult OdDbPlotSettingsValidator2::setPlotPaperSize ( OdDbPlotSettings pPlotSet,
double  paperWidth,
double  paperHeight 
)
pure virtual

◆ setPlotViewId()

virtual OdResult OdDbPlotSettingsValidator2::setPlotViewId ( OdDbPlotSettings pPlotSet,
const OdDbObjectId id 
)
pure virtual

◆ setStyleSheet()

virtual OdResult OdDbPlotSettingsValidator2::setStyleSheet ( OdDbPlotSettings pPlotSet,
const OdString styleSheetName 
)
pure virtual

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