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


Hi :)  
Perhaps "Print to file" and choose Pdf instead of Ps as the file-type and restrict to just 
"Selected pages".  

However OpenSource is set-up to have specialist programs that can work together to produce output 
for a wide range of different requirements.  

If you were planting flowers would you use a butter knife to dig the holes?  Would you use a trowel 
to cut your hedges?  Would you use a hedge strimmer to spread butter on a slice of bread?  

Typically the proprietary route is to make 1 program that does everything.  It is not a specialist 
in those extra rarely used things so does a fairly lousy job.  Also when i want a midnight snack i 
have to get my boots on and the trowel and the hedge strimmer and a ton of other things i wont need 
when all i wanted was a little slice of toast with a bit of jam. The OpenSource route is to put 
only the right tool in my hand (well, a choice of right tools).  The OpenSource is not a "can't do" 
attitude.  It's a "use the right tool for the job" approach.  

Regards from
Tom :)  






________________________________
From: Hal Vaughan <hal@halblog.com>
To: "users@global.libreoffice.org" <users@global.libreoffice.org> 
Sent: Saturday, 23 February 2013, 8:16
Subject: Re: [libreoffice-users] Exporting Text File to PDF (One Page At A time)


On Dec 28, 2012, at 5:01 AM, lordmax tdf <lordmax-tdf@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+help@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




-- 
For unsubscribe instructions e-mail to: users+help@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

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.