How to read content of Microsoft Word to Webdynpro

I always find to read the content of a doc to OfficeUIComponent is not difficult, but I wonder if I can get the plain text from the doc.
I guess they read bytes from doc files can only display in OfficeUIComponent, these bytes can not be print out to console.
So give me hint if Webdynpro can get plain text from doc file
Thank you.

@Anil: The problem will be, you wont be able to identify the text in Word by the ByteStream that we are getting.
@William: There is no standard way to do this but I sugesst you use <a href="http://jakarta.apache.org/poi/hwpf/index.html">this</a> APIs for reading MS Word file.
Thanks and Regards,
Mausam

Similar Messages

  • Read content in Microsoft Word file.

    My new project is to read content in Microsoft Word. But,
    blah blah blah code are appeared when I read microsoft word file
    with cffile tag, and display included content in textarea. Here is
    my coding. Anything wrong in my coding and how can I read ms.word
    file and display included content in this file??
    all answers will be appreciated.

    I have figured out how to use Object in Word to embed the SWF file and use the Control Box to activate it, however, like you when I convert to Acrobat PDF from the Word Add-in it does not embed the SWF in a playable format, although the object is there.  I can't seem to get any relevant properties using the Touch Up Object tool either.  I hope someone else has a clue.  Otherwise I recommend creating your word document with "empty" text boxes that the text will wrap around and then converting to PDF and once in Acrobat embed a Flash object using the Multimedia button.

  • How to read and upload microsoft word file into database using forms9i

    Hi,
    How to read and upload microsoft word file into oracle database using forms9i. I appretiate if anyone can send me example or atleast a sujjetion.
    Thanks in advance
    Mahesh Ragineni

    The webutil package includes the ability up upload from the client to the database. See otn.oracle.com/products/forms and click on webutil for more details.
    Regards
    Grant Ronald
    Forms Product Management

  • How to show content from microsoft word and pdf on a page

    Hi,
    I have a microsoft word file stored in content repository and I want to show it in web page. When I drag and drop it using content presenter it shows file as a link with some extra details like created by, last modified by etc. I want content to appear in UI page itself. Content of document should get converted to html at runtime and then appear in UI. Is it possible?
    Thanks
    Sanjeev

    Sanjeev,
    I see you have as similar requirement you posted in the thread here :
    Skipping ucm login form when showing content on webcenter application.
    InBound Refinery (IBR) would be the easiest way to accomplish this though.
    Once you have IBR installed and configured (you need to pick what formats need to be converted in the refinery, and in your case, choose MS Office formats),
    You can use the document viewer taskflow to render PDF versions of your Word/Excel or PDF documents on a webcenter page. There is little to no setup required for this, beyond configuring IBR (but configuring IBR is fairly involved) and selecting what MIME types you want IBR to process.
    Another thing to watch out for if you are using Spaces is, make sure you set the context root for UCM properly though EnterpriseManger.
    Dynamic Converter can also be used to get similar results. You mention that you are using an Iframe, that means the client is making a request to UCM directly, and to avoid re-authenticating there, you should have SSO enabled. With Dynamic converter, you can use a URL of the form :
    http:// +<host>:<port>+ / +<context_root>+ /idcplg?IdcService=GET_DYNAMIC_CONVERSION&dDocName= +<docID>+ &RevisionSelectionMethod=LatestReleased
    To get an HTML rendition of that document.
    Hope it helps !
    -Jeevan
    Edited by: Jeevan Joseph on May 14, 2012 3:07 PM
    Edited by: Jeevan Joseph on May 14, 2012 3:08 PM

  • How can I transfer an adobe reader file to Microsoft word?

    I have Windows Vista on my machine. I really need to transfer an Adobe reader file into Microsoft word or at least be able to type inside of Adobe. Just wondering how can I do this task or am I just not able to?
    Any help or suggestions out there..?

    That would require using Adobe Acrobat. It can create Word docs from PDF's.
    The bad news is, most of the time it doesn't do a very good job at it.
    With Acrobat, you could also add form fields that you can fill in which would be much better.

  • How can I change a Microsoft Word document file into a picture file?

    How can I change a Microsoft Word document file into a picture or jpeg file? I am wanting to make the image I created my background on my macbook pro.

    After I had the document image the way I wanted it, I saved it as a web page and went from there. Below are the steps starting after I did the "save as" option in Word:
    1) Select "Save As Web Page". I changed the location from documents to pictures when the window came up to save it as a web page.
    2) Go to "Finder" on you main screen, or if it's on your main toolbar at the bottom.
    3) Click on the "Pictures" tab and find the file you just re-saved as a web page. (I included "web page" or something similar in the new title so I could easily find the correct file I was looking for)
    4) Open the correct file and then "right click" on the actual image. (Use 2 fingers to do so on a Mac)
    5) Select 'Use Image As Desktop Picture", and voilà! The personally created image, or whatever it is that you wanted, is now your background.
    **One problem I encountered while doing this is that the image would show up like it was right-aligned in relation to the whole screen. The only way I could figure how to fix this was to go back to the very original document in Word, (the one before it was saved as a web page), and move everything over to the left.
    I hope this helps someone else who was as frustrated as I was with something that I thought would have been very simple to do! If you have any tips or suggestions of your own, please feel free to share. : )

  • How do I open a microsoft Word 95 document in Pages?

    How can I open a Microsoft Word 95 document in Pages?

    The document format is too old. Download the free LibreOffice, and then open this Word '95 document with it. Then export to a different filename.doc, or filename.docx, and then open in Pages.

  • How to read each and every word from a string.

    Hi all,
       I have a string which is having many label numbers. if the string is lv_str, its value is like, 11111111111111##22222222222222##3333333333333.
    I need to move the values alone into internal table. each value should be updated as a single row into one internal table. How to read each and every word of the string and move to an internal table.
    the internal table should be like this.
    11111111111111
    22222222222222
    3333333333333
    Can any one give me a suggestion in this regard.
    POINTS PROMISED.
    Regards,
    Buvana

    Hi,
    If you know the format and length of the data
    Use split at '#' so that you will get the individual values.
    Thean append it to internal table.
    Reward iof helpful.

  • Help!!! Can Anybody tell me how to read bookmarks of MS word using ABAP?

    It took me around 3 days , but there is still no solutions...
    Can Anybody tell me how to read bookmarks of MS word using ABAP ?
    Many thanks.

    Dear Nick  ,
    Thanks for your attention!
    I have MS word installed in the R3 server , and I uploaded my word doc with some self-defined bookmarks into SAP R3 system.
    Now I want to read these bookmarks using ABAP in this R3 system...
    Is it clear enough?
    Looking forward to your solution ...
    Thanks again..
    Best Regards,
    Leon.

  • How to read contents of more than 2 files.

    hi all
    help me.
    How to read contents of more than 2 files.
    For reading a file contents we uses normally FileInputStream
    For reading two file contents we uses normally SequenceInputStream
    But which class we have to use for reading contents of more than 2 files at a time
    thanks in advance.

    SequenceInputStream can be used for reading any number of input streams (not at once, but one after the other).
    This involves making an Enumeration that returns the input streams you want to read. Depending on what you want to do, it might be just as easy to read them one after another.
    Or consider making a Vector of your input streams and using its elements() method. Like this:(untested)Vector<InputStream> inVec = new Vector<InputStream>();
    inVec.add(new FileInputStream("foo.dat"));
    inVec.add(new FileInputStream("bar.dat"));
    inVec.add(new FileInputStream("baz.dat"));
    // later...
    SequenceInputStream in = new SequenceInputStream(inVec.elements());

  • How to read contents of a property file sequentially

    hello all,
    please can any one tell me how to read contents of a property file sequentially.
    i saw most of the classes provided by JAVA API, which get All keys and there return type is enumeration which dosent preserve , or may the getKeys() method of those classes do not preserve the sequential order.
    Kindly do let me know if anyone has done this before.
    Thanks.

    The best solution is that you redesign your program so that it does not depend on the order of the entries in the properties file.
    If you really want to stay with your design, you will have to read the properties file yourself, line by line, just like you would read any other text file, and parse the content of each line yourself.
    BufferedReader in = new BufferedReader(new FileReader("stuff.properties"));
    String line;
    while ((line = in.readLine()) != null) {
        // Parse the line, use e.g. String.split() to split it around the '='
    in.close();

  • How do i restore a microsoft word file i replaced

    how do i restore a microsoft word file i replaced

    Did you save over the 'old' file - and now you want to recover it? AFAIK, it can't be done - that's what "Save as..." is for.
    Clinton

  • How do I transfer from Microsoft word document to my Ipad?

    How do I transfer a document in Microsoft Word on my computer to my Ipad?

    You need an app on the iPad that is capable of reading/recognising Word documents. If you've got an app then one options is to do it via the bottom of the iPad's apps tab on your computer's iTunes (apps that allow file sharing, i.e. saving/copying content, are listed there), and a second option, if the app has the facility, is via wifi.

  • Flash Content in Microsoft Word

    Hi gang
    I'm attempting to create a PDF using a Microsoft Word document that contains a Flash Animation that exists as a .SWF file.
    Any hints, tips or pointers appreciated.
    advTHANKSance... Rick

    I have figured out how to use Object in Word to embed the SWF file and use the Control Box to activate it, however, like you when I convert to Acrobat PDF from the Word Add-in it does not embed the SWF in a playable format, although the object is there.  I can't seem to get any relevant properties using the Touch Up Object tool either.  I hope someone else has a clue.  Otherwise I recommend creating your word document with "empty" text boxes that the text will wrap around and then converting to PDF and once in Acrobat embed a Flash object using the Multimedia button.

  • How can I restore my Microsoft Word Documents which became Unix Executable Files after my Macbook Pro Crashed?

    After my MacBook Pro suddenly crashed, we had Best Buy's Geek Squad attempt to save the files. According to them, they were successful in doing so and put all of the saved files in a folder on my desktop which they labeled "Backup". The problem is, all of the files are in a Unix Executable format. When you double click on any of them, they pull up the terminal and that's it. After researching the issue and trying to grasp what was going on, I learned that you can open these files in Text Edit and sometimes find the file extension (.png .jpeg .amr .qt) that belongs at the end of the filename in order for it to be pulled up. In doing this, I had some success restoring some photos, audio files, and videos. However, no luck at all in restoring any of my Microsoft Word documents or even finding out which Unix Executables are Word documents. I've even tried to add .docx to various files just to see if I would luck out. Nope .  Any help would be SO SO greatly appreciated!!!

    Just to make sure, your Mac meets Snow Leopard's requirements?
    Mac OS X v10.6 Snow Leopard - Technical Specifications
    Yes, Lion does require that  you have Snow Leopard installed so you have access to the Mac App Store.
    And you do need to be running v10.6.8 in order to upgrade to Lion >  http://www.apple.com/macosx/how-to-buy/
    When you verified the startup disk using Disk Utility, what were the results?
    Wouldn't hurt to do that again. From your admin account launch Disk Utility. Select MacintoshHD in the panel on the left then select the First Aid tab. Click: Verify Disk  (not Verify Disk Permissions).
    If the startup disk needs repairing, boot from your install disk to make repairs >  Using Disk Utility to verify or repair disks
    While you have the DU window open, check Capacity & Available at the bottom of the window. Make sure there is a minimum of 15% free disk space.

Maybe you are looking for

  • When I try and install 4.0 I get the following error message: The operation can't be completed because you don't have permission to access some of the items. How can this be?

    Not sure what else to add. I have tried several times to install version 4.0 but get the same message every time. As an open source browser I don't understand why such a message would appear. I have a Mac Air with the latest OS.

  • ACE 4710 A3(5) Logging new connections

    We have recently transitioned one of our Ecommerce products to a new data center, at which we now use a one-armed load balancing approach rather then the routed load balancing approach we used previously. This is casuing us some issues as we generall

  • Macbook Pro 5.1 Installation Issue

    I just did a NET install of Arch Linux onto my Western Digital 1 TB external hard drive, using the entire thing with the automatic partitioning option. I followed the install guide along with the needed changes for a Macbook Pro from the Macbook wiki

  • No sound from my nokia lumia 720

    Hi there, only had my lumia 720 for a week and all of a sudden no sound, no key tone, no ring tone, no alarm. I have tried various things, reset etc. But no luck. My husband has the same phone, and has also experienced sound problems. Im sure nokia m

  • ADF Table sort issue

    Hi, We are using ADF 11g. In application we have af:query search block and its result table. When we click on column header with some data present it is sorting the data, which is accepted behaviour. But when there is no data in the table, and click