27#ifndef OD_DBPLOTSETVAL_H
28#define OD_DBPLOTSETVAL_H
108 double yCoordinate) = 0;
163 bool plotCentered) = 0;
231 bool useStandardScale) = 0;
246 double denominator) = 0;
256 const OdString& currentStyleSheet) = 0;
318 double standardScale) = 0;
334 friend struct Helper;
410 bool matchPrintableArea) = 0;
427 friend class CExport2PDFDialog;
458 bool zoomToPaperOnUpdate) = 0;
469#if !defined (SWIGWIN) && !defined (SWIG)
506 friend class OdDbPlotSettingsValidatorImpl2;
509 : m_flags(0), m_value(0), m_or(
true)
513 : m_flags(0), m_value(0), m_or(
true)
518 : m_flags(0), m_value(0), m_or(
true)
528 std::swap(m_flags, rh.
m_flags);
529 std::swap(m_value, rh.
m_value);
530 std::swap(m_or, rh.
m_or);
534 std::swap(m_flags, rh.m_flags);
535 std::swap(m_value, rh.m_value);
536 std::swap(m_or, rh.m_or);
545 *m_flags &= ~m_value;
550 : m_flags(&flags), m_value(
value), m_or(!set)
553 *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
FlagResetter(unsigned int &flags, unsigned int value, bool set)
FlagResetter(FlagResetter &rh)
FlagResetter(FlagResetter &&rh)