Can we Read/Display the content of Word/PDF file  in Flex 3/4 ?

Hello All,
Can we  read/display the content of Word/PDF file in Flex 3 or Flex 4?.  I have one word file containing  Arabic  and English content with some settings like  Bold, Color, Align etc. I want to display the content of this word file as it is in the flex web application.
Awaiting for prompt reply.
Thanks and Regards

thank you for your immediate reply, but,
sorry, this does not work.
With this code:
<cfpdf action = "read" source = "dok_1.pdf" name =
"mypdf">
<cfdump var="#mypdf#"/>
I get this result:
Everything, but no text of the document.
PDFDocument
Application name of application
Author bimbam Verlag GmbH
CenterWindowOnScreen [empty string]
ChangingDocument Allowed
Commenting Allowed
ContentExtraction Allowed
CopyContent Allowed
Created D:20080710
DocumentAssembly Allowed
Encryption No Security
FilePath [empty string]
FillingForm Allowed
FitToWindow [empty string]
HideMenubar [empty string]
HideToolbar [empty string]
HideWindowUI [empty string]
Keywords [empty string]
Language [empty string]
Modified [empty string]
PageLayout SinglePage
Printing Allowed
Producer [empty string]
Properties [empty string]
Secure Allowed
ShowDocumentsOption [empty string]
ShowWindowsOption [empty string]
Signing Allowed
Subject [empty string]
Title Rheinische Angler-Zeitschrift
TotalPages 1
Trapped [empty string]
Version 1.3
Maybe i do not understand the cfpdf tag the right way.
What i want is a kind of pdf-to-text conversion.
Do I have to use the processddx action? I do not think so.
But there is a property DocumentText .. ?

