summaryrefslogtreecommitdiff
path: root/reportdesign/java
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2008-07-10 14:53:36 +0000
committerRüdiger Timm <rt@openoffice.org>2008-07-10 14:53:36 +0000
commit3bc0e518c6cfab035ca1bb61246c169b20e0038e (patch)
tree2fef25342f2c472a78d0c2d7af34ba586104f601 /reportdesign/java
parent434b3a2d021d9d120d992b96870fecb9e5716745 (diff)
INTEGRATION: CWS rptfix02 (1.8.18); FILE MERGED
2008/07/02 06:42:19 oj 1.8.18.1: #i91253# copy the meta.xml
Diffstat (limited to 'reportdesign/java')
-rw-r--r--reportdesign/java/com/sun/star/report/pentaho/output/OfficeDocumentReportTarget.java9
1 files changed, 8 insertions, 1 deletions
diff --git a/reportdesign/java/com/sun/star/report/pentaho/output/OfficeDocumentReportTarget.java b/reportdesign/java/com/sun/star/report/pentaho/output/OfficeDocumentReportTarget.java
index b155ada2b0bd..faaaed0dcd31 100644
--- a/reportdesign/java/com/sun/star/report/pentaho/output/OfficeDocumentReportTarget.java
+++ b/reportdesign/java/com/sun/star/report/pentaho/output/OfficeDocumentReportTarget.java
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: OfficeDocumentReportTarget.java,v $
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
* This file is part of OpenOffice.org.
*
@@ -250,6 +250,7 @@ public abstract class OfficeDocumentReportTarget extends AbstractReportTarget
*/
private OfficeStylesCollection contentStylesCollection;
private final OutputRepository outputRepository;
+ private final InputRepository inputRepository;
private final AttributeNameGenerator tableNameGenerator;
private final AttributeNameGenerator frameNameGenerator;
private final AttributeNameGenerator autoStyleNameGenerator;
@@ -290,6 +291,7 @@ public abstract class OfficeDocumentReportTarget extends AbstractReportTarget
this.frameNameGenerator = new AttributeNameGenerator();
this.autoStyleNameGenerator = new AttributeNameGenerator();
this.outputRepository = outputRepository;
+ this.inputRepository = inputRepository;
this.states = new FastStack();
this.xmlWriters = new FastStack();
this.imageNames = new AttributeNameGenerator();
@@ -315,6 +317,11 @@ public abstract class OfficeDocumentReportTarget extends AbstractReportTarget
return outputRepository;
}
+ protected InputRepository getInputRepository()
+ {
+ return inputRepository;
+ }
+
/**
* Starts the output of a new office document. This method writes the generic 'office:document-content' tag along with
* all known namespace declarations.