CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
DbOle2Frame.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_DB_OLE2FRAME_
28#define _OD_DB_OLE2FRAME_
29
30#include "TD_PackPush.h"
31
32#include "DbOleFrame.h"
33#include "Ge/GePoint3d.h"
34
36class COleClientItem;
37
41{
42public:
47};
48
56{
57public:
59
61
63 OdDbDwgFiler* pFiler);
64
66 OdDbDwgFiler* pFiler) const;
67
69 OdDbDxfFiler* pFiler);
70
72 OdDbDxfFiler* pFiler) const;
73
75 OdGiWorldDraw* pWd) const ODRX_OVERRIDE;
76
79
81 const OdGeMatrix3d& xfm) ODRX_OVERRIDE;
82
89 point3d) const;
90
97 OdRectangle3d& rect3d) const;
98
105 const OdRectangle3d& rect3d);
106
115
116 enum Type
117 {
119 kLink = 1,
120 kEmbedded = 2,
121 kStatic = 3
122 };
137 Type getType() const;
138
149
160
162 {
163 kMonochrome = 0, // e.g., spreadsheet
164 kLowGraphics = 1, // e.g., color text & pie charts
165 kHighGraphics = 2, // e.g., photograph
166 kAutomatic = 3 // e.g., Automatic
167 };
168
186
206 PlotQuality quality);
207
212
219 OdStreamBuf& streamBuf) const;
220
228 OdUInt32 nSize,
229 OdStreamBuf& streamBuf);
230
231 OdResult subGetClassID(void* pClsid) const;
232
237
238
246
247 void subClose();
248
260
272
284
292 void unhandled_setUnknown(OdInt32 unk0 = 0, OdUInt8 unk1 = 0x80, OdUInt8 unk2 = 0x55);
293
304
315
324
325 // New properties
326
332 void reset(bool bInitSize = false);
333
337 bool autoOutputQuality() const;
338
344 void setAutoOutputQuality(bool bFlag);
345
349 double rotation() const;
350
356 void setRotation(double fAngle);
357
361 double wcsWidth() const;
362
368 void setWcsWidth(double fWidth);
369
373 double wcsHeight() const;
374
380 void setWcsHeight(double fHeight);
381
385 double scaleWidth() const;
386
392 void setScaleWidth(double fScale);
393
397 double scaleHeight() const;
398
404 void setScaleHeight(double fScale);
405
409 bool lockAspect() const;
410
416 void setLockAspect(bool bLockAspect);
417
424 COleClientItem * getOleClientItem() const;
425
426 virtual OdResult subGetTransformedCopy(const OdGeMatrix3d& mat, OdDbEntityPtr& pCopy) const;
428};
429
434
435#include "TD_PackPop.h"
436
437#endif
#define DBENT_EXPORT
Definition: DbExport.h:67
@ kUnknown
OdSmartPtr< OdDbOle2Frame > OdDbOle2FramePtr
Definition: DbOle2Frame.h:433
unsigned int OdUInt32
unsigned short OdUInt16
int OdInt32
unsigned char OdUInt8
#define ODRX_SEALED_VIRTUAL
#define ODRX_OVERRIDE
OdResult
Definition: OdResult.h:29
void position(OdRectangle3d &rect3d) const
double scaleHeight() const
void getCompoundDocument(OdStreamBuf &streamBuf) const
void setWcsWidth(double fWidth)
void setWcsHeight(double fHeight)
const OdOleItemHandler * itemHandler() const
bool autoOutputQuality() const
void setRotation(double fAngle)
void setScaleWidth(double fScale)
void reset(bool bInitSize=false)
ODRX_SEALED_VIRTUAL OdResult subTransformBy(const OdGeMatrix3d &xfm) ODRX_OVERRIDE
PlotQuality outputQuality() const
void setPosition(const OdRectangle3d &rect3d)
double wcsHeight() const
virtual OdResult subGetTransformedCopy(const OdGeMatrix3d &mat, OdDbEntityPtr &pCopy) const
OdUInt16 unhandled_himetricWidth() const
OdUInt8 unhandled_unknown1() const
void setAutoOutputQuality(bool bFlag)
OdOleItemHandler * getItemHandler()
Type getType() const
COleClientItem * getOleClientItem() const
void setOutputQuality(PlotQuality quality)
OdUInt32 getCompoundDocumentDataSize() const
void subSetDatabaseDefaults(OdDbDatabase *pDb, bool)
OdResult dwgInFields(OdDbDwgFiler *pFiler)
void getLocation(OdGePoint3d &point3d) const
OdResult subGetClassID(void *pClsid) const
ODRX_SEALED_VIRTUAL bool subWorldDraw(OdGiWorldDraw *pWd) const ODRX_OVERRIDE
OdInt32 unhandled_unknown0() const
double wcsWidth() const
void dwgOutFields(OdDbDwgFiler *pFiler) const
bool lockAspect() const
void setScaleHeight(double fScale)
void unhandled_setHimetricSize(OdUInt16 w, OdUInt16 h)
DWGMAP_DECLARE_MEMBERS(OdDbOle2Frame)
OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdString getUserType() const
OdString getLinkPath() const
void unhandled_setUnknown(OdInt32 unk0=0, OdUInt8 unk1=0x80, OdUInt8 unk2=0x55)
double scaleWidth() const
double rotation() const
ODRX_SEALED_VIRTUAL void subViewportDraw(OdGiViewportDraw *pVd) const ODRX_OVERRIDE
void setCompoundDocument(OdUInt32 nSize, OdStreamBuf &streamBuf)
OdUInt8 unhandled_unknown2() const
void setLockAspect(bool bLockAspect)
OdUInt16 unhandled_himetricHeight() const
void dxfOutFields(OdDbDxfFiler *pFiler) const
OdString getLinkName() const
OdGePoint3d upRight
Definition: DbOle2Frame.h:44
OdGePoint3d lowRight
Definition: DbOle2Frame.h:46
OdGePoint3d upLeft
Definition: DbOle2Frame.h:43
OdGePoint3d lowLeft
Definition: DbOle2Frame.h:45
GLfloat GLfloat GLfloat GLfloat w
Definition: gles2_ext.h:320