PdfAction class.
More...
PdfAction class.
The PdfAction are tasks that pdf viewer performs when a user clicks on a link or a bookmark.
◆ GetDestFile()
virtual int PdfAction::GetDestFile |
( |
wchar_t * |
buffer, |
|
|
int |
len |
|
) |
| |
|
pure virtual |
Gets the string buffer from the action representing external resource. For URI action it's the uniform resource identifier (URI) typically a file that is the destination of a hypertext link. For Launch action it's a file specification of the application that shall be launched or the document that shall beopened or printed. For GoToE action it's a file specification of an external root document of the source.
- Parameters
-
buffer | (filled by method) If the buffer is null function returns required length of string |
len | Length of a buffer to be filled in. |
- Returns
- Number of characters written into buffer of required length.
◆ GetJavaScript()
virtual int PdfAction::GetJavaScript |
( |
wchar_t * |
buffer, |
|
|
int |
len |
|
) |
| |
|
pure virtual |
Gets the string buffer from the JavaScript action.
- Parameters
-
buffer | (filled by method) If the buffer is null function returns required length of string |
len | Length of a buffer to be filled in. |
- Returns
- Number of characters written into buffer of required length.
◆ GetSubtype()
Gets an action's subtype.
- Returns
- The PdfActionType corresponding to the action's subtype.
◆ GetViewDestination()
Gets the view destination of the GoTo or GoToR action. The objects can bee represented by an array or a string object
- Returns
- the view destination.