summaryrefslogtreecommitdiff
path: root/qadevOOo/runner/convwatch/OfficePrint.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/runner/convwatch/OfficePrint.java')
-rw-r--r--qadevOOo/runner/convwatch/OfficePrint.java10
1 files changed, 6 insertions, 4 deletions
diff --git a/qadevOOo/runner/convwatch/OfficePrint.java b/qadevOOo/runner/convwatch/OfficePrint.java
index adf75f093c50..7f9b86f2f920 100644
--- a/qadevOOo/runner/convwatch/OfficePrint.java
+++ b/qadevOOo/runner/convwatch/OfficePrint.java
@@ -108,7 +108,8 @@ public class OfficePrint {
}
catch (com.sun.star.lang.IllegalArgumentException e)
{
- GlobalLogWriter.get().println("showProperty: can't convert a object to string.");
+ // GlobalLogWriter.get().println("showProperty: can't convert a object to string.");
+ GlobalLogWriter.get().println("Property " + sName + ":= a Object which can't convert by AnyConverter()");
}
}
@@ -627,11 +628,12 @@ public class OfficePrint {
{
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();
@@ -639,7 +641,7 @@ public class OfficePrint {
Arg.Value = _sPrintFileURL;
// aPrintProps[nPropsCount ++] = Arg;
aPrintProps.add(Arg);
- // showProperty(Arg);
+ showProperty(Arg);
if (_aGTA.printAllPages() == false)
{
@@ -661,8 +663,8 @@ public class OfficePrint {
Arg.Name = "Pages";
Arg.Value = sPages;
aPrintProps.add(Arg);
+ showProperty(Arg);
}
- showProperty(Arg);
// GlobalLogWriter.get().println("Start printing.");