diff options
author | erack <er@openoffice.org> | 2011-09-10 22:49:17 +0000 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2011-11-23 23:34:58 +0100 |
commit | 70b02c18b95ef19bd224788efa491671e762ae23 (patch) | |
tree | 14e5e9619540bc01e4905cc3ce8f9b79a06377aa /vcl | |
parent | d0cfb996261be5b604742780a304b2ea31825723 (diff) |
impress212: #i114615# fixed hyperlink export (pdf) if exporting also notes pages
* found as LGPLv3-only fix at svn rev 1167640 (http://svn.apache.org/viewvc?view=revision&revision=1167640)
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/vcl/pdfextoutdevdata.hxx | 4 | ||||
-rw-r--r-- | vcl/source/gdi/pdfextoutdevdata.cxx | 9 |
2 files changed, 13 insertions, 0 deletions
diff --git a/vcl/inc/vcl/pdfextoutdevdata.hxx b/vcl/inc/vcl/pdfextoutdevdata.hxx index 37dadb9a63db..ab9f44e1bb82 100644 --- a/vcl/inc/vcl/pdfextoutdevdata.hxx +++ b/vcl/inc/vcl/pdfextoutdevdata.hxx @@ -86,6 +86,7 @@ class VCL_DLLPUBLIC PDFExtOutDevData : public ExtOutDevData sal_Bool mbTaggedPDF; sal_Bool mbExportNotes; + sal_Bool mbExportNotesPages; sal_Bool mbTransitionEffects; sal_Bool mbUseLosslessCompression; sal_Bool mbReduceImageResolution; @@ -117,6 +118,9 @@ public : sal_Bool GetIsExportNotes() const; void SetIsExportNotes( const sal_Bool bExportNotes ); + sal_Bool GetIsExportNotesPages() const; + void SetIsExportNotesPages( const sal_Bool bExportNotesPages ); + sal_Bool GetIsExportTaggedPDF() const; void SetIsExportTaggedPDF( const sal_Bool bTaggedPDF ); diff --git a/vcl/source/gdi/pdfextoutdevdata.cxx b/vcl/source/gdi/pdfextoutdevdata.cxx index 99326c213840..bcbd9a58fa5f 100644 --- a/vcl/source/gdi/pdfextoutdevdata.cxx +++ b/vcl/source/gdi/pdfextoutdevdata.cxx @@ -509,6 +509,7 @@ PDFExtOutDevData::PDFExtOutDevData( const OutputDevice& rOutDev ) : mrOutDev ( rOutDev ), mbTaggedPDF ( sal_False ), mbExportNotes ( sal_True ), + mbExportNotesPages ( sal_False ), mbTransitionEffects ( sal_True ), mbUseLosslessCompression( sal_True ), mbReduceImageResolution ( sal_False ), @@ -567,6 +568,14 @@ void PDFExtOutDevData::SetIsExportNotes( const sal_Bool bExportNotes ) { mbExportNotes = bExportNotes; } +sal_Bool PDFExtOutDevData::GetIsExportNotesPages() const +{ + return mbExportNotesPages; +} +void PDFExtOutDevData::SetIsExportNotesPages( const sal_Bool bExportNotesPages ) +{ + mbExportNotesPages = bExportNotesPages; +} sal_Bool PDFExtOutDevData::GetIsExportTaggedPDF() const { return mbTaggedPDF; |