Convert doc/xls document to html

Good morning,
I'am sorry if my post isn't in the appropriate category. I would like to convert an Excel document (.xls) and an Word document to html using Java.
Do you know if exists an API which permits to do that ? I tried to use Poi but it converts my read xls File to Text file and don't really translate the contain.
Thanks a lot

BIJ001, I know exactly what you are requesting. I too am using Apache POI and have the same dilemma. If you already found a solution please let me know. I am starting to look now.
Apache POI doesn't support the XLS to HTML conversion. There are Win APIs out there and I will try and assist.
Thanks, Bobby

Similar Messages

  • Convert Multipage fireworks document to HTML file

    Hi,
    I am preparing a Fireworks multipage file containing visual style guide of a product. I would like to convert this to html file for maintainance by other designers and developers. How can I convert all pages to a html file? I tried to export to html file but it exports only 1 page. How can I convert all the pages? I am using CS4.
    -Shivanand

    You can export multiple pages in a single step by selecting all the pages you want to export at once.
    -In the Pages panel, select the pages that you want to export.
    -Right-click, and select Export Selected Page(s).
    -In the Export dialog box, select one of the options from the Export menu:
    Layers To Files Exports layers in the selected pages as individual files
    States To Files Exports states in the selected pages as individual files.
    Pages To Files Exports selected pages as individual files.

  • Converting InDesign CS3 document to HTML - windows vista premium

    I have created a beautiful (for me) document that I want to post on several blogs. I have been told it needs to be in HTML but I do not see any options on the file menu to export as an HTML. What do I do.
    (I tried exporting it as a PDF and then providing a link in the blog but the problem is that it is a large (3mb) and it takes a "long" time to load, and if any of the links are accessed, when you go back to the PDF it has to reload which is frustrating for anybody that wants to study the document.

    Arthur,
    You can't export the document directly to HTML, but you can use the Cross-Media Export to make and XHTML file for Dreamweaver (or other editor). It will generate an HTML page and a blank CSS style sheet, as well as gathering the images, but web and print are entirely different formats so you won't have anything resembling your ID doc when you get through, as far as layout is concerned. If you want people to see your layout as is, you need to use PDF. Try changing the compression settings for the export to bring the size down, but it will be a compromise somewhere most likely.
    Peter

  • Converting XML document to HTMl using xsl

    Hi,
    I'm trying to convert an xml document into html page using xsl. But when I try to open the page in the browser nothing comes up.
    I'm not sure if I am using the PrintWriter correctly.
    StreamResult result = new StreamResult(new PrintWriter(new (File"text.html")));
    Please help.

    Oops! I wrote the parenthesis wrong in the previous mail
    This is the correct one I use in my program.
    StreamResult result = new StreamResult(new PrintWriter(new File("text.html")));
    Please help. Its urgent

  • How convert pdf,xls file format into swf

    Hi friends
                   i am making a tool for wducation site and there i need to convert doc xls and pdf file in swf in runtime and show that in container with cropping and panning functionality.so i do it for doc file format but having no idea how to convert .pdf file format and .xls file format into swf.So please guide me how to do it.
    Thanks And Regards
        Vineet Osho

    QuickTime cannot do this of iteslf: you need to add Flip4Mac:
    http://www.telestream.net/flip4mac-wmv/overview.htm

  • How can I convert an Applework document to .doc (Windows)?

    Does anyone know how can I convert an Applework document to .doc (Windows)?

    You can save an AppleWorks word processing document as Word using File > Save As… You will need to add the .doc extension as AppleWorks won't do it for you.
    If you don't see Word as an option in the file type drop-down menu you likely have moved the AppleWorks application from the AppleWorks 6 folder and/or deleted the support folders, especially the AppleWorks Essentials folder where the translators reside.

  • Error while converting document to html

    "ORA-06502: PL/SQL: numeric or value error: invalid LOB locator specified: ORA-22275"
    I use the procedure to convert the documents if it is not already converted before using procedure as follows
    PROCEDURE "STARDOC"."HTMLOUTPUT" (
    "DOCID" IN NUMBER) IS
    mklob clob;
    doccount number;
    errorcode number;
    errormessage varchar2(200);
    BEGIN -- executable part starts here
    SELECT COUNT(document_id) INTO doccount FROM docviewhtml where document_id=docid;
    --dbms_output.put_line(doccount);
    if doccount=0 then
         dbms_output.put_line('Document Not Found: Converting '||docid);
         --If document is not found run document coversion routine
         ctx_doc.filter('idxdocuments',docid, mklob,FALSE);
         INSERT INTO docviewhtml(document_id, html) VALUES (docid, mklob);
         COMMIT;
    elsif doccount=1 then
         --return;
         dbms_output.put_line('Document Found');
         --if document id found then return the document content
         null;
    else
         --dbms_output.put_line('Error occured');
         --need to deal with duplicate documents
         null;
    end if;
    dbms_lob.freetemporary(mklob);
    EXCEPTION
    --rollback when an exception occurs
         WHEN OTHERS THEN
              errorcode:=SQLCODE;
              errormessage:=SQLERRM;     
              dbms_output.put_line(sqlcode || ':' ||sqlerrm);
              ROLLBACK;
              LOGERROR(errorcode,errormessage);
    END "HTMLOUTPUT";
    i get the error when i convert large documents
    "ORA-06502: PL/SQL: numeric or value error: invalid LOB locator specified: ORA-22275"
    Also if there are any converion errors while converting documents to html. how to find them is there a log o fany sort.
    what is wrong. please help!
    Message was edited by:
    connect2sandeep

    You free your temporary lob, but never create it.

  • How to convert word documents to html page in sharepoint online 2013

    Hi,
    I am new SharePoint and still learning it.
    I have been tasked to do the following on office 365 E3 SharePoint 2013 Online edition.
    1) I have to create a Web page in asp.net
    2) This page needs to show document from a given SharePoint folder and bind them in a grid or dropdown on the asp .net web page
    3) On selecting the document from the drop down or gird (on asp .net webpage), I need to show the SharePoint word document as HTML on the webpage (something like word to html) Note: These SharePoint word document may contain Images, bullets, tables etc. 
    What I have been able to do till now
    1) I have been able to connect to SharePoint from ASP .net application.
    2) I have been able to retrieve document from a specific SharePoint folder.
    3) Read the document from SharePoint folder and bind them to a drop down on the asp .net page.
    What is missing?
    I am not aware about any API that SharePoint Online provides to convert Word document to HTML. Any code sample or reference on how to will be much appreciated. 
    I am not also not sure what is the best way of achieving the functionality this?
    Thanks 
    Krishna

    If this was SharePoint server then it would be easy however in O365 You need to create a app which will use the word automation service and below is  powershell which you can use for the conversion:-
    # This script will convert Docx to PDF using word automation and similarly it can be used to convert to HTML
    $wordFile="http://contoso/kick.docx"
    $pdfFile="http://contoso/kick.pdf"
    $wasp = Get-SPServiceApplicationProxy | where { $_.TypeName -eq "Word Automation Services Proxy" }
    $site = Get-SPSite "http://contoso"
    $ConvertJob = New-Object Microsoft.Office.Word.Server.Conversions.SyncConverter($wasp)
    $ConvertJob.UserToken = $site.UserToken
    $ConvertJob.Settings.UpdateFields = $false
    $ConvertJob.Settings.OutputFormat = "PDF"
    $ConvertJob.Convert($wordFile, $pdfFile)

  • How do I convert mail merge documents to individual pdf docs and save each with a field in the merge?

    How do I convert mail merge documents to individual pdf docs and save each with a field in the merge?

    Is this an actual field, or just some piece of static text somewhere? Either way, you can't do it using the Split Document command. You'll need to use a custom-made script to read the value of this "field" and use it when extracting pages from the file.

  • Convert Word document into HTML document

    Hello,
    I require an idea to accomplish the conversion of a .doc (word file) to .html (HTML file) in LabVIEW.
    I am working on a project in which i am having reports being generated after each test case execution.
    The data after the each test is meant to be appended in the corresponding report.
    I just want to convert the .doc file  to .html file for only display purpose as this is a requirement.
    I dont want to use any kind of converters in this.
    I have to do some calculations and modifications in the report before saving it,  that's why i am thinking in this way as i had come to know that this is possible in LabVIEW.
    Can someone help me in this regard.
    Thanks & Regards,
    Samriddh Sarbalhi

    samriddh wrote:
    Hi,
    Can i do this programatically using LabVIEW VI's.
    As noted, you need to access the Microsoft Word ActiveX server using the LabVIEW ActiveX functions. There are several examples that ship with LabVIEW (Help -> Find Examples) on how to use ActiveX. You can also search the NI site. 

  • How to Convert Doc or Docx File to HTML?

    Is there any API in java is avilbale to convert doc/docx into HTML?

    Mr Babakishiyev wrote:
    Not in the JDK.
    But you can use POI for working excel and doc filesBut not to fulfill the requirement.
    The only thing I can think of if you must use Java (which tends to not be the best choice when having to work with Microsoft file formats) is to see if the OpenOffice API can do what you need. But then get ready for some reading.

  • Send word or pdf document as HTML email

    Hello all,
    we have word documents (on a local file) that we want to send via SAP as HTML email, i.e. we need the content of the word document in the email body. The documents also contain images. With the class cl_bcs I can send mails including attachments and also pure HTML but I don't know how to convert the word or pdf document into HTML and how to process it to get the images in the correct way. Is there perhaps a more direct way to achieve the goal to mail the word documents? Is there anybody who can help?
    Thank you very much and best regards
    Frank

    First, as you guessed, most (all?) mail clients don't display "complex" documents (doc, xls, pdf, etc.) inside a mail, they are always provided as attachments. Only simple documents like images can be directly displayed.
    SAP's job is not to convert from a format to another, especially .DOC and .PDF formats, which are rather complex.
    You'd better look at specialized third-party softwares. Note that SAP has a connection tool called BC-XDC (eXternal Document Converter) which is used to connect these third-party softwares to SAP. You may look at the certified softwares using this connection tool.
    Notes: if the .DOC and .PDF documents are generated by one of your programs, prefer to modify them to generate the documents in another format (HTML) instead of converting them. I can't say much as I don't know your exact scenario.
    There is also SO_RTF_TO_HTM (and CONVERT_TEXT maybe) function module, but I wouldn't expect much of it.

  • Convert .doc file with embedded file(s)

    Dear all,
    I have around 1 million documents that need to convert from .doc / .xls to PDF, and I've found that some .doc files embedded with other files into it, like a .doc inside another .doc, or .xls inside another .doc, for those files, after converted them using LC PDFG, the embedded files will become an icon image, is there any methods to convert those documents so that the embedded files are also "attached" inside the result PDF? Thanks!
    Regards,
    Bearyung

    Hi Joel,
    The feature you are looking for, is currently not available in Acrobat.
    But you can create an interactive link (to open Word/Excel) using Acrobat. Please look at the following link:
    http://acrobatusers.com/tutorials/creating-and-editing-links
    Regards,
    Anoop

  • How do I convert a scaned document to pdf?

    How do I convert a scanned document to pdf.

    Hi William,
    Here you go!
    How to export your PDF file to Word file:
    1.Log into https://exportpdf.acrobat.com/signin.html with your Adobe ID and password
    2. Select "Export from PDF' from right pane
    3. Click "Select Files" button then choose your PDF file for exporting to Word file
    4. Select a format like docx or doc for Word file
    5. Check On for "Recognize scanned text in" if your PDF file contains scanned images
    6. Click "Export" button
    7. Download the Word file by clicking "Download" in the progress bar
    8. Open the Word file in Microsoft Word for editing.
    Or you can export your PDF file in Adobe Reader
    1. Launch Adobe Reader and open your PDF file
    2. Select "Tools" and click "Sign In" link to sign in with your Adobe ID and password
    3. Select "Export PDF"
    4. Click "Convert" button
    5. Click "Download Converted File" link to download the exported Word file to your computer.
    Regards, Stacy

  • How to open word document form html container url iam getting internal_error while opening file

    Hi all,
    By using below code i am able to download word document file from html container. But before downloading i need edit these document to add Macro.
    I am unable to open word document.
    CREATE OBJECT G_HTML_CONTAINER
          EXPORTING
            CONTAINER_NAME = 'PDF'.
       CREATE OBJECT G_HTML_CONTROL
          EXPORTING
            PARENT = G_HTML_CONTAINER.
    * Convert xstring to binary table to pass to the LOAD_DATA method
        CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
          EXPORTING
            BUFFER     = LV_CONTENT
          TABLES
            BINARY_TAB = LT_DATA.
    data_tab = LT_DATA ).
    * Load the HTML
        CALL METHOD G_HTML_CONTROL->LOAD_DATA(
           EXPORTING
             TYPE         = 'application'
             SUBTYPE      = 'DOC'
           IMPORTING
             ASSIGNED_URL         = LV_URL
           CHANGING
             DATA_TABLE           = LT_DATA
           EXCEPTIONS
             DP_INVALID_PARAMETER = 1
             DP_ERROR_GENERAL     = 2
             CNTL_ERROR           = 3
             OTHERS               = 4 ).
    * Show it
        CALL METHOD G_HTML_CONTROL->SHOW_URL( URL = LV_URL
          IN_PLACE = 'X' ).
    Before file download i want edit the file for that i am using below class.
    PROXY TYPE REF TO I_OI_DOCUMENT_PROXY.
    by using (get_document_proxy) method  getting proxy .
    call method control->get_document_proxy
    exporting
    document_format   = 'x'
    document_type      = 'Word.Document'
    register_container  = 'x'
    importing
    document_proxy     = proxy
    after these.
    call method proxy->open_document
    exporting
    document_url    = lv_url
    open_inplace    = 'x'
    hear i m getting retcode as INTERNAL ERROR
    can any one suggest me how to open document from html container.
    Thanks and reagards
    jogu yadav

    I got resolution
    Thanks and regards,
    Jogu yadav

Maybe you are looking for

  • IPod with display color had an unknown error

    HI guys. Like I said.This is my iPod: http://img22.imageshack.us/img22/1987/img0085va.jpg and then.just this afternoon, it display an unknown error: http://img221.imageshack.us/img221/5381/img0084h.jpg sorry for low-quality image.it had a picture I t

  • My windows always lose focus

    recently my macbook cannot work well 'cause the windows always lose its focus. i canno find out what's wrong with my computer. i tried restart, clean the PRAM and even reinstall the os. but all did not work out. please help me .  this problem is so a

  • DVI on one monitor

    Hello, is it possible to connect my MSI Geforce4 Ti4600 card with DVI out and my Philips (with DVI in) without the 'old' analoge 15pins cable ? When I try this, my monitor says 'no signal input'? thanks.

  • Inbound File Adapter

    The requirement to trasfer a file from one location to another location after removing some of colomns from source file using Trasform activity. Simple process contain step; File Inbound, Transform, File Outbound but problem with the file size. I hav

  • How to install Xcode in macbook air 11inch

    Dear All, Can anyone let me know how do i install xcode in macbook air 11inc, or if you can help me out with this... I have made application in VS2008 (Desktop), i want to make the same application for MAC but as i am new in MAC development i am not