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

2011-07-19 Thread Ta Duc Tung
On 07/18/2011 11:07 AM, Andrew Douglas Pitonyak wrote: 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

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

2011-07-18 Thread Ta Duc Tung
On 07/18/2011 11:07 AM, Andrew Douglas Pitonyak wrote: 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

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

2011-07-18 Thread Christoph Noack
Hi TaTung, all! Sorry for answering so late ... Am Samstag, den 16.07.2011, 21:40 +0700 schrieb Ta Duc Tung: On 07/16/2011 07:29 PM, Christoph Noack wrote: [...] We are trying to hack into this easy hack https://bugs.freedesktop.org/show_bug.cgi?id=38830 We're still studying source code.

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

2011-07-17 Thread Andrew Douglas Pitonyak
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

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

2011-07-16 Thread Ta Duc Tung
Hi, We are trying to hack into this easy hack https://bugs.freedesktop.org/show_bug.cgi?id=38830 We're still studying source code. We have 2 questions: 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

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

2011-07-16 Thread Christoph Noack
Hi TaTung!, all! Am Samstag, den 16.07.2011, 16:02 +0700 schrieb Ta Duc Tung: Hi, We are trying to hack into this easy hack https://bugs.freedesktop.org/show_bug.cgi?id=38830 We're still studying source code. We have 2 questions: Great! [...] 2. How to add another RadioButton in to

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

2011-07-16 Thread Ta Duc Tung
On 07/16/2011 07:29 PM, Christoph Noack wrote: Hi TaTung!, all! Am Samstag, den 16.07.2011, 16:02 +0700 schrieb Ta Duc Tung: Hi, We are trying to hack into this easy hack https://bugs.freedesktop.org/show_bug.cgi?id=38830 We're still studying source code. We have 2 questions: Great! [...]