[Libreoffice] [EasyHack][#34697][MHST] How to get the current page number in Calc, Impress, Draw

Ta Duc Tung tatung2112 at gmail.com
Wed Aug 17 09:33:19 PDT 2011


Hi,

I'm trying to fix the bug number #34697 in
https://bugs.freedesktop.org/show_bug.cgi?id=34697
(No option for printing current page).

The bug was fixed in Writer. Now I'm trying to make it in Calc. The 
problem is that I don't know how to get the current page number. If in 
Writer, I can get the current cursor then get the page number from that 
cursor, but in Calc, where should I start?

Thanks and Best Regards,
Ta Tung

PS: I haven't working with impress code but after Calc, I will move to 
Impress so if it's OK, please show me the code pointer for Impress and 
Draw also :-)



More information about the LibreOffice mailing list