I believe you can print your ODT files to PDF either as one single file or as a collection of one-per-page files.

jdh
____________________________________________

On 02/23/2013 09:16 AM, Hal Vaughan wrote:

On Dec 28, 2012, at 5:01 AM, lordmax tdf <lordmax-...@email.it> wrote:

Hi to all

Il 28/12/2012 02:02, Girvin R. Herr ha scritto:


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 oooforum.org 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 oooforum.org?
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.




Hal


If you need a single pdf for every page of your document it's better to create 
a single pdf and then separate every page with an external program specialized 
in this.

I haven't been able to get back to this for a while.

So I have to ask why one would say this?  In many cases the purpose of doing 
something from a macro inside LibreOffice is to have an integrated solution so 
one doesn't depend on having to run external programs.

I've been looking into this and this is quite possible - granted, it took me 
about 6-8 hours to find all the details, but it's possible.  I'll be posting a 
sample within the next few days.

It just seems to me saying it's better to do something else is a "can't do" 
attitude that defeats much of what one would want to do with macros.



Hal


--
For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Reply via email to