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

Hal Vaughan wrote:
I'm exporting ODT files to PDF, but I want to export only 1 page at a time, so I'm using a BASIC 
macro to handle this.

I've been searching, but since somewhere around 3-4am EST, I have not been able to access and most links lead to there.

I can't find examples elsewhere that show me how to export a PDF file from in BASIC or how to 
specify, again, from BASIC, what pages to export.

Can anyone give me links for examples that are not on  Or tell me what classes I 
would be using for this so I can look them up in the IDL to find out how to specify the page (or 
pages) to export and how to use the PDF exporter?

Thank you.

I just checked on my LO 3.6.4 and discovered there is a way to export only certain page(s). Don't use the button on the toolbar, but use File -> Export as PDF. A dialog comes up with "Range" in the top left corner of the "General" tab. There, you can select "All", "Pages", or "Selection" (if pre-selected). The "Pages" option allows you to specify which range of pages, or a single page number, you want to be included in the export. This dialog has many other PDF options that the toolbar button does not offer. However, I may have mis-read your problem. If you want to have an automated method of creating a separate file for each page, then this may not help. If your document is long, using this method can be tedious and an automated method would be preferable.

Hope this helps.
Girvin Herr

For unsubscribe instructions e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


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.