CFx SDK Documentation  2020SP3
DbTableContent.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 
26 
27 #ifndef OD_DBTABLECONTENT_H
28 #define OD_DBTABLECONTENT_H
29 
30 #include "DbObject.h"
31 #include "DbFormattedTableData.h"
32 
33 #include "TD_PackPush.h"
34 
44 {
45 public:
47 
49 
53  virtual OdDbObjectId tableStyleId() const;
54 
60  virtual void setTableStyleId(
61  const OdDbObjectId& idTableStyle);
62 
81  virtual const OdString cellStyle(
82  OdInt32 nRow,
83  OdInt32 nCol) const;
84 
104  virtual void setCellStyle(
105  OdInt32 nRow,
106  OdInt32 nCol,
107  const OdString& pszCellStyle);
108 
114  virtual double rowHeight(
115  OdInt32 nRow) const;
116 
126  virtual void setRowHeight(
127  OdInt32 nRow,
128  double fHeight);
129 
135  virtual double columnWidth(
136  OdInt32 nCol) const;
137 
147  virtual void setColumnWidth(
148  OdInt32 nCol,
149  double fWidth);
150 
152  OdDbDwgFiler* pFiler);
153  virtual void dwgOutFields(
154  OdDbDwgFiler* pFiler) const;
156  OdDbDxfFiler* pFiler);
157  virtual void dxfOutFields(
158  OdDbDxfFiler* pFiler) const;
159 };
160 
165 
166 #include "TD_PackPop.h"
167 
168 #endif // OD_DBTABLECONTENT_H
OdResult
OdResult
Definition: OdResult.h:29
OdString
Definition: OdString.h:95
OdDbTableContent::ODDB_DECLARE_MEMBERS
ODDB_DECLARE_MEMBERS(OdDbTableContent)
OdDbTableContent::setCellStyle
virtual void setCellStyle(OdInt32 nRow, OdInt32 nCol, const OdString &pszCellStyle)
DbObject.h
OdDbTableContent
Definition: DbTableContent.h:44
OdDbObjectId
Definition: DbObjectId.h:99
OdDbTableContent::dxfOutFields
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
OdDbTableContent::setColumnWidth
virtual void setColumnWidth(OdInt32 nCol, double fWidth)
OdDbTableContent::dwgInFields
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdDbTableContentPtr
OdSmartPtr< OdDbTableContent > OdDbTableContentPtr
Definition: DbTableContent.h:164
TD_PackPop.h
OdDbTableContent::columnWidth
virtual double columnWidth(OdInt32 nCol) const
OdDbTableContent::setTableStyleId
virtual void setTableStyleId(const OdDbObjectId &idTableStyle)
OdSmartPtr
Definition: SmartPtr.h:58
OdInt32
int OdInt32
Definition: OdPlatformSettings.h:782
OdDbTableContent::setRowHeight
virtual void setRowHeight(OdInt32 nRow, double fHeight)
OdDbDxfFiler
Definition: DbFiler.h:194
TD_PackPush.h
DbFormattedTableData.h
OdDbTableContent::OdDbTableContent
OdDbTableContent()
OdDbTableContent::dwgOutFields
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdDbFormattedTableData
Definition: DbFormattedTableData.h:43
OdDbTableContent::cellStyle
virtual const OdString cellStyle(OdInt32 nRow, OdInt32 nCol) const
OdDbTableContent::dxfInFields
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
TOOLKIT_EXPORT
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdDbDwgFiler
Definition: DbFiler.h:1031
OdDbTableContent::tableStyleId
virtual OdDbObjectId tableStyleId() const
OdDbTableContent::rowHeight
virtual double rowHeight(OdInt32 nRow) const