summaryrefslogtreecommitdiff
path: root/vcl/inc/vcl/pdfwriter.hxx
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@oracle.com>2010-12-01 09:57:05 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@oracle.com>2010-12-01 09:57:05 +0100
commitdffb97276ae61aefeb62696bd16dc78ab6b5b5d1 (patch)
tree71eaf0b102d605ebfb3a89f4a17ef8f6b22af91b /vcl/inc/vcl/pdfwriter.hxx
parent01f74443a1a2aa9402b475f9300d6766ce8858a7 (diff)
dba34b: #i113555# when a button's URL points to a document-local target, properly export this to PDF
Diffstat (limited to 'vcl/inc/vcl/pdfwriter.hxx')
-rw-r--r--vcl/inc/vcl/pdfwriter.hxx23
1 files changed, 23 insertions, 0 deletions
diff --git a/vcl/inc/vcl/pdfwriter.hxx b/vcl/inc/vcl/pdfwriter.hxx
index 27dbbfc80c72..af10cef382bc 100644
--- a/vcl/inc/vcl/pdfwriter.hxx
+++ b/vcl/inc/vcl/pdfwriter.hxx
@@ -923,6 +923,29 @@ The following structure describes the permissions used in PDF security
-1 if page id does not exist
*/
sal_Int32 CreateLink( const Rectangle& rRect, sal_Int32 nPageNr = -1 );
+
+ /** creates a destination which is not intended to be referred to by a link, but by a public destination Id.
+
+ Form widgets, for instance, might refer to a destination, without ever actually creating a source link to
+ point to this destination. In such cases, a public destination Id will be assigned to the form widget,
+ and later on, the concrete destination data for this public Id will be registered using RegisterDestReference.
+
+ @param rRect
+ target rectangle on page to be displayed if dest is jumped to
+
+ @param nPageNr
+ number of page the dest is on (as returned by NewPage)
+ or -1 in which case the current page is used
+
+ @param eType
+ what dest type to use
+
+ @returns
+ the internal destination Id.
+ */
+ sal_Int32 RegisterDestReference( sal_Int32 nDestId, const Rectangle& rRect, sal_Int32 nPageNr = -1, DestAreaType eType = XYZ );
+
+
/** Set the destination for a link
<p>will change a URL type link to a dest link if necessary</p>