I want to convert pdf to html

Hello
My English ability is ver poor sorry
I want to read pdf and display in web page (use jsp)
I have two problem
first, read pdf by html (not just text, jpedal is good)
sencond, save image(jpedal can do)
but I can't know image position....
anyway, I want to convert pdf to html
plz recommend good library.

codingMonkey wrote:
DanCrintea wrote:
HTML to PDF with Java, using OpenOffice.org - example here: [http://www.dancrintea.ro/html-to-pdf/|http://www.dancrintea.ro/html-to-pdf/]
You can use OpenOffice.org, running as a server and command it remotely for document convertion.
Besides HTML to PDF, there are also possible other convertions:
doc --> pdf, html, txt, rtf
xls --> pdf, html, csv
ppt --> pdf, swf
Code example:
import officetools.OfficeFile; // this is my tools package
FileInputStream fis = new FileInputStream(new File("c:/test.html"));
FileOutputStream fos = new FileOutputStream(new File("c:/test.pdf"));
// suppose OpenOffice.org runs on localhost, port 8100
OfficeFile f = new OfficeFile(fis,"localhost","8100", true);
f.convert(fos,"pdf");
-----------------------------------------------------------------------------------------------------------------------------------------Methinks someone is close to getting their account blocked for resurrecting hordes of zombies.Indeed. Abuse already reported

Similar Messages

  • How to convert pdf into html?

    Hi,
    I am an amateur ASP developer. I want to create a pdf viewer like http://www.scribd.com. But I want to convert PDF into HTML on the server and then display it to the client. I want to convert into HTML so that it can be browsed from mobile devices also. And I need the text to be searched client side.
    Can anyone help me? Give me any direction or hint on how to achieve this or where to start? Have anyone done this before?

    Irosenth,
    Thank you very much for your kind reply.
    Well, can you give me a clue from where to start? Is there any server component? or can ASP.NET help? Or from where I can get some information on converting PDF into html on server side?
    Look, everybody was a starter sometime. I want to do this.

  • Want to convert pdf to dwg file

    want to convert pdf to dwg file

    Adobe Reder does not do that, nor does any other Adobe software. A google search suggests third parties offer such a tool. How useful they are will depend on the PDF, e.g. if it is a scanned blueprint forget it; if it was an CAD design in the first place you might be able to get back basic lines but not text.

  • Acrobat 9- convert pdf to html, not retaining format as original pdf.

    I'm needing to upload a completed irs form to my website. I have the pdf, but when i export or save as an html file, the image looks different. It is not retaining the original look/format of the pdf form.
    Alternatively, is there a way to export multiple pages into one single jpg, png or tiff file? my document is 34 pages.
    Any help is appreciated.
    Thanks,
    Amy

    HTML by its very nature has a varying format to meet the needs of the browser and screen. It should never be expected to see the same format when converting to HTML. Actually I am surprised you could even convert it to HTML since most IRS forms are secure and do not allow such operations. If you want to post it to your site for some reason, just post the PDF file itself.

  • Free trail want to convert pdf to word

    I signed up for a free trail and want to convert a PDF file to word.  I am in Adobe Reader and hit Convert and it clocks but I do not have a converted file after it stops.  How do I do this?

    Hi  Nora,
    Adobe doesn't offer free trials to its subscriptions. Did you start an Adobe Acrobat trial? If so, make sure that Acrobat is installed, and then open your PDF in Acrobat, rather than Reader. In Acrobat, choose File > Save as Other > Microsoft Word > Word Document to save your PDF file as a Word document.
    When you try to convert via Adobe Reader, you're actually accessing the ExportPDF online service, which is a subscription offering separate from Acrobat.
    Provided you have the Acrobat trial, you can use that to convert your PDF files until the trial expires. Then, if you'd like, you could proceed with either an ExportPDF subscription, or an Acrobat subscription.
    Best,
    Sara

  • Possible to convert PDF to HTML?

    Hello, I basically want to take this fancy PDF I created that has a ton of hyperlinks and beautiful images into an HTML version for the web (on Wordpress).  Is this possible and if so, could you please point me in the right direction?
    Thanks!
    EDIT: I have tried "save as HTML" and it totally messed up my pdf

    Your best bet is as Graffiti said recreate  in BreamWeaver or something similar.
    You could simply somewhat by taking the original document you used to convert the Document If it was a Word Document To save it as an HTML document.
    Then use DremWeaver's setting to "Fix Word HTML" to  make it W3C compatible HTML.  That would save some typing.

  • Can I convert PDF to HTML form

    I'm trying to upload a PDF fillable form and have the ability to post as an HTML form link. Is this possible? It seems the only way I'm able to distribute this PDF form is via email download. Its a very long form (employment application) and I don't want to have to recreate the whole thing in the HTML form builder if possible.

    Hi johnfarmernyc,
    If we import a fill-able PDF form in FormsCentral and distribute it, the only option we have is via email download. Unfortunately, we cannot distribute it using Web form.

  • I want to convert PDF to Korean Doc

    hello!
    I subscribed Acrobat XI just before that is pdf convert to korean doc file, but I think it doesn't support to Korean,
    I really want to the converter so anybody help me. please?

    I just converted a random Korean PDF from the Internet to Word using Acrobat XI 11.0.09; there was no problem with it.
    What is the problem when you are trying to convert a Korean language PDF to Word?

  • Hi want to convert .txt and .html into tif file(multipage)

    pls hlp with code bit.
    here my code bit
         Object[] textToAdd = converter.readTextFile("d:\\test1.txt");
                   int fontSize = 20;
                   System.out.println("text length "+textToAdd.length);
                   converter.height = textToAdd.length*fontSize;
                   System.out.print(converter.height);
    BufferedImage startImage = converter.getSampleImage();
                        Graphics2D graphics = startImage.createGraphics();

    Hi Laxman,
    I have checked the program and found out following:
    the field "acc_mode" which gets populated by FM "GET_ACCESSIBILITY_MODE".
    If this field is initial, then normal list gets displayed and
    If this field has value, then ALV grid gets displayed.
    regards,
    Dharitree

  • How can I convert pdf file to xml or html file.

    Hello
    My English ability is very poor. sorry.
    I want to extract text and image from pdf file.
    so, I try use itext. but.. I can't make what I want .
    I searched pdfbox and jpedal.
    but I can't get my solution.
    Just I want to convert pdf to xml or html(html prefer).
    I think pdfviewer is hint.
    but I can't get full source(in jpedal)
    Plz help.. me.....
    Does anybody solve this problem?

    Stay in your old thread
    [http://forums.sun.com/thread.jspa?threadID=5198647]
    Don't multi/crosspost or your account will be locked.

  • Microsoft Office documents and PDF to HTML converter

    Need framework(if such exists) for this task, or some advices...

    about utility, actually becouse ti's the easiest I think to use it run OpenOffice with Macros, to automate the process(And I frogot to say, that OS is *nix, not Windows, thats why such libs as JACOB doesn't fit, becouse of using dll by them, and POI is row to use), but I still looking for tool or lib(toll would be better :)) to convert PDF to HTML                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Convert pdf to excel, wanted to see if it worked before subscribing.

    And I did not want to send it to the cloud but rather keep the test on my own machine.  Tried save as but it does not give the option to save as excel.

    Hi rmullen,
    Adobe doesn't offer free trials of its Acrobat.com online services. But, if you do decide to try it out, and it doesn't suit your needs, you may cancel within the first 30 days for a full refund.
    If you want to convert PDF files to Excel without doing so via the cloud, then you would want to use Acrobat (not Reader), which does allow you to save directly to Excel format (and others) on your desktop.
    Best,
    Sara

  • How to read text from PDF and HTML

    I have got solution to read text form .txt file but did'nt get code for PDF and HTML.
    I dont want to convert PDF to txt.
    Please help me ...

    reading from a file is always the same. using the same strategy used for a .txt will allow you to read a .pdf file.
    Offcourse in itself it will be useless becuase pdf files have a special internal structure.
    html files are identical to txt files.
    What are you trying to accomplisch with the files you are reading ?

  • How to read data from PDF and HTML  file

    I have got solution to read text form .txt file but did'nt get code for PDF and HTML.
    I dont want to convert PDF to txt.
    Please help me ...

    ah crap i could have guessed there would be a crosspost only the forum in where the crosspost is made is abit funny
    To OP: DO NOT CROSSPOST
    http://forum.java.sun.com/thread.jspa?threadID=5267875&tstart=0

  • Converting pdf to Word 2003 in Acrobat 9 Pro

    I am using Acrobat 9 Pro.  I want to convert pdfs to Word 2003.  I have followed the instructions to export to Word, but when I get to the dialog box that selects the conversion method, I choose Flowing, which is recommended, and click OK, and I get an error message that my PDF document may be corrupt.  This happens with every pdf, whether it is a form downloaded from the internet or a text document I have created myself.  If I try to convert to RTF instead, it makes the "conversion", but in doing so, it creates a file containing an image that is not editable -- it does not create a plain text, editable file.
    Is the problem that I am using Word 2003?  Word 2003 is not on the list of file formats to which the pdf can be exported, but when I get to that screen, I choose Workshare PDF in Word (which I believe I read somewhere is the correct choice for conversion to Word 2003) as my selection and it gets me to the "conversion method" screen (which gets me to the corruption error message). Again, even if I choose rtf, I do not get an editable document.
    Any ideas???

    Something to try -
    Export the PDF to RTF.
    Open the RTF file with Word Pad.
    Save As (perhaps to a new filename -- 'something_bis.rtf')
    Open this file with MS Word.
    Not particularly surprising that the PDF you posted behaves poorly when 'worked' with Acrobat.
    It is an output of Ghostscript.
    Compounding the awkwardness of export is the fact that the PDF is not a Tagged PDF.
    A significant raison d'etre for Tagged PDF is to support export of PDF content to a word processor application.
    Be well...

Maybe you are looking for