summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/pdfwriter_impl.hxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-11-01 09:33:03 +0000
committerKurt Zenker <kz@openoffice.org>2005-11-01 09:33:03 +0000
commitba165873f1e134725288162d5b19470c6da90525 (patch)
treeb2557942c40866d77bbd1afe845a98b04a971efd /vcl/source/gdi/pdfwriter_impl.hxx
parentddd7f2a3fca7b24b83834b77d83a65a98bae7c77 (diff)
INTEGRATION: CWS vcl42 (1.34.2); FILE MERGED
2005/10/06 06:35:12 pl 1.34.2.3: RESYNC: (1.34-1.35); FILE MERGED 2005/08/18 18:25:30 pl 1.34.2.2: #i49748# #i51850# fix an unexpected side effect of higher precision output (->ClipRegions not downscaled anymore) 2005/07/20 16:44:06 pl 1.34.2.1: #i51850# annotation in structure need /StructParent entry
Diffstat (limited to 'vcl/source/gdi/pdfwriter_impl.hxx')
-rw-r--r--vcl/source/gdi/pdfwriter_impl.hxx13
1 files changed, 9 insertions, 4 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.hxx b/vcl/source/gdi/pdfwriter_impl.hxx
index 5adf50167def..65b148115314 100644
--- a/vcl/source/gdi/pdfwriter_impl.hxx
+++ b/vcl/source/gdi/pdfwriter_impl.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: pdfwriter_impl.hxx,v $
*
- * $Revision: 1.36 $
+ * $Revision: 1.37 $
*
- * last change: $Author: rt $ $Date: 2005-10-19 11:49:22 $
+ * last change: $Author: kz $ $Date: 2005-11-01 10:33:03 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -350,9 +350,11 @@ public:
{
sal_Int32 m_nDest; // set to -1 for URL, to a dest else
rtl::OUString m_aURL;
+ sal_Int32 m_nStructParent; // struct parent entry
PDFLink()
- : m_nDest( -1 )
+ : m_nDest( -1 ),
+ m_nStructParent( -1 )
{}
};
@@ -474,6 +476,7 @@ private:
OutputDevice* m_pReferenceDevice;
MapMode m_aMapMode; // PDFWriterImpl scaled units
+ MapMode m_aFineMapMode;
std::vector< PDFPage > m_aPages;
PDFDocInfo m_aDocInfo;
/* maps object numbers to file offsets (needed for xref) */
@@ -508,6 +511,8 @@ private:
/* current object in the structure hierarchy
*/
sal_Int32 m_nCurrentStructElement;
+ /* structure parent tree */
+ std::vector< rtl::OString > m_aStructParentTree;
/* emit strucure marks currently (aka. NonStructElement or not)
*/
bool m_bEmitStructure;
@@ -726,7 +731,7 @@ private:
// writes document structure
sal_Int32 emitStructure( PDFStructureElement& rEle );
// writes structure parent tree
- sal_Int32 emitStructParentTree();
+ sal_Int32 emitStructParentTree( sal_Int32 nTreeObject );
// writes page tree and catalog
bool emitCatalog();
// writes xref and trailer