Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


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 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).

Hi,

Last mail, I said that I can get the current page number from SwDocShell. However, that number is the page where the cursor is, not always the page which user see. Could you give me some hint where to get the page number where user is seeing? Is that view cursor? Where can I find it?

Thanks and Best Regards,
Ta Tung

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.