I see the source file pdfwriter_impl.cxx. and looking for the PDFWriterImpl::emitDocumentMetadata() or the PDFWriterImpl::emit() code.
But it is very hard. could you tell me the program's flow . -----邮件原件----- 发件人: Herbert Duerr [mailto:h...@apache.org] 发送时间: 2013年9月5日 17:51 收件人: dev@openoffice.apache.org 主题: Re: about ooo export PDF file? On 05.09.2013 10:43, jianlizhao wrote: > Hello my friend , Who can help me below problem? > OOo export PDF files, how to know the number of the PDF document object? Please see the source file pdfwriter_impl.cxx [1]. You're probably looking for the PDFWriterImpl::emitDocumentMetadata() or the PDFWriterImpl::emit() methods there. [1] http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/source/gdi/pdfwriter_ impl.cxx?view=markup > When the output PDF file, how to generate catalog object? Please see the PDFWriterImpl::emitCatalog() method in the same file. > How to generate pages object Please see the PDFWriterImpl::newPage() method in the same file. I hope these infos will help you to advance our project. Herbert --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org