473,809 Members | 2,649 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Converting a PDF File into Word

Hi everyone,

I am trying to build a small library ( in C# and VS2003) that accepts a

PDF file and converts it to a word document. During this process all
alignments are to be kept.
Is there a way to deo it through code, I am playing with the
microsoft.offic e.interop.word dll but importing the PDf into a format
is a bit of a problem.
Any help would be definitiely appreciated.
Thnx.

Sep 7 '06 #1
3 2174
Mel
Probably need to use the Adobe SDK to do this. And by the way it's doesn't
always do a perfect conversion.
"kalamantin a" <ka*********@gm ail.comwrote in message
news:11******** **************@ i42g2000cwa.goo glegroups.com.. .
Hi everyone,

I am trying to build a small library ( in C# and VS2003) that accepts a

PDF file and converts it to a word document. During this process all
alignments are to be kept.
Is there a way to deo it through code, I am playing with the
microsoft.offic e.interop.word dll but importing the PDf into a format
is a bit of a problem.
Any help would be definitiely appreciated.
Thnx.

Sep 7 '06 #2
If you search around on sourceforge.net there are several C#-based PDF
libraries that may help in your efforts.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"kalamantin a" wrote:
Hi everyone,

I am trying to build a small library ( in C# and VS2003) that accepts a

PDF file and converts it to a word document. During this process all
alignments are to be kept.
Is there a way to deo it through code, I am playing with the
microsoft.offic e.interop.word dll but importing the PDf into a format
is a bit of a problem.
Any help would be definitiely appreciated.
Thnx.

Sep 7 '06 #3

"kalamantin a" <ka*********@gm ail.comskrev i en meddelelse
news:11******** **************@ i42g2000cwa.goo glegroups.com.. .
Hi everyone,

I am trying to build a small library ( in C# and VS2003) that accepts a

PDF file and converts it to a word document. During this process all
alignments are to be kept.
Is there a way to deo it through code, I am playing with the
microsoft.offic e.interop.word dll but importing the PDf into a format
is a bit of a problem.
Any help would be definitiely appreciated.
There is a group of products called Aspose (www.aspose.com). I don't know if
they can do what you want, but there is an Aspose.Pdf and an Aspose.Words.

Peter
Sep 8 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

20
7363
by: Al Moritz | last post by:
Hi all, I was always told that the conversion of Word files to HTML as done by Word itself sucks - you get a lot of unnecessary code that can influence the design on web browsers other than Internet Explorer. Our computer expert in my company had told me already a while ago that I should learn HTML and encode myself. I was never inclined to do so (I am no computer expert), and when upon his suggestion I looked how my pages (converted to...
4
1645
by: Drew | last post by:
Here at work, we have 2 copies of our policies and procedures. We have a Word format, and a PDF format. The problem is that when a policy is changed (there is a commitee meeting every month), the Word doc file is updated, and then a different user has to convert it to PDF (We only have 2 licenses for Acrobat). I would like to try to develop a solution, where the user updates the doc file, and then goes to a page on our intranet, where...
2
1856
by: Jordi Cuenca | last post by:
Hi, I am looking for an already developped tool that could convert Word .doc files (I do not mind the version) to .xml format. That tool should be a command line tool and I should be able to convert several files from .doc to .xml and, very important, I should be able to get the non-text data of the file (I mean, for example, author, last printing time and so on).
8
5746
by: prabha | last post by:
Hello Everybody, I have to conert the word doc to multiple html files,according to the templates in the word doc. I had converted the word to xml.Also through Exsl ,had finished the multiple output html files. The problem is while reading through the worddoc paragraph,the special characters are not identified. So in the xml file,it's just storing that as "?".So I couldn't able to retrive the characters in my ouput html files.
2
7122
by: heathimself | last post by:
Hi, I don't know what type of files they are, but the script allows me to save to a bitmap just fine. But I do know they need to be in RGBA 4444 format, so I've followed what most of the tutorials for RGBA conversions said to do...shifting the bytes. The major problem is that everything is in green, it's shifted up by x pixels, and it's..um..flipped from left to right. I've been working on this for a few weeks now and any insight to the...
2
5003
by: s.danyal.k | last post by:
Hi All, I have created an application in C# that converts HTML file to MS word documents. The HTML file may also have images , for e.g "<img src='http://www.google.com.pk/images/hp0.gif'></img>". The HTML file saved into .doc file. Now the problem is that whenever the .doc file is opened it goes to the link mentioned in the <imgtag. This means that only the link is saved in the .doc file and not the ACTUAL image. Now I want the actual...
1
1313
by: =?Utf-8?B?U3FsQmVnaW5uZXI=?= | last post by:
I want to automate a process of converting documents (*.doc) to html pages using C#. Please note that documents might contain images within it. Any pointers in this regard would be of great help to me. Thanks! Regards Pradeep
5
9117
by: Frederik Van Bogaert | last post by:
Hi! I've taken my first steps into the world of c++ by trying to write a text adventure game. Things are proceeding fine, but there's some code in there that isn't very well coded. More specifically, I use the following code: ... string word ; size_t pos = action.find(" "); word = action.substr (0,pos); if (pos < action.size() - 2)
1
1739
by: sriprasanna | last post by:
Hello All, In our project we have to store PDF, word document files in DataBase(SQL SERVER 2005). We have planned to convert the file to array of bytes and store the binary file into database. We are using c#, ASP.NET 2.0. How to convert a PDF file and a Word Doc file to array of bytes? Is there any other means to implement this.
3
3622
by: Jone | last post by:
Hello, I have tried to convert a Mac text file to Windows using code below. Encoding Win = Encoding.GetEncoding("Windows-1252"); Encoding Mac = Encoding.GetEncoding("macintosh"); byte macBytes = Mac.GetBytes(Row);
0
9722
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10643
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10378
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10121
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9200
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5690
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4333
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3015
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.