mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
GoTo action creation
This commit is contained in:
@ -115,6 +115,7 @@ public:
|
||||
PDFObjectFactory& operator<<(const PDFObject& object);
|
||||
PDFObjectFactory& operator<<(Stamp stamp);
|
||||
PDFObjectFactory& operator<<(FileAttachmentIcon icon);
|
||||
PDFObjectFactory& operator<<(const PDFDestination& destination);
|
||||
|
||||
/// Treat containers - write them as array
|
||||
template<typename Container, typename ValueType = decltype(*std::begin(std::declval<Container>()))>
|
||||
@ -367,6 +368,11 @@ public:
|
||||
PDFObjectReference appendPage(QRectF mediaBox);
|
||||
|
||||
|
||||
/// Creates GoTo action. This action changes view to a specific destination in the same document.
|
||||
/// \param destination Destination
|
||||
PDFObjectReference createActionGoTo(PDFDestination destination);
|
||||
|
||||
|
||||
/// Creates URI action.
|
||||
/// \param URL Target URL
|
||||
PDFObjectReference createActionURI(QString URL);
|
||||
|
Reference in New Issue
Block a user