开发者

Is it possible to include OpenOffice Writer or MS Word data in a ReportLab generated PDF?

开发者 https://www.devze.com 2023-01-31 01:15 出处:网络
The desire is to have the user provide information in an OpenOffice Writer or MS Word file that is inserted into part of a ReportLab generated PDF. I am comfortable with ReportLab; but, I don\'t have

The desire is to have the user provide information in an OpenOffice Writer or MS Word file that is inserted into part of a ReportLab generated PDF. I am comfortable with ReportLab; but, I don't have any experience with using Writer or Word data in this way. How would you automate the process of pulling in the Writer/Word data? Is it possible to retain tables and gra开发者_JAVA技巧phs?


You can not embed such objects as is within a PDF, adobe specification does not support that. However you could always parse the data from the Office document and reproduce it as a table/graph/etc using reportlab in the output PDF. If you don't care about the data being an actual text you could always save it in the PDF as an image.

0

精彩评论

暂无评论...
验证码 换一张
取 消