summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-05-28 11:31:14 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-05-28 11:31:14 +0000
commit792bac9ba9b4751fb2703da9caa77e8406230e8d (patch)
treebb31eb49d68673424630ee8599e9a46b21995e66 /vcl
parent0674e5f4196067dd7154b3e1e0cd9dbb1533a1f0 (diff)
INTEGRATION: CWS vcl09 (1.24.4); FILE MERGED
2003/04/28 15:43:15 pl 1.24.4.1: #106398# add: document info
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/pdfwriter_impl.hxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.hxx b/vcl/source/gdi/pdfwriter_impl.hxx
index 63230a34d2da..256e04065339 100644
--- a/vcl/source/gdi/pdfwriter_impl.hxx
+++ b/vcl/source/gdi/pdfwriter_impl.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: pdfwriter_impl.hxx,v $
*
- * $Revision: 1.24 $
+ * $Revision: 1.25 $
*
- * last change: $Author: rt $ $Date: 2003-04-17 15:18:15 $
+ * last change: $Author: vg $ $Date: 2003-05-28 12:31:14 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -315,6 +315,7 @@ private:
MapMode m_aMapMode; // PDFWriterImpl scaled units
std::list< PDFPage > m_aPages;
+ PDFDocInfo m_aDocInfo;
/* maps object numbers to file offsets (needed for xref) */
std::vector< sal_uInt64 > m_aObjects;
/* contains Bitmaps until they are written to the
@@ -470,6 +471,8 @@ private:
bool emitCatalog();
// writes xref and trailer
bool emitTrailer();
+ // emits info dict (if applicable)
+ sal_Int32 emitInfoDict();
/* adds an entry to m_aObjects and returns its index+1,
* sets the offset to ~0
@@ -511,6 +514,9 @@ public:
bool emit();
PDFWriter::PDFVersion getVersion() const { return m_eVersion; }
+ void setDocInfo( const PDFDocInfo& rInfo );
+ const PDFDocInfo& getDocInfo() const { return m_aDocInfo; }
+
/* graphics state */
void push( sal_uInt16 nFlags );