[Libreoffice] [EasyHack][#34697][MHST] How to get the current page number in Calc, Impress, Draw
markus.mohrhard at googlemail.com
Wed Aug 17 11:19:20 PDT 2011
2011/8/17 Ta Duc Tung <tatung2112 at gmail.com>
> I'm trying to fix the bug number #34697 in
> (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?
I think we have someting in this direction already in calc. You should have
a closer look at ScPrintFunc, especially at ScPrintfunc::PrintPage.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the LibreOffice