CFx SDK Documentation 2024 SP0
|
#include <PdfPublishLink.h>
Protected Member Functions | |
OdLink () | |
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 () |
This class implements a link control contained in a .pdf document created with Publish SDK.
Definition at line 45 of file PdfPublishLink.h.
|
protected |
|
virtual |
Destroys the link control.
void OdPdfPublish::OdLink::getBorderColor | ( | ODCOLORREF & | color | ) | const |
Returns the link control border color. The method fills a passed ODCOLORREF value and returns it to a calling subroutine.
color | [out] A placeholder for the border color value. |
Returns the current border width of the link control. The method fills a passed value and returns it to a calling subroutine.
width | [out] A placeholder for the border width value (in points). |
void OdPdfPublish::OdLink::getHighlighting | ( | Highlighting::Mode & | mode | ) | const |
Returns the current link highlighting mode. The method fills a passed value with the current highlighting mode and returns it to a calling subroutine.
mode | [out] A placeholder for the highlighting mode value. |
void OdPdfPublish::OdLink::getJavaScript | ( | OdString & | source, |
Source::Type & | source_type | ||
) | const |
Returns the current JavaScript scenario for the link control. The method fills a passed string object with the JavaScript scenario source code and returns it to a calling subroutine.
source | [out] A placeholder for the JavaScript scenario source code. |
source_type | [out] A placeholder for the JavaScript source code type. |
OdPdfPublish::OdLink::ODRX_DECLARE_MEMBERS | ( | OdLink | ) |
OdPdfPublish::OdLink::ODRX_HEAP_OPERATORS | ( | ) |
void OdPdfPublish::OdLink::setBorderColor | ( | const ODCOLORREF | color | ) |
Sets the link control border color.
color | [in] A new value of the border color. |
Sets the border width of the link control. Border width is measured in points.
width | [in] A border width value (in points). |
void OdPdfPublish::OdLink::setHighlighting | ( | const Highlighting::Mode | mode | ) |
Sets the link highlighting mode.
mode | [in] A new highlighting mode for the link. |
void OdPdfPublish::OdLink::setJavaScript | ( | const OdString & | source, |
const Source::Type | source_type = Source::kCode |
||
) |
Sets a JavaScript scenario for the link control.
source | [in] A string object that contains the JavaScript scenario source code. |
source_type | [in] A JavaScript scenario source code type. |