CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
OdPdfPublish::Od2dGeometryLayer Class Reference

#include <PdfPublish2dGeometryLayer.h>

Inheritance diagram for OdPdfPublish::Od2dGeometryLayer:
OdPdfPublish::OdObject OdRxObject

Public Member Functions

 ODRX_DECLARE_MEMBERS (Od2dGeometryLayer)
 
 ODRX_HEAP_OPERATORS ()
 
virtual ~Od2dGeometryLayer ()
 
void setName (const OdString &name)
 
void setVisible (const bool state)
 
void setLocked (const bool state)
 
void getName (OdString &name) const
 
void getVisible (bool &state) const
 
void getLocked (bool &state) const
 
- Public Member Functions inherited from OdPdfPublish::OdObject
 ODRX_DECLARE_MEMBERS (OdObject)
 
 ODRX_HEAP_OPERATORS ()
 
virtual ~OdObject ()
 
virtual bool isEmpty () const
 
virtual bool isValid () const
 
virtual void clear ()
 
- 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
 

Protected Member Functions

 Od2dGeometryLayer ()
 
- Protected Member Functions inherited from OdPdfPublish::OdObject
 OdObject (OdPublishObjectImpl *pImpl)
 

Additional Inherited Members

- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Detailed Description

This class implements the layer object for the two-dimensional geometry in .pdf documents created with Publish SDK. PDF layers can be used when adding objects to Od2dGeometryBlock as well as to Od2dGeometryReference, OdImage and OdText objects which can be added to the document page.

Definition at line 48 of file PdfPublish2dGeometryLayer.h.

Constructor & Destructor Documentation

◆ Od2dGeometryLayer()

OdPdfPublish::Od2dGeometryLayer::Od2dGeometryLayer ( )
protected

◆ ~Od2dGeometryLayer()

virtual OdPdfPublish::Od2dGeometryLayer::~Od2dGeometryLayer ( )
virtual

Destroys the layer object.

Member Function Documentation

◆ getLocked()

void OdPdfPublish::Od2dGeometryLayer::getLocked ( bool &  state) const

Gets the current value of the locked flag of the layer.

Parameters
state[out] A placeholder for the locked flag value.
Remarks
The method fills a passed boolean value and returns it to a calling subroutine.

◆ getName()

void OdPdfPublish::Od2dGeometryLayer::getName ( OdString name) const

Gets the layer name.

Parameters
name[out] A placeholder for the layer name.
Remarks
The method fills a passed string object and returns it to a calling subroutine.

◆ getVisible()

void OdPdfPublish::Od2dGeometryLayer::getVisible ( bool &  state) const

Gets the current value of the visibility flag of the layer.

Parameters
state[out] A placeholder for the visibility flag value.
Remarks
The method fills a passed boolean value and returns it to a calling subroutine.

◆ ODRX_DECLARE_MEMBERS()

OdPdfPublish::Od2dGeometryLayer::ODRX_DECLARE_MEMBERS ( Od2dGeometryLayer  )

◆ ODRX_HEAP_OPERATORS()

OdPdfPublish::Od2dGeometryLayer::ODRX_HEAP_OPERATORS ( )

◆ setLocked()

void OdPdfPublish::Od2dGeometryLayer::setLocked ( const bool  state)

Sets the locked flag of the layer.

Parameters
state[out] A locked flag value. Specify true to not allow the visibility of the layer to be changed when viewing the document. Otherwise false.

◆ setName()

void OdPdfPublish::Od2dGeometryLayer::setName ( const OdString name)

Sets the layer name.

Parameters
name[in] A name value.
Remarks
The name is mandatory and must be unique among the document object names.

◆ setVisible()

void OdPdfPublish::Od2dGeometryLayer::setVisible ( const bool  state)

Sets the visibility flag of the layer.

Parameters
state[in] A visibility flag value. Specify true to allow objects belonging to the layer to be visible when the document is opened. Otherwise false.

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