OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

.xls to .pdf

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc
View previous topic :: View next topic  
Author Message
fave_17
General User
General User


Joined: 05 Feb 2004
Posts: 5

PostPosted: Thu Feb 05, 2004 6:25 pm    Post subject: .xls to .pdf Reply with quote

Hi, I would like to know how can I convert an excel file to pdf using the command line. I can print to pdf converter if I use the user interface but I want to do it in command line of linux. thanks!
Back to top
View user's profile Send private message
DannyB
Moderator
Moderator


Joined: 02 Apr 2003
Posts: 3991
Location: Lawrence, Kansas, USA

PostPosted: Thu Feb 05, 2004 8:37 pm    Post subject: Reply with quote

See these threads....

http://www.oooforum.org/forum/viewtopic.php?t=3772

http://www.oooforum.org/forum/viewtopic.php?t=5513

All you have to change is the export filter name in the macro. In the first link above, see where the code says....

MakePropertyValue( "FilterName", "writer_pdf_Export" )

replace "writer_pdf_Export" with one of the filters from the list...
http://www.oooforum.org/forum/viewtopic.php?t=3549
probably "calc_pdf_Export".
_________________
Want to make OOo Drawings like the colored flower design to the left?
Back to top
View user's profile Send private message
fave_17
General User
General User


Joined: 05 Feb 2004
Posts: 5

PostPosted: Thu Feb 05, 2004 9:03 pm    Post subject: Reply with quote

can I have a linux script of the windows batch file from the first link?
Back to top
View user's profile Send private message
DannyB
Moderator
Moderator


Joined: 02 Apr 2003
Posts: 3991
Location: Lawrence, Kansas, USA

PostPosted: Thu Feb 05, 2004 9:16 pm    Post subject: Reply with quote

Yes. I'll do that, probably, sometime tomorrow. Probably in between breaks to check out what is happening in the SCO vs. IBM hearing.
_________________
Want to make OOo Drawings like the colored flower design to the left?
Back to top
View user's profile Send private message
fave_17
General User
General User


Joined: 05 Feb 2004
Posts: 5

PostPosted: Thu Feb 05, 2004 10:34 pm    Post subject: Reply with quote

thanks!

I already changed the writer_pdf_Export to calc_pdf_Export. I tried to run the macro in BASIC but the calc_pdf_Export is not recognized.

I used your code in http://www.oooforum.org/forum/viewtopic.php?t=3549 to see if my computer have calc_pdf_Export. It does not have calc_pdf_Export.

Where can I get it? thanks again!
Back to top
View user's profile Send private message
DannyB
Moderator
Moderator


Joined: 02 Apr 2003
Posts: 3991
Location: Lawrence, Kansas, USA

PostPosted: Fri Feb 06, 2004 6:38 am    Post subject: Reply with quote

In order to have any of the PDF export filters, you must be on OOo version 1.1.
_________________
Want to make OOo Drawings like the colored flower design to the left?
Back to top
View user's profile Send private message
fave_17
General User
General User


Joined: 05 Feb 2004
Posts: 5

PostPosted: Tue Feb 10, 2004 4:20 pm    Post subject: Reply with quote

Thanks! I downloaded ver 1.1 and it works.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group