Click here to Skip to main content
13,005,793 members (75,198 online)
Rate this:
Please Sign up or sign in to vote.
See more:
is it possible to convert Word-Documents (*.doc, *.xls, *.vsd...) to PDF or TIF, JPEG... without Office?

Posted 17-Oct-12 5:21am
Wes Aday 17-Oct-12 11:31am
try openoffice or itextsharp
Sergey Alexandrovich Kryukov 17-Oct-12 15:19pm
Well, maybe both: openoffice to read data, tTextSharp to format and write. iTextSharp along does not "know" proprietary Office formats.
Sergey Alexandrovich Kryukov 17-Oct-12 15:26pm
Anyway, I provided a bunch of helpful referenced, please see.
Lacy00 18-Oct-12 2:04am
Hello, Wes Aday,itextsharp is a good free source for PDF task, but can it convert doc to image?

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

I understand that you don't want to use any proprietary software like Microsoft Office and why. The only open-source code I know is OpenOffice itself (where .odt came from) and its fork LibreOffice. Please see:[^],[^],[^],[^].

You can download the source and find the code working with nearly all versions of Office documents. And, of course, .ODT and all other OpenOffice/LibreOffice documents.

If you would like to support only the newer Office Open XML, the format itself is available and is standardized under ECMA-376 and ISO/IEC 29500:2008:[^],[^].

Please see the comparison chart on Office Open XML software:[^].

As some source code is available and open, you can use it.

And, finally, when you manage to get data from Office documents, you can map it onto PDF structure. To produce PDF itself, you can use the .NET port of iText; this port is called iTextSharp:[^],[^],[^].

I provided links to iText, too, because nearly all documentation you need to work with iTextSharp is there, provided as Java documentation.


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170627.1 | Last Updated 16 Oct 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100