CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
DbFormattedTableData.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, 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 Open Design Alliance software pursuant to a license
16// agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2022 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
26#ifndef OD_DBFORMATTEDTABLEDATA_H
27#define OD_DBFORMATTEDTABLEDATA_H
28
29#include "DbObject.h"
30#include "DbLinkedTableData.h"
31
32#include "TD_PackPush.h"
33
44{
45public:
46 //DOM-IGNORE-BEGIN
48 //DOM-IGNORE-END
49
54
65 OdInt32 nIndex,
66 OdInt32 nInheritFrom,
67 OdInt32 nNumRows);
68
81 OdInt32 nIndex,
82 OdInt32 nInheritFrom,
83 OdInt32 nNumCols);
84
99 virtual void setFieldId(
100 OdInt32 nRow,
101 OdInt32 nCol,
102 const OdDbObjectId& idField,
103 OdDb::CellOption nFlag);
104
120 virtual void setFieldId(
121 OdInt32 nRow,
122 OdInt32 nCol,
123 OdUInt32 nContent,
124 const OdDbObjectId& idField,
125 OdDb::CellOption nFlag);
126
138 virtual void merge(
139 const OdCellRange& range);
140
152 virtual void unmerge(
153 const OdCellRange& range);
154
166 virtual bool isMerged(
167 OdInt32 nRow,
168 OdInt32 nCol) const;
169
180 OdInt32 nRow,
181 OdInt32 nCol) const;
182
192 virtual bool isMergeAllEnabled(
193 OdInt32 nRow,
194 OdInt32 nCol) const;
195
206 virtual void enableMergeAll(
207 OdInt32 nRow,
208 OdInt32 nCol,
209 bool bEnable);
210
218 virtual bool isFormatEditable(
219 OdInt32 nRow,
220 OdInt32 nCol) const;
221
232 virtual double rotation(
233 OdInt32 nRow,
234 OdInt32 nCol) const;
235
247 virtual double rotation(
248 OdInt32 nRow,
249 OdInt32 nCol,
250 OdInt32 nContent) const;
251
265 virtual void setRotation(
266 OdInt32 nRow,
267 OdInt32 nCol,
268 double fRotation);
269
284 virtual void setRotation(
285 OdInt32 nRow,
286 OdInt32 nCol,
287 OdInt32 nContent,
288 double fRotation);
289
300 virtual double scale(
301 OdInt32 nRow,
302 OdInt32 nCol) const;
303
315 virtual double scale(
316 OdInt32 nRow,
317 OdInt32 nCol,
318 OdInt32 nContent) const;
319
331 virtual void setScale(
332 OdInt32 nRow,
333 OdInt32 nCol,
334 double fScale);
335
348 virtual void setScale(
349 OdInt32 nRow,
350 OdInt32 nCol,
351 OdInt32 nContent,
352 double fScale);
353
363 virtual bool isAutoScale(
364 OdInt32 nRow,
365 OdInt32 nCol) const;
366
377 virtual bool isAutoScale(
378 OdInt32 nRow,
379 OdInt32 nCol,
380 OdInt32 nContent) const;
381
395 virtual void setAutoScale(
396 OdInt32 nRow,
397 OdInt32 nCol,
398 bool bAutoScale);
399
414 virtual void setAutoScale(
415 OdInt32 nRow,
416 OdInt32 nCol,
417 OdInt32 nContent,
418 bool bAutoScale);
419
443 OdInt32 nRow,
444 OdInt32 nCol) const;
445
472 virtual void setAlignment(
473 OdInt32 nRow,
474 OdInt32 nCol,
475 OdDb::CellAlignment nAlignment);
476
488 OdInt32 nRow,
489 OdInt32 nCol) const;
490
504 OdInt32 nRow,
505 OdInt32 nCol,
506 OdInt32 nContent) const;
507
521 virtual void setContentColor(
522 OdInt32 nRow,
523 OdInt32 nCol,
524 const OdCmColor& color);
525
540 virtual void setContentColor(
541 OdInt32 nRow,
542 OdInt32 nCol,
543 OdInt32 nContent,
544 const OdCmColor& color);
545
557 OdInt32 nRow,
558 OdInt32 nCol) const;
559
572 OdInt32 nRow,
573 OdInt32 nCol,
574 OdInt32 nContent) const;
575
589 virtual void setTextStyle(
590 OdInt32 nRow,
591 OdInt32 nCol,
592 const OdDbObjectId& idTextStyle);
593
608 virtual void setTextStyle(
609 OdInt32 nRow,
610 OdInt32 nCol,
611 OdInt32 nContent,
612 const OdDbObjectId& idTextStyle);
613
621 virtual double textHeight(
622 OdInt32 nRow,
623 OdInt32 nCol) const;
624
636 virtual double textHeight(
637 OdInt32 nRow,
638 OdInt32 nCol,
639 OdInt32 nContent) const;
640
654 virtual void setTextHeight(
655 OdInt32 nRow,
656 OdInt32 nCol,
657 double fTextHeight);
658
673 virtual void setTextHeight(
674 OdInt32 nRow,
675 OdInt32 nCol,
676 OdInt32 nContent,
677 double fTextHeight);
678
687 OdInt32 nRow,
688 OdInt32 nCol) const;
689
701 virtual void setBackgroundColor(
702 OdInt32 nRow,
703 OdInt32 nCol,
704 const OdCmColor& color);
705
723 OdInt32 nRow,
724 OdInt32 nCol) const;
725
748 virtual void setContentLayout(
749 OdInt32 nRow,
750 OdInt32 nCol,
752
767
785 virtual void setFlowDirection(
787
810 virtual double margin(
811 OdInt32 nRow,
812 OdInt32 nCol,
813 OdDb::CellMargin nMargin) const;
814
838 virtual void setMargin(
839 OdInt32 nRow,
840 OdInt32 nCol,
841 OdDb::CellMargin nMargins,
842 double fMargin);
843
881 OdInt32 nRow,
882 OdInt32 nCol,
883 OdDb::GridLineType nGridLineType) const;
884
922 virtual void setGridLineStyle(
923 OdInt32 nRow,
924 OdInt32 nCol,
925 OdDb::GridLineType nGridLineTypes,
926 OdDb::GridLineStyle nLineStyle);
927
990 OdInt32 nRow,
991 OdInt32 nCol,
992 OdDb::GridLineType nGridLineType) const;
993
1056 virtual void setGridLineWeight(
1057 OdInt32 nRow,
1058 OdInt32 nCol,
1059 OdDb::GridLineType nGridLineTypes,
1060 OdDb::LineWeight nLineWeight);
1061
1091 OdInt32 nRow,
1092 OdInt32 nCol,
1093 OdDb::GridLineType nGridLineType) const;
1094
1124 virtual void setGridLinetype(
1125 OdInt32 nRow,
1126 OdInt32 nCol,
1127 OdDb::GridLineType nGridLineTypes,
1128 const OdDbObjectId& idLinetype);
1129
1160 OdInt32 nRow,
1161 OdInt32 nCol,
1162 OdDb::GridLineType nGridLineType) const;
1163
1193 virtual void setGridColor(
1194 OdInt32 nRow,
1195 OdInt32 nCol,
1196 OdDb::GridLineType nGridLineTypes,
1197 const OdCmColor& color);
1198
1236 OdInt32 nRow,
1237 OdInt32 nCol,
1238 OdDb::GridLineType nGridLineType) const;
1239
1277 virtual void setGridVisibility(
1278 OdInt32 nRow,
1279 OdInt32 nCol,
1280 OdDb::GridLineType nGridLineTypes,
1281 OdDb::Visibility nVisibility);
1282
1312 OdInt32 nRow,
1313 OdInt32 nCol,
1314 OdDb::GridLineType nGridLineType) const;
1315
1346 OdInt32 nRow,
1347 OdInt32 nCol,
1348 OdDb::GridLineType nGridLineTypes,
1349 double fSpacing);
1350
1380 virtual void getGridProperty(
1381 OdInt32 nRow,
1382 OdInt32 nCol,
1383 OdDb::GridLineType nGridLineType,
1384 OdGridProperty& gridProp) const;
1385
1415 virtual void setGridProperty(
1416 OdInt32 nRow,
1417 OdInt32 nCol,
1418 OdDb::GridLineType nGridLineTypes,
1419 const OdGridProperty& gridProp);
1420
1447 virtual void setGridProperty(
1448 const OdCellRange& range,
1449 OdDb::GridLineType nGridLineTypes,
1450 const OdGridProperty& gridProp);
1451
1506 OdInt32 nRow,
1507 OdInt32 nCol,
1508 OdInt32 nContent) const;
1509
1555 OdInt32 nRow,
1556 OdInt32 nCol,
1557 OdDb::GridLineType nGridLineType) const;
1558
1614 virtual void setOverride(
1615 OdInt32 nRow,
1616 OdInt32 nCol,
1617 OdInt32 nContent,
1618 OdDb::CellProperty nOverride);
1619
1650 virtual void setOverride(
1651 OdInt32 nRow,
1652 OdInt32 nCol,
1653 OdDb::GridLineType nGridLineType,
1654 OdDb::GridProperty nOverride);
1655
1665 OdInt32 nRow,
1666 OdInt32 nCol);
1667
1672 OdDbDwgFiler* pFiler);
1673
1677 virtual void dwgOutFields(
1678 OdDbDwgFiler* pFiler) const;
1679
1684 OdDbDxfFiler* pFiler);
1685
1689 virtual void dxfOutFields(
1690 OdDbDxfFiler* pFiler) const;
1691};
1692
1698
1699#include "TD_PackPop.h"
1700
1701#endif // OD_DBFORMATTEDTABLEDATA_H
#define DBENT_EXPORT
Definition: DbExport.h:67
OdSmartPtr< OdDbFormattedTableData > OdDbFormattedTableDataPtr
unsigned int OdUInt32
int OdInt32
OdResult
Definition: OdResult.h:29
virtual bool isMergeAllEnabled(OdInt32 nRow, OdInt32 nCol) const
virtual void getGridProperty(OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineType, OdGridProperty &gridProp) const
virtual void enableMergeAll(OdInt32 nRow, OdInt32 nCol, bool bEnable)
virtual OdDb::CellContentLayout contentLayout(OdInt32 nRow, OdInt32 nCol) const
virtual void setGridDoubleLineSpacing(OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineTypes, double fSpacing)
virtual void setAutoScale(OdInt32 nRow, OdInt32 nCol, bool bAutoScale)
virtual OdDb::CellAlignment alignment(OdInt32 nRow, OdInt32 nCol) const
virtual void setTextStyle(OdInt32 nRow, OdInt32 nCol, OdInt32 nContent, const OdDbObjectId &idTextStyle)
virtual OdCmColor backgroundColor(OdInt32 nRow, OdInt32 nCol) const
virtual bool isAutoScale(OdInt32 nRow, OdInt32 nCol, OdInt32 nContent) const
virtual void setGridProperty(OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineTypes, const OdGridProperty &gridProp)
virtual bool isMerged(OdInt32 nRow, OdInt32 nCol) const
virtual OdCmColor gridColor(OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineType) const
virtual void setTextHeight(OdInt32 nRow, OdInt32 nCol, double fTextHeight)
virtual double rotation(OdInt32 nRow, OdInt32 nCol) const
virtual void setOverride(OdInt32 nRow, OdInt32 nCol, OdInt32 nContent, OdDb::CellProperty nOverride)
virtual void setGridLineWeight(OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineTypes, OdDb::LineWeight nLineWeight)
virtual double scale(OdInt32 nRow, OdInt32 nCol, OdInt32 nContent) const
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
virtual bool isAutoScale(OdInt32 nRow, OdInt32 nCol) const
virtual void merge(const OdCellRange &range)
virtual OdCmColor contentColor(OdInt32 nRow, OdInt32 nCol, OdInt32 nContent) const
virtual double textHeight(OdInt32 nRow, OdInt32 nCol) const
virtual OdCellRange getMergeRange(OdInt32 nRow, OdInt32 nCol) const
virtual void setBackgroundColor(OdInt32 nRow, OdInt32 nCol, const OdCmColor &color)
virtual bool isFormatEditable(OdInt32 nRow, OdInt32 nCol) const
virtual OdDb::GridProperty getOverride(OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineType) const
virtual void setGridLineStyle(OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineTypes, OdDb::GridLineStyle nLineStyle)
virtual OdDbObjectId textStyle(OdInt32 nRow, OdInt32 nCol, OdInt32 nContent) const
virtual void setGridVisibility(OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineTypes, OdDb::Visibility nVisibility)
virtual OdDbObjectId textStyle(OdInt32 nRow, OdInt32 nCol) const
virtual double textHeight(OdInt32 nRow, OdInt32 nCol, OdInt32 nContent) const
virtual void setScale(OdInt32 nRow, OdInt32 nCol, OdInt32 nContent, double fScale)
virtual void setMargin(OdInt32 nRow, OdInt32 nCol, OdDb::CellMargin nMargins, double fMargin)
virtual void setFieldId(OdInt32 nRow, OdInt32 nCol, const OdDbObjectId &idField, OdDb::CellOption nFlag)
virtual OdDb::CellProperty getOverride(OdInt32 nRow, OdInt32 nCol, OdInt32 nContent) const
virtual void setGridProperty(const OdCellRange &range, OdDb::GridLineType nGridLineTypes, const OdGridProperty &gridProp)
virtual void setFlowDirection(OdDb::FlowDirection nDir)
virtual OdDb::LineWeight gridLineWeight(OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineType) const
virtual void setTextHeight(OdInt32 nRow, OdInt32 nCol, OdInt32 nContent, double fTextHeight)
virtual void setFieldId(OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent, const OdDbObjectId &idField, OdDb::CellOption nFlag)
virtual void setGridColor(OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineTypes, const OdCmColor &color)
virtual void setGridLinetype(OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineTypes, const OdDbObjectId &idLinetype)
ODDB_DECLARE_MEMBERS(OdDbFormattedTableData)
virtual OdDb::FlowDirection flowDirection() const
virtual OdInt32 insertRowAndInherit(OdInt32 nIndex, OdInt32 nInheritFrom, OdInt32 nNumRows)
virtual OdDb::GridLineStyle gridLineStyle(OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineType) const
virtual OdDb::Visibility gridVisibility(OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineType) const
virtual void removeAllOverrides(OdInt32 nRow, OdInt32 nCol)
virtual void setAlignment(OdInt32 nRow, OdInt32 nCol, OdDb::CellAlignment nAlignment)
virtual void setOverride(OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineType, OdDb::GridProperty nOverride)
virtual OdDbObjectId gridLinetype(OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineType) const
virtual void setAutoScale(OdInt32 nRow, OdInt32 nCol, OdInt32 nContent, bool bAutoScale)
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
virtual void setRotation(OdInt32 nRow, OdInt32 nCol, double fRotation)
virtual void setContentColor(OdInt32 nRow, OdInt32 nCol, OdInt32 nContent, const OdCmColor &color)
virtual void setTextStyle(OdInt32 nRow, OdInt32 nCol, const OdDbObjectId &idTextStyle)
virtual void setContentLayout(OdInt32 nRow, OdInt32 nCol, OdDb::CellContentLayout nLayout)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual void setRotation(OdInt32 nRow, OdInt32 nCol, OdInt32 nContent, double fRotation)
virtual double gridDoubleLineSpacing(OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineType) const
virtual OdCmColor contentColor(OdInt32 nRow, OdInt32 nCol) const
virtual void setContentColor(OdInt32 nRow, OdInt32 nCol, const OdCmColor &color)
virtual double margin(OdInt32 nRow, OdInt32 nCol, OdDb::CellMargin nMargin) const
virtual void setScale(OdInt32 nRow, OdInt32 nCol, double fScale)
virtual double scale(OdInt32 nRow, OdInt32 nCol) const
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
virtual OdInt32 insertColumnAndInherit(OdInt32 nIndex, OdInt32 nInheritFrom, OdInt32 nNumCols)
virtual double rotation(OdInt32 nRow, OdInt32 nCol, OdInt32 nContent) const
virtual void unmerge(const OdCellRange &range)
GLenum GLint * range
Definition: gles2_ext.h:563
GridLineType
Definition: DbTableStyle.h:102
CellContentLayout
Definition: DbTableStyle.h:161
FlowDirection
Definition: DbTableStyle.h:74
CellAlignment
Definition: DbTableStyle.h:89
GridLineStyle
Definition: DbTableStyle.h:145
LineWeight
Definition: OdaDefs.h:386
GridProperty
Definition: DbTableStyle.h:184
CellProperty
Definition: DbTableStyle.h:203
Visibility
Definition: DbObject.h:146