CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
25 #ifndef OD_DBTABLESTYLE_H
26 #define OD_DBTABLESTYLE_H
372 return !( *
this ==
range);
1216 #endif // OD_DBTABLESTYLE_H
void setTemplate(const OdDbObjectId templateId, OdDb::MergeCellStyleOption nOption)
@ kTableCopyOptionSkipCellStyle
double m_doubleLineSpacing
void setCellClass(OdInt32 nClass, const OdString &cellStyle)
void setDatabaseDefaults(OdDbDatabase *pDb=0)
OdCmColor color(const OdString &cellStyle) const
virtual OdCmColor backgroundColor(OdDb::RowType rowType=OdDb::kDataRow) const
bool isCellStyleInUse(const OdString &cellStyle) const
OdInt32 numCellStyles(void) const
OdCmColor backgroundColor(const OdString &cellStyle) const
virtual void setTextHeight(double height, int rowTypes=OdDb::kAllRows)
virtual void setGridColor(const OdCmColor color, int gridlineTypes=OdDb::kAllGridLines, int rowTypes=OdDb::kAllRows)
GLuint const GLchar * name
double margin(OdDb::CellMargin nMargin, const OdString &cellStyle) const
OdCellRange(OdInt32 topRow, OdInt32 leftColumn, OdInt32 bottomRow, OdInt32 rightColumn)
virtual void setGridVisibility(OdDb::Visibility gridVisiblity, int gridlineTypes=OdDb::kAllGridLines, int rowTypes=OdDb::kAllRows)
OdDb::LineWeight gridLineWeight(OdDb::GridLineType gridLineType, const OdString &cellStyle) const
@ kTableFillOptionReverse
OdDb::GridLineStyle m_lineStyle
void setAlignment(OdDb::CellAlignment alignment, const OdString &cellStyle)
@ kTableCopyOptionExpandOrContractTable
void setDataType(OdValue::DataType nDataType, OdValue::UnitType nUnitType, const OdString &cellStyle)
@ kCellContentTypeUnknown
virtual double vertCellMargin() const
const OdString format(const OdString &cellStyle) const
void setTextStyle(const OdDbObjectId &id, const OdString &cellStyle)
double gridDoubleLineSpacing(OdDb::GridLineType gridLineType, const OdString &cellStyle) const
@ kTableCopyOptionSkipGeometry
OdInt32 cellStyleId(const OdString &cellStyle) const
@ kCellContentLayoutStackedHorizontal
void setGridLinetype(const OdDbObjectId &id, OdDb::GridLineType gridLineTypes, const OdString &cellStyle)
virtual OdDbObjectId postTableStyleToDb(OdDbDatabase *pDb, const OdString &styleName)
@ kMergeCellStyleCopyDuplicates
@ kTableCopyOptionOverwriteContentModifiedAfterUpdate
OdDb::Visibility gridVisibility(OdDb::GridLineType gridLineType, const OdString &cellStyle) const
virtual void setBackgroundColor(const OdCmColor &color, int rowTypes=OdDb::kAllRows)
virtual double horzCellMargin() const
double textHeight(const OdString &cellStyle) const
void setGridLineWeight(OdDb::LineWeight lineWeight, OdDb::GridLineType gridLineTypes, const OdString &cellStyle)
virtual void setBackgroundColorNone(bool disable, int rowTypes=OdDb::kAllRows)
@ kCellContentLayoutStackedVertical
OdDbObjectId gridLinetype(OdDb::GridLineType gridLineType, const OdString &cellStyle) const
@ kCellPropDataTypeAndFormat
@ kTableCopyOptionConvertFormatToOverrides
virtual void setColor(const OdCmColor &color, int rowTypes=OdDb::kAllRows)
virtual OdUInt32 bitFlags() const
OdString cellStyleName(OdInt32 cellStyle) const
void setRotation(double rotation, const OdString &cellStyle)
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdDbObjectId removeTemplate(void)
virtual void setDataType(OdValue::DataType nDataType, OdValue::UnitType nUnitType, int rowTypes=OdDb::kAllRows)
@ kTableCopyOptionSkipContentFormat
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
@ kTableCopyOptionOverwriteReadOnlyFormat
void setGridVisibility(OdDb::Visibility visible, OdDb::GridLineType gridLineTypes, const OdString &cellStyle)
@ kTableCopyOptionOverwriteReadOnlyContent
@ kTableCopyOptionSkipCellState
@ kTableCopyOptionColumnWidth
virtual void getDataType(OdValue::DataType &nDataType, OdValue::UnitType &nUnitType, OdDb::RowType rowType=OdDb::kDataRow) const
@ kTableFillOptionOverwriteReadOnlyContent
virtual OdDb::CellAlignment alignment(OdDb::RowType rowType=OdDb::kDataRow) const
OdInt32 cellClass(const OdString &cellStyle) const
void enableMergeAll(bool bEnable, const OdString &cellStyle)
virtual void setAlignment(OdDb::CellAlignment alignment, int rowTypes=OdDb::kAllRows)
void setGridDoubleLineSpacing(double fSpacing, OdDb::GridLineType gridLineTypes, const OdString &cellStyle)
@ kTableCopyOptionSkipDataCell
void setMargin(OdDb::CellMargin nMargins, double fMargin, const OdString &cellStyle)
@ kTableCopyOptionSkipMerges
void setTextHeight(double dHeight, const OdString &cellStyle)
virtual OdString getName() const
virtual OdString format(OdDb::RowType rowType=OdDb::kDataRow) const
void setFormat(const OdString &format, const OdString &cellStyle)
void getUniqueCellStyleName(const OdString &baseName, OdString &sUniqueName) const
@ kTableCopyOptionSkipDissimilarContentFormat
@ kTableFillOptionCopyFormat
OdArray< OdCellRange > OdCellRangeArray
virtual void setDescription(const OdString &description)
virtual void setBitFlags(OdUInt32 bitFlags)
double rotation(const OdString &cellStyle) const
@ kCellPropMarginHorzSpacing
OdDbObjectId textStyle(const OdString &cellStyle) const
@ kTableCopyOptionRowHeight
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
@ kTableCopyOptionFillTarget
@ kTableFillOptionCopyContent
OdDbObjectId getTemplate(void) const
bool isMergeAllEnabled(const OdString &cellStyle) const
virtual OdDb::FlowDirection flowDirection() const
GLint GLenum GLsizei GLsizei height
OdDb::CellAlignment alignment(const OdString &cellStyle) const
@ kTableCopyOptionForRountrip
@ kTableCopyOptionOnlyFormatModifiedAfterUpdate
void setGridProperty(const OdGridProperty &gridProp, OdDb::GridLineType nGridLineTypes, const OdString &cellStyle)
virtual OdCmColor gridColor(OdDb::GridLineType gridlineType, OdDb::RowType rowType=OdDb::kDataRow) const
OdDb::Visibility m_visibility
virtual bool isHeaderSuppressed() const
@ kCellStateContentReadOnly
@ kTableCopyOptionSkipValue
@ kTableCopyOptionSkipFormat
bool operator==(const OdCellRange &range) const
@ kCellStateFormatModifiedAfterUpdate
virtual void setGridLineWeight(OdDb::LineWeight lineWeight, int gridlineTypes=OdDb::kAllGridLines, int rowTypes=OdDb::kAllRows)
ODDB_DECLARE_MEMBERS(OdDbTableStyle)
virtual void suppressTitleRow(bool suppress)
virtual OdCmColor color(OdDb::RowType rowType=OdDb::kDataRow) const
OdSmartPtr< OdDbTableStyle > OdDbTableStylePtr
virtual void suppressHeaderRow(bool suppress)
void copyCellStyle(const OdString &srcCellStyle, const OdString &targetCellStyle)
@ kCellStateContentLocked
OdCmColor gridColor(OdDb::GridLineType gridLineType, const OdString &cellStyle) const
virtual OdString description() const
OdDbHardPointerId m_linetype
@ kTableCopyOptionSkipFormula
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
@ kCellStateFormatReadOnly
void setColor(const OdCmColor &color, const OdString &cellStyle)
void setGridColor(const OdCmColor color, OdDb::GridLineType gridLineTypes, const OdString &cellStyle)
@ kTableCopyOptionFullCellState
@ kTableCopyOptionOnlyContentModifiedAfterUpdate
void createCellStyle(const OdString &cellStyle, const OdString &fromCellStyle)
@ kMergeCellStyleIgnoreNewStyles
@ kTableCopyOptionSkipDataLink
void getDataType(OdValue::DataType &nDataType, OdValue::UnitType &nUnitType, const OdString &cellStyle) const
@ kTableCopyOptionSkipField
@ kTableCopyOptionConvertFieldToValue
OdDb::GridLineStyle gridLineStyle(OdDb::GridLineType gridLineType, const OdString &cellStyle) const
void renameCellStyle(const OdString &oldName, const OdString &newName)
@ kMergeCellStyleConvertDuplicatesToOverrides
virtual OdDbObjectId textStyle(OdDb::RowType rowType=OdDb::kDataRow) const
OdDb::LineWeight m_lineWeight
@ kCellPropBackgroundColor
@ kTableCopyOptionSkipFieldTranslation
virtual void setTextStyle(const OdDbObjectId textStyleId, int rowTypes=OdDb::kAllRows)
virtual void setName(const OdString &name)
void deleteCellStyle(const OdString &cellStyle)
virtual double textHeight(OdDb::RowType rowType=OdDb::kDataRow) const
OdDb::GridProperty m_propMask
void getGridProperty(OdGridProperty &gridProp, OdDb::GridLineType nGridLineTypes, const OdString &cellStyle) const
GLint GLint GLint GLsizei GLsizei GLenum format
@ kGridPropDoubleLineSpacing
virtual void setFlowDirection(OdDb::FlowDirection flowDirection)
@ kTableCopyOptionOverwriteFormatModifiedAfterUpdate
@ kTableCopyOptionSkipContent
OdInt32 getCellStyles(OdStringArray &cellstyles) const
virtual OdDb::LineWeight gridLineWeight(OdDb::GridLineType gridlineType, OdDb::RowType rowType=OdDb::kDataRow) const
void createCellStyle(const OdString &cellStyle)
@ kTableCopyOptionSkipLabelCell
const OdString createCellStyle(void)
@ kTableFillOptionGenerateSeries
virtual void setFormat(const OdString &pszFormat, int rowTypes=OdDb::kAllRows)
@ kCellPropMarginVertSpacing
void copyCellStyle(const OdDbTableStyle *pSrc, const OdString &srcCellStyle, const OdString &targetCellStyle)
virtual OdResult subGetClassID(void *pClsid) const
virtual bool isBackgroundColorNone(OdDb::RowType rowType=OdDb::kDataRow) const
bool operator!=(const OdCellRange &range) const
@ kMergeCellStyleOverwriteDuplicates
virtual bool isTitleSuppressed() const
virtual void setHorzCellMargin(double cellMargin)
virtual OdDb::Visibility gridVisibility(OdDb::GridLineType gridlineType, OdDb::RowType rowType=OdDb::kDataRow) const
@ kCellStateContentModifiedAfterUpdate
void setGridLineStyle(OdDb::GridLineStyle nLineStyle, OdDb::GridLineType gridLineTypes, const OdString &cellStyle)
@ kTableFillOptionOverwriteReadOnlyFormat
virtual void setVertCellMargin(double cellMargin)
@ kTableCopyOptionSkipBlock
void setBackgroundColor(const OdCmColor &color, const OdString &cellStyle)