27 #ifndef OD_DBPLOTSETVAL_H
28 #define OD_DBPLOTSETVAL_H
110 double yCoordinate) = 0;
165 bool plotCentered) = 0;
230 bool useStandardScale) = 0;
245 double denominator) = 0;
255 const OdString& currentStyleSheet) = 0;
317 double standardScale) = 0;
333 friend struct Helper;
409 bool matchPrintableArea) = 0;
426 friend class CExport2PDFDialog;
457 bool zoomToPaperOnUpdate) = 0;
505 friend class OdDbPlotSettingsValidatorImpl2;
508 : m_flags(0), m_value(0), m_or(
true)
512 : m_flags(0), m_value(0), m_or(
true)
517 : m_flags(0), m_value(0), m_or(
true)
544 *m_flags &= ~m_value;
549 : m_flags(&flags), m_value(
value), m_or(!set)
552 *m_flags &= ~m_value;
OdSmartPtr< OdDbPlotSettingsValidator2 > OdDbPlotSettingsValidator2Ptr
OdSmartPtr< OdDbPlotSettingsValidator > OdDbPlotSettingsValidatorPtr
OdDbPlotSettings::StdScaleType StdScaleType
TOOLKIT_EXPORT void fxRefreshLists(OdDbPlotSettingsValidator *p, OdDbPlotSettings *pPlotSettings)
OdDbPlotSettings::PlotRotation PlotRotation
OdDbPlotSettings::PlotType PlotType
OdDbPlotSettings::PlotPaperUnits PlotPaperUnits
virtual OdResult setStyleSheet(OdDbPlotSettings *pPlotSet, const OdString &styleSheetName)=0
virtual OdResult recalculatePlotData(OdDbPlotSettings *pPlotSet)=0
virtual OdResult setPlotViewId(OdDbPlotSettings *pPlotSet, const OdDbObjectId &id)=0
virtual OdResult setPlotPaperSize(OdDbPlotSettings *pPlotSet, double paperWidth, double paperHeight)=0
virtual FlagResetter disablePlotDataRecomputation()=0
ODRX_DECLARE_MEMBERS(OdDbPlotSettingsValidator2)
virtual OdResult setMargins(OdDbPlotSettings *pPlotSet, double leftMargin, double topMargin, double rightMargin, double bottomMargin)=0
virtual OdResult setCustomPrintScale(OdDbPlotSettings *pPlotSettings, double numerator, double denominator)=0
virtual OdResult recalculatePlotData(OdDbPlotSettings *pPlotSet)=0
virtual OdResult plotStyleSheetList(OdArray< const OdChar * > &styleList)=0
virtual OdString getLocaleMediaName(OdDbPlotSettings *pPlotSettings, const OdString &canonicalName)=0
virtual OdResult setPlotViewName(OdDbPlotSettings *pPlotSettings, const OdString &plotViewName)=0
virtual OdResult canonicalMediaNameList(OdDbPlotSettings *pPlotSettings, OdArray< OdString > &mediaList)=0
virtual OdResult setCurrentStyleSheet(OdDbPlotSettings *pPlotSettings, const OdString ¤tStyleSheet)=0
virtual OdResult setPlotOrigin(OdDbPlotSettings *pPlotSettings, double xCoordinate, double yCoordinate)=0
virtual OdResult canonicalMediaNameList(OdDbPlotSettings *pPlotSettings, OdArray< const OdChar * > &mediaList)=0
virtual OdString getLocaleMediaName(OdDbPlotSettings *pPlotSettings, int mediaIndex)=0
friend TOOLKIT_EXPORT void fxRefreshLists(OdDbPlotSettingsValidator *p, OdDbPlotSettings *pPlotSettings)
virtual OdResult plotStyleSheetList(OdArray< OdString > &styleList)=0
virtual OdResult setDefaultPlotConfig(OdDbPlotSettings *pPlotSettings)=0
virtual OdResult setPlotCfgName(OdDbPlotSettings *pPlotSettings, const OdString &plotDeviceName, const OdString &mediaName=OdString::kEmpty)=0
virtual OdResult setStdScale(OdDbPlotSettings *pPlotSettings, double standardScale)=0
virtual OdResult setZoomToPaperOnUpdate(OdDbPlotSettings *pPlotSettings, bool zoomToPaperOnUpdate)=0
virtual OdResult setStdScaleType(OdDbPlotSettings *pPlotSettings, const StdScaleType stdScaleType)=0
virtual OdResult setClosestMediaName(OdDbPlotSettings *pPlotSettings, double paperWidth, double paperHeight, const PlotPaperUnits plotPaperUnits, bool matchPrintableArea)=0
virtual OdResult setPlotRotation(OdDbPlotSettings *pPlotSettings, const PlotRotation plotRotation)=0
virtual OdResult setPlotWindowArea(OdDbPlotSettings *pPlotSettings, double xMin, double yMin, double xMax, double yMax)=0
virtual void plotDeviceList(OdArray< const OdChar * > &deviceList)=0
virtual void plotDeviceList(OdArray< OdString > &deviceList)=0
virtual OdResult setUseStandardScale(OdDbPlotSettings *pPlotSettings, bool useStandardScale)=0
virtual OdResult setPlotPaperUnits(OdDbPlotSettings *pPlotSettings, const PlotPaperUnits plotPaperUnits)=0
virtual void refreshLists(OdDbPlotSettings *pPlotSettings)=0
virtual OdResult setPlotCentered(OdDbPlotSettings *pPlotSettings, bool plotCentered)=0
virtual OdResult setCanonicalMediaName(OdDbPlotSettings *pPlotSettings, const OdString &mediaName)=0
virtual OdResult setPlotType(OdDbPlotSettings *pPlotSettings, const PlotType plotType)=0
ODRX_DECLARE_MEMBERS(OdDbPlotSettingsValidator)
FIRSTDLL_EXPORT_STATIC static const OdString kEmpty
GLsizei const GLfloat * value
void swap(signal< Handler, SignalTraits, Allocator > &lhs, signal< Handler, SignalTraits, Allocator > &rhs)
FlagResetter(unsigned int &flags, unsigned int value, bool set)
FlagResetter(FlagResetter &rh)
FlagResetter(FlagResetter &&rh)