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@kde.org
https://mail.kde.org/mailman/listinfo/calligra-devel

Reply via email to