Hello Andreas,

On Friday 02 April 2010, 18:11, Andreas Mantke wrote:
> > > I'll try to create a java application that exports an editable office
> > > file format to pdf and I searching for the spec / listing of the pdf
> > > options of the current OOo (3.2.0). Is there such a document in the
> > > wiki or in OOo-cvs?
> > 
> > http://wiki.services.openoffice.org/wiki/API/Tutorials/PDF_export#PDF_Exp
> > or t_filter_data
> > 
> > though I didn't check if everything still works with OOo 3.2 (I'll do
> > this when updating the tutorial, now that in 3.2 the PDF dialog is
> > accessible to scripting languages too).
> 
> I try to find out now, if there is a way to update the wiki page. I had a
> look into the OOo code and found inside the filter/source/pdf folder the
> file pdfexport.cxx.

yes, the sources inside 
http://svn.services.openoffice.org/opengrok/xref/DEV300_m75/filter/source/pdf/
are the ones to be studied

You can see for example how the FilterData is read in
http://svn.services.openoffice.org/opengrok/xref/DEV300_m75/filter/source/pdf/pdfexport.cxx#406

You must also check 
http://svn.services.openoffice.org/opengrok/xref/DEV300_m75/officecfg/registry/schema/org/openoffice/Office/Common.xcs#5213

I guess things could be enhanced a little, for example, if the PDF Import 
extension is installed, you can embed the original ODF file inside the PDF 
("hybrid file").
http://svn.services.openoffice.org/opengrok/xref/DEV300_m75/filter/source/pdf/impdialog.cxx#564
"IsAddStream" is not missing from the list in the Wiki, but this isn't 
explained.

EmbedStandardFonts on the other hand is missing. There is a cws that will add 
this option for all PDF formats while it is already available for PDF/A-1, see 
http://svn.services.openoffice.org/opengrok/xref/DEV300_m75/filter/source/pdf/pdfexport.cxx#93

As you see, it is no easy task to update the wiki page; you must know C++ and 
understand these sources at least.
I'll try to do my best to update this ASAP (though never have enough time, so 
if you can help, it'll be very welcomed).

Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to