Need some details on calligraconverter.cpp file inside kde4/src/calligra/tools/converter

Ankit Jain ankit_1988manit at yahoo.co.in
Fri May 11 11:32:50 BST 2012


Thats fine. But I wanted to know how that command works means which libraries, filters it uses and which CMake file is involved in this.
If someone has studied the source code of calligra probably he can easily give me the answer to my question.
Anyways thanks.

--- On Fri, 11/5/12, Boudewijn Rempt <boud at valdyas.org> wrote:

From: Boudewijn Rempt <boud at valdyas.org>
Subject: Re: Need some details on calligraconverter.cpp file inside kde4/src/calligra/tools/converter
To: "Calligra Suite developers and users mailing list" <calligra-devel at kde.org>
Date: Friday, 11 May, 2012, 3:39 PM

On Fri, 11 May 2012, Ankit Jain wrote:

> Hi,
> 
> I am working on an utility that would convert a docx or doc to PDF. I installed calligra and I was studying the source code of calligra to understand how does export to PDF the below 2 things work( when we give print we get 2
> options)-
> 
> 1. print to PDF
> 2. print to file(Postscript).
> 
> I found calligraconverter.cpp inside kde4/src/calligra/tools/converter location but that file is using some libraries or filters to do that(means there are some dependencies),but I am unable to find out those.
> 
> Can someone help me on this and tell me the location of the libraries and the dependencies.
> 
> If someone can give me a detailed approach on how to proceed then it could be very helpful to me and this is a very tough task.
>

Er... calligraconverter just works. You can do

calligraconverter bla.doc bla.pdf

and the pdf will be generated. It uses, of course, the rest of calligra 
for that, but there's no magic involved, just mimetype recognition.

Boudewijn
_______________________________________________
calligra-devel mailing list
calligra-devel at kde.org
https://mail.kde.org/mailman/listinfo/calligra-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20120511/a28aa1bf/attachment.htm>


More information about the calligra-devel mailing list