|
CFx SDK Documentation 2026 SP0
|
#include <PdfPublishStickyNote.h>
Protected Member Functions | |
| OdStickyNote () | |
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 OdRxClass * | desc () |
| static void | rxInit () |
| static void | rxUninit () |
This class implements functionality for work with a sticky note in a PDF document created with Publish SDK. A sticky note allows specification of an icon on the page that, when is clicked, displays a popup window with text information.
Definition at line 46 of file PdfPublishStickyNote.h.
|
protected |
|
virtual |
Destroys the sticky note object.
| void OdPdfPublish::OdStickyNote::getColor | ( | ODCOLORREF & | color | ) | const |
Returns the current color of the sticky note object. The method fills a passed ODCOLORREF value with the sticky note object's color and returns it to a calling subroutine.
| color | [in] A placeholder for the color value. |
Returns the content displayed in the popup window for the sticky note object. The method fills a passed <exref target="https://docs.opendesign.com/tkernel/OdString.html">string</exref> object with the popup window content and returns it to a calling subroutine.
| value | [out] A placeholder for the <exref target="https://docs.opendesign.com/tkernel/OdString.html">string</exref> that contains the popup window content for the sticky note object. |
| bool OdPdfPublish::OdStickyNote::getCreationDate | ( | OdTimeStamp & | value | ) | const |
Returns the creation date and time of the sticky note object. The method fills a passed <exref target="https://docs.opendesign.com/tkernel/OdTimeStamp.html">OdTimeStamp</exref> object with the sticky note object's creation date and time and returns it to a calling subroutine.
| value | [in] A placeholder for the <exref target="https://docs.opendesign.com/tkernel/OdTimeStamp.html">OdTimeStamp</exref> object that contains the date and time of the sticky note object creation. |
Returns the description of the sticky note object. The method fills a passed <exref target="https://docs.opendesign.com/tkernel/OdString.html">string</exref> object with the sticky note description and returns it to a calling subroutine.
| value | [in] A placeholder for the <exref target="https://docs.opendesign.com/tkernel/OdString.html">string</exref> that contains the description of the sticky note object. |
| void OdPdfPublish::OdStickyNote::getLock | ( | bool & | state | ) | const |
Returns the current value of the lock flag for the sticky note. The lock flag determines whether a user can not edit the content of the sticky note object (equals true); otherwise, a user can edit the sticky note object content (equals false).
| state | [in] A placeholder for the current flag value. |
| void OdPdfPublish::OdStickyNote::getMarkedState | ( | StickyNotes::StickyNoteMarkedStates & | marked_state | ) | const |
Returns the current value of the <link OdPdfPublish::StickyNotes::StickyNoteMarkedStates, marked state> for the sticky object. The method fills the passed value of the <link OdPdfPublish::StickyNotes::StickyNoteMarkedStates, StickyNoteMarkedStates enumeration> with the current value of the marked state and returns it to a calling subroutine.
| marked_state | [in] A placeholder for the current value of the <link OdPdfPublish::StickyNotes::StickyNoteMarkedStates, marked state>. |
Returns the icon opacity for the sticky note object. The method fills a passed unsigned 8-bit integer value with the opacity value and returns it to a calling subroutine.
| value | [in] A placeholder for the opacity value. |
| void OdPdfPublish::OdStickyNote::getOpen | ( | bool & | state | ) | const |
Returns the current value of the popup window flag for the sticky note object. The popup window flag determines whether a reader application displays the sticky note object when opens the PDF document (equals true). Otherwise, the reader application doesn't display the sticky note (equals false).
| state | [out] A placeholder for the popup window flag's value. |
Returns the location of the popup window that displays the sticky note object's content. The method fills the content of the passed <exref target="https://docs.opendesign.com/tkernel/ODRECT.html">OdRect</exref> instance with location data and returns it to a calling subroutine.
| popup_location | [out] A placeholder for the <exref target="https://docs.opendesign.com/tkernel/ODRECT.html">rectangle</exref> that represents the location of the popup window. |
| void OdPdfPublish::OdStickyNote::getReviewState | ( | StickyNotes::StickyNoteReviewStates & | review_state | ) | const |
Retrieves the <link OdPdfPublish::StickyNotes::StickyNoteReviewStates, review status> for the sticky note object. The method fills a passed value of the <link OdPdfPublish::StickyNotes::StickyNoteReviewStates, StickyNoteReviewStates enumeration> with the current value of the review status and returns it to a calling subroutine.
| review_state | [in] A placeholder for the <link OdPdfPublish::StickyNotes::StickyNoteReviewStates, review status> value. |
| void OdPdfPublish::OdStickyNote::getStickyNoteType | ( | StickyNotes::StickyNoteTypes & | type | ) | const |
Returns the <link OdPdfPublish::StickyNotes::StickyNoteTypes, type> of the sticky note object. The method fills a passed instance of the <link OdPdfPublish::StickyNotes::StickyNoteTypes, StickyNoteTypes enumeration> value with the current type of the sticky note object and returns it to a calling subroutine.
| type | [out] A placeholder for the <link OdPdfPublish::StickyNotes::StickyNoteTypes, type> of the sticky note object. |
Returns the title of the popup window for the sticky note object. The method fills a passed <exref target="https://docs.opendesign.com/tkernel/OdString.html">string</exref> object with the popup window's title and returns it to a calling subroutine.
| value | [in] A placeholder for the <exref target="https://docs.opendesign.com/tkernel/OdString.html">string</exref> that contains the title of the popup window. |
| OdPdfPublish::OdStickyNote::ODRX_DECLARE_MEMBERS | ( | OdStickyNote | ) |
| OdPdfPublish::OdStickyNote::ODRX_HEAP_OPERATORS | ( | ) |
| void OdPdfPublish::OdStickyNote::setColor | ( | const ODCOLORREF | color | ) |
Sets the color of the sticky note object.
| color | [in] A new color value. |
Sets the content displayed in the popup window for the sticky note object.
| value | [in] A <exref target="https://docs.opendesign.com/tkernel/OdString.html">string</exref> that contains the displayed contents. |
| void OdPdfPublish::OdStickyNote::setCreationDate | ( | const OdTimeStamp & | value | ) |
Sets the creation date and time of the sticky note object.
| value | [in] An <exref target="https://docs.opendesign.com/tkernel/OdTimeStamp.html">OdTimeStamp</exref> object that contains the date and time of the sticky note object creation. |
Sets the description of the sticky note object.
| value | [in] A <exref target="https://docs.opendesign.com/tkernel/OdString.html">string</exref> that contains the description of the sticky note object. |
| void OdPdfPublish::OdStickyNote::setLock | ( | const bool | state | ) |
Sets a new value of the lock flag for the sticky note. The lock flag determines whether a user can not edit the content of the sticky note object (equals true); otherwise, a user can edit the sticky note object content (equals false).
| state | [in] A new flag value. |
| void OdPdfPublish::OdStickyNote::setMarkedState | ( | const StickyNotes::StickyNoteMarkedStates & | marked_state | ) |
Sets a new value of the <link OdPdfPublish::StickyNotes::StickyNoteMarkedStates, marked state> for the sticky object.
| marked_state | [in] A new value of the <link OdPdfPublish::StickyNotes::StickyNoteMarkedStates, marked state>. |
Sets the icon opacity for the sticky note object.
| value | [in] A new opacity value. |
| void OdPdfPublish::OdStickyNote::setOpen | ( | const bool | state | ) |
Sets a new value of the popup window flag for the sticky note object. The popup window flag determines whether a reader application displays the sticky note object when opens the PDF document (equals true). Otherwise, the reader application doesn't display the sticky note (equals false). Default value of the flag equals false.
| state | [in] A new flag value. |
Sets the location of the popup window where the sticky note object appears.
| popup_location | [in] A <exref target="https://docs.opendesign.com/tkernel/ODRECT.html">rectangle</exref> that specifies the page area where the popup window appears. |
| void OdPdfPublish::OdStickyNote::setReviewState | ( | const StickyNotes::StickyNoteReviewStates & | review_state | ) |
Sets the <link OdPdfPublish::StickyNotes::StickyNoteReviewStates, review status> for the sticky note object.
| review_state | [in] A new <link OdPdfPublish::StickyNotes::StickyNoteReviewStates, review status> for the sticky note object. |
| void OdPdfPublish::OdStickyNote::setStickyNoteType | ( | const StickyNotes::StickyNoteTypes & | type | ) |
Sets the <link OdPdfPublish::StickyNotes::StickyNoteTypes, type> of the sticky note object.
| type | [in] A new <link OdPdfPublish::StickyNotes::StickyNoteTypes, type> for the sticky note object. |
Sets the title of the popup window for the sticky note object.
| value | [in] A <exref target="https://docs.opendesign.com/tkernel/OdString.html">string</exref> that contains the title of the popup window. |