Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #24396 > unrolled thread

plz sir send me code to convert a .PDF file to .docx in java

Started bykrishna.taniya@gmail.com
First post2013-06-13 07:42 -0700
Last post2013-07-11 15:41 -0700
Articles 5 — 5 participants

Back to article view | Back to comp.lang.java.programmer


Contents

  plz sir send me code to convert a .PDF file to .docx in java krishna.taniya@gmail.com - 2013-06-13 07:42 -0700
    Re: plz sir send me code to convert a .PDF file to .docx in java Eric Sosman <esosman@comcast-dot-net.invalid> - 2013-06-13 11:04 -0400
      Re: plz sir send me code to convert a .PDF file to .docx in java Lew <lewbloch@gmail.com> - 2013-06-13 12:52 -0700
    Re: plz sir send me code to convert a .PDF file to .docx in java Arne Vajhøj <arne@vajhoej.dk> - 2013-06-15 21:06 -0400
    Re: plz sir send me code to convert a .PDF file to .docx in java seo.aspose@gmail.com - 2013-07-11 15:41 -0700

#24396 — plz sir send me code to convert a .PDF file to .docx in java

Fromkrishna.taniya@gmail.com
Date2013-06-13 07:42 -0700
Subjectplz sir send me code to convert a .PDF file to .docx in java
Message-ID<1fb433a2-ac65-444a-99c5-f6e2eaf51429@googlegroups.com>
plzzzzz............

[toc] | [next] | [standalone]


#24397

FromEric Sosman <esosman@comcast-dot-net.invalid>
Date2013-06-13 11:04 -0400
Message-ID<kpcmpk$uso$1@dont-email.me>
In reply to#24396
On 6/13/2013 10:42 AM, krishna.taniya@gmail.com wrote:
> plzzzzz............

http://www.lmgtfy.com/?q=%22pdf+to+docx%22+java

-- 
Eric Sosman
esosman@comcast-dot-net.invalid

[toc] | [prev] | [next] | [standalone]


#24399

FromLew <lewbloch@gmail.com>
Date2013-06-13 12:52 -0700
Message-ID<a31a5dbc-7fa2-4e24-988f-c0da2146370d@googlegroups.com>
In reply to#24397
Eric Sosman wrote:
> krishna.taniya@gmail.com wrote:
>> plzzzzz............

That is not a word. Also, it is good practice to state your problem in detail within the 
body of the post. Simply putting things in a title leads to error and confusion, as we 
have seen in this newsgroup many times.

> http://www.lmgtfy.com/?q=%22pdf+to+docx%22+java

Eric is doing you a favor. An essential skill, perhaps the essential skill in programming 
is to find the information you need and learn it. In the 21st century with its abundance 
of free online resources for this type of question, you should do your homework first.

What is "plz"? Who is "sir"? Do you imagine there is only person, and he male, reading 
these posts?

Sending you code per se will not be a full solution. You still need to understand the 
code and how to adapt it to your purposes.

Eric's suggested query yields an abundance of useful-looking links.

--
Lew


[toc] | [prev] | [next] | [standalone]


#24422

FromArne Vajhøj <arne@vajhoej.dk>
Date2013-06-15 21:06 -0400
Message-ID<51bd0f9c$0$32118$14726298@news.sunsite.dk>
In reply to#24396
On 6/13/2013 10:42 AM, krishna.taniya@gmail.com wrote:
> plzzzzz............

1)  Whatever you find then you should test it very carefully, because
     such a conversion is non-trivial and different products may
     produce results of different quality.

2)  I have never heard about a Java library for that. That does not
     mean that such does not exist. But you could consider using a
     standalone converter. Either separate the conversion from your
     Java or let Java run the standalone converter.

Arne

[toc] | [prev] | [next] | [standalone]


#24730

Fromseo.aspose@gmail.com
Date2013-07-11 15:41 -0700
Message-ID<d4d01c9e-fd50-478d-8e97-1896a1ab8bc3@googlegroups.com>
In reply to#24396
Aspose.PDF can Convert PDF file to DOC or DOCX format. Here is the link: http://www.aspose.com/.net/pdf-component.aspx
I found the following C#.NET code on their site. Kindly contact their team they can surely help you in this matter.....Thanks

Here is the code...

// Path of input PDF document
String filePath = @"d:\\Source.pdf";
// Instantiate the Document object
Aspose.Pdf.Document document = new Aspose.Pdf.Document(filePath);
// Create DocSaveOptions object
DocSaveOptions saveOptions = new DocSaveOptions();
// Set the recognition mode as Flow
saveOptions.Mode = DocSaveOptions.RecognitionMode.Flow;
// Set the Horizontal proximity as 2.5
saveOptions.RelativeHorizontalProximity = 2.5f;
// Enable the value to recognize bullets during conversion process
saveOptions.RecognizeBullets = true;
// Save the resultant DOC file
document.Save(@"d:\\Resultant.doc", saveOptions);

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web