Similar Messages

  • Unable to display the Content of a data file from within another data file in Oracle webcenter portal.

    We have a Content Presenter taskflow. This task flow is added to a jspx page. The taskflow fetches the content from the contributor data file. The contributor data file is having a WYSIWYG editor. The content of the WYSIWYG editor is being displayed correctly through the task flow.
    We have some links in the WYSIWYG editor. These links again point to some data files. When we click on these links from within the portal, then we are getting a blank page(the url of this blank page is: http://localhost:7101/eWSIBPortal/faces/oracle/webcenter/sitestructure/render.jspx?datasource=UCM%23dDocName%3AWSIB_ARTICLE) and not displaying the content of the data file that we are pointing to from the WYSIWYG editor.
    We want to display the content of these data files(which we have pointed from WYSIWYG editor) in-line within the portal.
    Please help us to resolve this issue and let us know if any information is required from our end.

    Thanks for reply. However, can I use XSQL to dump the formated text to a file? or just can display to client through web browsers?

  • Merge/append the contents of a pdf file to an MS Word document in JAVA

    Hi experts,
    I have a requirement to merge/append the contents of a pdf file to an ms word document(Not to be done by including pdf file objects in word). Please suggest some java libraries or ways to do it using java. Any pointers would be appreciated.
    Regards,
    Subin

    Odonnells52 you will still need to install Adobe Acrobat Professional prior to being able to make edits to PDF or utilize Acrobat.   By default the installation files have been saved to your download folder.
    If you continue to face difficulties with the Adobe Download Assistant then please see Troubleshoot Adobe Download Assistant.
    You can also download the installation files directly from Download Acrobat products | Standard, Pro | XI, X if you are unable to locate the downloaded installation files.

  • Want to display the contents of a text file in a jsp

    hi
    i am new to jsp, i want to display the contents of a text file in a jsp file ,whenever jsp file is loaded from browser.
    -thanx

    i had come up with the code
    <!-- form.jsp -->
    <%@ page import="java.io.*, java.lang.*" %>
    <%@ page language="java" %>
    <html>
    <head>
    <title>Display</title>
    </head>
    <body>
    <%
    String sample[100];
    String line;
    %>
    <%! int i=0; %>
    <%!File f1 = new File("c:\\file.txt"); %>
    <% try { %>
    <%!FileReader fi = new FileReader(f1); %>
    <% } catch(FileNotFoundException io) { } %>
    <%!BufferedReader in = new BufferedReader(fi); %>
    <%
    while((line=in.readLine())!= null)
    sample= line;
    i++;
    in.close();
    %>
    i will display sample here
    </body>
    </html>
    but i am getting error
    display_jsp.java:16: unreported exception java.io.FileNotFoundException;
    must be caught or declared to be thrown
    FileReader fi = new FileReader(f1);
    ^
    plz help
    -thanx

  • Is it possible to extract the contents of any PDF file using Adobe PDF SDK?

    Is it possible to extract the contents of any PDF file using Adobe PDF SDK?
    For Example: There is one pdf file. Let us say xxx.pdf with 32 pages. I am interested in only in a topic present at 10th page. Can I extract this information and save it into another pdf file (means new pdf file)?

    Thanks Irosenth,
    I am actually interested in extract the page and create a new PDF with that page. But still there is a catch that on which basis the page needs to extract either on PAGE number OR on Bookmark basis.
    But here in this scenario assume I am looking for the PDF file, now I want to save only page 5. How can I extract page 5 automatically/programmatuically? Or in simple word how can I get the reference link of page 5?
    Here I am not getting clear picture that Do I need both SDK Adobe & Acrobat to achieve this requirement. And more over you have mentioned that SDK itself is free. But on Adobe side it is mentioned that it is available by license only with this I have another doubt: To work my desktop/system application with Adobe PDF library, this library needs to distribute with the application. So in this case will it be chargeable for each and every deployment.
    Could you please provide me the link from where I can download the SDK? So that I can do some excerise with SDK to figure out the exact flow of functionality to work with my application.

  • To get the content of a pdf file in a particular position in text format

    I am troubling with geting the content of a pdf file in a particular position.I got the code to get the content of a pdf document as whole in text format.But i only need the content at a particular area.
    i am using PDFTextStripper class in pdfBox jar to get the content as whole.
    pls send some sample code
    pls help me
    Edited by: thomas00 on Sep 21, 2007 2:55 AM
    Edited by: thomas00 on Sep 21, 2007 3:08 AM

    pls any one reply

  • Geting the content of a pdf file in a particular position

    I am troubling with geting the content of a pdf file in a particular position.I got the code to get the content of a pdf document as whole in text format.But i only need the content at a particular area.
    i am using PDFTextStripper class in pdfBox jar to get the content as whole.
    pls send some sample code
    pls help me

    pls any one reply

  • Display the content of a text file in a browser

    I am new to servlet, I have written a java servlet code which can read a file and display its content in command prompt only(resin),i would like to ask how can i display the content on the browser and i also want to ask how to write a servlet which can display the conetent from a web browser( e.g. whatever i type in a form) and produce the result in the text file.
    import java.io.FileReader;
    import java.io.IOException;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class read extends HttpServlet
    public void doGet (HttpServletRequest request,
    HttpServletResponse response)
    throws ServletException, IOException
    String applicationPath =
         getServletContext().getRealPath ("");
    String filePath =
         getServletContext().getRealPath ("/WEB-INF/text.txt");
    FileReader fr = new FileReader (filePath);
    for (int chr = fr.read(); chr != -1; chr = fr.read())
    System.out.print ((char) chr);
    }

    You have to create an object of PrintWriter and use that to display the output on the browser.
    PrintWriter out = response.getWriter();
    out.println(chr);
    Hope this helps..
    Arun

  • URGENT: How to read the content of a PDF-file in Java?

    Hello
    What I need are some classes which can read a pdf and translate it in normal Text, so that I can write the content of the pdf in my database.
    Where can I find those classes? Or how else could I get there?

    www.lowagie.com/itext
    www.etymon.com/pj
    www.retep.org.uk/pdf
    www.pdflib.comwww.pdfzone.com
    www.planetpdf.com
    www.purepdf.com
    www.adobe.com
    www.pdfstore.com
    www.adobe.com/proindex/acrobat/formsresources.html
    www.partners.adobe.com/asn/developer/acrosdk/forms.html
    www.rrsys.com
    www.javafoundry.com/javapdf
    www.novagraphix.com/internet_publishing_with_acrobat/forms/forms_tutorial.html
    www.binarything.com

  • Displaying the URL parameters in pdf file.

    Hello, I need help about using JavaScript with pdf file. I have an URL like this: http://www.a.org/mta/sigtr_mta.pdf?&rqst_id=8762312&inst=The+Jackson+Laboratory&pi=Dr.PI& 022008-UCD. Is there a way that I can extract the URL parameters (such as rqst_id or inst ) from JavaScript in this pdf and replace some form text field with the parameters and set these fields to read only.
    I appreciate any of your help or hint!

    this.URI(), I believe, will get you the complete URI that the document was opened from. Then you can parse it any way you'd like.
    Leonard

  • How can i read all the lines from a text file in specific places and use the data ?

    string[] lines = File.ReadAllLines(@"c:\wmiclasses\wmiclasses1.txt");
    for (int i = 0; i < lines.Length; i++)
    if (lines[i].StartsWith("ComboBox"))
    And this is how the text file content look like:
    ComboBox Name cmbxOption
    Classes Win32_1394Controller
    Classes Win32_1394ControllerDevice
    ComboBox Name cmbxStorage
    Classes Win32_LogicalFileSecuritySetting
    Classes Win32_TapeDrive
    What i need to do is some things:
    1. Each time the line start with ComboBox then to get only the ComboBox name from the line for example cmbxOption.
       Since i have already this ComboBoxes in my form1 designer i need to identify where the cmbxOption start and end and when the next ComboBox start cmbxStorage.
    2. To get all the lines of the current ComboBox for example this lines belong to cmbxOption:
    Classes Win32_1394Controller
    Classes Win32_1394ControllerDevice
    3. To create from each line a Key and Value for example from the line:
    Classes Win32_1394Controller
    Then the key will be Win32_1394Controller and the value will be only 1394Controller
    Then the second line key Win32_1394ControllerDevice and value only 1394ControllerDevice
    4. To add to the correct belonging ComboBox only the value 1394Controller.
    5. To make that when i select in the ComboBox for example in cmbxOption the item 1394Controller it will act like i selected Win32_1394Controller.
    For example in this event:
    private void cmbxOption_SelectedIndexChanged(object sender, EventArgs e)
    InsertInfo(cmbxOption.SelectedItem.ToString(), ref lstDisplayHardware, chkHardware.Checked);
    In need that the SelectedItem will be Win32_1394Controller but the user will see in the cmbxOption only 1394Controller without the Win32_
    This is the start of the method InsertInfo
    private void InsertInfo(string Key, ref ListView lst, bool DontInsertNull)
    That's why i need that the Key will be Win32_1394Controller but i want that the user will see in the ComboBox only 1394Controller without the Win32_

    Hello,
    Here is a running start on getting specific lines in the case lines starting with ComboBox. I took your data and placed it into a text file named TextFile1.txt in the bin\debug folder. Code below was done in
    a console app.
    using System;
    using System.IO;
    using System.Linq;
    namespace ConsoleApplication1
    internal class Program
    private static void Main(string[] args)
    var result =
    from T in File.ReadAllLines(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "TextFile1.txt"))
    .Select((line, index) => new { Line = line, Index = index })
    .Where((s) => s.Line.StartsWith("ComboBox"))
    select T
    ).ToList();
    if (result.Count > 0)
    foreach (var item in result)
    Console.WriteLine("Line: {0} Data: {1}", item.Index, item.Line);
    Console.ReadLine();
    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my webpage under my profile but do not reply to forum questions.

  • How to display the contents of a text file on the command line?

    I realize I need to utilize classes from the java.io.* package, but I don't know which ones to use exactly. This is what I would like to do in a nutshell:
    public static void main(String[] args) throws IOException {
    File inputFile = new File( <path to the file>);
    // code that reads data from the above file and is able to
    // append it to  a string object or display it on the command
    // line (System.out.println)
    }Thanks for your time!

    It's pretty easy. Here's a little example that reads a file, stores it in a string, and prints it to the command line.
    import java.io.*;
    public class OpenFile {
         public static void main(String args[]) {
              try {
                   File fileToOpen = new File("something.txt");
                   FileReader fileIn = new FileReader(fileToOpen);
                   BufferedReader br = new BufferedReader(fileIn);
                   String fileContent = new String();
                   String line;
                   while ((line = br.readLine()) != null) {
                        fileContent += line + "\n";
                   System.out.println(fileContent);
                   br.close();
              catch (IOException e) {
                   System.out.println("Exception: " + e);
    }Good luck,
    Alex

  • Hi I want to display the contents of a xml file.

    Hi i dont't know how to read a xml file using DOM parser in java.Can anybody help me out in this the following is the xml file
    [=========================================
    <MODULE ID="RWORLD" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="file:/C:/Projects/RWORLD/RDP_rate.xsd">
    <PHONE_TYPE>RIM
    <RWORLD_PLAN>L0
    <RATE>3
    </RATE>
    </RWORLD_PLAN>
    <RWORLD_PLAN>L1
    <RATE>0
    </RATE>
    </RWORLD_PLAN>
    <RWORLD_PLAN>L2
    <RATE>0
    </RATE>
    </RWORLD_PLAN>
    </PHONE_TYPE>
    <PHONE_TYPE>FWP
    <RWORLD_PLAN>L0
    <RATE>3
    </RATE>
    </RWORLD_PLAN>
    <RWORLD_PLAN>L1
    <RATE>0
    </RATE>
    </RWORLD_PLAN>
    <RWORLD_PLAN>L2
    <RATE>0
    </RATE>
    </RWORLD_PLAN>
    </PHONE_TYPE>
    <PHONE_TYPE>PCO
    <RWORLD_PLAN>L0
    <RATE>3
    </RATE>
    </RWORLD_PLAN>
    <RWORLD_PLAN>L1
    <RATE>0
    </RATE>
    </RWORLD_PLAN>
    <RWORLD_PLAN>L2
    <RATE>0
    </RATE>
    </RWORLD_PLAN>
    </PHONE_TYPE>
    <PHONE_TYPE>FWT
    <RWORLD_PLAN>L0
    <RATE>3
    </RATE>
    </RWORLD_PLAN>
    <RWORLD_PLAN>L1
    <RATE>0
    </RATE>
    </RWORLD_PLAN>
    <RWORLD_PLAN>L2
    <RATE>0
    </RATE>
    </RWORLD_PLAN>
    </PHONE_TYPE>
    </MODULE>
    ===================
    I want to read the above file and the output should be in the following format :
    ======
    Phone_Type , RWorld_Type , Rate
    RIM L0 3
    RIM L1 0
    RIM L2 0
    FWP L0 3
    FWP L1 0
    FWP L2 0
    PCO L0 3
    PCO L1 0
    PCO L2 0
    FWT L0 3
    FWT L1 0
    FWT L2 0
    ======

    Use an XSLT for the specified format.

  • Why can I only get the option to print pdf files

    Hi,
    I have a website app that uses CR13sp2 and VS2010sp2.  The reports were created with CR10 and are retrieved
    to be printed via the VS2010 CR13 app.
    I get receive a window which reads:
    The viewer must export to PDF to print. Choose the Print option from the PDF reader application once the document is opened. Note: You must have a PDF reader installed to print. (eg. Adobe Reader)
    The server is sql server 2003 and I have loaded all the latest runtimes for CR10
    Can someone tell me what wrong.  There are no CR13 reports passed to the app
    Isaac

    And to set the export types use this code:
    // set up the format export types:
    int myFOpts = (int)(
        CrystalDecisions.Shared.ViewerExportFormats.RptFormat |
        CrystalDecisions.Shared.ViewerExportFormats.PdfFormat |
        CrystalDecisions.Shared.ViewerExportFormats.RptrFormat |
        CrystalDecisions.Shared.ViewerExportFormats.XLSXFormat |
        CrystalDecisions.Shared.ViewerExportFormats.CsvFormat |
        CrystalDecisions.Shared.ViewerExportFormats.EditableRtfFormat |
        CrystalDecisions.Shared.ViewerExportFormats.ExcelRecordFormat |
        CrystalDecisions.Shared.ViewerExportFormats.RtfFormat |
        CrystalDecisions.Shared.ViewerExportFormats.WordFormat |
        CrystalDecisions.Shared.ViewerExportFormats.XmlFormat |
        CrystalDecisions.Shared.ViewerExportFormats.ExcelFormat |
        CrystalDecisions.Shared.ViewerExportFormats.ExcelRecordFormat);
        //CrystalDecisions.Shared.ViewerExportFormats.NoFormat); // does nothing except show no export types
    //int myFOpts = (int)(CrystalDecisions.Shared.ViewerExportFormats.AllFormats);
    crystalReportViewer1.AllowedExportFormats = myFOpts;
    You will need to create your own Print button to be able to use all types.
    Don

  • How to display the content of a file in the portal?

    Hey guys, could anyone help?
    I just created a page which includes two iView, one is KM Navigation iView to display a certain repository, while the other is for displaying the content of a certain file I click in the navigation iView.
    And now the problem is when I click a file in the KM Navigation iView, it will pop up a new window to display it. How can I make it displayed in a fixed iView, which type of this iView should be?

    Hi,
    you can try to use the:
    <b>ConsumerTreeListPreview</b>
    layout for KM navigation ivew (or customize to your own).
    This layout shows a folder tree on the left, a document list on the right. When you click on a document from the list it shows the contents of the file on the bottom of the iview.
    Hope this helps,
    Romano

Maybe you are looking for

  • Acrobat XI Pro, Surface Pro 128,  Scan to PDF not working

    I just installed the trial version of Acrobat XI onto my Surface Pro and everything works except the Scan to PDF, when I hit any of the presets I get an error message that says: Box Title: Twain Data Source  Text In box: " Program was unable to load

  • Find item then stop?

    Hi Everyone I'm pretty inexperienced at Applescript, though I know VBA pretty well and understand (more or less) the concepts of scripting. I'm trying to write an Applescript for InDesign that will find an auto-hyphenated word that begins with a capi

  • Php won't run when in html pages

    On my server php do not run when inserted in html pages. If I rename the file in .php, all runs correctly but I don't want to rename all my files... I know there is a way to make php run in html pages, but i can't find it. Any help would be apreciate

  • Relative References in formulas Hyp Fin Reporting

    How do I create a relative row reference with hfr functions, specifically text functions.  I know "cur" or "current" will give you the relative reference of the current row or column but am trying to figure out how to reference a row above.  Can I us

  • Drivers that are currently installed but its not familiar and theres no drivers being inserted

    please help me what should i do.. is that a virus?? cuz i been seeing this drivers in my laptop but i havnt partitioned or inserted any drivers but then i still see drivers that are not familiar with me...theres 3 drivers or more please im afraid tha