PDA

View Full Version : Text file to PDF convertion using C++ code


joseph
19th August 2008, 07:39
Hi guys,

I have a textfile , which may be in the following format....

1) MSWord
2) MSExcell
3) or any other text file

I want to convert this text format ( text file ) to PDF format or PDF file , Using C++ code , instead of using any GUI tool.

Apart from this PDF convertion , i should be able to do the following things in the PDF file

1) Book marks
2) Merging 2 text files and convert it to PDF file.


So can anyone tell me any 3rd party C++ library or source code by which i can achive this PDF convertion.

HINT => Operating system that i am using is WINDOWS.

Thanks in advance
please help me :(

joseph
19th August 2008, 14:04
Hi guys,

Please tell me any 3rd party C++ library ( which should work in windows ) which will convert text file ( which may be in MSWord , MSExcell ...etc ) to PDF file.

please help me:(
Thanks in advance

jacek
21st August 2008, 02:28
If you search freshmeat.net you should find a few Open Source libraries, but I don't think they're capable of reading M$ formats. Qt can write PDFs, so you can also look for some library that will allow you to render M$ document using QPainter.

If a non-free solution is also acceptable, check Adobe site.