Re: [dev] Save as PDF?

2005-04-07 Thread Martin Kubiak
And on windows? Ghostcsript is available for Windows, and can output to PDF. Maybe you can just test for the existance of ghostscript on any system, and if it's not there, provide a link for people to download it. I wouldn't try to re-invent the wheel here unless your friend has a lot of spare

[dev] Save as PDF?

2005-04-05 Thread Ryan Singer
There is some interest in making a save as pdf feature in future versions of Mozilla on the PC and on linux, and one of my friends at the mozilla foundation was wondering if he could talk to a OOo developer about where to start with that. Any of you interested in helping? Just reply to me

Re: [dev] Save as PDF?

2005-04-05 Thread Philipp Lohmann - Sun Germany
Hi, what exactly would you want to know ? I could point at the vcl project to vcl/inc/pdfwriter.hxx and vcl/source/gdi/pdfwriter_impl.[hc]xx which contain that parts of OOo's PDF export that actually handle creating a PDF. But that is of course code working inside OOo, one would have to adapt

Re: [dev] Save as PDF?

2005-04-05 Thread Daniel Carrera
If you are just interested in Linux, you are much better off writing a plugin that prints to postscript and then runs 'ps2pdf'. No need to reinvent the wheel. Especially when it's a big and complicated wheel. Cheers, Daniel. On Tue, Apr 05, 2005 at 08:11:01AM -0700, Ryan Singer wrote: There

Re: [dev] Save as PDF?

2005-04-05 Thread Brian Raymond
You have some similar options on WIndows if you wrap things together into a plugin. There are a number of libraries out there that would give you the pieces to need to put this functionality together much easier then pulling OOo's code apart to adapt it for Mozilla. A related note, I've printed