CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
DbLayout.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
27#ifndef OD_DBLAYOUT_H
28#define OD_DBLAYOUT_H
29
30#include "TD_PackPush.h"
31
32#include "DbPlotSettings.h"
33#include "DwgDeclareMembers.h"
34
35class OdGiRasterImage;
37
38class OdString;
39
47{
48public:
50
55
57
61 const OdGePoint2d& getLIMMIN() const;
62
69 const OdGePoint2d& limMin);
70
74 const OdGePoint2d& getLIMMAX() const;
75
82 const OdGePoint2d& limMax);
83
87 const OdGePoint3d& getEXTMIN() const;
88
95 const OdGePoint3d& extMin);
96
100 const OdGePoint3d& getEXTMAX() const;
101
108 const OdGePoint3d& extMax);
109
113 const OdGePoint3d& getINSBASE() const;
114
121 const OdGePoint3d& insBase);
122
126 bool getLIMCHECK() const;
127
134 bool limCheck);
135
139 bool getPSLTSCALE() const;
140
147 bool psLtScale);
148
150
151
156
163 const OdDbObjectId& blockTableRecordId);
164
172 virtual void addToLayoutDict(
173 OdDbDatabase* pDb,
174 OdDbObjectId blockTableRecordId);
175
180
186 virtual void setLayoutName(const OdString& layoutName);
187
194 int getTabOrder() const;
195
206 virtual void setTabOrder(
207 int tabOrder);
208
212 bool getTabSelected() const;
213
222 virtual void setTabSelected(
223 bool tabSelected);
224
225
232
241 const void* thumbnailBitmap(
242 OdUInt32& dataLength) const;
243
254 const void* pBMPData,
255 OdUInt32 dataLength);
256
264
274 const OdGiRasterImage* image);
275
277 void* pClsid) const;
278
280 OdDbDwgFiler* pFiler);
281
282 virtual void dwgOutFields(
283 OdDbDwgFiler* pFiler) const;
284
285 virtual void appendToOwner (
286 OdDbIdPair& idPair,
287 OdDbObject* pOwnerObject,
288 OdDbIdMapping& ownerIdMap);
289
291 OdDbDxfFiler* pFiler);
292
293 virtual void dxfOutFields(
294 OdDbDxfFiler* pFiler) const;
295
301
308 OdDbObjectId viewportId);
309
314
316 OdGiDrawableTraits* pTraits) const;
317
319 OdGiWorldDraw* pWd) const;
320
322 OdGiViewportDraw* vPd) const;
323
325
326 void subClose();
327
328 bool annoAllVisible() const;
329
330 void setAnnoAllVisible(bool newVal);
331};
332
333// !!! SYMBOL RENAMED !!! USE activeViewportId()
334
335#define lastActiveVportId() activeViewportId()
336
341
342#include "TD_PackPop.h"
343
344#endif
345
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdSmartPtr< OdGiRasterImage > OdGiRasterImagePtr
Definition: DbLayout.h:36
OdSmartPtr< OdDbLayout > OdDbLayoutPtr
Definition: DbLayout.h:340
unsigned int OdUInt32
OdResult
Definition: OdResult.h:29
DWGMAP_DECLARE_MEMBERS(OdDbLayout)
bool getLIMCHECK() 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)
const OdGePoint3d & getEXTMAX() const
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)
const OdGePoint3d & getINSBASE() const
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
const OdGePoint3d & getEXTMIN() const
void setThumbnailBitmap(const void *pBMPData, OdUInt32 dataLength)
OdGiRasterImagePtr getPreviewImage() const
void setLIMMIN(const OdGePoint2d &limMin)
const OdGePoint2d & getLIMMAX() const
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)
const OdGePoint2d & getLIMMIN() const
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual void addToLayoutDict(OdDbDatabase *pDb, OdDbObjectId blockTableRecordId)
void setPSLTSCALE(bool psLtScale)
void setLIMMAX(const OdGePoint2d &limMax)
bool getTabSelected() const