Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On 13/08/12 11:26, docminer wrote:
Hi,

I want to re-use in other project the LibreOffice's document transformation
features. For example, read a MS Word document and save it as Adobe PDF
file.

I've downloaded the source codes and looked at them, but LO is a very large
project. Where I can found those sources?

the document conversion engines in LibreOffice are called Writer, Calc,
Draw and Impress.  conversion from e.g. DOCX to ODT happens by importing
the DOCX file with the DOCX import filter into Writer, and then
exporting the document from Writer with the ODF export filter.

the best option of using LibreOffice for your purpose is to install it
and connect to it via UNO; read the OOo Dev Guide for details:

http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/FirstSteps/First_Contact

there is a simple example program that prints documents from Python:

http://cgit.freedesktop.org/libreoffice/core/tree/bin/convwatch.py


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.