CFx SDK Documentation  2020SP3
DbTable.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_DBTABLE_H
26 #define OD_DBTABLE_H
27 
28 #include "TD_PackPush.h"
29 #include "DbBlockReference.h"
30 #include "DbTableStyle.h"
31 #include "DbDataLink.h"
32 #include "UInt32Array.h"
33 
34 // typedef for OdSubentPathArray
35 //
36 
37 class OdDbTableImpl;
39 class OdDbTableTemplate;
40 
41 namespace OdDb
42 {
47  {
60  };
61 
66  {
73  };
74 
79  {
90  };
91 };
92 
102 {
103 public:
105 
110  {
112  kTitleSuppressed = 1,
114  kHeaderSuppressed = 2,
118  kHorzCellMargin = 4,
120  kVertCellMargin = 5,
122  kTitleRowColor = 6,
124  kHeaderRowColor = 7,
126  kDataRowColor = 8,
128  kTitleRowFillNone = 9,
130  kHeaderRowFillNone = 10,
132  kDataRowFillNone = 11,
134  kTitleRowFillColor = 12,
136  kHeaderRowFillColor = 13,
138  kDataRowFillColor = 14,
140  kTitleRowAlignment = 15,
142  kHeaderRowAlignment = 16,
144  kDataRowAlignment = 17,
146  kTitleRowTextStyle = 18,
148  kHeaderRowTextStyle = 19,
150  kDataRowTextStyle = 20,
152  kTitleRowTextHeight = 21,
154  kHeaderRowTextHeight = 22,
156  kDataRowTextHeight = 23,
158  kTitleRowDataType = 24,
160  kHeaderRowDataType = 25,
162  kDataRowDataType = 26,
164  kTitleHorzTopColor = 40,
166  kTitleHorzInsideColor = 41,
168  kTitleHorzBottomColor = 42,
170  kTitleVertLeftColor = 43,
172  kTitleVertInsideColor = 44,
174  kTitleVertRightColor = 45,
176  kHeaderHorzTopColor = 46,
178  kHeaderHorzInsideColor = 47,
180  kHeaderHorzBottomColor = 48,
182  kHeaderVertLeftColor = 49,
184  kHeaderVertInsideColor = 50,
186  kHeaderVertRightColor = 51,
188  kDataHorzTopColor = 52,
190  kDataHorzInsideColor = 53,
192  kDataHorzBottomColor = 54,
194  kDataVertLeftColor = 55,
196  kDataVertInsideColor = 56,
198  kDataVertRightColor = 57,
200  kTitleHorzTopLineWeight = 70,
202  kTitleHorzInsideLineWeight = 71,
204  kTitleHorzBottomLineWeight = 72,
206  kTitleVertLeftLineWeight = 73,
208  kTitleVertInsideLineWeight = 74,
210  kTitleVertRightLineWeight = 75,
212  kHeaderHorzTopLineWeight = 76,
214  kHeaderHorzInsideLineWeight = 77,
216  kHeaderHorzBottomLineWeight = 78,
218  kHeaderVertLeftLineWeight = 79,
220  kHeaderVertInsideLineWeight = 80,
222  kHeaderVertRightLineWeight = 81,
224  kDataHorzTopLineWeight = 82,
226  kDataHorzInsideLineWeight = 83,
228  kDataHorzBottomLineWeight = 84,
230  kDataVertLeftLineWeight = 85,
232  kDataVertInsideLineWeight = 86,
234  kDataVertRightLineWeight = 87,
235 
237  kTitleHorzTopVisibility = 100,
239  kTitleHorzInsideVisibility = 101,
241  kTitleHorzBottomVisibility = 102,
243  kTitleVertLeftVisibility = 103,
245  kTitleVertInsideVisibility = 104,
247  kTitleVertRightVisibility = 105,
249  kHeaderHorzTopVisibility = 106,
251  kHeaderHorzInsideVisibility = 107,
253  kHeaderHorzBottomVisibility = 108,
255  kHeaderVertLeftVisibility = 109,
257  kHeaderVertInsideVisibility = 110,
259  kHeaderVertRightVisibility = 111,
261  kDataHorzTopVisibility = 112,
263  kDataHorzInsideVisibility = 113,
265  kDataHorzBottomVisibility = 114,
267  kDataVertLeftVisibility = 115,
269  kDataVertInsideVisibility = 116,
271  kDataVertRightVisibility = 117,
272 
274  kCellAlignment = 130,
276  kCellBackgroundFillNone = 131,
278  kCellBackgroundColor = 132,
280  kCellContentColor = 133,
282  kCellTextStyle = 134,
284  kCellTextHeight = 135,
286  kCellTopGridColor = 136,
288  kCellRightGridColor = 137,
290  kCellBottomGridColor = 138,
292  kCellLeftGridColor = 139,
294  kCellTopGridLineWeight = 140,
296  kCellRightGridLineWeight = 141,
298  kCellBottomGridLineWeight = 142,
300  kCellLeftGridLineWeight = 143,
302  kCellTopVisibility = 144,
304  kCellRightVisibility = 145,
306  kCellBottomVisibility = 146,
308  kCellLeftVisibility = 147
309  };
310 
312  // virtual ~OdDbTable();
313 
314 
318  virtual OdDbObjectId tableStyle() const;
319 
328  virtual void setTableStyle(
329  const OdDbObjectId& tableStyleId);
330 
334  virtual OdGeVector3d direction() const;
335 
341  virtual void setDirection(
342  const OdGeVector3d& horizVector);
343 
350  virtual OdUInt32 numRows() const;
351 
362  virtual void setNumRows(
363  OdUInt32 numRows);
364 
368  virtual OdUInt32 numColumns() const;
369 
380  virtual void setNumColumns(OdUInt32 numColumns);
381 
385  virtual double width() const;
386 
400  virtual void setWidth(double width);
401 
407  virtual double columnWidth(OdUInt32 column) const;
408 
418  virtual void setColumnWidth(
419  OdUInt32 column,
420  double width);
421 
430  virtual void setColumnWidth(
431  double width);
432 
436  virtual double height() const;
437 
448  virtual void setHeight(
449  double height);
450 
456  virtual double rowHeight(
457  OdUInt32 row) const;
458 
468  virtual void setRowHeight(
469  OdUInt32 row,
470  double height);
471 
480  virtual void setRowHeight(
481  double height);
482 
488  virtual double minimumColumnWidth(
489  OdUInt32 column) const;
490 
496  virtual double minimumRowHeight(
497  OdUInt32 row) const;
498 
502  virtual double minimumTableWidth() const;
503 
507  virtual double minimumTableHeight() const;
508 
509  //********************************************************************
510  // Get and set methods for table style overrides
511  //********************************************************************
512 
519  virtual double horzCellMargin() const;
520 
531  virtual void setHorzCellMargin(
532  double cellMargin);
533 
540  virtual double vertCellMargin() const;
541 
552  virtual void setVertCellMargin(double cellMargin);
553 
567 
584  virtual void setFlowDirection(
585  OdDb::FlowDirection flowDirection);
586 
590  virtual bool isTitleSuppressed() const;
591 
597  virtual void suppressTitleRow(
598  bool suppress);
599 
603  virtual bool isHeaderSuppressed() const;
604 
610  virtual void suppressHeaderRow(
611  bool suppress);
612 
644  OdDb::RowType rowType = OdDb::kDataRow) const;
645 
668  OdUInt32 row,
669  OdUInt32 column) const;
670 
705  virtual void setAlignment(
706  OdDb::CellAlignment alignment,
707  OdUInt32 rowTypes = OdDb::kAllRows);
708 
734  virtual void setAlignment(
735  OdUInt32 row,
736  OdUInt32 column,
737  OdDb::CellAlignment alignment);
738 
754  virtual bool isBackgroundColorNone(
755  OdDb::RowType rowType = OdDb::kDataRow) const;
756 
763  virtual bool isBackgroundColorNone(
764  OdUInt32 row,
765  OdUInt32 column) const;
766 
787  bool disable,
788  OdUInt32 rowTypes = OdDb::kAllRows);
789 
801  OdUInt32 row,
802  OdUInt32 column,
803  bool disable);
804 
821  OdDb::RowType rowType = OdDb::kDataRow) const;
822 
830  OdUInt32 row,
831  OdUInt32 column) const;
832 
852  virtual void setBackgroundColor(
853  const OdCmColor& color,
854  OdUInt32 rowTypes = OdDb::kAllRows);
855 
866  virtual void setBackgroundColor(
867  OdUInt32 row,
868  OdUInt32 column,
869  const OdCmColor& color);
870 
887  OdDb::RowType rowType = OdDb::kDataRow) const;
888 
896  OdUInt32 row,
897  OdUInt32 column) const;
898 
918  virtual void setContentColor(
919  const OdCmColor& color,
920  OdUInt32 nRowType = OdDb::kAllRows);
921 
932  virtual void setContentColor(
933  OdUInt32 row,
934  OdUInt32 column,
935  const OdCmColor& color);
936 
953  OdDb::RowType rowType = OdDb::kDataRow) const;
954 
962  OdUInt32 row,
963  OdUInt32 column) const;
964 
965 
985  virtual void setTextStyle(
986  const OdDbObjectId& textStyleId,
987  OdUInt32 rowTypes = OdDb::kAllRows);
988 
1000  virtual void setTextStyle(
1001  OdUInt32 row,
1002  OdUInt32 column,
1003  const OdDbObjectId& textStyleId);
1004 
1020  virtual double textHeight(
1021  OdDb::RowType rowType = OdDb::kDataRow) const;
1022 
1029  virtual double textHeight(
1030  OdUInt32 row,
1031  OdUInt32 column) const;
1032 
1033 
1054  virtual void setTextHeight(
1055  double height,
1056  OdUInt32 rowTypes = OdDb::kAllRows);
1057 
1058 
1069  virtual void setTextHeight(
1070  OdUInt32 row,
1071  OdUInt32 column,
1072  double height);
1073 
1103  OdDb::GridLineType gridlineType,
1104  OdDb::RowType rowType = OdDb::kDataRow) const;
1105 
1126  OdUInt32 row,
1127  OdUInt32 column,
1128  OdDb::CellEdgeMask edgeType) const;
1129 
1162  virtual void setGridLineWeight(
1163  OdDb::LineWeight lineWeight,
1164  OdUInt32 gridlineTypes,
1165  OdUInt32 rowTypes);
1166 
1189  virtual void setGridLineWeight(
1190  OdUInt32 row,
1191  OdUInt32 column,
1192  OdInt16 edgeTypes,
1193  OdDb::LineWeight lineWeight);
1194 
1221  OdDb::GridLineType gridlineType,
1222  OdDb::RowType rowType = OdDb::kDataRow) const;
1223 
1243  OdUInt32 row,
1244  OdUInt32 column,
1245  OdDb::CellEdgeMask edgeType) const;
1246 
1284  OdDb::GridLineType gridlineType,
1285  OdDb::RowType rowType = OdDb::kDataRow) const;
1286 
1314  OdUInt32 row,
1315  OdUInt32 column,
1316  OdDb::CellEdgeMask edgeType) const;
1317 
1358  virtual void setGridVisibility(
1359  OdDb::Visibility gridVisiblity,
1360  OdUInt32 gridlineTypes,
1361  OdUInt32 rowTypes);
1362 
1393  virtual void setGridVisibility(
1394  OdUInt32 row,
1395  OdUInt32 column,
1396  OdInt16 edgeTypes,
1397  OdDb::Visibility gridVisibility);
1398 
1407  virtual bool tableStyleOverrides(
1408  OdUInt32Array& overrides) const;
1409 
1426  int option = 0);
1427 
1444  OdUInt32 row,
1445  OdUInt32 column) const;
1446 
1466  virtual void setCellType(
1467  OdUInt32 row,
1468  OdUInt32 column,
1469  OdDb::CellType cellType);
1470 
1488  virtual void getCellExtents(
1489  OdUInt32 row,
1490  OdUInt32 column,
1491  bool isOuterCell,
1492  OdGePoint3dArray& pts) const;
1493 
1505  OdUInt32 row,
1506  OdUInt32 column) const;
1507 
1508 
1516  virtual bool cellStyleOverrides(
1517  OdUInt32 row,
1518  OdUInt32 column,
1519  OdUInt32Array& overrides) const;
1520 
1528  OdUInt32 row,
1529  OdUInt32 column);
1530 
1541  virtual void deleteCellContent(
1542  OdUInt32 row,
1543  OdUInt32 column);
1544 
1561  OdUInt32 row) const;
1562 
1570  OdUInt32 row,
1571  OdUInt32 column) const;
1572 
1584  virtual void setTextString(
1585  OdUInt32 row,
1586  OdUInt32 column,
1587  const OdString& textString);
1588 
1596  OdUInt32 row,
1597  OdUInt32 column) const;
1598 
1610  virtual void setFieldId(
1611  OdUInt32 row,
1612  OdUInt32 column,
1613  const OdDbObjectId& fieldId);
1614 
1615 
1634  OdUInt32 row,
1635  OdUInt32 column) const;
1636 
1659  virtual void setTextRotation(
1660  OdUInt32 row,
1661  OdUInt32 column,
1662  OdDb::RotationAngle textRotation);
1663 
1664 
1672  virtual bool isAutoScale(
1673  OdUInt32 row,
1674  OdUInt32 column) const;
1675 
1688  virtual void setAutoScale(
1689  OdUInt32 row,
1690  OdUInt32 column,
1691  bool autoScale);
1692 
1700  OdUInt32 row,
1701  OdUInt32 column) const;
1702 
1717  OdUInt32 row,
1718  OdUInt32 column,
1719  const OdDbObjectId& blockId,
1720  bool autoScale = false);
1721 
1728  virtual double blockScale(
1729  OdUInt32 row,
1730  OdUInt32 column) const;
1731 
1745  virtual void setBlockScale(
1746  OdUInt32 row,
1747  OdUInt32 column,
1748  double blockScale);
1749 
1756  virtual double blockRotation(
1757  OdUInt32 row,
1758  OdUInt32 column) const;
1759 
1771  virtual void setBlockRotation(
1772  OdUInt32 row,
1773  OdUInt32 column,
1774  double blockRotation);
1775 
1785  OdUInt32 row,
1786  OdUInt32 column,
1787  const OdDbObjectId& attdefId,
1788  OdString& attValue) const;
1789 
1803  OdUInt32 row,
1804  OdUInt32 column,
1805  const OdDbObjectId& attdefId,
1806  const OdString& attValue);
1807 
1837  virtual void setGridColor(
1838  const OdCmColor& color,
1839  OdUInt32 gridlineTypes,
1840  OdUInt32 rowTypes);
1841 
1864  virtual void setGridColor(
1865  OdUInt32 row,
1866  OdUInt32 column,
1867  OdInt16 edgeTypes,
1868  const OdCmColor& color);
1869 
1881  virtual void insertColumns(
1882  OdUInt32 column,
1883  double width,
1884  OdUInt32 numColumns = 1);
1885 
1896  virtual void deleteColumns(
1897  OdUInt32 column,
1898  OdUInt32 numColumns = 1);
1899 
1910  virtual void insertRows(
1911  OdUInt32 row,
1912  double height,
1913  OdUInt32 numRows = 1);
1914 
1925  virtual void deleteRows(
1926  OdUInt32 row,
1927  OdUInt32 numRows = 1);
1928 
1942  virtual void mergeCells(
1943  OdUInt32 minRow,
1944  OdUInt32 maxRow,
1945  OdUInt32 minColumn,
1946  OdUInt32 maxColumn);
1947 
1961  virtual void unmergeCells(
1962  OdUInt32 minRow,
1963  OdUInt32 maxRow,
1964  OdUInt32 minColumn,
1965  OdUInt32 maxColumn);
1966 
1982  virtual bool isMergedCell(
1983  OdUInt32 row,
1984  OdUInt32 column,
1985  OdUInt32* minRow = 0,
1986  OdUInt32* maxRow = 0,
1987  OdUInt32* minColumn = 0,
1988  OdUInt32* maxColumn = 0) const;
1989 
1997  OdUInt32 row,
1998  OdUInt32 column) const;
1999 
2007  OdUInt32 row,
2008  OdUInt32 column) const;
2009 
2017  OdUInt32 row,
2018  OdUInt32 column) const;
2019 
2027 
2043  bool forceUpdate = true);
2044 
2045  //********************************************************************
2046  // Methods for sub-selection
2047  //********************************************************************
2048  //
2049 
2062  virtual bool hitTest(const OdGePoint3d& wpt,
2063  const OdGeVector3d& wviewVec,
2064  double wxaper,
2065  double wyaper,
2066  OdInt32& resultRowIndex,
2067  OdInt32& resultColumnIndex) const;
2082  virtual bool hitTest(const OdGePoint3d& wpt,
2083  const OdGeVector3d& wviewVec,
2084  double wxaper,
2085  double wyaper,
2086  OdInt32& resultRowIndex,
2087  OdInt32& resultColumnIndex,
2088  OdInt32& contentIndex,
2089  OdDb::TableHitItem& nItem) const;
2110  virtual OdResult select(const OdGePoint3d& wpt,
2111  const OdGeVector3d& wvwVec,
2112  const OdGeVector3d& wvwxVec,
2113  double wxaper,
2114  double wyaper,
2115  bool allowOutside,
2116  bool bInPickFirst,
2117  OdInt32& resultRowIndex,
2118  OdInt32& resultColumnIndex,
2119  OdDbFullSubentPathArray* pPaths = 0) const;
2145  virtual OdResult selectSubRegion(const OdGePoint3d& wpt1,
2146  const OdGePoint3d& wpt2,
2147  const OdGeVector3d& wvwVec,
2148  const OdGeVector3d& wvwxVec,
2149  double wxaper,
2150  double wyaper,
2151  OdDb::SelectType seltype,
2152  bool bIncludeCurrentSelection,
2153  bool bInPickFirst,
2154  OdInt32& rowMin,
2155  OdInt32& rowMax,
2156  OdInt32& colMin,
2157  OdInt32& colMax,
2158  OdDbFullSubentPathArray* pPaths = 0) const;
2169  virtual bool reselectSubRegion(OdDbFullSubentPathArray& paths) const;
2170 
2183  OdInt32& rowMax,
2184  OdInt32& colMin,
2185  OdInt32& colMax) const;
2186 
2194 
2204 
2217  OdInt32 rowMax,
2218  OdInt32 colMin,
2219  OdInt32 colMax);
2223  virtual void clearSubSelection();
2224 
2228  virtual bool hasSubSelection() const;
2229 
2231  OdInt32& resultRowIndex,
2232  OdInt32& resultColumnIndex,
2233  OdDbFullSubentPathArray* pPaths = NULL,
2234  bool bSupportTextCellOnly = true) const;
2235 
2236  //********************************************************************
2237  // Overridden methods from OdDbObject
2238  //********************************************************************
2239  //
2240 
2242  OdDbDwgFiler* pFiler);
2243  virtual void dwgOutFields(
2244  OdDbDwgFiler* pFiler) const;
2245 
2247  OdDbDxfFiler* pFiler);
2248  virtual void dxfOutFields(
2249  OdDbDxfFiler* pFiler) const;
2250 
2251  // virtual OdResult audit(OdDbAuditInfo* pAuditInfo);
2252 
2253  void subClose();
2254 
2260  OdDbDatabase *pDb,
2261  bool doSubents);
2262 
2263  // virtual void objectClosed(const OdDbObjectId objId);
2264  // virtual void erased(const OdDbObject* dbObj,
2265  // bool pErasing = true);
2266  virtual void modified(
2267  const OdDbObject* pObj);
2268 
2270  void* pClsid) const;
2271 
2272  //********************************************************************
2273  // Overridden methods from OdDbEntity
2274  //********************************************************************
2275  //
2276  /*
2277  virtual void list() const;
2278  */
2279 
2280  virtual bool subWorldDraw(
2281  OdGiWorldDraw* pWd) const;
2282 
2283  /*
2284  virtual OdResult getGripPoints(OdGePoint3dArray&,
2285  OdDbIntArray&,
2286  OdDbIntArray&) const;
2287 
2288  virtual OdResult moveGripPointsAt(const OdDbIntArray&,
2289  const OdGeVector3d&);
2290 
2291  virtual OdResult getStretchPoints(OdGePoint3dArray& stretchPoints)
2292  const;
2293 
2294  virtual OdResult moveStretchPointsAt(const OdDbIntArray&
2295  indices,
2296  const OdGeVector3d& offset);
2297 
2298  virtual OdResult getOsnapPoints(OdDb::OsnapMode osnapMode,
2299  OdGsMarker gsSelectionMark,
2300  const OdGePoint3d& pickPoint,
2301  const OdGePoint3d& lastPoint,
2302  const OdGeMatrix3d& viewXform,
2303  OdGePoint3dArray& snapPoints,
2304  OdDbIntArray& geomIds)
2305  const;
2306  */
2307 
2309  const OdGeMatrix3d& xfm);
2310 
2312  const OdGeMatrix3d& xfm,
2313  OdDbEntityPtr& pCopy) const;
2314 
2315  virtual OdResult subGetGeomExtents(OdGeExtents3d& extents) const;
2316 
2317  /*
2318  virtual OdResult explode(OdDbVoidPtrArray& entitySet) const;
2319  */
2320 
2321  //********************************************************************
2322  // Overridden methods from OdDbBlockReference required for OdDbTable
2323  //********************************************************************
2324  //
2325  //OdGePoint3d position() const;
2326  // virtual OdResult setPosition(const OdGePoint3d&);
2327 
2328  //OdGeVector3d normal() const;
2329  // virtual OdResult setNormal(const OdGeVector3d& newVal);
2330 
2331  //********************************************************************
2332  // Methods for internal use only
2333  //********************************************************************
2334  //
2335  // TODO: Temporary method for navigating after editing cells
2336  /*
2337  virtual OdResult select_next_cell(int dir,
2338  int& resultRowIndex,
2339  int& resultColumnIndex,
2340  OdDbFullSubentPathArray* pPaths = 0,
2341  bool bSupportTextCellOnly = true) const;
2342 
2343  virtual void setRegen();
2344  virtual void suppressInvisibleGrid(bool value);
2345  virtual OdResult getCellExtents(int row,
2346  int column,
2347  double& cellWidth,
2348  double& cellHeight,
2349  bool bAdjustForMargins) const;
2350  */
2351 
2352  // NEW 2007
2370  virtual void getDataType(OdValue::DataType& nDataType,
2371  OdValue::UnitType& nUnitType,
2372  OdDb::RowType type) const;
2373 
2380  virtual void setDataType(OdValue::DataType nDataType,
2381  OdValue::UnitType nUnitType);
2382 
2390  virtual void setDataType(OdValue::DataType nDataType,
2391  OdValue::UnitType nUnitType,
2392  int nRowTypes);
2393 
2395 
2396  virtual void setFormat(const OdString& pszFormat);
2397 
2398  virtual void setFormat(const OdString& pszFormat,
2399  int nRowTypes);
2400 
2410  OdValue::DataType& nDataType,
2411  OdValue::UnitType& nUnitType) const;
2412 
2422  OdValue::DataType nDataType,
2423  OdValue::UnitType nUnitType);
2424 
2431  OdValue value(OdUInt32 row, OdUInt32 col) const;
2432 
2443  void setValue(OdUInt32 row, OdUInt32 col,
2444  const OdValue& val);
2445 
2457  void setValue(OdUInt32 row, OdUInt32 col,
2458  OdString& pszText,
2459  OdValue::ParseOption nOption);
2460 
2470  void resetValue(OdUInt32 row, OdUInt32 col);
2471 
2473 
2474  void setFormat(OdUInt32 row, OdUInt32 col,
2475  const OdString& pszFormat);
2476 
2480  bool isBreakEnabled(void) const;
2481 
2487  void enableBreak (bool bEnable);
2488 
2493 
2500 
2501 
2511  double breakHeight (OdUInt32 index) const;
2512 
2524  double height);
2525 
2535 
2546  const OdGeVector3d& vec);
2547 
2565 
2585 
2589  double breakSpacing (void) const;
2590 
2599  void setBreakSpacing (double spacing);
2600 
2601  //********************************************************************
2602  // New Methods
2603  //********************************************************************
2604 
2614  void setSize (
2615  OdInt32 rows,
2616  OdInt32 cols);
2617 
2627  bool canInsert (
2628  OdInt32 nIndex,
2629  bool bRow) const;
2630 
2639  OdInt32 nIndex,
2640  OdInt32 nInheritFrom,
2641  OdInt32 nNumRows);
2642 
2654  OdInt32 col,
2655  OdInt32 nInheritFrom,
2656  OdInt32 nNumCols);
2657 
2667  bool canDelete (OdInt32 nIndex,
2668  OdInt32 nCount,
2669  bool bRow) const;
2670 
2680  bool isEmpty (
2681  OdInt32 row,
2682  OdInt32 col) const;
2683 
2692  OdInt32 row,
2693  OdInt32 col) const;
2694 
2702  OdInt32 row,
2703  OdInt32 col) const;
2704 
2712  OdInt32 row,
2713  OdInt32 col) const;
2714 
2738  OdInt32 row,
2739  OdInt32 col) const;
2740 
2767  OdInt32 row,
2768  OdInt32 col,
2769  OdDb::CellState nLock);
2770 
2781  OdInt32 row,
2782  OdInt32 col) const;
2783 
2795  OdInt32 row,
2796  OdInt32 col,
2797  OdInt32 nIndex);
2798 
2811  OdInt32 row,
2812  OdInt32 col,
2813  OdInt32 nFromIndex,
2814  OdInt32 nToIndex);
2815 
2827  OdInt32 row,
2828  OdInt32 col);
2829 
2842  OdInt32 row,
2843  OdInt32 col,
2844  OdInt32 nIndex);
2845 
2855  const OdCellRange& range);
2856 
2875  OdInt32 row,
2876  OdInt32 col) const;
2877 
2897  OdInt32 row,
2898  OdInt32 col,
2899  OdInt32 nIndex) const;
2900 
2909  OdInt32 row,
2910  OdInt32 col,
2911  OdInt32 nContent) const;
2912 
2934  OdInt32 row,
2935  OdInt32 col,
2936  OdInt32 nContent,
2937  OdValue::FormatOption nOption) const;
2938 
2951  void setValue (
2952  OdInt32 row,
2953  OdInt32 col,
2954  OdInt32 nContent,
2955  const OdValue& val);
2956 
2982  void setValue (
2983  OdInt32 row,
2984  OdInt32 col,
2985  OdInt32 nContent,
2986  const OdValue& val,
2987  OdValue::ParseOption nOption);
2988 
3013  void setValue (
3014  OdInt32 row,
3015  OdInt32 col,
3016  OdInt32 nContent,
3017  OdString sText,
3018  OdValue::ParseOption nOption);
3019 
3027  OdInt32 row,
3028  OdInt32 col) const;
3029 
3038  OdInt32 row,
3039  OdInt32 col,
3040  OdInt32 nContent) const;
3041 
3054  OdInt32 row,
3055  OdInt32 col,
3056  const OdString& sFormat);
3057 
3071  OdInt32 row,
3072  OdInt32 col,
3073  OdInt32 nContent,
3074  const OdString& sFormat);
3075 
3084  OdInt32 row,
3085  OdInt32 col,
3086  OdInt32 nContent) const;
3087 
3109  OdInt32 row,
3110  OdInt32 col,
3111  OdInt32 nContent,
3112  OdValue::FormatOption nOption) const;
3113 
3134  OdInt32 row,
3135  OdInt32 col,
3136  OdValue::FormatOption nOption ) const;
3137 
3151  OdInt32 row,
3152  OdInt32 col,
3153  OdInt32 nContent,
3154  const OdString& text);
3155 
3163  bool hasFormula (
3164  OdInt32 row,
3165  OdInt32 col,
3166  OdInt32 nContent) const;
3167 
3176  OdInt32 row,
3177  OdInt32 col,
3178  OdInt32 nContent) const;
3179 
3191  void setFormula (
3192  OdInt32 row,
3193  OdInt32 col,
3194  OdInt32 nContent,
3195  const OdString& pszFormula);
3196 
3205  OdInt32 row,
3206  OdInt32 col,
3207  OdInt32 nContent) const;
3208 
3222  void setFieldId (
3223  OdInt32 row,
3224  OdInt32 col,
3225  OdInt32 nContent,
3226  const OdDbObjectId& fieldId,
3227  OdDb::CellOption nFlag);
3228 
3237  OdInt32 row,
3238  OdInt32 col,
3239  OdInt32 nContent) const;
3240 
3255  OdInt32 row,
3256  OdInt32 col,
3257  OdInt32 nContent,
3258  const OdDbObjectId& blkId,
3259  bool autoFit);
3260 
3273  OdInt32 row,
3274  OdInt32 col,
3275  OdInt32 nContent,
3276  const OdDbObjectId& attdefId) const;
3277 
3292  OdInt32 row,
3293  OdInt32 col,
3294  OdInt32 nContent,
3295  const OdDbObjectId& attdefId,
3296  const OdString& atrValue);
3297 
3307  OdInt32 row,
3308  OdInt32 col) const;
3309 
3320  OdInt32 row,
3321  OdInt32 col,
3322  OdInt32 nData);
3323 
3334  OdInt32 row,
3335  OdInt32 col,
3336  const OdString sKey) const;
3337 
3349  OdInt32 row,
3350  OdInt32 col,
3351  const OdString& sKey,
3352  const OdValue* pData);
3353 
3374  OdInt32 row,
3375  OdInt32 col) const;
3376 
3399  OdInt32 row,
3400  OdInt32 col,
3401  const OdString& sCellStyle);
3402 
3425  double margin (
3426  OdInt32 row,
3427  OdInt32 col,
3428  OdDb::CellMargin nMargin) const;
3429 
3453  void setMargin (
3454  OdInt32 row,
3455  OdInt32 col,
3456  OdDb::CellMargin nMargins,
3457  double fMargin);
3458 
3470  OdInt32 row,
3471  OdInt32 col,
3472  OdInt32 content) const;
3473 
3485  OdInt32 row,
3486  OdInt32 col,
3487  OdInt32 nContent) const;
3488 
3502  OdInt32 row,
3503  OdInt32 col,
3504  OdInt32 nContent,
3505  const OdCmColor& color);
3506 
3551  OdInt32 row,
3552  OdInt32 col,
3553  OdInt32 nContent,
3554  OdValue::DataType& nDataType,
3555  OdValue::UnitType& nUnitType) const;
3556 
3601  OdInt32 row,
3602  OdInt32 col,
3603  OdInt32 nContent,
3604  OdValue::DataType nDataType,
3605  OdValue::UnitType nUnitType);
3606 
3618  OdInt32 row,
3619  OdInt32 col,
3620  OdInt32 nContent) const;
3621 
3635  OdInt32 row,
3636  OdInt32 col,
3637  OdInt32 nContent,
3638  const OdDbObjectId& id);
3639 
3650  double textHeight (
3651  OdInt32 row,
3652  OdInt32 col,
3653  OdInt32 nContent) const;
3654 
3668  OdInt32 row,
3669  OdInt32 col,
3670  OdInt32 nContent,
3671  double height);
3672 
3676  double rotation() const;
3677 
3688  double rotation (
3689  OdInt32 row,
3690  OdInt32 col,
3691  OdInt32 nContent) const;
3692 
3698  void setRotation(double fAngle);
3699 
3713  OdInt32 row,
3714  OdInt32 col,
3715  OdInt32 nContent,
3716  double fAngle);
3717 
3726  OdInt32 row,
3727  OdInt32 col,
3728  OdInt32 nContent) const;
3729 
3743  OdInt32 row,
3744  OdInt32 col,
3745  OdInt32 nContent,
3746  bool autoFit);
3747 
3758  double scale (
3759  OdInt32 row,
3760  OdInt32 col,
3761  OdInt32 nContent) const;
3762 
3774  void setScale (
3775  OdInt32 row,
3776  OdInt32 col,
3777  OdInt32 nContent,
3778  double scale);
3779 
3798  OdInt32 row,
3799  OdInt32 col) const;
3800 
3822  OdInt32 row,
3823  OdInt32 col,
3824  OdDb::CellContentLayout nLayout);
3825 
3837  OdInt32 row,
3838  OdInt32 col) const;
3839 
3851  OdInt32 row,
3852  OdInt32 col,
3853  bool bEnable);
3854 
3896  OdInt32 row,
3897  OdInt32 col,
3898  OdInt32 nContent) const;
3899 
3942  OdInt32 row,
3943  OdInt32 col,
3944  OdDb::GridLineType nGridLineType) const;
3945 
3946 
3989  OdInt32 row,
3990  OdInt32 col,
3991  OdInt32 nContent,
3992  OdDb::CellProperty nOverride);
3993 
4024  OdInt32 row,
4025  OdInt32 col,
4026  OdDb::GridLineType nGridLineType,
4027  OdDb::GridProperty nOverride);
4028 
4038  OdInt32 row,
4039  OdInt32 col);
4040 
4078  OdInt32 row,
4079  OdInt32 col,
4080  OdDb::GridLineType nGridLineType) const;
4081 
4120  OdInt32 row,
4121  OdInt32 col,
4122  OdDb::GridLineType nGridLineTypes,
4123  OdDb::GridLineStyle nLineStyle);
4124 
4187  OdInt32 row,
4188  OdInt32 col,
4189  OdDb::GridLineType nGridLineType) const;
4190 
4254  OdInt32 row,
4255  OdInt32 col,
4256  OdDb::GridLineType nGridLineTypes,
4257  OdDb::LineWeight nLineWeight);
4258 
4288  OdInt32 row,
4289  OdInt32 col,
4290  OdDb::GridLineType nGridLineType) const;
4291 
4322  OdInt32 row,
4323  OdInt32 col,
4324  OdDb::GridLineType nGridLineTypes,
4325  const OdDbObjectId& idLinetype);
4326 
4356  OdInt32 row,
4357  OdInt32 col,
4358  OdDb::GridLineType nGridLineType) const;
4359 
4390  OdInt32 row,
4391  OdInt32 col,
4392  OdDb::GridLineType nGridlineTypes,
4393  const OdCmColor& color);
4394 
4432  OdInt32 row,
4433  OdInt32 col,
4434  OdDb::GridLineType nGridLineType) const;
4435 
4474  OdInt32 row,
4475  OdInt32 col,
4476  OdDb::GridLineType nGridLineTypes,
4477  OdDb::Visibility nVisibility);
4478 
4508  OdInt32 row,
4509  OdInt32 col,
4510  OdDb::GridLineType nGridLineType) const;
4511 
4542  OdInt32 row,
4543  OdInt32 col,
4545  nGridLineTypes,
4546  double fSpacing);
4547 
4578  OdInt32 row,
4579  OdInt32 col,
4580  OdDb::GridLineType nGridLineType,
4581  OdGridProperty& gridProp) const;
4582 
4613  OdInt32 row,
4614  OdInt32 col,
4615  OdDb::GridLineType nGridLineTypes,
4616  const OdGridProperty& gridProp);
4617 
4645  const OdCellRange& rangeIn,
4646  OdDb::GridLineType nGridLineTypes,
4647  const OdGridProperty& gridProp);
4648 
4674  bool isLinked (
4675  OdInt32 row,
4676  OdInt32 col) const;
4677 
4685  OdInt32 row,
4686  OdInt32 col) const;
4687 
4707  OdInt32 row,
4708  OdInt32 col,
4709  OdDb::OpenMode mode) const;
4710 
4718  const OdCellRange& pRange,
4719  OdDbObjectIdArray& dataLinkIds) const;
4720 
4733  OdInt32 row,
4734  OdInt32 col,
4735  const OdDbObjectId& idDataLink,
4736  bool bUpdate);
4737 
4749  (const OdCellRange& range,
4750  const OdDbObjectId& idDataLink,
4751  bool bUpdate);
4752 
4760  OdInt32 row,
4761  OdInt32 col) const;
4762 
4773  OdInt32 row,
4774  OdInt32 col);
4775 
4779  void removeDataLink (void);
4780 
4818  OdInt32 row,
4819  OdInt32 col,
4820  OdDb::UpdateDirection nDir,
4821  OdDb::UpdateOption nOption);
4822 
4856  OdDb::UpdateDirection nDir,
4857  OdDb::UpdateOption nOption);
4858 
4865  OdInt32 nIndex) const;
4866 
4874  OdInt32 nIndex,
4875  const OdString& sName);
4876 
4884  OdInt32 row,
4885  OdInt32 col) const;
4886 
4894  void setToolTip (
4895  OdInt32 row,
4896  OdInt32 col,
4897  const OdString sToolTip);
4898  // void createTemplate (OdDbTableTemplate*& pTemplate, OdDb::TableCopyOption nCopyOption);
4899  // void getIndicatorSize (double& fWidth, double& fHeight) const;
4900 
4906  virtual void copyFrom(
4907  const OdRxObject* pSource);
4908 
4915  void copyFrom (
4916  const OdDbLinkedTableData* pSrc,
4917  OdDb::TableCopyOption nOption);
4918 
4928  void copyFrom (const OdDbLinkedTableData* pSrc,
4929  OdDb::TableCopyOption nOption,
4930  const OdCellRange& srcRange,
4931  const OdCellRange& targetRange,
4932  OdCellRange* pNewTargetRangeOut);
4933 
4943  void copyFrom (const OdDbTable* pSrc,
4944  OdDb::TableCopyOption nOption,
4945  const OdCellRange& srcRange,
4946  const OdCellRange& targetRange,
4947  OdCellRange* pNewTargetRangeOut);
4948 
4957  OdDbIdPair& idPair,
4958  OdDbObject* pOwnerObject,
4959  OdDbIdMapping& ownerIdMap);
4960 
4965 
4971  void suppressRegenerateTable(bool bSuppress);
4972 
4974  OdRxObjectPtrArray& entitySet) const ODRX_OVERRIDE;
4975 
4977 
4978 };
4979 
4984 
4985 #include "TD_PackPop.h"
4986 
4987 #endif
OdDbTable::setTextStyle
virtual void setTextStyle(OdUInt32 row, OdUInt32 column, const OdDbObjectId &textStyleId)
OdDbTable::insertRows
virtual void insertRows(OdUInt32 row, double height, OdUInt32 numRows=1)
OdDbTable::subSetDatabaseDefaults
void subSetDatabaseDefaults(OdDbDatabase *pDb, bool doSubents)
OdDb::TableBreakFlowDirection
TableBreakFlowDirection
Definition: DbTable.h:66
OdDbTable::setGridVisibility
virtual void setGridVisibility(OdUInt32 row, OdUInt32 column, OdInt16 edgeTypes, OdDb::Visibility gridVisibility)
OdResult
OdResult
Definition: OdResult.h:29
OdDbTable::textStyle
virtual OdDbObjectId textStyle(OdDb::RowType rowType=OdDb::kDataRow) const
OdDbTable::setCustomData
void setCustomData(OdInt32 row, OdInt32 col, OdInt32 nData)
OdDbTable::deleteContent
void deleteContent(OdInt32 row, OdInt32 col)
OdGeVector3d
Definition: GeVector3d.h:54
OdString
Definition: OdString.h:95
OdDbTable::setGridVisibility
virtual void setGridVisibility(OdDb::Visibility gridVisiblity, OdUInt32 gridlineTypes, OdUInt32 rowTypes)
OdDbDatabase
Definition: DbDatabase.h:421
NULL
#define NULL
Definition: GsProperties.h:177
OdDbBlockReference
Definition: DbBlockReference.h:57
OdDbTable::OdDbTable
OdDbTable()
OdDbTable::tableStyleOverrides
virtual bool tableStyleOverrides(OdUInt32Array &overrides) const
OdDbTable::dwgInFields
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdDbTable::setBreakSpacing
void setBreakSpacing(double spacing)
OdDbTable::setBreakOption
void setBreakOption(OdDb::TableBreakOption option)
OdDbTable::setDataType
void setDataType(OdInt32 row, OdInt32 col, OdInt32 nContent, OdValue::DataType nDataType, OdValue::UnitType nUnitType)
OdDbTable::copyFrom
void copyFrom(const OdDbTable *pSrc, OdDb::TableCopyOption nOption, const OdCellRange &srcRange, const OdCellRange &targetRange, OdCellRange *pNewTargetRangeOut)
OdDbTable::isBreakEnabled
bool isBreakEnabled(void) const
OdDbTable::setBreakOffset
void setBreakOffset(OdUInt32 index, const OdGeVector3d &vec)
OdDb::CellContentType
CellContentType
Definition: DbTableStyle.h:52
OdDbTable::textHeight
double textHeight(OdInt32 row, OdInt32 col, OdInt32 nContent) const
OdDbTable::format
OdString format(OdUInt32 row, OdUInt32 col) const
OdDbTable::setBlockTableRecordId
virtual void setBlockTableRecordId(OdUInt32 row, OdUInt32 column, const OdDbObjectId &blockId, bool autoScale=false)
OdDbTable::dxfInFields
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdDbTable::setVertCellMargin
virtual void setVertCellMargin(double cellMargin)
OdDbTable::setColumnWidth
virtual void setColumnWidth(OdUInt32 column, double width)
OdDbTable::value
OdValue value(OdInt32 row, OdInt32 col, OdInt32 nContent) const
scale
scale
Definition: DimVarDefs.h:1684
OdDbTable::removeDataLink
void removeDataLink(void)
OdDbTable::updateDataLink
void updateDataLink(OdDb::UpdateDirection nDir, OdDb::UpdateOption nOption)
OdDbTable::mergeCells
virtual void mergeCells(OdUInt32 minRow, OdUInt32 maxRow, OdUInt32 minColumn, OdUInt32 maxColumn)
OdDbTable::setBlockAttributeValue
virtual void setBlockAttributeValue(OdUInt32 row, OdUInt32 column, const OdDbObjectId &attdefId, const OdString &attValue)
OdDb::kTableBreakRepeatBottomLabels
@ kTableBreakRepeatBottomLabels
Definition: DbTable.h:55
OdValue::DataType
DataType
Definition: OdValue.h:45
OdDbTable::setTextHeight
virtual void setTextHeight(OdUInt32 row, OdUInt32 column, double height)
OdDbTable::setCellState
void setCellState(OdInt32 row, OdInt32 col, OdDb::CellState nLock)
OdDbTable::select_next_cell
virtual OdResult select_next_cell(OdInt32 dir, OdInt32 &resultRowIndex, OdInt32 &resultColumnIndex, OdDbFullSubentPathArray *pPaths=NULL, bool bSupportTextCellOnly=true) const
range
GLenum GLint * range
Definition: gles2_ext.h:563
OdDb::CellEdgeMask
CellEdgeMask
Definition: DbTableStyle.h:60
OdDbTable::suppressHeaderRow
virtual void suppressHeaderRow(bool suppress)
OdDbTable::setBackgroundColor
virtual void setBackgroundColor(const OdCmColor &color, OdUInt32 rowTypes=OdDb::kAllRows)
type
GLuint GLsizei GLsizei GLint GLenum * type
Definition: gles2_ext.h:274
OdDbTable::cellStyle
OdString cellStyle(OdInt32 row, OdInt32 col) const
OdDbTable::TableStyleOverrides
TableStyleOverrides
Definition: DbTable.h:110
OdDbTable::createTemplate
void createTemplate(OdDbTableTemplate *target, OdDb::TableCopyOption nCopyOption)
OdDb::kDataRow
@ kDataRow
Definition: DbTableStyle.h:121
OdDbTable::rowType
virtual OdDb::RowType rowType(OdUInt32 row) const
OdDbTable::getDataType
virtual void getDataType(OdValue::DataType &nDataType, OdValue::UnitType &nUnitType, OdDb::RowType type) const
OdDbTable::setTextHeight
virtual void setTextHeight(double height, OdUInt32 rowTypes=OdDb::kAllRows)
OdDbTable::setFormat
virtual void setFormat(const OdString &pszFormat, int nRowTypes)
OdRxObject
Definition: RxObject.h:564
OdDb::kTableHitCell
@ kTableHitCell
Definition: DbTable.h:83
OdDbTable::setGridColor
virtual void setGridColor(const OdCmColor &color, OdUInt32 gridlineTypes, OdUInt32 rowTypes)
OdDbObjectId
Definition: DbObjectId.h:99
OdDbTable::getDataType
void getDataType(OdUInt32 row, OdUInt32 col, OdValue::DataType &nDataType, OdValue::UnitType &nUnitType) const
OdDbTable::setFormat
void setFormat(OdUInt32 row, OdUInt32 col, const OdString &pszFormat)
OdDbTable::textStyle
OdDbObjectId textStyle(OdInt32 row, OdInt32 col, OdInt32 nContent) const
OdDbTable::getCellExtents
virtual void getCellExtents(OdUInt32 row, OdUInt32 column, bool isOuterCell, OdGePoint3dArray &pts) const
OdDbTable::setNumColumns
virtual void setNumColumns(OdUInt32 numColumns)
OdDbTable::deleteContent
void deleteContent(OdInt32 row, OdInt32 col, OdInt32 nIndex)
OdDbTable::mergedHeight
OdUInt32 mergedHeight(OdUInt32 row, OdUInt32 column) const
OdDbTable::setGridColor
void setGridColor(OdInt32 row, OdInt32 col, OdDb::GridLineType nGridlineTypes, const OdCmColor &color)
OdDbIdPair
Definition: DbIdMapping.h:60
OdDbTable::deleteContent
void deleteContent(const OdCellRange &range)
OdDbTable::subExplode
virtual OdResult subExplode(OdRxObjectPtrArray &entitySet) const ODRX_OVERRIDE
OdDbTable::suppressTitleRow
virtual void suppressTitleRow(bool suppress)
OdDbTable::moveContent
void moveContent(OdInt32 row, OdInt32 col, OdInt32 nFromIndex, OdInt32 nToIndex)
OdDbTable::numRows
virtual OdUInt32 numRows() const
OdDbTable::tableStyle
virtual OdDbObjectId tableStyle() const
OdDbTable::setColumnWidth
virtual void setColumnWidth(double width)
OdIfc::kFlowDirection
@ kFlowDirection
Definition: IfcAttributesEnum.h:388
OdDbTablePtr
OdSmartPtr< OdDbTable > OdDbTablePtr
Definition: DbTable.h:4983
OdDbTable::fieldId
OdDbObjectId fieldId(OdInt32 row, OdInt32 col, OdInt32 nContent) const
OdDbTable::removeAllOverrides
void removeAllOverrides(OdInt32 row, OdInt32 col)
OdValue::UnitType
UnitType
Definition: OdValue.h:61
OdDbTable::select
virtual OdResult select(const OdGePoint3d &wpt, const OdGeVector3d &wvwVec, const OdGeVector3d &wvwxVec, double wxaper, double wyaper, bool allowOutside, bool bInPickFirst, OdInt32 &resultRowIndex, OdInt32 &resultColumnIndex, OdDbFullSubentPathArray *pPaths=0) const
OdArray< OdUInt32, OdMemoryAllocator< OdUInt32 > >
OdDbTable::setFieldId
virtual void setFieldId(OdUInt32 row, OdUInt32 column, const OdDbObjectId &fieldId)
OdDb::kTableBreakRepeatTopLabels
@ kTableBreakRepeatTopLabels
Definition: DbTable.h:53
OdDbTable::fieldId
virtual OdDbObjectId fieldId(OdUInt32 row, OdUInt32 column) const
OdDbTable::reselectSubRegion
virtual bool reselectSubRegion(OdDbFullSubentPathArray &paths) const
OdDbTable::setNumRows
virtual void setNumRows(OdUInt32 numRows)
TD_PackPop.h
OdDbTable::deleteRows
virtual void deleteRows(OdUInt32 row, OdUInt32 numRows=1)
OdDbTable::setSubSelection
virtual OdResult setSubSelection(OdInt32 rowMin, OdInt32 rowMax, OdInt32 colMin, OdInt32 colMax)
OdDbTable::setTextRotation
virtual void setTextRotation(OdUInt32 row, OdUInt32 column, OdDb::RotationAngle textRotation)
OdDbTable::setFieldId
void setFieldId(OdInt32 row, OdInt32 col, OdInt32 nContent, const OdDbObjectId &fieldId, OdDb::CellOption nFlag)
OdDbTable::rowHeight
virtual double rowHeight(OdUInt32 row) const
OdDbTable::gridVisibility
virtual OdDb::Visibility gridVisibility(OdDb::GridLineType gridlineType, OdDb::RowType rowType=OdDb::kDataRow) const
OdDbTable::setAlignment
virtual void setAlignment(OdUInt32 row, OdUInt32 column, OdDb::CellAlignment alignment)
OdDbTable::contentLayout
OdDb::CellContentLayout contentLayout(OdInt32 row, OdInt32 col) const
OdDbTable::textHeight
virtual double textHeight(OdUInt32 row, OdUInt32 column) const
OdDbTable::hitTest
virtual bool hitTest(const OdGePoint3d &wpt, const OdGeVector3d &wviewVec, double wxaper, double wyaper, OdInt32 &resultRowIndex, OdInt32 &resultColumnIndex, OdInt32 &contentIndex, OdDb::TableHitItem &nItem) const
OdDbTable::setBlockAttributeValue
void setBlockAttributeValue(OdInt32 row, OdInt32 col, OdInt32 nContent, const OdDbObjectId &attdefId, const OdString &atrValue)
OdDb::UpdateOption
UpdateOption
Definition: DbDataLink.h:61
OdDbTable::getBlockAttributeValue
virtual void getBlockAttributeValue(OdUInt32 row, OdUInt32 column, const OdDbObjectId &attdefId, OdString &attValue) const
DbBlockReference.h
OdUInt32
unsigned int OdUInt32
Definition: OdPlatformSettings.h:783
OdGeMatrix3d
Definition: GeMatrix3d.h:73
OdDbTable::setValue
void setValue(OdInt32 row, OdInt32 col, OdInt32 nContent, const OdValue &val, OdValue::ParseOption nOption)
OdInt16
short OdInt16
Definition: OdPlatformSettings.h:756
OdDbTable::rotation
double rotation() const
OdDbTable::setDataFormat
void setDataFormat(OdInt32 row, OdInt32 col, OdInt32 nContent, const OdString &sFormat)
OdDbTable::getBlockAttributeValue
OdString getBlockAttributeValue(OdInt32 row, OdInt32 col, OdInt32 nContent, const OdDbObjectId &attdefId) const
OdDbTable::hasFormula
bool hasFormula(OdInt32 row, OdInt32 col, OdInt32 nContent) const
OdDb::kTableBreakNone
@ kTableBreakNone
Definition: DbTable.h:49
index
GLuint index
Definition: gles2_ext.h:265
OdDbTable::blockScale
virtual double blockScale(OdUInt32 row, OdUInt32 column) const
OdDbTable::gridLineWeight
virtual OdDb::LineWeight gridLineWeight(OdUInt32 row, OdUInt32 column, OdDb::CellEdgeMask edgeType) const
OdDb::kTableBreakEnableBreaking
@ kTableBreakEnableBreaking
Definition: DbTable.h:51
OdDbTable::subClose
void subClose()
OdDbTable::blockTableRecordId
virtual OdDbObjectId blockTableRecordId(OdUInt32 row, OdUInt32 column) const
OdDb::CellAlignment
CellAlignment
Definition: DbTableStyle.h:89
OdDbTable::clearSubSelection
virtual void clearSubSelection()
OdDbTable::format
virtual OdString format(OdDb::RowType type) const
OdDb::CellMargin
CellMargin
Definition: DbTableStyle.h:151
OdDbTable::numColumns
virtual OdUInt32 numColumns() const
OdDbTable::gridLineWeight
OdDb::LineWeight gridLineWeight(OdInt32 row, OdInt32 col, OdDb::GridLineType nGridLineType) const
OdDbTable::flowDirection
virtual OdDb::FlowDirection flowDirection() const
OdDbTable::attachmentPoint
OdGePoint3d attachmentPoint(OdInt32 row, OdInt32 col, OdInt32 content) const
OdDbTable::textHeight
virtual double textHeight(OdDb::RowType rowType=OdDb::kDataRow) const
OdDbTable
Definition: DbTable.h:102
OdDbTable::subWorldDraw
virtual bool subWorldDraw(OdGiWorldDraw *pWd) const
OdDb::FlowDirection
FlowDirection
Definition: DbTableStyle.h:74
OdDb::RotationAngle
RotationAngle
Definition: DbTableStyle.h:80
OdDbTable::setAutoScale
void setAutoScale(OdInt32 row, OdInt32 col, OdInt32 nContent, bool autoFit)
OdDbTable::isTitleSuppressed
virtual bool isTitleSuppressed() const
OdDbTable::setOverride
void setOverride(OdInt32 row, OdInt32 col, OdInt32 nContent, OdDb::CellProperty nOverride)
OdDbTable::setGridLineWeight
void setGridLineWeight(OdInt32 row, OdInt32 col, OdDb::GridLineType nGridLineTypes, OdDb::LineWeight nLineWeight)
OdValue::FormatOption
FormatOption
Definition: OdValue.h:82
OdDbTable::getDataLinkRange
OdCellRange getDataLinkRange(OdInt32 row, OdInt32 col) const
OdDbTable::setGridLinetype
void setGridLinetype(OdInt32 row, OdInt32 col, OdDb::GridLineType nGridLineTypes, const OdDbObjectId &idLinetype)
OdDbTable::backgroundColor
virtual OdCmColor backgroundColor(OdDb::RowType rowType=OdDb::kDataRow) const
OdDbTable::getGridProperty
void getGridProperty(OdInt32 row, OdInt32 col, OdDb::GridLineType nGridLineType, OdGridProperty &gridProp) const
OdDbTable::setHorzCellMargin
virtual void setHorzCellMargin(double cellMargin)
OdDbTable::direction
virtual OdGeVector3d direction() const
OdDb::kTableHitColumnIndicator
@ kTableHitColumnIndicator
Definition: DbTable.h:87
OdDbTable::textRotation
virtual OdDb::RotationAngle textRotation(OdUInt32 row, OdUInt32 column) const
OdDbTable::setDataFormat
void setDataFormat(OdInt32 row, OdInt32 col, const OdString &sFormat)
OdDbTableTemplate
Definition: DbTableTemplate.h:44
OdDb::TableBreakOption
TableBreakOption
Definition: DbTable.h:47
OdSmartPtr< OdDbEntity >
OdDbTable::cellStyleOverrides
virtual bool cellStyleOverrides(OdUInt32 row, OdUInt32 column, OdUInt32Array &overrides) const
OdDbTable::setScale
void setScale(OdInt32 row, OdInt32 col, OdInt32 nContent, double scale)
OdGePoint3d
Definition: GePoint3d.h:55
OdDbTable::canDelete
bool canDelete(OdInt32 nIndex, OdInt32 nCount, bool bRow) const
OdDbTable::gridColor
OdCmColor gridColor(OdInt32 row, OdInt32 col, OdDb::GridLineType nGridLineType) const
OdDbTable::removeDataLink
void removeDataLink(OdInt32 row, OdInt32 col)
OdDbTable::gridLineWeight
virtual OdDb::LineWeight gridLineWeight(OdDb::GridLineType gridlineType, OdDb::RowType rowType=OdDb::kDataRow) const
OdDbTable::clearCellOverrides
void clearCellOverrides(OdUInt32 row, OdUInt32 column)
OdDb::CellState
CellState
Definition: DbTableStyle.h:168
OdDbTable::setHeight
virtual void setHeight(double height)
OdInt32
int OdInt32
Definition: OdPlatformSettings.h:782
OdDbTable::contentType
OdDb::CellContentType contentType(OdInt32 row, OdInt32 col) const
OdDbTable::gridDoubleLineSpacing
double gridDoubleLineSpacing(OdInt32 row, OdInt32 col, OdDb::GridLineType nGridLineType) const
OdDbTable::setDataType
virtual void setDataType(OdValue::DataType nDataType, OdValue::UnitType nUnitType)
OdDbTable::minimumTableHeight
virtual double minimumTableHeight() const
OdDbTable::setValue
void setValue(OdInt32 row, OdInt32 col, OdInt32 nContent, const OdValue &val)
OdDbTable::resetValue
void resetValue(OdUInt32 row, OdUInt32 col)
OdDbTable::minimumTableWidth
virtual double minimumTableWidth() const
OdDbTable::setGridProperty
void setGridProperty(OdInt32 row, OdInt32 col, OdDb::GridLineType nGridLineTypes, const OdGridProperty &gridProp)
OdDbTable::contentColor
virtual OdCmColor contentColor(OdDb::RowType rowType=OdDb::kDataRow) const
OdDbTable::subGetGeomExtents
virtual OdResult subGetGeomExtents(OdGeExtents3d &extents) const
OdDbTable::isEmpty
bool isEmpty(OdInt32 row, OdInt32 col) const
OdDbTable::textString
virtual OdString textString(OdUInt32 row, OdUInt32 column) const
OdDb::kTableHitGridLine
@ kTableHitGridLine
Definition: DbTable.h:89
OdDbTable::blockTableRecordId
OdDbObjectId blockTableRecordId(OdInt32 row, OdInt32 col, OdInt32 nContent) const
OdDbTable::enableBreak
void enableBreak(bool bEnable)
OdDbTable::setContentColor
virtual void setContentColor(const OdCmColor &color, OdUInt32 nRowType=OdDb::kAllRows)
OdDb::kTableHitRowIndicator
@ kTableHitRowIndicator
Definition: DbTable.h:85
OdValue
Definition: OdValue.h:40
OdDbTable::getMergeRange
OdCellRange getMergeRange(OdInt32 row, OdInt32 col) const
OdDbTable::attachmentPoint
virtual OdGePoint3d attachmentPoint(OdUInt32 row, OdUInt32 column) const
OdDbTable::cellState
OdDb::CellState cellState(OdInt32 row, OdInt32 col) const
OdDb::CellOption
CellOption
Definition: DbTableStyle.h:197
OdDbTable::setSubSelection
virtual OdResult setSubSelection(const OdCellRange &range)
OdDbTable::setGridDoubleLineSpacing
void setGridDoubleLineSpacing(OdInt32 row, OdInt32 col, OdDb::GridLineType nGridLineTypes, double fSpacing)
OdDb::TableCopyOption
TableCopyOption
Definition: DbTableStyle.h:253
OdDbTable::textString
OdString textString(OdInt32 row, OdInt32 col, OdInt32 nContent, OdValue::FormatOption nOption) const
OdDbTable::getDataLink
OdInt32 getDataLink(const OdCellRange &pRange, OdDbObjectIdArray &dataLinkIds) const
OdValue::ParseOption
ParseOption
Definition: OdValue.h:72
OdDb::kTableBreakAllowManualPositions
@ kTableBreakAllowManualPositions
Definition: DbTable.h:57
OdDbTable::setDataLink
void setDataLink(OdInt32 row, OdInt32 col, const OdDbObjectId &idDataLink, bool bUpdate)
OdDbTable::gridLinetype
OdDbObjectId gridLinetype(OdInt32 row, OdInt32 col, OdDb::GridLineType nGridLineType) const
OdDbTable::setBreakHeight
void setBreakHeight(OdUInt32 index, double height)
OdDbTable::enableMergeAll
void enableMergeAll(OdInt32 row, OdInt32 col, bool bEnable)
OdDbTable::isRegenerateTableSuppressed
bool isRegenerateTableSuppressed() const
OdDbTable::backgroundColor
virtual OdCmColor backgroundColor(OdUInt32 row, OdUInt32 column) const
OdDbTable::vertCellMargin
virtual double vertCellMargin() const
OdDbTable::getCustomData
OdValue getCustomData(OdInt32 row, OdInt32 col, const OdString sKey) const
height
GLint GLenum GLsizei GLsizei height
Definition: gles2_ext.h:110
OdDbTable::height
virtual double height() const
OdDbTable::insertColumnsAndInherit
void insertColumnsAndInherit(OdInt32 col, OdInt32 nInheritFrom, OdInt32 nNumCols)
OdDb::Visibility
Visibility
Definition: DbObject.h:144
width
GLint GLenum GLsizei width
Definition: gles2_ext.h:110
OdDbTable::setRowHeight
virtual void setRowHeight(OdUInt32 row, double height)
OdDbDxfFiler
Definition: DbFiler.h:194
OdDbTable::copyFrom
void copyFrom(const OdDbLinkedTableData *pSrc, OdDb::TableCopyOption nOption)
OdDbTable::isBackgroundColorNone
virtual bool isBackgroundColorNone(OdDb::RowType rowType=OdDb::kDataRow) const
OdDbTable::setBlockScale
virtual void setBlockScale(OdUInt32 row, OdUInt32 column, double blockScale)
OdDb::kAllRows
@ kAllRows
Definition: DbTableStyle.h:136
OdDbTable::subGetTransformedCopy
virtual OdResult subGetTransformedCopy(const OdGeMatrix3d &xfm, OdDbEntityPtr &pCopy) const
OdDbTable::setBlockRotation
virtual void setBlockRotation(OdUInt32 row, OdUInt32 column, double blockRotation)
OdDbTable::setBreakFlowDirection
void setBreakFlowDirection(OdDb::TableBreakFlowDirection flowDir)
OdDbTable::setMargin
void setMargin(OdInt32 row, OdInt32 col, OdDb::CellMargin nMargins, double fMargin)
OdDbTable::setDataType
virtual void setDataType(OdValue::DataType nDataType, OdValue::UnitType nUnitType, int nRowTypes)
OdDb::kTableBreakFlowRight
@ kTableBreakFlowRight
Definition: DbTable.h:68
OdDbTable::getDataLink
OdDbDataLinkPtr getDataLink(OdInt32 row, OdInt32 col, OdDb::OpenMode mode) const
OdDb::GridLineType
GridLineType
Definition: DbTableStyle.h:102
TD_PackPush.h
OdDbTable::setTextHeight
void setTextHeight(OdInt32 row, OdInt32 col, OdInt32 nContent, double height)
OdDbTable::setTextStyle
void setTextStyle(OdInt32 row, OdInt32 col, OdInt32 nContent, const OdDbObjectId &id)
OdDb::kTableBreakFlowLeft
@ kTableBreakFlowLeft
Definition: DbTable.h:72
OdDbTable::gridVisibility
OdDb::Visibility gridVisibility(OdInt32 row, OdInt32 col, OdDb::GridLineType nGridLineType) const
OdDbTable::setContentLayout
void setContentLayout(OdInt32 row, OdInt32 col, OdDb::CellContentLayout nLayout)
OdDbTable::minimumColumnWidth
virtual double minimumColumnWidth(OdUInt32 column) const
OdDbTable::subTransformBy
virtual OdResult subTransformBy(const OdGeMatrix3d &xfm)
OdDbTable::getColumnName
OdString getColumnName(OdInt32 nIndex) const
OdDbTable::setValue
void setValue(OdInt32 row, OdInt32 col, OdInt32 nContent, OdString sText, OdValue::ParseOption nOption)
OdDbTable::clearTableStyleOverrides
virtual void clearTableStyleOverrides(int option=0)
OdDbTable::hasSubSelection
virtual bool hasSubSelection() const
OdDbTable::dwgOutFields
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdDbTable::getSubSelection
OdCellRange getSubSelection(void) const
OdDbTable::setBlockTableRecordId
void setBlockTableRecordId(OdInt32 row, OdInt32 col, OdInt32 nContent, const OdDbObjectId &blkId, bool autoFit)
OdDbTable::setGridVisibility
void setGridVisibility(OdInt32 row, OdInt32 col, OdDb::GridLineType nGridLineTypes, OdDb::Visibility nVisibility)
OdCellRange
Definition: DbTableStyle.h:342
OdGiWorldDraw
Definition: GiWorldDraw.h:44
OdDbTable::getOverride
OdDb::GridProperty getOverride(OdInt32 row, OdInt32 col, OdDb::GridLineType nGridLineType) const
OdDb::kTableBreakFlowDownOrUp
@ kTableBreakFlowDownOrUp
Definition: DbTable.h:70
OdDb::RowType
RowType
Definition: DbTableStyle.h:119
OdDbTable::canInsert
bool canInsert(OdInt32 nIndex, bool bRow) const
OdDbTable::setDirection
virtual void setDirection(const OdGeVector3d &horizVector)
OdDbTable::contentColor
OdCmColor contentColor(OdInt32 row, OdInt32 col, OdInt32 nContent) const
OdDbTable::dataFormat
OdString dataFormat(OdInt32 row, OdInt32 col, OdInt32 nContent) const
OdDbTable::setGridLineWeight
virtual void setGridLineWeight(OdDb::LineWeight lineWeight, OdUInt32 gridlineTypes, OdUInt32 rowTypes)
OdDbTable::dataFormat
OdString dataFormat(OdInt32 row, OdInt32 col) const
OdDbTable::gridColor
virtual OdCmColor gridColor(OdDb::GridLineType gridlineType, OdDb::RowType rowType=OdDb::kDataRow) const
OdDb::OpenMode
OpenMode
Definition: DbObjectId.h:54
OdDb::GridProperty
GridProperty
Definition: DbTableStyle.h:184
OdDbTable::breakFlowDirection
OdDb::TableBreakFlowDirection breakFlowDirection(void) const
OdDbTable::setDataLink
void setDataLink(const OdCellRange &range, const OdDbObjectId &idDataLink, bool bUpdate)
OdDbTable::setContentColor
virtual void setContentColor(OdUInt32 row, OdUInt32 column, const OdCmColor &color)
OdDbTable::value
OdValue value(OdUInt32 row, OdUInt32 col) const
OdDbTable::getSubSelection
virtual OdResult getSubSelection(OdInt32 &rowMin, OdInt32 &rowMax, OdInt32 &colMin, OdInt32 &colMax) const
OdDbTable::setTextStyle
virtual void setTextStyle(const OdDbObjectId &textStyleId, OdUInt32 rowTypes=OdDb::kAllRows)
OdDbTable::isAutoScale
virtual bool isAutoScale(OdUInt32 row, OdUInt32 column) const
OdDbTable::width
virtual double width() const
OdDbTable::setToolTip
void setToolTip(OdInt32 row, OdInt32 col, const OdString sToolTip)
OdDbTable::recomputeTableBlock
virtual OdResult recomputeTableBlock(bool forceUpdate=true)
OdDbTable::isContentEditable
bool isContentEditable(OdInt32 row, OdInt32 col) const
OdDbTable::setAutoScale
virtual void setAutoScale(OdUInt32 row, OdUInt32 column, bool autoScale)
OdDbTable::gridLineStyle
OdDb::GridLineStyle gridLineStyle(OdInt32 row, OdInt32 col, OdDb::GridLineType nGridLineType) const
OdDbTable::getOverride
OdDb::CellProperty getOverride(OdInt32 row, OdInt32 col, OdInt32 nContent) const
OdDb::UpdateDirection
UpdateDirection
Definition: DbDataLink.h:55
OdDbTable::setRowHeight
virtual void setRowHeight(double height)
OdDbTable::generateLayout
virtual OdResult generateLayout()
OdDbTable::getToolTip
OdString getToolTip(OdInt32 row, OdInt32 col) const
OdDbTable::setSize
void setSize(OdInt32 rows, OdInt32 cols)
OdDbTable::setFormat
virtual void setFormat(const OdString &pszFormat)
OdGeExtents3d
Definition: GeExtents3d.h:45
OdDbTable::hitTest
virtual bool hitTest(const OdGePoint3d &wpt, const OdGeVector3d &wviewVec, double wxaper, double wyaper, OdInt32 &resultRowIndex, OdInt32 &resultColumnIndex) const
OdDbTable::minimumRowHeight
virtual double minimumRowHeight(OdUInt32 row) const
OdDb::LineWeight
LineWeight
Definition: OdaDefs.h:382
OdDbTable::setBackgroundColorNone
virtual void setBackgroundColorNone(OdUInt32 row, OdUInt32 column, bool disable)
OdDb::CellType
CellType
Definition: DbTableStyle.h:44
OdDbTable::getFormula
OdString getFormula(OdInt32 row, OdInt32 col, OdInt32 nContent) const
OdDbTable::gridVisibility
virtual OdDb::Visibility gridVisibility(OdUInt32 row, OdUInt32 column, OdDb::CellEdgeMask edgeType) const
OdDb::kTableHitNone
@ kTableHitNone
Definition: DbTable.h:81
OdDbTable::value
OdValue value(OdInt32 row, OdInt32 col, OdInt32 nContent, OdValue::FormatOption nOption) const
OdDbTable::setGridColor
virtual void setGridColor(OdUInt32 row, OdUInt32 column, OdInt16 edgeTypes, const OdCmColor &color)
OdDbTable::textString
OdString textString(OdInt32 row, OdInt32 col, OdInt32 nContent) const
OdDb
Definition: Db2dPolyline.h:50
OdDbTable::setRotation
void setRotation(double fAngle)
OdDbTable::horzCellMargin
virtual double horzCellMargin() const
OdDbTable::setBackgroundColor
virtual void setBackgroundColor(OdUInt32 row, OdUInt32 column, const OdCmColor &color)
OdDb::kTableBreakAllowManualHeights
@ kTableBreakAllowManualHeights
Definition: DbTable.h:59
OdDb::CellContentLayout
CellContentLayout
Definition: DbTableStyle.h:161
OdDbTable::setDataType
void setDataType(OdUInt32 row, OdUInt32 col, OdValue::DataType nDataType, OdValue::UnitType nUnitType)
OdDbTable::contentColor
virtual OdCmColor contentColor(OdUInt32 row, OdUInt32 column) const
DbTableStyle.h
OdDbTable::dxfOutFields
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
OdDbTable::copyFrom
void copyFrom(const OdDbLinkedTableData *pSrc, OdDb::TableCopyOption nOption, const OdCellRange &srcRange, const OdCellRange &targetRange, OdCellRange *pNewTargetRangeOut)
OdDbTable::setOverride
void setOverride(OdInt32 row, OdInt32 col, OdDb::GridLineType nGridLineType, OdDb::GridProperty nOverride)
OdDbTable::getDataLink
OdDbObjectId getDataLink(OdInt32 row, OdInt32 col) const
OdDbTable::setValue
void setValue(OdUInt32 row, OdUInt32 col, const OdValue &val)
OdDbTable::appendToOwner
void appendToOwner(OdDbIdPair &idPair, OdDbObject *pOwnerObject, OdDbIdMapping &ownerIdMap)
OdDbTable::createContent
OdInt32 createContent(OdInt32 row, OdInt32 col, OdInt32 nIndex)
OdDbTable::getDataType
void getDataType(OdInt32 row, OdInt32 col, OdInt32 nContent, OdValue::DataType &nDataType, OdValue::UnitType &nUnitType) const
OdDbTable::subGetClassID
virtual OdResult subGetClassID(void *pClsid) const
OdDb::CellProperty
CellProperty
Definition: DbTableStyle.h:203
OdDbTable::setCellStyle
void setCellStyle(OdInt32 row, OdInt32 col, const OdString &sCellStyle)
OdDbTable::setRotation
void setRotation(OdInt32 row, OdInt32 col, OdInt32 nContent, double fAngle)
OdDbTable::setColumnName
void setColumnName(OdInt32 nIndex, const OdString &sName)
OdDbTable::deleteColumns
virtual void deleteColumns(OdUInt32 column, OdUInt32 numColumns=1)
OdDbTable::selectSubRegion
virtual OdResult selectSubRegion(const OdGePoint3d &wpt1, const OdGePoint3d &wpt2, const OdGeVector3d &wvwVec, const OdGeVector3d &wvwxVec, double wxaper, double wyaper, OdDb::SelectType seltype, bool bIncludeCurrentSelection, bool bInPickFirst, OdInt32 &rowMin, OdInt32 &rowMax, OdInt32 &colMin, OdInt32 &colMax, OdDbFullSubentPathArray *pPaths=0) const
OdDbTable::setTextString
void setTextString(OdInt32 row, OdInt32 col, OdInt32 nContent, const OdString &text)
OdDbTable::scale
double scale(OdInt32 row, OdInt32 col, OdInt32 nContent) const
OdDb::GridLineStyle
GridLineStyle
Definition: DbTableStyle.h:145
OdDbTable::rotation
double rotation(OdInt32 row, OdInt32 col, OdInt32 nContent) const
OdDbTable::mergedFlag
bool mergedFlag(OdUInt32 row, OdUInt32 column) const
TOOLKIT_EXPORT
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
ODRX_OVERRIDE
#define ODRX_OVERRIDE
Definition: OdPlatformSettings.h:114
OdDbTable::setFormula
void setFormula(OdInt32 row, OdInt32 col, OdInt32 nContent, const OdString &pszFormula)
OdDbTable::contentType
OdDb::CellContentType contentType(OdInt32 row, OdInt32 col, OdInt32 nIndex) const
OdDbTable::alignment
virtual OdDb::CellAlignment alignment(OdDb::RowType rowType=OdDb::kDataRow) const
OdDbTable::unmergeCells
virtual void unmergeCells(OdUInt32 minRow, OdUInt32 maxRow, OdUInt32 minColumn, OdUInt32 maxColumn)
OdDbTable::breakHeight
double breakHeight(OdUInt32 index) const
OdDbTable::setCellType
virtual void setCellType(OdUInt32 row, OdUInt32 column, OdDb::CellType cellType)
OdDbTable::insertColumns
virtual void insertColumns(OdUInt32 column, double width, OdUInt32 numColumns=1)
OdDbTable::textString
OdString textString(OdInt32 row, OdInt32 col, OdValue::FormatOption nOption) const
OdDbTable::setCustomData
void setCustomData(OdInt32 row, OdInt32 col, const OdString &sKey, const OdValue *pData)
OdDbTable::setFlowDirection
virtual void setFlowDirection(OdDb::FlowDirection flowDirection)
OdDbTable::isBackgroundColorNone
virtual bool isBackgroundColorNone(OdUInt32 row, OdUInt32 column) const
OdDbTable::setWidth
virtual void setWidth(double width)
OdDbTable::setBackgroundColorNone
virtual void setBackgroundColorNone(bool disable, OdUInt32 rowTypes=OdDb::kAllRows)
OdDbTable::isMergeAllEnabled
bool isMergeAllEnabled(OdInt32 row, OdInt32 col) const
OdDbTable::updateDataLink
void updateDataLink(OdInt32 row, OdInt32 col, OdDb::UpdateDirection nDir, OdDb::UpdateOption nOption)
OdDbTable::setTextString
virtual void setTextString(OdUInt32 row, OdUInt32 column, const OdString &textString)
OdDbTable::isFormatEditable
bool isFormatEditable(OdInt32 row, OdInt32 col) const
OdDb::TableHitItem
TableHitItem
Definition: DbTable.h:79
OdDbTable::setGridProperty
void setGridProperty(const OdCellRange &rangeIn, OdDb::GridLineType nGridLineTypes, const OdGridProperty &gridProp)
OdDbTable::setGridLineStyle
void setGridLineStyle(OdInt32 row, OdInt32 col, OdDb::GridLineType nGridLineTypes, OdDb::GridLineStyle nLineStyle)
OdDbTable::setValue
void setValue(OdUInt32 row, OdUInt32 col, OdString &pszText, OdValue::ParseOption nOption)
OdDbTable::getCustomData
OdInt32 getCustomData(OdInt32 row, OdInt32 col) const
OdDbTable::breakSpacing
double breakSpacing(void) const
OdDbTable::mergedWidth
OdUInt32 mergedWidth(OdUInt32 row, OdUInt32 column) const
OdCmColor
Definition: CmColor.h:59
OdDbTable::ODDB_DECLARE_MEMBERS
ODDB_DECLARE_MEMBERS(OdDbTable)
OdDbTable::isHeaderSuppressed
virtual bool isHeaderSuppressed() const
OdDbTable::suppressRegenerateTable
void suppressRegenerateTable(bool bSuppress)
OdDbTable::setTableStyle
virtual void setTableStyle(const OdDbObjectId &tableStyleId)
OdDbTable::modified
virtual void modified(const OdDbObject *pObj)
OdDbTable::gridColor
virtual OdCmColor gridColor(OdUInt32 row, OdUInt32 column, OdDb::CellEdgeMask edgeType) const
OdDbTable::margin
double margin(OdInt32 row, OdInt32 col, OdDb::CellMargin nMargin) const
OdDbTable::cellType
virtual OdDb::CellType cellType(OdUInt32 row, OdUInt32 column) const
OdDbTable::numContents
OdInt32 numContents(OdInt32 row, OdInt32 col) const
OdDbTable::isLinked
bool isLinked(OdInt32 row, OdInt32 col) const
OdDbTable::copyFrom
virtual void copyFrom(const OdRxObject *pSource)
OdDbLinkedTableData
Definition: DbLinkedTableData.h:47
OdDbTable::breakOffset
OdGeVector3d breakOffset(OdUInt32 index) const
OdDbIdMapping
Definition: DbIdMapping.h:238
OdDb::SelectType
SelectType
Definition: DbTableStyle.h:68
UInt32Array.h
OdDbTable::isMergedCell
virtual bool isMergedCell(OdUInt32 row, OdUInt32 column, OdUInt32 *minRow=0, OdUInt32 *maxRow=0, OdUInt32 *minColumn=0, OdUInt32 *maxColumn=0) const
OdDbObject
Definition: DbObject.h:211
OdDbTable::setContentColor
void setContentColor(OdInt32 row, OdInt32 col, OdInt32 nContent, const OdCmColor &color)
OdDbDwgFiler
Definition: DbFiler.h:1031
OdDbTable::textStyle
virtual OdDbObjectId textStyle(OdUInt32 row, OdUInt32 column) const
OdGridProperty
Definition: DbTableStyle.h:384
OdDbTable::deleteCellContent
virtual void deleteCellContent(OdUInt32 row, OdUInt32 column)
OdDbTable::setAlignment
virtual void setAlignment(OdDb::CellAlignment alignment, OdUInt32 rowTypes=OdDb::kAllRows)
OdDbTable::breakOption
OdDb::TableBreakOption breakOption(void) const
OdDbTable::blockRotation
virtual double blockRotation(OdUInt32 row, OdUInt32 column) const
OdDbTable::insertRowsAndInherit
void insertRowsAndInherit(OdInt32 nIndex, OdInt32 nInheritFrom, OdInt32 nNumRows)
OdDbTable::alignment
virtual OdDb::CellAlignment alignment(OdUInt32 row, OdUInt32 column) const
OdDbTable::isAutoScale
bool isAutoScale(OdInt32 row, OdInt32 col, OdInt32 nContent) const
OdDbTable::columnWidth
virtual double columnWidth(OdUInt32 column) const
OdDbTable::setGridLineWeight
virtual void setGridLineWeight(OdUInt32 row, OdUInt32 column, OdInt16 edgeTypes, OdDb::LineWeight lineWeight)