CFx SDK Documentation  2023 SP0
DbLayout.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_DBLAYOUT_H
28 #define OD_DBLAYOUT_H
29 
30 #include "TD_PackPush.h"
31 
32 #include "DbPlotSettings.h"
33 
34 class OdGiRasterImage;
36 
37 class OdString;
38 
48 {
49 public:
51 
56 
58 
62  const OdGePoint2d& getLIMMIN() const;
63 
69  void setLIMMIN(
70  const OdGePoint2d& limMin);
71 
75  const OdGePoint2d& getLIMMAX() const;
76 
82  void setLIMMAX(
83  const OdGePoint2d& limMax);
84 
88  const OdGePoint3d& getEXTMIN() const;
89 
95  void setEXTMIN(
96  const OdGePoint3d& extMin);
97 
101  const OdGePoint3d& getEXTMAX() const;
102 
108  void setEXTMAX(
109  const OdGePoint3d& extMax);
110 
114  const OdGePoint3d& getINSBASE() const;
115 
122  const OdGePoint3d& insBase);
123 
127  bool getLIMCHECK() const;
128 
135  bool limCheck);
136 
140  bool getPSLTSCALE() const;
141 
148  bool psLtScale);
149 
151 
152 
157 
163  virtual void setBlockTableRecordId(
164  const OdDbObjectId& blockTableRecordId);
165 
173  virtual void addToLayoutDict(
174  OdDbDatabase* pDb,
175  OdDbObjectId blockTableRecordId);
176 
181 
187  virtual void setLayoutName(const OdString& layoutName);
188 
195  int getTabOrder() const;
196 
207  virtual void setTabOrder(
208  int tabOrder);
209 
213  bool getTabSelected() const;
214 
223  virtual void setTabSelected(
224  bool tabSelected);
225 
226 
233 
242  const void* thumbnailBitmap(
243  OdUInt32& dataLength) const;
244 
255  const void* pBMPData,
256  OdUInt32 dataLength);
257 
265 
275  const OdGiRasterImage* image);
276 
278  void* pClsid) const;
279 
281  OdDbDwgFiler* pFiler);
282 
283  virtual void dwgOutFields(
284  OdDbDwgFiler* pFiler) const;
285 
286  virtual void appendToOwner (
287  OdDbIdPair& idPair,
288  OdDbObject* pOwnerObject,
289  OdDbIdMapping& ownerIdMap);
290 
292  OdDbDxfFiler* pFiler);
293 
294  virtual void dxfOutFields(
295  OdDbDxfFiler* pFiler) const;
296 
302 
309  OdDbObjectId viewportId);
310 
315 
317  OdGiDrawableTraits* pTraits) const;
318 
320  OdGiWorldDraw* pWd) const;
321 
323  OdGiViewportDraw* vPd) const;
324 
326 
327  void subClose();
328 
329  bool annoAllVisible() const;
330 
331  void setAnnoAllVisible(bool newVal);
332 };
333 
334 // !!! SYMBOL RENAMED !!! USE activeViewportId()
335 
336 #define lastActiveVportId() activeViewportId()
337 
342 
343 #include "TD_PackPop.h"
344 
345 #endif
346 
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdSmartPtr< OdGiRasterImage > OdGiRasterImagePtr
Definition: DbLayout.h:34
OdSmartPtr< OdDbLayout > OdDbLayoutPtr
Definition: DbLayout.h:341
unsigned int OdUInt32
OdResult
Definition: OdResult.h:29
const OdGePoint2d & getLIMMIN() const
const OdGePoint3d & getEXTMIN() const
bool getLIMCHECK() const
const OdGePoint3d & getINSBASE() const
void setActiveViewportId(OdDbObjectId viewportId)
virtual void setTabOrder(int tabOrder)
OdUInt32 subSetAttributes(OdGiDrawableTraits *pTraits) const
OdString getLayoutName() const
void setLIMCHECK(bool limCheck)
bool subWorldDraw(OdGiWorldDraw *pWd) const
bool annoAllVisible() const
virtual void appendToOwner(OdDbIdPair &idPair, OdDbObject *pOwnerObject, OdDbIdMapping &ownerIdMap)
void setAnnoAllVisible(bool newVal)
OdResult getGeomExtents(OdGeExtents3d &extents) const
void setINSBASE(const OdGePoint3d &insBase)
virtual void setBlockTableRecordId(const OdDbObjectId &blockTableRecordId)
void setPreviewImage(const OdGiRasterImage *image)
void subClose()
void setEXTMIN(const OdGePoint3d &extMin)
OdDbObjectId activeViewportId() const
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
virtual void setLayoutName(const OdString &layoutName)
const void * thumbnailBitmap(OdUInt32 &dataLength) const
OdDbObjectIdArray getViewportArray() const
virtual OdResult subGetClassID(void *pClsid) const
int getTabOrder() const
OdDbObjectId getBlockTableRecordId() const
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
void setThumbnailBitmap(const void *pBMPData, OdUInt32 dataLength)
OdGiRasterImagePtr getPreviewImage() const
void setLIMMIN(const OdGePoint2d &limMin)
void setEXTMAX(const OdGePoint3d &extMax)
bool getPSLTSCALE() const
void subViewportDraw(OdGiViewportDraw *vPd) const
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdDbObjectId overallVportId() const
virtual void setTabSelected(bool tabSelected)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual void addToLayoutDict(OdDbDatabase *pDb, OdDbObjectId blockTableRecordId)
ODDB_DECLARE_MEMBERS(OdDbLayout)
const OdGePoint2d & getLIMMAX() const
void setPSLTSCALE(bool psLtScale)
const OdGePoint3d & getEXTMAX() const
void setLIMMAX(const OdGePoint2d &limMax)
bool getTabSelected() const