Microsoft Word Document Text Highlighting

Hi,
I am using a servlet to open a Microsoft Word Document for viewing of the user. This works fine. The dialog box appears asking the user whether he wants to Save or Open the document. He can choose any and in the latter case the documents opens in a new window also.
The problem is that I want to highlight one paragraph in the text of this Word document when it opens. I have not been able to find any way to achieve this. If someone can help me in this I would be really thankful. Is there really a way to highlight the text of a file on runtime through code???????
Regards,
Talal

The POI you downloaded has support for Word and Excel documents. Apparently if you have CVS there are classes for PowerPoint files as well in the scratchpad area:
http://jakarta.apache.org/site/cvsindex.html
Don't know about PDFs, but I found this interesting page that might give you some insight:
http://www.jguru.com/faq/view.jsp?EID=810102

Similar Messages

  • Importing text from Microsoft Word documents

    Can anyone offer recommendations or tips on the Import feature?  I am considering use of import for a vast amount of content from Microsoft Word documents.  I am using DW CS3 and I have heard good and bad about the import feature.  I would like to try to make it work for me and to make sure I'm using it correctly.  Many thanks! Ms. Gill

    I hate to say this, but don't do that.
    Ms. Web Editor (may I call you Web?), I regularly input stuff my clients send me from Microsoft Word. I never attempt an HTML conversion from Microsoft. It's just too dirty.
    Instead, what I do is I copy paragraphs into Dreamweaver's Code View window, putting a <p> and a </p> before and after them.
    If there are headings and sub headings in Word, I simply make them into lines without HTML, then press [Command]-1 or [Command]-2 to make those lines into <h1> or <h2> tags.
    I never try to export from Word. Microsoft does not know how to create clean HTML and CSS. It is always a losing proposition to trust that they do.
    -Mark

  • Good day sir, please i just got an iPAD 4 and I have bee having a serious difficulties performing some operations on it of which  was told it is possible one of which is to create a microsoft word documents on my iPAD the second is attaching a file to y e

    Good day sir, please i just got an iPAD 4 and I have bee having a serious difficulties performing some operations on it of which  was told it is possible one of which is to create a microsoft word documents on my iPAD the second is attaching a file to y e mail in order too send Also, I have not been able to safe a download files on my iPAD as I do not have a download manager on it. Please, kindly send to me ways of getting these problems fixed as i am a young resarcher who sends a lot of mails and download as wel. Als, I am always on the move as this has propmted me in the first place to get an IPAD .
    Last but not the list II will equally wish to know if it will be possible for  me to use a pen to take seminar notes on my iPAD and safe the same on my iPAD fr later reference as it is done on other tablets ke samsung. I read somethng like stylus pen but I don't know how far. Please, kindly make an appropriate recommendaton for me and where i can get it. I reside in Turkey and currently a Ph.D stuudent in ine of the leading niversities in the country. Also, I will like to know if you ave ecoonomics text books that I can buy or published journas in apple store because i have searched but could not get  a desirerable ones.
    Once again, thanks for your anticipated prompt rely to my mail.
    Regards
    Wasu Fawole

    Have a look at the following:
    http://itunes.apple.com/sg/app/quickoffice-pro-hd-edit-office/id376212724?mt=8&l s=1
    http://itunes.apple.com/sg/app/office2-hd/id364361728?mt=8&ls=1
    http://itunes.apple.com/sg/app/documents-to-go-premium-office/id317107309?mt=8&l s=1
    http://itunes.apple.com/sg/app/polaris-office/id513188658?mt=8&ls=1

  • Convert Adobe Form (with data) to Microsoft Word Document

    Adobe Acrobat 8.0 Standard
    Windows XP Professional SP2
    Microsoft Word 2003 SP3
    I am attempting to convert an Adobe PDF Form (with data included) to a Microsoft Word document.
    When I use the menu to attempt this, I get a Word document containing only the form fields.
    I want to be able to grab all the text from the document, as these forms were used to fill in information for Job Descriptions, and I want to submit the text to job boards (without having to retype anything).
    What are my options for obtaining this information?

    Bill:
    Thank you for all of your help. I do not have the program in front of me, so I don't have a means of independently verifying this, until I go see the user tomorrow when he returns to the office ...
    Just to confirm, a fillable PDF is different from a standard PDF, as it stores the form fields in a special way, likewise, the data is stored in a special way. This is actually a quite useful feature, for compiling data, if you use the form multiple times.
    A standard export of a fillable PDF exports only the fields.
    To get the data, I would have to choose to save form data.
    To get the fields and the data, I have to print it using a PDF printer to create a new PDF document. Once I create this new PDF document, I can then export to Word as desired.
    If I want ONLY form fields: (one-step process)
    Export > Microsoft Word > %filename%.DOC
    If I want ONLY form data:(one-step process)
    File > Save FORM DATA > FDF file format > %filename%.FDF
    If I want both the form and the data: (two-step process)
    File > Print to PDF > Save as %filename%.PDF
    Open %filename%.PDF > Export > Word Document
    Is this the process? Pardon my confusion, but I am a newbie, and I do not have the program to test with.
    Thanks for your help, kind sir.

  • Importing Microsoft word documents that already have paragraph styles

    Hello. I have been trying to figure out how to do this for months, this was taught to me many months ago but for some odd reason when I tried it myself it didn't work . I have my paragraph styles all set up in my indesign document. I have to import text that another person is giving me. The document that this person is giving me is a Microsoft word document. Someone showed me that you can customize the document in microsoft word, with styles for example: Selecting a part of text and customizing it (making it big and bold for example), then naming that style Heading, and then doing the same for lets say...a subheading. Well after you save the document (the microsoft word document), you are able to import the word document into your indesign file and it's supposed to override the styles from Microsoft Word and customize itself with your own paragraph or character styles that you already have in your indesign document, as long as the name of the styles are the same as the ones you had in microsoft word(which in this case would be heading and subheading). Any help would be greatly appreciated.
    Thanks!

    Convert Word styles to InDesign styles
    Here's the info you need. I found it in the InDesign Help section. I needed it, too. The "Show Import Options" is a little box in the lower left hand corner of the screen that comes up when you choose the file you want to place in InDesign. It's easy to miss.
    While importing a Microsoft Word document into InDesign or InCopy, you can map each style used in Word to a corresponding style in InDesign or InCopy. By doing so, you specify which styles format the imported text. A disk icon appears next to each imported Word style until you edit the style in InDesign or InCopy.
    Do one of the following:
    To add the Word document to existing text in InDesign or InCopy, choose File > Place. Select Show Import Options, and then double-click the Word document.
    To open the Word document in a stand-alone InCopy document, start InCopy, choose File > Open, and then double-click the Word file.
    Select Preserve Styles and Formatting From Text and Tables.
    Select Customized Style Import, and then click Style Mapping.
    In the Style Mapping dialog box, select the Word style, and then select an option from the menu under InDesign style. You can choose the following options:
    If there is no style name conflict, choose New Paragraph Style, New Character Style, or choose an existing InDesign style.
    If there is a style name conflict, choose Redefine InDesign Style to format the imported style text with the Word style. Choose an existing InDesign style to format the imported style text with the InDesign style. Choose Auto Rename to rename the Word style.
    Click OK to close the Style Mapping dialog box, and then click OK to import the document.
    Marilyn

  • Viewing Microsoft Word Documents on iPod

    I tried to put some Microsoft word documents on my iPod but when I selected them from my iPod only a jumbled word would show up. Does anyone know how I can succesfully put Microsoft Word Documents on my iPod?

    What do you mean "plain text"? Is that a font or something?

  • Alters Microsoft Word Document when Put into PDF, help!

    Hi All,
    I wonder if someone can help me. I am trying to convert some microsoft word documents into a PDF format, however each time I do it, the end pdf document isn't what the word document is like .The text and pictures are moved and altered.
    I have tried converting it on 3 different computer, but no luck.
    Does anyone know why?
    Thanks 

    Hi fantabell,
         Welcome to the forum!
    Just out of curiosity… have you checked the page size for the conversion process? I have found that Adobe being a US company have the “letter” page size set as standard where as us Europeans would predominantly use A4 sized paper.
    Click on the Adobe PDF menu in Word and scroll down to “Change Conversion Settings”. Click on the Advanced Settings button and change the default page size to 210mm wide and 297mm high and see if that makes any difference!
    You should also check the New Document and Convert To PDF settings in the Preferences section of the Edit menu in Adobe Acrobat itself and make the same changes to the page size.
    Hope this helps!
    Mark

  • Pages problem opening up a Microsoft Word document??!!!

    Hi all,
    I have just purchased iWork'08 and I have a question about Pages. I do not know anything about Office programs, apart from how to write basic letters in Word! I decided to go with iWork'08 as I love Apple and wanted to give Apple's office suite a try.
    As I have said previously, I don't know anything about Pages. My problem is that I have a Resume in the .DOC format, which I created previously in Microsoft Word years ago when I was a Windows user. I have not had any problems with it though, even when I moved to Mac, because I was using NeoOffice. Now though, when I am using Pages, once I open up my Resume, I get a message from Pages telling me the following: Some Problems Occurred, Type: Import Warning, Description: Document backgrounds aren't supported and were removed.
    This information appears in it's own box when I open the document up and indeed, the document is not formatted as it is supposed to, as it is in Microsoft Word or NeoOffice. Why is this, what is going on and most importantly, how do I make Pages just show the document as it supposed to be shown??? I was told it was compatible with Microsoft Word documents, but it is not doing a good job with them so far!!! Please help!!
    I look forward to your replies.

    Tables! Why did it have to be tables? (Excuse me for channeling Indiana Jones there.)
    I've had some luck with fixing imported table formatting in Pages by first making the borders and inside dividers visible. Select a table after opening the inspector and selecting the tables tab. Find the Cell Borders buttons and select each one, then click on the pop-up button below and select the Thin line. Do this for each table.
    Now that you can see the lines and the text inside each cell you can begin cleaning up. There will likely be 2 problems: vertical cell borders won't align down the page and some text will be too big to fit inside. You may also find that not all the tables align to the left side of the page
    Step 0: if the tables don't align to the left side of the page, fix that
    Step 1: reduce the text size - you may have to choose a new font
    Step 2: align the vertical borders
    good luck

  • 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.

  • How do I convert a pdf in Adobe Acrobat 9 to Microsoft Word document?

    How do I convert a pdf in Acrobat 9 to a Microsoft Word document?

    Hi fireatty,
    In Acrobat 9, you can use the Export command (File > Export) to export your PDF to Word format.
    Please let us know if you need additional assistance.
    Best,
    Sara

  • HP Laserjet PRO MFP125nw doesn't print Microsoft Word documents from PC

    Hello.
    I've recently bought a brand new HP Laserjet PRO MFP125nw printer. The functions seemed really nice and the price was acceptable. I've brought it to my home, installed it following the manual, connected it to Wi-Fi etc. It generally works fairly well. PDF files are printed perfectly well, the scaning function works and it's generally a nice piece of technology.
    The only problem is that it just doesn't want to pring Microsoft Word documents from my PC. It prints it perfectly when I try to print .docx from my smartphone using the app, but it doesn't respond when I try doing it from the PC.
    My Office version is 2007 Enterprise. Do you have any idea what I should do?
    Thank you in advance

    Thank you a lot for a quick reply, Cbert. It's fantastic to see HP actually reading their forums and trying to help!
    I'll try plugging it into the wall and directly to the PC with a USB, we'll see if it works out.
    About Word, i've already tried reinstalling Word, even installed a 2003 version to check if it works with that. Well it doesn't. And as i've written before, I tried turning some .docx files to .pdf using a converter, but it still doesn't print them.
    Anyway, i'll try the first two points and keep you updated, thanks!

  • 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. : )

  • So I've been trying to open some Microsoft Word Documents and it says it can't be opened because PowerPC applications are no longer supported. What do I do about this?

    So I've been trying to open some Microsoft Word Documents and it says it can't be opened because PowerPC applications are no longer supported. What do I do about this?

    Workarounds:
    1.  Restore the OS X that you formerly used to run Word 2004;
    2.  Partition your hard drive or attach an external hard drive and install Snow Leopard (and Rosetta) so that you can "dual-boot" into Microsoft Word 2004;
    3.  Upgrade to Word 2011 or use an alternative program; or
    4.  The solution I use: Install Snow Leopard (and Rosetta) into Parallels 7 or 8:
                                  [click on image to enlarge]
    Full Snow Leopard installation instructions here:
    http://forums.macrumors.com/showthread.php?t=1365439

  • Integrating Microsoft Word documents with ADF BC and JClient technologies

    Hi,
    We are developing a Police Management System in JAVA with the Oracle Jdeveloper 10.1.2.0.0. We are using for the access to the data, in the businesses tier, the ADF Business Component Technology and for the User Interface, in the client tier, the JClient for ADF Technology. The used Database is Oracle Enterprise Edition 10.1.0.3.0. with the intermedia option.
    We were looking for ways to upload and insert Microsoft Word Documents into a view object using JClient on the client tier. We have found the following options:
    1) Oracle Intermedia database datatype ORDSYS.ORDDOC and their corresponding ADF Business Compomnents domains -> The problem is using Jclient on the client tier. In Oracle JDeveloper 10g, developers will not be able to create new applications using JClient interMedia controls. JUImage (limited to images only) is the JClient control available to access multimedia in the database.
    2) Oracle COM Automation Feature -> We were studying the possibility to built a solution with Oracle and Microsoft Word using Oracle COM Automation Feature for Java. The problem is Oracle COM Automation Feature requires Windows NT, Windows XP, Windows 2000, or Windows Server 2003. We are using a database on linux, therefore this option is not valid.
    3) CLOBs in database and theirs corresponding ADF Business Components domains -> But I don't know how to use ADF BC objects in JClient tier.
    Can someone please help?
    Thanks,
    Patri

    Hi,
    I have worked with BLOBS or CLOBS and their corresponidng ADF Business Components domains, but I don't know how to use ADF BC objects in JClient tier.
    To sum up, I want to upload, insert and view microsoft word documents by using a JClient application using ADF/BC4J components.
    Thanks,
    Patri

  • CAN'T OPEN MICROSOFT WORD DOCUMENTS AFTER DOWNLOADING MAVERICK

    I downloaded Maverick OS X 10.9.3 and now I can't open my Microsoft Word documents!  HELP!!
    The message I receive when trying to open a document read:  You can't open the application "Microsoft Word" because PowerPC applications are no longer supported.
    I wish I knew this before I upgraded to Maverick.  It happened to my iphotos as well but after purchasing new software for iphoto, I have been able to retrieve my photos. 
    I hope I don't have to do the same for my documents.
    Thanks

    I wouldn't recommend buying the boxed version of Office 2011. A new version of Office is coming out in a few months and you'll be stuck with old software. The next version of Office will be subscription only. You can buy Office 365 now and it will automatically upgrade you for free when the new version comes out. This is a monthly fee.
    If paying monthly is not an option for you, you can also look at buying Office 2008. While it's End of Life software like Office 2004 (this means it will receive no further updates) it will run in Mavericks with only a few minor glitches. You might be able to buy Office 2008 at a more reasonable price. Otherwise I would like at LibreOffice or OpenOffice that Esquared mentioned above.

