Convert word into html in unix environment

We are in the process of developing a coldfusion web
application which allows the users to upload resumes in word
format. Once the word document is uploaded we need to convert the
word document into html on the fly. We know it can be accomplished
using com object in the windows platform. But ours is a unix
environment. We need some coldfusion coding which can convert the
uploaded word file into html. Please take note coldfusion server
runs on unix platform in our case.

For step 3 call a 3rd party component such as Aspose.Words to
handle converting test.doc to test.html. I'd recommend wrapping
this logic inside a CFC.
For example using Aspose.Words java object appears to be as
easy as the Java code:
Document doc = new Document(getMyDir() + "Document.doc");
doc.save(getMyDir() + "Document.ConvertToHtml Out.html",
SaveFormat.HTML);
Note: I've used the .NET version of Aspose.Words, not the
Java version, but I've been pleased with the product.
Aspose.Words formats supported
http://www.aspose.com/documentation/file-format-components/aspose.words-for-.net-and-java/ com/aspose/words/saveformat.html
You might also investigate Apache POI
http://poi.apache.org/

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.

  • Convert Docx and doc to HTML in unix environment with CFMX7

    I have a web app that allows user to upload doc or docx files and converts it to HTML. I have CFMX 7 in a unix environment. Is there a custom tag that I could use for this conversion? I tried the cfx_word2html tag .. it converts .doc not docx. Please let me know. Thanks...

    I've been pleased with Aspose's Words component.  I use the .NET version, but a Java version is also available.  You could try using CFOBJECT plus the Words Java component to handle document conversion on your server.
    http://www.aspose.com/categories/file-format-components/aspose.words-for-.net-and-java/def ault.aspx

  • Problem in converting word to html- file get error msg 'This command is not available because no document is open'

    Hi,
    I write the some asp code to save the word file from client machine to server machine , and convert it into the html file.
    it working fine when i debug the code into the visual studio but when i deploy code on iis it give me a error 'This command is not available because no document is open' , while i try to save file into html format.
    lot of time i try this give all the security full access to iis user and other things .
    can any one help me. i fully frustrated from this problem. 
    my need only upload the word document from client to server machine and convert it into the word document. 
    only IIS give me the problem, suggest me what setting i need to do in iis 
    please help me humble request 

    Hi,
    In this forum we mainly discuss questions about Office client questions and feedbacks, issues related to coding are not supported here.
    Based on the description, although the question is about converting Word documents, it's more likely to be a permission issue, the question is better to be posted in the IIS.NET forum:
    http://forums.iis.net/
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Regards,
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs. Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Convert template into html

    Hi
    Is it possible to simply convert a template back into html
    and so get rid of all "not editable regions". In one of my
    templates I have problems with not being able to make an header
    editable again.
    Thanks.
    Sarosa

    This template is a mess.
    You have two editable regions named head -
    <!-- TemplateBeginEditable name="head" --><!--
    TemplateEndEditable --><!--
    InstanceBegin template="home.dwt"
    codeOutsideHTMLIsLocked="false" --><
    and
    <!-- InstanceBeginEditable name="head" --><!--
    InstanceEndEditable --><title>Badrane
    Tours</title>
    In addition, if you REALLY pasted in the whole page's code,
    there is no
    doctype, no <html>, no <head>, and no
    <body> tag.
    I'm guessing DW complains quite a bit when you try to do
    anything with this
    template.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Sarosa" <[email protected]> wrote in
    message
    news:[email protected]...
    > The code is attached. Thanks.
    >
    > <!-- TemplateBeginEditable name="head" --><!--
    TemplateEndEditable --><!--
    > InstanceBegin template="home.dwt"
    > codeOutsideHTMLIsLocked="false" --><style
    > type="text/css">
    > <!--
    > body,td,th {
    > font-family: Verdana, Arial, Helvetica, sans-serif;
    > font-size: 12px;
    > color: #333333;
    > }
    > body {
    > background-color: #000000;
    > }
    > .hairline_top_r_l {
    > border-top-width: thin;
    > border-right-width: thin;
    > border-bottom-width: thin;
    > border-left-width: thin;
    > border-top-style: solid;
    > border-right-style: solid;
    > border-bottom-style: solid;
    > border-left-style: solid;
    > border-top-color: #CC6600;
    > border-right-color: #CC6600;
    > border-left-color: #CC6600;
    > }
    > .hairline_top_bot_r_l {
    > border: thin solid #C46200;
    > }
    > -->
    > </style>
    > <link href="../website/website/styles/main.css"
    rel="stylesheet"
    > type="text/css" />
    > <script src="../scripts/AC_RunActiveContent.js"
    > type="text/javascript"></script>
    > <!-- InstanceBeginEditable name="head" --><!--
    InstanceEndEditable -->
    > <title>Badrane Tours</title>
    > <link href="../website/styles/main.css"
    rel="stylesheet" type="text/css">
    > <br />
    > <table width="800" height="330" align="center"
    cellpadding="0"
    > cellspacing="0"
    > bordercolor="#000000">
    > <tr>
    > <td height="52" bordercolor="#000000"
    class="hairline"><div
    > align="center"
    > class="hairline_top_r_l">
    > <script type="text/javascript">
    > AC_FL_RunContent(
    > 'codebase','
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#
    >
    version=9,0,28,0','width','800','height','150','src','../website/swf/header','qu
    > ality','high','pluginspage','
    http://www.adobe.com/shockwave/download/download.cg
    >
    i?P1_Prod_Version=ShockwaveFlash','bgcolor','#000000','movie','../website/swf/he
    > ader' ); //end AC code
    > </script><noscript><object
    > classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    > codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
    > rsion=9,0,28,0" width="800" height="150">
    > <param name="movie"
    value="../website/swf/header.swf">
    > <param name="quality" value="high"><param
    name="BGCOLOR"
    > value="#000000">
    > <embed src="../website/swf/header.swf" width="800"
    height="150"
    > quality="high"
    > pluginspage="
    http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Versio
    > n=ShockwaveFlash" type="application/x-shockwave-flash"
    > bgcolor="#000000"></embed>
    > </object>
    > </noscript></div></td>
    > </tr>
    > <tr class="hairline_top_r_l">
    > <td height="223" bordercolor="#000000"
    class="hairline_top_r_l"><!--
    > InstanceBeginEditable name="body" -->
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > <!-- InstanceEndEditable --></td>
    > </tr>
    > <tr class="hairline_top_bot_r_l">
    > <td height="20" bordercolor="#000000"
    > class="hairline_top_bot_r_l"><script
    > type="text/javascript">
    > AC_FL_RunContent(
    > 'codebase','
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#
    >
    version=9,0,28,0','width','800','height','20','src','../website/swf/menu','quali
    > ty','high','pluginspage','
    http://www.adobe.com/shockwave/download/download.cgi?P
    >
    1_Prod_Version=ShockwaveFlash','bgcolor','#000000','movie','../website/swf/menu'
    > ); //end AC code
    > </script><noscript><object
    > classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    > codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
    > rsion=9,0,28,0" width="800" height="20">
    > <param name="movie" value="../website/swf/menu.swf"
    />
    > <param name="quality" value="high" /><param
    name="BGCOLOR"
    > value="#000000">
    > <embed src="../website/swf/menu.swf" width="800"
    height="20"
    > quality="high"
    > pluginspage="
    http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Versio
    > n=ShockwaveFlash" type="application/x-shockwave-flash"
    > bgcolor="#000000"></embed>
    > </object></noscript></td>
    > </tr>
    > </table>
    > <!-- InstanceEnd -->
    >

  • Converting .fmb into HTML template

    I am considering moving from oracle form and report builder to the APEX. Is there any ways that we could convert the existing .fmb file to html template, other than making a new one?

    Hello,
    Oracle is working on something like that, but till now it's not yet possible to do that in an automated way.
    Regards,
    Dimitri
    -- http://dgielis.blogspot.com/
    -- http://www.apex-evangelists.com/
    -- http://www.apexblogs.info/

  • Why does converting word into PDF does not take the background color of the page?

    When I do a page background on a document, and save as pdf, it does not take the background color. It shows only white background.

    This may be a limitation with the built in PDF writer in OS X. Never tried it so I have no idea if it does the same on my Mac.
    As this is not a MS Word problem you are in the right set of forums.
    Have you tried another PDF writer other then the built in one?

  • Error in converting Spool to HTML format.

    Hi Gurus,
    I am reading SPool and converting that into HTML formt. Please do find below code for the same.
    Submit report to convert the spool to HTML format
      SUBMIT rspolst2 EXPORTING LIST TO MEMORY AND RETURN
      WITH rqident = p_spoolno.
      CALL FUNCTION 'LIST_FROM_MEMORY'
        TABLES
          listobject = gt_listobj
        EXCEPTIONS
          not_found  = 1
          OTHERS     = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    Convert the spool to HTML format
      CALL FUNCTION 'WWW_HTML_FROM_LISTOBJECT'
       EXPORTING
       REPORT_NAME         =
         template_name       = 'WEBREPORTING_REPORT'
        TABLES
          html                = p_html_tab
          listobject          = gt_listobj.
    >>>>>>>>>>>>>>>>>>>
    And i send p_html_tab as attachement to email.
    When I opened the attachement, i can view only half page in htm.
    How can i get the full page in htm.

    First convert the spool to internal table by using FM
    RSPO_RETURN_ABAP_SPOOLJOB
    Next from internal table to HTML....
    Link: /people/rammanohar.tiwari/blog/2006/01/29/abap-utility-print-screen-to-html
    or try the following
    Please try the follwoing:
    1. define HTML internal table with ref to type W3HTML
    2. download it as BIN type and give total lenght of the strings as a parameter in the down load.
    See the code extract below:
    describe table html lines entries.
    read table html into w_html index entries.
    size = ( entries - 1 ) * 255 + strlen( w_html ).
    concatenate p_path file into file.
    call function 'WS_DOWNLOAD'
    exporting
    bin_filesize = size
    filename = file
    filetype = 'BIN'
    tables
    data_tab = html

  • Migrate WebDB reports into HTML DB

    Hi,
    We have a custom application Build on Oracle 8.0 and WebDb and we would like to migrate these webdb reports on to HTML DB on 10g database. So, my question is, can we re-create the webdb reports in html db or can we convert directly into html db. Also, is it easy task or difficult one? also would like to know any better solution for this?
    Could you please share your views on this.
    thx
    Veeresham

    Jeff - I don't understand any of that. There is an attribute of the authentication scheme, Invalid Session Page. Set that to the page ID of the desired login page. If that page has a login process (like that on page 101), then it may need to be changed to reference items on the actual login page instead of items on page 101, e.g., P101_USERNAME. And don't put branches on the login page that are intended to fire after the authentication takes place. The login API does a redirect for you based on the after-login page argument in the login process on the page.
    Scott

  • How do I open my old Appleworks documents which have turned into Unix Executable Files?  I would like to convert them into Pages documents.

    How do I open my old Appleworks documents which have turned into Unix Executable Files?  I would like to convert them into Pages documents.  I also have old Word Perfect documents which have become similarly unopenable.

    Best bet might be to try opening them using LibreOffice [free] and save them to .doc.
    Do you really want to save them as .pages files? You are jumping from the frypan into the fire. Yet another proprietary format that Apple has again deadended with no working translation.
    Peter

  • Word to HTML converter

    Probably asking for the impossible here!
    My client has spent a long time preparing a large document with extremely complex formatting which he was hoping to be able to paste directly into a web page. I am now looking for a Word to HTML converter. Dreamweaver does a good job cleaning up the HTML but leaves all of the styles inline. Is there a converter which will automatically "collect" any similar styles in the document, and automatically place these in the header?
    Any Word to HTML converters I have found so far online, have stripped all of the styles which will mean creating a large array of new styles and re-applying them later on.
    Ideas??? thanks!!
    Pixelwarrior

    mgrist wrote:
    Dreamweaver does a good job cleaning up the HTML but leaves all of the styles inline.
    Pixelwarrior
    If this is the case then you can use a free Dreamweaver Extension that can create a separate CSS file that can be linked in the <head> section of your page.  The free extension is at this link:
    <http://www.dmxzone.com/go?4087>
    You may need to register to download it so please use a free email from hotmail/yahoo/gmail or anything that you use to store all your spam messages.
    Good luck.

  • Convert numbers into words

    i work on release 11i application and converts some reports to run with xml publisher
    i want to convert a total field that exist in po report to words it seems to convert number into words isthat possible i tried to make this in oracle reports and it run successfully but there is a problem when converting that report to run with xml publisher .
    any help will be approtiated.

    Use ap_amount_utilities_pkg.ap_convert_number
    E.g.
    SQL> select ap_amount_utilities_pkg.ap_convert_number(trunc(12345678)) from dual;
    AP_AMOUNT_UTILITIES_PKG.AP_CONVERT_NUMBER(TRUNC(12345678))
    Twelve million three hundred forty-five thousand six hundred seventy-eight
    Gareth

  • How to convert word doc into pdf - which product of adobe i need to use- what upgrades - am a newbie

    How to convert word doc into pdf - which product of adobe i need to use- what upgrades - am a newbie -  simple answers please - Thanks in advance.

    @Pipeline2007 - which version of Microsoft Office have you got? Older versions of Acrobat aren't compatible with the latest versions of Office, see this link for info:
    http://helpx.adobe.com/acrobat/kb/compatible-web-browsers-pdfmaker-applications.html

  • Is it possible to convert PDF file into HTML

    Dear friends
    Is it possible to convert PDF file into HTML. I have few hundread PDF files i like to convert this files into HTML. I hope it can be done through Java but i don't know how to start this coding. anybody can give me a brief idea to go ahead.

    Why do you want to do this yourself? I quick search on Google showed several utilities to do this, some freeware, some commercial.

  • I have a number of pages with html extension in different files. Is it possible to merge them into one file? Is it possible to convert them into another file type such as PDF, MOBI, or EPUB? Thanks

    While downloading an eBook from internet, I found a book in a folder containing around 123 files, which is equivalent to the number of pages of the book.
    My interest is to bring them together in one file so that I can read it at a time. As the interface is not comfortable with html, I also like to convert it into another more suitable file format.

    Hello djensen1x,
    Could you please let me know what version of Acrobat are you using.
    Also, tell me your workflow of combining those PDF files?
    Please share the screenshot of the error message that you get.
    Hope to get your response.
    Regards,
    Anubha

Maybe you are looking for

  • Error while posting MIGO GR

    I am getting a very strange error while trying to post a GR in migo, the error is in the attached file, and no dump occurs, but after trying ST22 the dump is attached in the second file. No configuration has been changed recently, if someone can help

  • HT201272 I have songs on my cloud that won't download...how do I get them to download???

    I can't get some of my songs that are in the cloud to download onto my itunes/ipod/ipad.  Keeps giving me an error.

  • Sqlplus not starting

    i installed oracle 10gr2 on solaris 10 x86 64bit. i tried to sqlplus but had the following problem. pls can anyone help. $ ORACLE_SID=+ASM $ export ORACLE_SID $ ORACLE_HOME=/u01/app/oracle/product/10.2.0/asm $ export ORACLE_HOME $ PATH=$PATH:$ORACLE_

  • Mesh 2602i AP - One-way Neighbor

    Hi everyone I have two test AP's set up as RAP and MAP.  MAP shows the correct neighbor info, but RAP does not show anything.  I try to do a link test on the MAP, but it displays the following error - ERROR: Cannot get stats from destination AP Unabl

  • Moving my iWeb site and need to tell iTunes

    I currently have podcasts on iTunes that I posted using iWeb and MobileMe.  I'm about to move my iWeb-produced site to another provider, but I can't figure out how to tell iTunes that the site has moved.  Where in iWeb do you put in "tags"?!?  The di