Convert rtf, pdf or doc file to xml or html

I'm using RichTextEditor from Flex, but I need to
upload a .doc, .pdf or .rtf file into RichTextEditor. Or maybe a
way to convert these files to xml or html.... please can you help
me??

Flex has no inherent functionality to do doc conversions. You
are also looking for the ability to convert several different file
types that might require seperate conversion methods. Also, it is
important to note that Flex does not have very good HTMl
functionality. In fact, it has a very limited subsed of HTML tags
that are allowable and also require some distinct formatting
requirements. So, if you are trying to convert PDF's and Docs, RTF
etc, you might have a difficult time trying to get them to diosplay
in the Flex RTE.
I have struggled with trying to get a good PDF converter for
multiple file types. Adobe does have some good server side
utilities, but budget might be an issue.
You can find several PDF converters that are server based
that you migth be able to leverage.
If you are CF user, Scorpio does have a better integration
with PDF and LiveCycle services that may help when it is released.
Good Luck.
AL

Similar Messages

  • I have an I-Mac 10.4.11 How can I convert my cwk files to pdf or doc files?

    I would like to convert my CWK files into pdf or doc files. How can I do this?

    Hi Herman,
    Is this a G4 iMac?
    Do you have Classic/OS9 installed?
    If so AppleWorks may convert it, & Print2PDF in Clasic or OS9.

  • Can not open .pdf or .doc files in mail

    Every time I receive an email with a pdf or .doc file attached I can never open it as I get a message telling me that the file was not recognised or that the file is invalid. Even if I select to open using Adobe for the pdf I get the same.
    Any help gratefully received. I've always had this problem and get round it by viewing these emails online instead. But it's not as convenient of course.

    G'day jbglass,
    I had the same problem, getting the same error message etc. I solved the problem by going to Google Chrome and using that to download the file ( a pdf brochure in my case).  That worked OK.  Hope this helps.
    fitzlefrog

  • How To Store pdf or doc file in Oracle Database using Java Jdbc?

    can any one help me out How To Store pdf or doc file in Oracle Database using Java Jdbc in JSP/Serlet? i tried like anything. using blob also i tried. but i am able 2 store images in DB not files. please if u know or else if u have some code like this plz send that to me, and help me out plz. i need that urgent.

    Hi.. i am not getting error, But i am not getting the original contents from my file. i am getting all ASCII vales, instead of my original data. here i am including my code.
    for Adding PDF in DB i used image.jsp
    Database table structure (table name. pictures )
    Name Null? Type
    ID NOT NULL NUMBER(11)
    IMAGE BLOB
    <%@ page language="java" import="java.util.*,java.sql.*,java.io.*" pageEncoding="ISO-8859-1"%>
    <%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
    %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <%
    try{
         Class.forName("oracle.jdbc.driver.OracleDriver");
         Connection con=DriverManager.getConnection("jdbc:oracle:thin:@192.168.1.135:1521:orcl","scott","tiger");
         PreparedStatement ps,pstmt,psmnt;
         ps = con.prepareStatement("INSERT INTO pictures VALUES(?,?)");
    File file =
    new File("D:/info.pdf");
    FileInputStream fs = new FileInputStream(file);
    ps.setInt(1,4);
    ps.setBinaryStream(2,fs,fs.available());
    int i = ps.executeUpdate();
    if(i!=0){
    out.println("<h2>PDF inserted successfully");
    else{
    out.println("<h2>Problem in image insertion");
    catch(Exception e){
    out.println("<h2>Failed Due To "+e);
    %>
    O/P: PDF inserted successfully
    i tried to display that pdf using servlet. i am giving the code below.
    import java.io.IOException;
    import java.sql.*;
    import java.io.*;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    public class DispPDF extends HttpServlet {
         * The doGet method of the servlet. <br>
         * This method is called when a form has its tag value method equals to get.
         * @param request the request send by the client to the server
         * @param response the response send by the server to the client
         * @throws ServletException if an error occurred
         * @throws IOException if an error occurred
         public void service(HttpServletRequest request, HttpServletResponse response)
                   throws ServletException, IOException {
              //response.setContentType("text/html"); i commented. coz we cant use response two times.
              //PrintWriter out = response.getWriter();
              try{
                   InputStream sPdf;
                   Class.forName("oracle.jdbc.driver.OracleDriver");
                        Connection con=DriverManager.getConnection("jdbc:oracle:thin:@192.168.1.135:1521:orcl","scott","tiger");
                        PreparedStatement ps,pstmt,psmnt;
                   psmnt = con.prepareStatement("SELECT image FROM pictures WHERE id = ?");
                        psmnt.setString(1, "4"); // here integer number '4' is image id from the table.
                   ResultSet rs = psmnt.executeQuery();
                        if(rs.next()) {
                   byte[] bytearray = new byte[1048576];
                        //out.println(bytearray);
                        int size=0;
                        sPdf = rs.getBinaryStream(1);
                        response.reset();
                        response.setContentType("application/pdf");
                        while((size=sPdf.read(bytearray))!= -1 ){
                        //out.println(size);
                        response.getOutputStream().write(bytearray,0,size);
                   catch(Exception e){
                   System.out.println("Failed Due To "+e);
                        //out.println("<h2>Failed Due To "+e);
              //out.close();
    OP
    PDF-1.4 %âãÏÓ 2 0 obj <>stream xœ+är á26S°00SIá2PÐ5´1ôÝ BÒ¸4Ü2‹ŠKüsSŠSŠS4C²€ê P”kø$V㙂GÒU×713CkW )(Ü endstream endobj 4 0 obj <>>>/MediaBox[0 0 595 842]>> endobj 1 0 obj <> endobj 3 0 obj <> endobj 5 0 obj <> endobj 6 0 obj <> endobj xref 0 7 0000000000 65535 f 0000000325 00000 n 0000000015 00000 n 0000000413 00000 n 0000000168 00000 n 0000000464 00000 n 0000000509 00000 n trailer <<01b2fa8b70ac262bfa939cc786f8770c>]/Root 5 0 R/Size 7/Info 6 0 R>> startxref 641 %%EOF
    plz help me out.

  • Saving a PDF or DOC file into Oracle 9i using Developer Forms 10g

    Hi guys,
    I want to save a pdf or doc file into oracle 9i. I am using Developer 10 g. Please help me;
    1. What datatype field should be in database table to store such file.
    2. Which code should I use in Forms 10g to display open file dialog, get the name and save that into database table.
    Thanks in advance

    WEBUTIL is a library used with forms to interact with the client. With Forms10G the library comes shipped with the developer suite, for forms 9i i'm not sure, check the forms-page at otn if there is any download available. For documentation about how to do a file-upload, simply search the forum, there are lots of examples.

  • Opening attached .pdf and .doc files

    I am having a mental moment and can't figure out how to
    (attach to button) import .pdf or .doc files so that they open when
    the project is published. The buttons are linked to files on my
    computer...when I publish, Captivate knows the files are there and
    tells me:
    "The files/projects listed below are linked to the open
    project. The linked files/projects may require exporting.
    It is also important to copy all referenced files and
    projects with their corresponding HTML files to the output folder."
    1. How do I export the linked files?
    2. What output folder is it refering to?
    Thanks in advance...I'm obviously new to captivate.
    js

    Hi again js
    Certainly linking to the documents from MenuBuilder is one
    approach.
    Are you saying the links from Captivate are failing you? You
    may wish to try a technique I outlined in
    this
    thread.
    Cheers... Rick

  • Previewing pdf and doc files

    Does anyone know the best way to go about showing pdf and doc files as a document preview within a Swing panel?
    Thanks in advance for your advice!
    Sarah

    You can do it with iText PDF. Go through it's tutorial. It is easy.
    iTextPDF

  • Attach .pdf and .doc files to Reply emails.

    I am desperately trying to figure out how to attach .pdf and .doc files to Reply emails in the Mail app. I have downloaded GoodReader, but when I go into "Manage Files" and choose "Open in...", Mail is not one of the apps listed for me to choose from (only Quickoffice and iBooks are listed, that's it). My Gmail account is pushed to the Mail app, if that's relevant at all.
    I'm hoping to be able to attach documents to Reply emails in the Mail app, but if I have to do it using my web-based email, that's better than nothing. I just really need to be able to attach them to Replies, and not compose a new email from scratch.
    I'd REALLY appreciate any help with this!
    Thanks.

    I thought I might be able to figure out a clever work-around by using cut and paste from a new message but this did not work as expected. I have been using the MobileMe iDisk app to store pdf files and then just mailing out the links.  I believe my cut and paste method would have worked with this, however I've got about a year now to figure out another way to do this if it is not included in Apple's new cloud service. This has actually been a better as I need to worry less about file size and don't need to have the files stored on the device.
    You may want to look into what on-line file storage solutions are out there and if they have the ability to send links to files to colleagues, possibly with password protection.

  • Can i view and edit PDF and .DOC file on iphone?

    Actually I got 2 question to ask,
    firstly have anybody got any luck to view PDF and .DOC file on Iphone because i have been trying for aged but there was no luck for me. I'm not talking about went to a email that contain a PDF or .DOC file but something like going to a website that let me able to download a PDF/.DOC. When I tried to download the file, safari keep saying that "It can not be download"??
    secondly, when is that going to be available to install third-party application to iphone such as Skype, IM+..
    appreciated everybody.

    You cannot download anything on the phone as it is not supported
    Third party applications support will start after the SDK(software development kit) is released in February

  • .pdf and .doc files corrupted on 2 Macs?

    On an iMac and a shared Mac Mini, a number of PDF and DOC files have all of a sudden gotten corrupt. Some of these have not been modifed in 2 years but all of a sudden are corrupt. I've tried Data Rescue and cannot find anything online about these multiple files getting corrupted. I've rebuilt permissions and done various ML Cache Cleaner options to no avail. Anyone heard of anything like this? It just happened all of a sudden on 2 computers. At first I figured the first computer had the partition going bad but that doesn't explain 2 computers at once.

    Dear M.V,
    with the same above configuration, now I am able to open pdf's which are having a size lessthan 2 MB.
    below is the access log
    127.0.0.1 - - [13/Feb/2008:15:04:36 +0530] "GET /pdfcheck.php?file=CampusMap HTTP/1.1" 200 2000000 below is the error log
    [13/Feb/2008:15:10:49] warning ( 3288):  for host 127.0.0.1 trying to GET /pdfcheck.php, finish-response reports: HTTP2228: Response content length mismatch (2000000 bytes with a content length of 2535786)  php code
    <?php
    if(!isset($_GET['file']))die('LOGGED! no file specified');
    $file_path=$_SERVER['DOCUMENT_ROOT'].'/pdfs/'.strip_tags(htmlentities($_GET['file'])).'.pdf';
      $file_name = $_GET['file'];
    $mm_type="application/pdf";
    header("Cache-Control: public, must-revalidate");
    header("Pragma: hack");
    header("Content-Type: " . $mm_type);
    header("Content-Length: " .(string)(filesize($file_path)) );
    header('Content-Disposition: inline; filename="'.$file_name.'"');
    header("Content-Transfer-Encoding: binary\n");
    readfile($file_path);
    ?>Thanks
    madhu

  • How to display the PPT, PDF, XL, DOC files with in the Windows store app?

    Hi,
    I would like to display the PPT, PDF, XL, DOC files with in the Windows store app? is there any controls provided by Microsoft to view these files with in the app?
    Or
    Any workaround to achieve the desired functionality?
    Kindly provide your inputs if any one has.
    Regards
    Prasad

    Hi Prasad,
    As I know currently there is no in-build functionality to display the PPT, XLS or DOC file directly on the Windows Store App, but you can always open these files by
    Launcher class
    However a good news is we can display PDF on Windows Store App by
    Windows.Data.Pdf class, see this for more information:
    https://code.msdn.microsoft.com/windowsapps/PDF-viewer-showcase-sample-39ced1e8/
    --James
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How do i import pdf or doc file into ppt?

    how do i import pdf or doc file into ppt?

    This forum is for questions related to https://workspaces.acrobat.com.
    Perhaps you would get a better answer in the Microsoft Powerpoint forum: http://answers.microsoft.com/en-us/office/forum/PowerPoint?auth=1

  • Problem converting from pdf to doc (encrypted or corrupt file?)

    Hi everyone.
    I need to convert my resume (pdf) to doc so I can make a couple of edits, and then convert it back to pdf. Problem is, I can't seem to do it. I first tried straight from the program in adobe by saving the file as a doc, but the file formating was way too screwed up when I did that.
    So, I then googled around, and found zamzar.com. I tried that site, but kept getting conversion errors which said "file may be encrypted, password protected, or corrupt". I don't have any passwords or encryptions on it, so I tried downloading other conversion programs, but I kept getting the same types of errors.
    I checkd the "security properties" for the file, and I don't have anything. I also don't know how the file could be corrupt since I don't have any issues viewing it, and when I sent it to my friend via email, he was able to open it, too.
    Ihave recently been using Acrobat 9 pro extended version that I downloaded as a torrent from a reputable person. I just wanted to get a feel for the program, but maybe this is the problem, since any pdf I've saved since I began using it, seems to have that conversion issue, but I figure there has to be a workaround. I really don't know what the issue is, or how I can solve it, and so I'm stumped.
    Any suggestions would be really great.
    Thanks a lot.

    This is a good read for anyone attempting to convert a PDF to a Word document...
    http://www.planetpdf.com/enterprise/article.asp?ContentID=PDF-to-Word_Conversion_-_Why_it_ is_so_hard_to_do&gid=7837&fa

  • Help !  Having problem with program that converts .pdf to .doc file

    I just purchased the program that converts a pdf file to a docx or doc file and it worked fine.   the form looks great BUT when i tried to use it tonight, the first line typed just find.   After that letters are typing over other letters and the space bar does not work...  what could i be doing wrong or does this producct not work?

    I don't think this is a Adobe program, or is it?  What's the name of the program?

  • Help!How to convert a plenty of doc files to pdf format?

    System: windows xp
    Software: Adobe Acrobat Professional 7.0
    I'm tired of repeatedly click open,convert,save,close to convert a large quantity of doc files to pdf format.Is there any easy way to do this? Is there any kind of plugin or batch command provided to this software?

    Turn off the view in Acrobat option in the Adobe PDF printer and then just drag and drop them on the printer. You may have to figure out where to send them or accept the default, again an option in the printer.

Maybe you are looking for

  • Setting a comma in a dynamic list build

    Hi Guys, can anyone please help me with this issue. I want to take a list and find the last characters in the list and then build another list. With this other list I am having a problem not dropping a comma after the last element. I am expecting thi

  • MATNR in CCSS - Report Painter

    All, I would like adding new characteristic to table CCSS and use it in GRR2. I added field MATNR (data element MATNR) to customer include CI_CC1Z and I activated the characteristic in my report libraries. And OK I can see Material as a characteristi

  • Last of 6 flvs - no video, only audio

    OK, I've been working on six short videos for a client. Workflow is 5 final cut pro sequences --> 5 Quicktime referenced files ---> Adobe Media Encoder CS4 --> 5 640x480 FLV files. Testing FLVs using Adobe Media Player. They work great. (FWIW - I tes

  • How is open new jsf project in Sun Java Studio Creator 2

    when i decide to open new project,all of time give this error :javax.xml.transform.TransformerConfigurationException:could not compile stylesheet

  • Newbie - Help with externally served html

    I am trying to put together my first iWeb page and include a button from Amazon. As an Affiliate, I got the html from them and tried to place it on my site. Amazon says that the link (graphic) is served by them. Unfortunately, when I publish the site