CFx SDK Documentation
2023 SP0
|
#include <PdfPublishArtwork.h>
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Protected Member Functions inherited from OdPdfPublish::OdObject | |
OdObject (OdPublishObjectImpl *pImpl) | |
This class implements an artwork entity for .pdf documents created with Teigha Publish. Artwork is a user space object that stores a set of object of different types (acts like a container for other objects and controls).
Definition at line 46 of file PdfPublishArtwork.h.
OdPdfPublish::OdArtwork::OdArtwork | ( | ) |
Creates an artwork object.
|
virtual |
Destroys an artwork object.
void OdPdfPublish::OdArtwork::addView | ( | const OdViewPtr & | view | ) |
Add a new <link OdPdfPublish::OdView, view> to the artwork.
view | [in] A smart pointer to a view that should be added. |
void OdPdfPublish::OdArtwork::getAnimationStyle | ( | Artwork::AnimationStyle & | style | ) | const |
Returns current animation style of the artwork. The method fills a passed animation style and returns it to a calling subroutine.
style | [out] A placeholder for the animation style value. |
void OdPdfPublish::OdArtwork::getDefaultViewPreference | ( | Artwork::ViewPreference & | preference | ) | const |
Returns current source of preferred view options for the artwork. The method fills a passed options source value and returns it to a calling subroutine.
preference | [out] A placeholder for the source of preferred view options. |
void OdPdfPublish::OdArtwork::getDisplayPreference | ( | Artwork::DisplayPreference & | preference | ) | const |
Returns current source of preferred display options for the artwork entity. The method fills a passed options source value and returns it to a calling subroutine.
preference | [out] A placeholder for the new source of preferred display options. |
Returns current JavaScript scenario for the artwork. The method fills a passed string object with JavaScript scenario source code and returns it to a calling subroutine.
source | [out] A placeholder for the JavaScript scenario source code. |
void OdPdfPublish::OdArtwork::getPMIColor | ( | ODCOLORREF & | pmi_color | ) | const |
Returns current Picture Mastering Index color used by the artwork. The method fills a passed ODCOLORREF value and returns it to a calling subroutine.
pmi_color | [out] A a placeholder for the PMI color value. |
void OdPdfPublish::OdArtwork::getPMICrossHighlighting | ( | bool & | state | ) | const |
Returns current value of the cross highlighting flag for the Picture Mastering Index (PMI) color. The method fills a passed boolean value and returns it to a calling subroutine.
state | [out] A placeholder for the PMI cross highlighting flag value. |
void OdPdfPublish::OdArtwork::getPMISemanticInformation | ( | bool & | state | ) | const |
Returns current value of the PMI semantic data flag. The method fills a passed boolean value and returns it to a calling subroutine.
state | [out] A placeholder for the value of PMI semantic data flag. |
void OdPdfPublish::OdArtwork::getViews | ( | OdViewPtrArray & | views | ) | const |
Returns an array of artwork <link OdPdfPublish::OdView, views>. The method fills a passed view array object and returns it to a calling subroutine.
views | [out] A smart pointer to a view array that should be filled by the method. |
OdPdfPublish::OdArtwork::ODRX_DECLARE_MEMBERS | ( | OdArtwork | ) |
OdPdfPublish::OdArtwork::ODRX_HEAP_OPERATORS | ( | ) |
void OdPdfPublish::OdArtwork::setAnimationStyle | ( | Artwork::AnimationStyle | style | ) |
Sets an animation style of the artwork.
style | [in] A new animation style value. |
void OdPdfPublish::OdArtwork::setDefaultViewPreference | ( | Artwork::ViewPreference | preference | ) |
Sets preferred view options source for the artwork.
preference | [in] A new source of preferred view options. |
void OdPdfPublish::OdArtwork::setDisplayPreference | ( | Artwork::DisplayPreference | preference | ) |
Sets the source of preferred display options for the artwork entity.
preference | [in] A new source of preferred display otpions. |
Sets a JavaScript scenario for the artwork.
source | [in] A string object that contains JavaScript scenario source code. |
void OdPdfPublish::OdArtwork::setPMIColor | ( | ODCOLORREF | pmi_color | ) |
Sets a Picture Mastering Index color used by the artwork.
pmi_color | [in] A a new PMI color value. |
void OdPdfPublish::OdArtwork::setPMICrossHighlighting | ( | bool | state | ) |
Sets the cross highlighting flag for the Picture Mastering Index (PMI) color of the artwork entity. If the flag is set to true, the geometry related to a piece of PMI is hightlighted when the PMI is selected, otherwise is not.
state | [in] A new PMI cross highlighting flag value. |
void OdPdfPublish::OdArtwork::setPMISemanticInformation | ( | bool | state | ) |
Sets the semantic data flag for the Picture Mastering Index (PMI) of the artwork entity. If the flag is set to true, the artwork entity stores the semantic data, otherwise it does not.
state | [in] A new PMI semantic data flag value. |