You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2011/12/14 16:16:59 UTC
DO NOT REPLY [Bug 118678] New: Printing xls from a invisible Window
https://issues.apache.org/ooo/show_bug.cgi?id=118678
Bug #: 118678
Issue Type: DEFECT
Summary: Printing xls from a invisible Window
Classification: Code
Product: api
Version: OOo 3.3
Platform: PC
OS/Version: Windows 7
Status: UNCONFIRMED
Severity: normal
Priority: P5
Component: code
AssignedTo: tbo@openoffice.org
ReportedBy: michael.ruttka@googlemail.com
CC: ooo-issues@incubator.apache.org
If I open a xls file with the following options:
PropertyValue[] propertyValues = new PropertyValue[1];
propertyValues[0] = new PropertyValue();
propertyValues[0].Name = "Hidden";
propertyValues[0].Value = true;
xComponent = xComponentLoader.loadComponentFromURL(getUrl(xlsFile), "_blank",
0, propertyValues);
And print it after that by the following code:
XPrintable xPrint = (XPrintable) UnoRuntime.queryInterface(XPrintable.class,
xComponent);
PropertyValue[] printProperties = new PropertyValue[1];
printProperties[0] = new PropertyValue();
printProperties[0].Name = "Wait";
printProperties[0].Value = true;
xPrint.print(printProperties);
The print wont happen! Somehow it isnt possible to print xls-Files from an
invisible Window. Ods, odt and doc are working.
I can just print xls, when the window is visible: (before the print
XModel2 model = (XModel2) UnoRuntime.queryInterface(XModel2.class, xComponent);
model.getCurrentController().getFrame().getContainerWindow().setVisible(true);
model.getCurrentController().getFrame().getContainerWindow().setVisible(true);
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
DO NOT REPLY [Bug 118678] Printing xls from a invisible Window
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118678
michael.ruttka@googlemail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
OS/Version|Windows 7 |All
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
DO NOT REPLY [Bug 118678] Printing xls from a invisible Window
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118678
michael.ruttka@googlemail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |trivial
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
DO NOT REPLY [Bug 118678] Printing xls from a invisible Window
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118678
michael.ruttka@googlemail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P5 |P3
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.