Re: [Libreoffice] [EasyHack][Print current page] How to get the last active page number?

2011-03-30 Thread Jan Holesovsky
Hi Skyler, On 2011-03-27 at 20:33 -0700, Skyler Hawthorne wrote: In PrintDialog::setupOptionalUI, it appears the default text for the page range edit box is set on line 1507 ( http://opengrok.libreoffice.org/xref/libs-gui/vcl/source/window/printdlg.cxx#1507 ). As a test, I commented out

[Libreoffice] [EasyHack][Print current page] How to get the last active page number?

2011-03-27 Thread Skyler Hawthorne
Hello all, I am working on the EasyHack Print current page ( http://wiki.documentfoundation.org/Easy_Hacks#Print_current_page ), and I need a little help. I believe I've found out how to change the default value: In PrintDialog::setupOptionalUI, it appears the default text for the page