CFx SDK Documentation  2020SP3
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 
OdResult
OdResult
Definition: OdResult.h:29
OdString
Definition: OdString.h:95
OdDbDatabase
Definition: DbDatabase.h:421
OdDbLayout::subClose
void subClose()
OdDbLayout::appendToOwner
virtual void appendToOwner(OdDbIdPair &idPair, OdDbObject *pOwnerObject, OdDbIdMapping &ownerIdMap)
OdDbLayout::annoAllVisible
bool annoAllVisible() const
OdDbLayout::getLIMCHECK
bool getLIMCHECK() const
OdDbLayout::getBlockTableRecordId
OdDbObjectId getBlockTableRecordId() const
OdDbLayout::dwgOutFields
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdDbLayout::getLIMMIN
const OdGePoint2d & getLIMMIN() const
OdDbObjectId
Definition: DbObjectId.h:99
OdDbLayout::setAnnoAllVisible
void setAnnoAllVisible(bool newVal)
OdDbIdPair
Definition: DbIdMapping.h:60
OdArray< OdDbObjectId, OdMemoryAllocator< OdDbObjectId > >
TD_PackPop.h
OdDbLayout::dxfOutFields
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
OdDbLayout::setEXTMAX
void setEXTMAX(const OdGePoint3d &extMax)
OdUInt32
unsigned int OdUInt32
Definition: OdPlatformSettings.h:783
OdDbLayout::thumbnailBitmap
const void * thumbnailBitmap(OdUInt32 &dataLength) const
OdDbLayout::dwgInFields
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdDbLayout::setINSBASE
void setINSBASE(const OdGePoint3d &insBase)
OdDbLayout::activeViewportId
OdDbObjectId activeViewportId() const
OdDbLayout::getINSBASE
const OdGePoint3d & getINSBASE() const
OdDbLayout::setLIMCHECK
void setLIMCHECK(bool limCheck)
OdSmartPtr< OdGiRasterImage >
OdDbLayout::getEXTMAX
const OdGePoint3d & getEXTMAX() const
OdGePoint3d
Definition: GePoint3d.h:55
OdDbLayout::setEXTMIN
void setEXTMIN(const OdGePoint3d &extMin)
OdDbLayout::subWorldDraw
bool subWorldDraw(OdGiWorldDraw *pWd) const
OdDbLayout::getTabSelected
bool getTabSelected() const
OdDbLayoutPtr
OdSmartPtr< OdDbLayout > OdDbLayoutPtr
Definition: DbLayout.h:341
OdDbLayout::getEXTMIN
const OdGePoint3d & getEXTMIN() const
OdDbPlotSettings
Definition: DbPlotSettings.h:41
OdDbLayout::OdDbLayout
OdDbLayout()
OdDbLayout::getTabOrder
int getTabOrder() const
OdDbLayout::getPSLTSCALE
bool getPSLTSCALE() const
OdDbDxfFiler
Definition: DbFiler.h:194
OdDbLayout::setLIMMAX
void setLIMMAX(const OdGePoint2d &limMax)
OdDbLayout::subViewportDraw
void subViewportDraw(OdGiViewportDraw *vPd) const
OdDbLayout::addToLayoutDict
virtual void addToLayoutDict(OdDbDatabase *pDb, OdDbObjectId blockTableRecordId)
OdGiRasterImagePtr
OdSmartPtr< OdGiRasterImage > OdGiRasterImagePtr
Definition: DbLayout.h:34
TD_PackPush.h
OdDbLayout::getLayoutName
OdString getLayoutName() const
OdDbLayout::getPreviewImage
OdGiRasterImagePtr getPreviewImage() const
OdDbLayout
Definition: DbLayout.h:48
OdGiWorldDraw
Definition: GiWorldDraw.h:44
OdDbLayout::subSetAttributes
OdUInt32 subSetAttributes(OdGiDrawableTraits *pTraits) const
OdDbLayout::getViewportArray
OdDbObjectIdArray getViewportArray() const
OdDbLayout::setTabOrder
virtual void setTabOrder(int tabOrder)
OdDbLayout::getGeomExtents
OdResult getGeomExtents(OdGeExtents3d &extents) const
DbPlotSettings.h
OdDbLayout::ODDB_DECLARE_MEMBERS
ODDB_DECLARE_MEMBERS(OdDbLayout)
OdGiDrawableTraits
Definition: Gi.h:71
OdDbLayout::setActiveViewportId
void setActiveViewportId(OdDbObjectId viewportId)
OdDbLayout::overallVportId
OdDbObjectId overallVportId() const
OdDbLayout::subGetClassID
virtual OdResult subGetClassID(void *pClsid) const
OdGeExtents3d
Definition: GeExtents3d.h:45
TOOLKIT_EXPORT
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdDbLayout::setThumbnailBitmap
void setThumbnailBitmap(const void *pBMPData, OdUInt32 dataLength)
OdDbLayout::setPSLTSCALE
void setPSLTSCALE(bool psLtScale)
OdDbLayout::setTabSelected
virtual void setTabSelected(bool tabSelected)
OdDbLayout::setPreviewImage
void setPreviewImage(const OdGiRasterImage *image)
OdDbLayout::setBlockTableRecordId
virtual void setBlockTableRecordId(const OdDbObjectId &blockTableRecordId)
OdDbLayout::dxfInFields
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdDbIdMapping
Definition: DbIdMapping.h:238
OdDbObject
Definition: DbObject.h:211
OdGiRasterImage
Definition: GiRasterImage.h:37
OdDbDwgFiler
Definition: DbFiler.h:1031
OdGiViewportDraw
Definition: GiViewportDraw.h:50
OdDbLayout::setLIMMIN
void setLIMMIN(const OdGePoint2d &limMin)
OdDbLayout::setLayoutName
virtual void setLayoutName(const OdString &layoutName)
OdDbLayout::getLIMMAX
const OdGePoint2d & getLIMMAX() const
OdGePoint2d
Definition: GePoint2d.h:60