[Libreoffice] [MHST][Easy Hack] Get current page number for printing

Andrew Douglas Pitonyak andrew at pitonyak.org
Sun Jul 17 21:07:10 PDT 2011


On 07/16/2011 05:02 AM, Ta Duc Tung wrote:
> Hi,
>
>     1. How to get current page number for printing?
>         We've found a variable mnCurPage from printdlg.cxx but it 
> seems not to be the right one. I think it is current page number for 
> preview in print dialog.

If I were writing a macro and I wanted to know, I would probably get 
this from the view cursor (but that is just a guess).

-- 
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.odt
Info:  http://www.pitonyak.org/oo.php



More information about the LibreOffice mailing list