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