When I see this, it is usually so that a macro knows when it can close a
document (you cannot close a document that is being used because it is
being actively printed). So, you noticed that the reported states are
very basic
http://www.openoffice.org/api/docs/common/ref/com/sun/star/view/PrintableState.html
On 04/07/2014 07:12 AM, Ignaz Forster wrote:
Hello,
is it possible to get the printing progress of a document via UNO?
This would make it possible to give the user some feedback when
printing large documents.
I think only the basic information is available.
The closest thing I've found is the PrintJobEvent
(http://api.libreoffice.org/docs/idl/ref/structcom_1_1sun_1_1star_1_1view_1_1PrintJobEvent.html),
however the PrintableState seems to contain only very basic
information (Started, Completed, Spooled)...
Thanks a lot,
Ignaz
--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.odt
Info: http://www.pitonyak.org/oo.php
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.