diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2010-03-03 14:01:18 +0100 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2010-03-03 14:01:18 +0100 |
commit | b67973f21ad24df3c39f828a5b44a5863764a40b (patch) | |
tree | 470f673b2cd5a955ba7e188f58a23492085a9ab0 /qadevOOo/runner/graphical/OpenOfficePostscriptCreator.java | |
parent | 6ee33e01b1fbd367ce01dc5650eb9e3c089672ab (diff) | |
parent | 46feaa99faff38763a172beddba10f94fed6070e (diff) |
CWS-TOOLING: integrate CWS qadev40
Diffstat (limited to 'qadevOOo/runner/graphical/OpenOfficePostscriptCreator.java')
-rw-r--r-- | qadevOOo/runner/graphical/OpenOfficePostscriptCreator.java | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/qadevOOo/runner/graphical/OpenOfficePostscriptCreator.java b/qadevOOo/runner/graphical/OpenOfficePostscriptCreator.java index 9db2f390a317..06330a06d9ab 100644 --- a/qadevOOo/runner/graphical/OpenOfficePostscriptCreator.java +++ b/qadevOOo/runner/graphical/OpenOfficePostscriptCreator.java @@ -599,11 +599,12 @@ public class OpenOfficePostscriptCreator implements IOffice { XPropertySet xPropSet = (XPropertySet) UnoRuntime.queryInterface( XPropertySet.class, aSettings ); xPropSet.setPropertyValue( "PrintAllSheets", new Boolean( true ) ); + GlobalLogWriter.get().println("PrintAllSheets := true"); } } ArrayList aPrintProps = new ArrayList(); - GlobalLogWriter.get().println("Property FileName:=" + _sPrintFileURL); + // GlobalLogWriter.get().println("Property FileName:=" + _sPrintFileURL); // PropertyValue [] aPrintProps = new PropertyValue[nProperties]; PropertyValue Arg = new PropertyValue(); @@ -611,7 +612,7 @@ public class OpenOfficePostscriptCreator implements IOffice Arg.Value = _sPrintFileURL; // aPrintProps[nPropsCount ++] = Arg; aPrintProps.add(Arg); - // showProperty(Arg); + showProperty(Arg); // generate pages string @@ -635,8 +636,8 @@ public class OpenOfficePostscriptCreator implements IOffice Arg.Name = "Pages"; Arg.Value = sPages; aPrintProps.add(Arg); + showProperty(Arg); } - showProperty(Arg); // GlobalLogWriter.get().println("Start printing."); @@ -666,6 +667,8 @@ public class OpenOfficePostscriptCreator implements IOffice throw new com.sun.star.uno.Exception("Convwatch exception, wait too long for printing."); } } + // TimeHelper.waitInSeconds(40, "Start waiting after print ready."); + _aGTA.getPerformance().stopTime(PerformanceContainer.Print); GlobalLogWriter.get().println(DateHelper.getDateTimeForHumanreadableLog() + " Print document done."); |