CFx SDK Documentation  2022 SP0
DbTableStyle.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2017, Open Design Alliance (the "Alliance").
3 // All rights reserved.
4 //
5 // This software and its documentation and related materials are owned by
6 // the Alliance. The software may only be incorporated into application
7 // programs owned by members of the Alliance, subject to a signed
8 // Membership Agreement and Supplemental Software License Agreement with the
9 // Alliance. The structure and organization of this software are the valuable
10 // trade secrets of the Alliance and its suppliers. The software is also
11 // protected by copyright law and international treaty provisions. Application
12 // programs incorporating this software must include the following statement
13 // with their copyright notices:
14 //
15 // This application incorporates Teigha(R) software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Teigha(R) Copyright (C) 2002-2017 by Open Design Alliance.
18 // All rights reserved.
19 //
20 // By use of this software, its documentation or related materials, you
21 // acknowledge and accept the above terms.
23 
24 
25 #ifndef OD_DBTABLESTYLE_H
26 #define OD_DBTABLESTYLE_H
27 
28 #include "TD_PackPush.h"
29 #include "DbObject.h"
30 #include "DbColor.h"
31 #include "OdValue.h"
32 #include "StringArray.h"
33 
38 namespace OdDb
39 {
40  // OdDbTable and OdTbTableStyle specific enum
41  //
42 
43  enum CellType
44  {
46  kTextCell = 1,
49  };
50 
52  {
57  };
58 
60  {
61  kTopMask = 0x1,
62  kRightMask = 0x2,
63  kBottomMask = 0x4,
64  kLeftMask = 0x8
65  };
66 
68  {
69  kWindow = 1,
70  kCrossing = 2
71  };
72 
74  {
75  kTtoB = 0,
76  kBtoT = 1
77  };
78 
80  {
85  kDegrees270 = 3
86  };
87 
89  {
90  kTopLeft = 1,
92  kTopRight = 3,
98  kBottomRight = 9
99  };
100 
102  {
104  kHorzTop = 0x01,
105  kHorzInside = 0x02,
106  kHorzBottom = 0x04,
107  kVertLeft = 0x08,
108  kVertInside = 0x10,
109  kVertRight = 0x20,
115  };
116 
117 
118  enum RowType
119  {
120  kUnknownRow = 0x0,
121  kDataRow = 0x1,
122  kTitleRow = 0x2,
123  kHeaderRow = 0x4
124  };
125 
127  {
131  kTableStyleModified = 0x8
132  };
133 
134  enum RowTypes
135  {
137  };
138 
140  {
142  };
143 
145  {
148  };
149 
151  {
157  kCellMarginVertSpacing = 0x20
158  };
159 
161  {
165  };
166 
168  {
181  };
182 
184  {
194  };
195 
197  {
199  kInheritCellFormat = 0x1
200  };
201 
203  {
204  kCellPropInvalid = 0x00000,
205  kCellPropDataType = 0x00001,
207  kCellPropRotation = 0x00004,
208  kCellPropScale = 0x00008,
220  kCellPropMergeAll = 0x08000,
235  };
236 
238  {
247  };
248 
253  {
256 
312  };
313 
333  };
334 }
335 
342 {
343 public:
348 
350  , m_leftColumn(-1)
351  , m_bottomRow(-1)
352  , m_rightColumn(-1) {}
353 
354  OdCellRange(OdInt32 topRow, OdInt32 leftColumn, OdInt32 bottomRow, OdInt32 rightColumn)
355  : m_topRow(topRow)
356  , m_leftColumn(leftColumn)
357  , m_bottomRow(bottomRow)
358  , m_rightColumn(rightColumn)
359  {}
360 
362  const OdCellRange& range) const
363  {
364  return ( m_topRow == range.m_topRow &&
365  m_leftColumn == range.m_leftColumn &&
366  m_bottomRow == range.m_bottomRow &&
367  m_rightColumn == range.m_rightColumn );
368  }
370  const OdCellRange& range) const
371  {
372  return !( *this == range);
373  }
374 };
375 
377 
384 {
385 public:
386 
394 
399  , m_doubleLineSpacing(0.0) {}
400 
401 };
402 
409 {
410 public:
412 
414  // virtual ~OdDbTableStyle();
415 
416  // General Properties
417  //
418 
422  virtual OdString getName() const;
423 
429  virtual void setName(const OdString& name);
430 
434  virtual OdString description() const;
435 
441  virtual void setDescription(
442  const OdString& description);
443 
458  virtual OdUInt32 bitFlags() const;
459 
476  virtual void setBitFlags(
477  OdUInt32 bitFlags);
478 
492 
507  virtual void setFlowDirection(
508  OdDb::FlowDirection flowDirection);
509 
515  virtual double horzCellMargin() const;
516 
525  virtual void setHorzCellMargin(
526  double cellMargin);
527 
528 
535  virtual double vertCellMargin() const;
536 
545  virtual void setVertCellMargin(
546  double cellMargin);
547 
551  virtual bool isTitleSuppressed() const;
552 
557  virtual void suppressTitleRow(
558  bool suppress);
559 
563  virtual bool isHeaderSuppressed() const;
564 
569  virtual void suppressHeaderRow(
570  bool suppress);
571 
572 
589  OdDb::RowType rowType = OdDb::kDataRow) const;
590 
607  virtual void setTextStyle(
608  const OdDbObjectId textStyleId,
609  int rowTypes = OdDb::kAllRows);
610 
626  virtual double textHeight(
627  OdDb::RowType rowType = OdDb::kDataRow) const;
628 
645  virtual void setTextHeight(
646  double height,
647  int rowTypes = OdDb::kAllRows);
648 
680  OdDb::RowType rowType = OdDb::kDataRow) const;
681 
682 
714  virtual void setAlignment(
715  OdDb::CellAlignment alignment,
716  int rowTypes = OdDb::kAllRows);
717 
733  virtual OdCmColor color(
734  OdDb::RowType rowType = OdDb::kDataRow) const;
735 
736 
753  virtual void setColor(
754  const OdCmColor& color,
755  int rowTypes = OdDb::kAllRows);
756 
773  OdDb::RowType rowType = OdDb::kDataRow) const;
774 
791  virtual void setBackgroundColor(
792  const OdCmColor& color,
793  int rowTypes = OdDb::kAllRows);
794 
813  virtual bool isBackgroundColorNone(
814  OdDb::RowType rowType = OdDb::kDataRow) const;
815 
833  bool disable,
834  int rowTypes = OdDb::kAllRows);
835 
836  //Gridline properties
837  //
838 
869  OdDb::GridLineType gridlineType,
870  OdDb::RowType rowType = OdDb::kDataRow) const;
871 
902  virtual void setGridLineWeight(
903  OdDb::LineWeight lineWeight,
904  int gridlineTypes = OdDb::kAllGridLines,
905  int rowTypes = OdDb::kAllRows);
906 
907 
935  OdDb::GridLineType gridlineType,
936  OdDb::RowType rowType = OdDb::kDataRow) const;
937 
964  virtual void setGridColor(
965  const OdCmColor color,
966  int gridlineTypes = OdDb::kAllGridLines,
967  int rowTypes = OdDb::kAllRows);
968 
969 
1009  OdDb::GridLineType gridlineType,
1010  OdDb::RowType rowType = OdDb::kDataRow) const;
1011 
1012 
1052  virtual void setGridVisibility(
1053  OdDb::Visibility gridVisiblity,
1054  int gridlineTypes = OdDb::kAllGridLines,
1055  int rowTypes = OdDb::kAllRows);
1056 
1057 
1058  // NEW 2007
1059 
1060  virtual void getDataType(
1061  OdValue::DataType& nDataType,
1062  OdValue::UnitType& nUnitType,
1063  OdDb::RowType rowType = OdDb::kDataRow ) const;
1064 
1065  virtual void setDataType(
1066  OdValue::DataType nDataType,
1067  OdValue::UnitType nUnitType,
1068  int rowTypes = OdDb::kAllRows);
1069 
1070  virtual OdString format (
1071  OdDb::RowType rowType = OdDb::kDataRow) const;
1072 
1073  virtual void setFormat(
1074  const OdString& pszFormat,
1075  int rowTypes = OdDb::kAllRows);
1076 
1077 
1079  OdDbDwgFiler* pFiler);
1080 
1081  virtual void dwgOutFields(
1082  OdDbDwgFiler* pFiler) const;
1083 
1085  OdDbDxfFiler* pFiler);
1086 
1087  virtual void dxfOutFields(
1088  OdDbDxfFiler* pFiler) const;
1089 
1090  // virtual OdResult audit(OdDbAuditInfo* pAuditInfo);
1091 
1092  // Utility functions
1093  //
1094 
1104 
1115  virtual OdDbObjectId postTableStyleToDb(OdDbDatabase* pDb, const OdString& styleName);
1116 
1117 
1119 
1120  void createCellStyle(const OdString& cellStyle);
1121 
1122  void createCellStyle(const OdString& cellStyle, const OdString& fromCellStyle);
1123 
1124  void renameCellStyle(const OdString& oldName, const OdString& newName);
1125 
1126  void deleteCellStyle(const OdString& cellStyle);
1127 
1128  void copyCellStyle(const OdString& srcCellStyle, const OdString& targetCellStyle);
1129 
1130  void copyCellStyle(const OdDbTableStyle* pSrc, const OdString& srcCellStyle, const OdString& targetCellStyle);
1131 
1132  void getUniqueCellStyleName(const OdString& baseName, OdString& sUniqueName) const;
1133 
1134  bool isCellStyleInUse(const OdString& cellStyle) const;
1135 
1136  OdInt32 numCellStyles(void) const;
1137 
1139 
1140  OdInt32 cellStyleId(const OdString& cellStyle) const;
1141  OdString cellStyleName(OdInt32 cellStyle) const;
1142 
1143  OdDbObjectId textStyle(const OdString& cellStyle) const;
1144  void setTextStyle (const OdDbObjectId& id, const OdString& cellStyle);
1145 
1146  double textHeight(const OdString& cellStyle) const;
1147  void setTextHeight(double dHeight, const OdString& cellStyle);
1148 
1149  OdDb::CellAlignment alignment(const OdString& cellStyle) const;
1150  void setAlignment(OdDb::CellAlignment alignment, const OdString& cellStyle);
1151 
1152  OdCmColor color(const OdString& cellStyle) const;
1153  void setColor(const OdCmColor& color, const OdString& cellStyle);
1154 
1155  OdCmColor backgroundColor(const OdString& cellStyle) const;
1156  void setBackgroundColor(const OdCmColor& color, const OdString& cellStyle);
1157 
1158  void getDataType(OdValue::DataType& nDataType, OdValue::UnitType& nUnitType, const OdString& cellStyle) const;
1159  void setDataType(OdValue::DataType nDataType, OdValue::UnitType nUnitType, const OdString& cellStyle);
1160 
1161  const OdString format(const OdString& cellStyle) const;
1162  void setFormat(const OdString& format, const OdString& cellStyle);
1163 
1164  OdInt32 cellClass(const OdString& cellStyle) const;
1165  void setCellClass(OdInt32 nClass, const OdString& cellStyle);
1166 
1167  double rotation(const OdString& cellStyle) const;
1168  void setRotation(double rotation, const OdString& cellStyle);
1169 
1170  bool isMergeAllEnabled (const OdString& cellStyle) const;
1171  void enableMergeAll(bool bEnable, const OdString& cellStyle);
1172 
1173  double margin(OdDb::CellMargin nMargin, const OdString& cellStyle) const;
1174  void setMargin(OdDb::CellMargin nMargins, double fMargin, const OdString& cellStyle);
1175 
1176  //Gridline properties
1177  //
1178  OdDb::LineWeight gridLineWeight(OdDb::GridLineType gridLineType, const OdString& cellStyle) const;
1179  void setGridLineWeight(OdDb::LineWeight lineWeight, OdDb::GridLineType gridLineTypes, const OdString& cellStyle);
1180 
1181  OdCmColor gridColor(OdDb::GridLineType gridLineType, const OdString& cellStyle) const;
1182  void setGridColor(const OdCmColor color, OdDb::GridLineType gridLineTypes, const OdString& cellStyle);
1183 
1184  OdDb::Visibility gridVisibility(OdDb::GridLineType gridLineType, const OdString& cellStyle) const;
1185  void setGridVisibility(OdDb::Visibility visible, OdDb::GridLineType gridLineTypes, const OdString& cellStyle);
1186 
1187  double gridDoubleLineSpacing(OdDb::GridLineType gridLineType, const OdString& cellStyle) const;
1188  void setGridDoubleLineSpacing(double fSpacing, OdDb::GridLineType gridLineTypes, const OdString& cellStyle);
1189 
1190  OdDb::GridLineStyle gridLineStyle(OdDb::GridLineType gridLineType, const OdString& cellStyle) const;
1191  void setGridLineStyle(OdDb::GridLineStyle nLineStyle, OdDb::GridLineType gridLineTypes, const OdString& cellStyle);
1192 
1193  OdDbObjectId gridLinetype(OdDb::GridLineType gridLineType, const OdString& cellStyle) const;
1194  void setGridLinetype(const OdDbObjectId& id, OdDb::GridLineType gridLineTypes, const OdString& cellStyle);
1195 
1196  void getGridProperty(OdGridProperty& gridProp, OdDb::GridLineType nGridLineTypes, const OdString& cellStyle) const;
1197  void setGridProperty (const OdGridProperty& gridProp, OdDb::GridLineType nGridLineTypes, const OdString& cellStyle);
1198 
1199  virtual OdResult subGetClassID(void* pClsid) const;
1200 
1201  // Template functions
1203 
1204  void setTemplate(const OdDbObjectId templateId, OdDb::MergeCellStyleOption nOption);
1205 
1207 };
1208 
1213 
1214 #include "TD_PackPop.h"
1215 
1216 #endif // OD_DBTABLESTYLE_H
@ kVisible
Definition: BrEnums.h:114
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdArray< OdCellRange > OdCellRangeArray
Definition: DbTableStyle.h:376
OdSmartPtr< OdDbTableStyle > OdDbTableStylePtr
unsigned int OdUInt32
int OdInt32
OdResult
Definition: OdResult.h:29
OdInt32 m_leftColumn
Definition: DbTableStyle.h:345
bool operator!=(const OdCellRange &range) const
Definition: DbTableStyle.h:369
bool operator==(const OdCellRange &range) const
Definition: DbTableStyle.h:361
OdInt32 m_bottomRow
Definition: DbTableStyle.h:346
OdCellRange(OdInt32 topRow, OdInt32 leftColumn, OdInt32 bottomRow, OdInt32 rightColumn)
Definition: DbTableStyle.h:354
OdInt32 m_topRow
Definition: DbTableStyle.h:344
OdInt32 m_rightColumn
Definition: DbTableStyle.h:347
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
Definition: DbTableStyle.h:392
OdDb::GridProperty m_propMask
Definition: DbTableStyle.h:387
double m_doubleLineSpacing
Definition: DbTableStyle.h:393
OdDb::LineWeight m_lineWeight
Definition: DbTableStyle.h:389
OdDbHardPointerId m_linetype
Definition: DbTableStyle.h:390
OdCmColor m_color
Definition: DbTableStyle.h:391
OdDb::GridLineStyle m_lineStyle
Definition: DbTableStyle.h:388
DataType
Definition: OdValue.h:45
UnitType
Definition: OdValue.h:61
GLuint const GLchar * name
Definition: gles2_ext.h:265
GLint GLint GLint GLsizei GLsizei GLenum format
Definition: gles2_ext.h:111
GLenum GLint * range
Definition: gles2_ext.h:563
GLint GLenum GLsizei GLsizei height
Definition: gles2_ext.h:110
TableStyleFlags
Definition: DbTableStyle.h:127
@ kHorzInsideLineThird
Definition: DbTableStyle.h:130
@ kHorzInsideLineFirst
Definition: DbTableStyle.h:128
@ kTableStyleModified
Definition: DbTableStyle.h:131
@ kHorzInsideLineSecond
Definition: DbTableStyle.h:129
@ kBlockCell
Definition: DbTableStyle.h:47
@ kTextCell
Definition: DbTableStyle.h:46
@ kMultipleContentCell
Definition: DbTableStyle.h:48
@ kUnknownCell
Definition: DbTableStyle.h:45
@ kTitleRow
Definition: DbTableStyle.h:122
@ kDataRow
Definition: DbTableStyle.h:121
@ kHeaderRow
Definition: DbTableStyle.h:123
@ kUnknownRow
Definition: DbTableStyle.h:120
GridLineType
Definition: DbTableStyle.h:102
@ kHorzInside
Definition: DbTableStyle.h:105
@ kAllGridLineTypes
Definition: DbTableStyle.h:114
@ kInvalidGridLine
Definition: DbTableStyle.h:103
@ kVertGridLineTypes
Definition: DbTableStyle.h:111
@ kHorzGridLineTypes
Definition: DbTableStyle.h:110
@ kHorzBottom
Definition: DbTableStyle.h:106
@ kInnerGridLineTypes
Definition: DbTableStyle.h:113
@ kVertLeft
Definition: DbTableStyle.h:107
@ kVertRight
Definition: DbTableStyle.h:109
@ kOuterGridLineTypes
Definition: DbTableStyle.h:112
@ kHorzTop
Definition: DbTableStyle.h:104
@ kVertInside
Definition: DbTableStyle.h:108
@ kAllRows
Definition: DbTableStyle.h:136
CellContentLayout
Definition: DbTableStyle.h:161
@ kCellContentLayoutStackedHorizontal
Definition: DbTableStyle.h:163
@ kCellContentLayoutFlow
Definition: DbTableStyle.h:162
@ kCellContentLayoutStackedVertical
Definition: DbTableStyle.h:164
FlowDirection
Definition: DbTableStyle.h:74
@ kBtoT
Definition: DbTableStyle.h:76
@ kTtoB
Definition: DbTableStyle.h:75
MergeCellStyleOption
Definition: DbTableStyle.h:317
@ kMergeCellStyleIgnoreNewStyles
Definition: DbTableStyle.h:332
@ kMergeCellStyleConvertDuplicatesToOverrides
Definition: DbTableStyle.h:329
@ kMergeCellStyleCopyDuplicates
Definition: DbTableStyle.h:323
@ kMergeCellStyleNone
Definition: DbTableStyle.h:320
@ kMergeCellStyleOverwriteDuplicates
Definition: DbTableStyle.h:326
RotationAngle
Definition: DbTableStyle.h:80
@ kDegrees180
Definition: DbTableStyle.h:84
@ kDegrees000
Definition: DbTableStyle.h:82
@ kDegrees270
Definition: DbTableStyle.h:85
@ kDegrees090
Definition: DbTableStyle.h:83
@ kDegreesUnknown
Definition: DbTableStyle.h:81
@ kCellOptionNone
Definition: DbTableStyle.h:198
@ kInheritCellFormat
Definition: DbTableStyle.h:199
CellContentType
Definition: DbTableStyle.h:52
@ kCellContentTypeValue
Definition: DbTableStyle.h:54
@ kCellContentTypeUnknown
Definition: DbTableStyle.h:53
@ kCellContentTypeField
Definition: DbTableStyle.h:55
@ kCellContentTypeBlock
Definition: DbTableStyle.h:56
CellEdgeMask
Definition: DbTableStyle.h:60
@ kBottomMask
Definition: DbTableStyle.h:63
@ kLeftMask
Definition: DbTableStyle.h:64
@ kRightMask
Definition: DbTableStyle.h:62
@ kTopMask
Definition: DbTableStyle.h:61
SelectType
Definition: DbTableStyle.h:68
@ kWindow
Definition: DbTableStyle.h:69
@ kCrossing
Definition: DbTableStyle.h:70
TableCopyOption
Definition: DbTableStyle.h:253
@ kTableCopyOptionSkipFormat
Definition: DbTableStyle.h:275
@ kTableCopyOptionSkipDissimilarContentFormat
Definition: DbTableStyle.h:286
@ kTableCopyOptionOnlyContentModifiedAfterUpdate
Definition: DbTableStyle.h:299
@ kTableCopyOptionSkipContent
Definition: DbTableStyle.h:259
@ kTableCopyOptionConvertFormatToOverrides
Definition: DbTableStyle.h:279
@ kTableCopyOptionSkipFieldTranslation
Definition: DbTableStyle.h:311
@ kTableCopyOptionSkipDataLink
Definition: DbTableStyle.h:269
@ kTableCopyOptionSkipBlock
Definition: DbTableStyle.h:267
@ kTableCopyOptionOverwriteFormatModifiedAfterUpdate
Definition: DbTableStyle.h:298
@ kTableCopyOptionSkipDataCell
Definition: DbTableStyle.h:273
@ kTableCopyOptionSkipField
Definition: DbTableStyle.h:263
@ kTableCopyOptionOnlyFormatModifiedAfterUpdate
Definition: DbTableStyle.h:300
@ kTableCopyOptionFullCellState
Definition: DbTableStyle.h:308
@ kTableCopyOptionSkipCellStyle
Definition: DbTableStyle.h:277
@ kTableCopyOptionSkipGeometry
Definition: DbTableStyle.h:288
@ kTableCopyOptionOverwriteReadOnlyFormat
Definition: DbTableStyle.h:296
@ kTableCopyOptionExpandOrContractTable
Definition: DbTableStyle.h:257
@ kTableCopyOptionSkipMerges
Definition: DbTableStyle.h:290
@ kTableCopyOptionForRountrip
Definition: DbTableStyle.h:309
@ kTableCopyOptionSkipLabelCell
Definition: DbTableStyle.h:271
@ kTableCopyOptionSkipContentFormat
Definition: DbTableStyle.h:283
@ kTableCopyOptionOverwriteReadOnlyContent
Definition: DbTableStyle.h:294
@ kTableCopyOptionColumnWidth
Definition: DbTableStyle.h:306
@ kTableCopyOptionFillTarget
Definition: DbTableStyle.h:292
@ kTableCopyOptionSkipFormula
Definition: DbTableStyle.h:265
@ kTableCopyOptionRowHeight
Definition: DbTableStyle.h:303
@ kTableCopyOptionConvertFieldToValue
Definition: DbTableStyle.h:310
@ kTableCopyOptionOverwriteContentModifiedAfterUpdate
Definition: DbTableStyle.h:297
@ kTableCopyOptionSkipCellState
Definition: DbTableStyle.h:281
@ kTableCopyOptionSkipValue
Definition: DbTableStyle.h:261
@ kTableCopyOptionNone
Definition: DbTableStyle.h:255
CellAlignment
Definition: DbTableStyle.h:89
@ kMiddleCenter
Definition: DbTableStyle.h:94
@ kMiddleLeft
Definition: DbTableStyle.h:93
@ kBottomLeft
Definition: DbTableStyle.h:96
@ kTopRight
Definition: DbTableStyle.h:92
@ kBottomRight
Definition: DbTableStyle.h:98
@ kMiddleRight
Definition: DbTableStyle.h:95
@ kBottomCenter
Definition: DbTableStyle.h:97
@ kTopLeft
Definition: DbTableStyle.h:90
@ kTopCenter
Definition: DbTableStyle.h:91
GridLineStyle
Definition: DbTableStyle.h:145
@ kGridLineStyleSingle
Definition: DbTableStyle.h:146
@ kGridLineStyleDouble
Definition: DbTableStyle.h:147
LineWeight
Definition: OdaDefs.h:382
@ kLnWtByBlock
Definition: OdaDefs.h:408
TableFillOption
Definition: DbTableStyle.h:238
@ kTableFillOptionCopyContent
Definition: DbTableStyle.h:243
@ kTableFillOptionReverse
Definition: DbTableStyle.h:241
@ kTableFillOptionCopyFormat
Definition: DbTableStyle.h:244
@ kTableFillOptionRow
Definition: DbTableStyle.h:240
@ kTableFillOptionOverwriteReadOnlyFormat
Definition: DbTableStyle.h:246
@ kTableFillOptionGenerateSeries
Definition: DbTableStyle.h:242
@ kTableFillOptionNone
Definition: DbTableStyle.h:239
@ kTableFillOptionOverwriteReadOnlyContent
Definition: DbTableStyle.h:245
@ kCellStateNone
Definition: DbTableStyle.h:169
@ kCellStateContentReadOnly
Definition: DbTableStyle.h:171
@ kCellStateLinked
Definition: DbTableStyle.h:172
@ kCellStateContentLocked
Definition: DbTableStyle.h:170
@ kCellStateContentModifiedAfterUpdate
Definition: DbTableStyle.h:173
@ kCellStateFormatReadOnly
Definition: DbTableStyle.h:175
@ kAllCellStates
Definition: DbTableStyle.h:177
@ kCellStateFormatModifiedAfterUpdate
Definition: DbTableStyle.h:176
@ kCellStateFormatLocked
Definition: DbTableStyle.h:174
GridProperty
Definition: DbTableStyle.h:184
@ kGridPropDoubleLineSpacing
Definition: DbTableStyle.h:191
@ kGridPropInvalid
Definition: DbTableStyle.h:185
@ kGridPropLinetype
Definition: DbTableStyle.h:188
@ kGridPropLineStyle
Definition: DbTableStyle.h:186
@ kGridPropColor
Definition: DbTableStyle.h:189
@ kGridPropAll
Definition: DbTableStyle.h:192
@ kGridPropLineWeight
Definition: DbTableStyle.h:187
@ kGridPropVisibility
Definition: DbTableStyle.h:190
CellProperty
Definition: DbTableStyle.h:203
@ kCellPropAll
Definition: DbTableStyle.h:229
@ kCellPropDataTypeAndFormat
Definition: DbTableStyle.h:224
@ kCellPropContentColor
Definition: DbTableStyle.h:210
@ kCellPropDataFormat
Definition: DbTableStyle.h:206
@ kCellPropTextHeight
Definition: DbTableStyle.h:212
@ kCellPropAutoScale
Definition: DbTableStyle.h:213
@ kCellPropInvalid
Definition: DbTableStyle.h:204
@ kCellPropMarginHorzSpacing
Definition: DbTableStyle.h:222
@ kCellPropMarginVertSpacing
Definition: DbTableStyle.h:223
@ kCellPropScale
Definition: DbTableStyle.h:208
@ kCellPropDataType
Definition: DbTableStyle.h:205
@ kCellPropTextStyle
Definition: DbTableStyle.h:211
@ kCellPropBitProperties
Definition: DbTableStyle.h:228
@ kCellPropContentLayout
Definition: DbTableStyle.h:219
@ kCellPropMergeAll
Definition: DbTableStyle.h:220
@ kCellPropFlowDirBtoT
Definition: DbTableStyle.h:221
@ kCellPropMarginBottom
Definition: DbTableStyle.h:218
@ kCellPropBackgroundColor
Definition: DbTableStyle.h:214
@ kCellPropAlignment
Definition: DbTableStyle.h:209
@ kCellPropMarginLeft
Definition: DbTableStyle.h:215
@ kCellPropRotation
Definition: DbTableStyle.h:207
@ kCellPropMarginTop
Definition: DbTableStyle.h:216
@ kCellPropMarginRight
Definition: DbTableStyle.h:217
@ kCellPropContent
Definition: DbTableStyle.h:225
@ kCellMarginBottom
Definition: DbTableStyle.h:154
@ kCellMarginLeft
Definition: DbTableStyle.h:153
@ kCellMarginRight
Definition: DbTableStyle.h:155
@ kCellMarginHorzSpacing
Definition: DbTableStyle.h:156
@ kCellMarginVertSpacing
Definition: DbTableStyle.h:157
@ kCellMarginTop
Definition: DbTableStyle.h:152
Visibility
Definition: DbObject.h:144
GridLineTypes
Definition: DbTableStyle.h:140
@ kAllGridLines
Definition: DbTableStyle.h:141