CFx SDK Documentation  2023 SP0
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
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdSmartPtr< OdDbTableContent > OdDbTableContentPtr
int OdInt32
OdResult
Definition: OdResult.h:29
virtual void setRowHeight(OdInt32 nRow, double fHeight)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
ODDB_DECLARE_MEMBERS(OdDbTableContent)
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
virtual double columnWidth(OdInt32 nCol) const
virtual void setTableStyleId(const OdDbObjectId &idTableStyle)
virtual OdDbObjectId tableStyleId() const
virtual void setColumnWidth(OdInt32 nCol, double fWidth)
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
virtual const OdString cellStyle(OdInt32 nRow, OdInt32 nCol) const
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
virtual void setCellStyle(OdInt32 nRow, OdInt32 nCol, const OdString &pszCellStyle)
virtual double rowHeight(OdInt32 nRow) const