Maybe you are looking for

  • Can you mirror a Mac Mini to an AppleTV 3 when the mac mini is not connected to a display?

    Hello, I have an AppleTV 3 connected to my television and a late 2012 Mac Mini that is not connected to a display/monitor/tv, but I use it as my iTunes server to stream media to the appletv .  However, I was hoping I could mirror the Mac Mini to the

  • New Launchpad app in new tab or window of browser

    Hi , How can we launch a new launchpad app ( like sales order app) in new tab or window of browser. with the new launchpad apps they are opened in same window and user want to work with multiple apps opened in different tabs. Any idea how to achieve

  • How to create the instance of a class and to use this object remotely

    I have to change a standalone program to do it working on a local net. the program is prepared for this adjustment, because the only problem for this change came from the use of the database; and, in the application, all the accesses to the database

  • Lost my preinstalled regional language pack on 623...

    Hi everyone, I'm a new member of this nokia forum and hope to find a solutions as for my stay. I updated my nokia 6233 firmware which was preinstalled with English, French, Turkish, Spanish, Arabic, Urdo, and persian. After the software update, my ph

  • Materialized View Exceptions

    Hello All, I intend to use a materialized view , to develop a report. I have set this view to do a complete refresh every nigth. My concern is, if for some reason the materialized view fails to refresh, the resulting report will not have the correct