CFx SDK Documentation  2022 SP0
Public Member Functions | List of all members
OdOleItemSimplestHandler Class Reference

#include <OleItemHandlerBase.h>

Inheritance diagram for OdOleItemSimplestHandler:
OdOleItemHandlerBase OdOleItemHandler OdGiSelfGdiDrawable OdRxObject

Public Member Functions

OdUInt32 getCompoundDocumentDataSize () const
 
void getCompoundDocument (OdStreamBuf &streamBuf) const
 
void setCompoundDocument (OdUInt32 numBytes, OdStreamBuf &streamBuf)
 
- Public Member Functions inherited from OdOleItemHandlerBase
 ODRX_DECLARE_MEMBERS (OdOleItemHandlerBase)
 
void load (OdStreamBuf &streamBuf)
 
void save (OdStreamBuf &streamBuf) const
 
bool draw (const OdGiCommonDraw &drawObj, void *hdc, const OdGsDCRect &screenRect) const
 
Type type () const
 
OdString linkName () const
 
OdString linkPath () const
 
OdString userType () const
 
DvAspect drawAspect () const
 
void setDrawAspect (DvAspect drawAspect)
 
OdUInt32 itemId () const
 
void setItemId (OdUInt32 nId)
 
DvAspect adviseType () const
 
void setAdviseType (DvAspect at)
 
bool monikerAssigned () const
 
void setMonikerAssigned (bool assigned)
 
OdUInt32 oleVersion () const
 
void setOleVersion (OdUInt32 oleVer)
 
PlotQuality outputQuality () const
 
void setOutputQuality (PlotQuality quality)
 
virtual COleClientItem * getOleClientItem (void) const
 
virtual bool embedRaster (OdSmartPtr< OdGiRasterImage > pImage, OdRxObject *pRxDb=NULL)
 
virtual OdGiRasterImagePtr getRaster (bool=true) const
 
virtual bool getWmfData (OdBinaryData &data) const
 
- Public Member Functions inherited from OdOleItemHandler
 ODRX_DECLARE_MEMBERS (OdOleItemHandler)
 
- Public Member Functions inherited from OdGiSelfGdiDrawable
 ODRX_DECLARE_MEMBERS (OdGiSelfGdiDrawable)
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () const
 
virtual void addRef ()=0
 
virtual void release ()=0
 
virtual long numRefs () const
 
bool isKindOf (const OdRxClass *pClass) const
 
virtual OdRxObjectPtr clone () const
 
virtual void copyFrom (const OdRxObject *pSource)
 
virtual OdRx::Ordering comparedTo (const OdRxObject *pOther) const
 
virtual bool isEqualTo (const OdRxObject *pOther) const
 

Additional Inherited Members

- Public Types inherited from OdOleItemHandler
enum  Type { kUnknown = 0 , kLink = 1 , kEmbedded = 2 , kStatic = 3 }
 
enum  DvAspect { kContent = 1 , kThumbnail = 2 , kIcon = 4 , kDocPrint = 8 }
 
enum  PlotQuality { kMonochrome = 0 , kLowGraphics = 1 , kHighGraphics = 2 , kAutomatic = 3 }
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 
- Protected Member Functions inherited from OdOleItemHandlerBase
 OdOleItemHandlerBase ()
 
- Protected Attributes inherited from OdOleItemHandlerBase
OdUInt32 m_nOleVer
 
OdUInt32 m_nItemId
 
DvAspect m_adviseType
 
OdUInt16 m_bMoniker
 
DvAspect m_drawAspect
 
PlotQuality m_quality
 

Detailed Description

This class provides an interface to OLE compound documents. <group Other_Classes>

Definition at line 152 of file OleItemHandlerBase.h.

Member Function Documentation

◆ getCompoundDocument()

void OdOleItemSimplestHandler::getCompoundDocument ( OdStreamBuf streamBuf) const
virtual

Writes the compound document data of this OleItemHandler object to the specified stream.

Parameters
streamBuf[out] StreamBuf object to which the data are to be written.

Implements OdOleItemHandler.

◆ getCompoundDocumentDataSize()

OdUInt32 OdOleItemSimplestHandler::getCompoundDocumentDataSize ( ) const
virtual

Returns the data size (in bytes) of the compound document of this OleItemHandler object.

Implements OdOleItemHandler.

◆ setCompoundDocument()

void OdOleItemSimplestHandler::setCompoundDocument ( OdUInt32  numBytes,
OdStreamBuf streamBuf 
)
virtual

Reads the compound document data of this OleItemHandler object from the specified stream.

Parameters
streamBuf[in] StreamBuf object from which the data are to be read.
numBytes[in] Number of bytes to be written.

Implements OdOleItemHandler.


The documentation for this class was generated from the following file: