Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#
Hi,
is it possible to convert Word-Documents (*.doc, *.xls, *.vsd...) to PDF or TIF, JPEG... without Office?
 
thx,
Benny
Posted 17-Oct-12 5:21am
Comments
Wes Aday at 17-Oct-12 11:31am
   
try openoffice or itextsharp
Sergey Alexandrovich Kryukov at 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. --SA
Sergey Alexandrovich Kryukov at 17-Oct-12 15:26pm
   
Anyway, I provided a bunch of helpful referenced, please see. --SA
Lacy00 at 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
good
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:
http://en.wikipedia.org/wiki/OpenOffice.org[^],
http://www.openoffice.org/[^],
http://en.wikipedia.org/wiki/LibreOffice[^],
http://www.libreoffice.org/[^].
 
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:
http://en.wikipedia.org/wiki/Office_Open_XML[^],
http://en.wikipedia.org/wiki/Office_Open_XML_software[^].
 
Please see the comparison chart on Office Open XML software:
http://en.wikipedia.org/wiki/Comparison_of_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:
http://en.wikipedia.org/wiki/IText[^],
http://itextpdf.com/[^],
http://sourceforge.net/projects/itextsharp/[^].
 
I provided links to iText, too, because nearly all documentation you need to work with iTextSharp is there, provided as Java documentation.
 
—SA
  Permalink  
v2

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

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Shai Vashdi 1,485
1 OriginalGriff 463
2 Manas Bhardwaj 383
3 Damith Weerasinghe 340
4 Tadit Dash 330
0 Sergey Alexandrovich Kryukov 9,575
1 OriginalGriff 6,006
2 Peter Leow 4,500
3 Maciej Los 3,540
4 Abhinav S 3,513


Advertise | Privacy | Mobile
Web01 | 2.8.140415.2 | Last Updated 16 Oct 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid