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

Similar Messages

  • 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

  • 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

  • Is it possible to batch print .pdf AND .doc files together?

    I need to let users to batch print a set of files that includes both .PDFs and .DOCs. Since <cfprint> allows .PDF files only, what would you suggest?
    Thanks!

    el_sim wrote:
    Unfortunately, it's not an option because I need to allow users to batch print and I have no info about their network printer configuration
    That raises a large RED Flag that you may be misunderstanding the <cfprint...> functionality.  <cfprint...> can NOT print to a printer that is configured to the clients computer.  So if that is what you are looking to do, you need to be looking at Client side technology.  But be aware, that current, common, browser based web applications generally have very limited connections to client hardware.  If you are willing to get into Flex, Flash, Air (or another company's technologies) you could probably do more.  But HTML and JavaScript currently do not have much access to the hardware of a client computer.
    The <cfprint...> tag is designed to send a print job from the SERVER running the ColdFusion application to a printer connected to that server.  IF you are writing programs with no knowledge of the server network configurations (I.E. an application meant to be sold to various customers) this becomes much more difficult to do.  But if you are writing a CFML application to be run on a known network, which is what many of us do, then it should be pretty easy to know what printers are connected to the server running ColdFusion and figure out what capabilities those printers have.

  • App with hadwriting notes for .pdf and .doc files?

    Is there and app that aloud to makes HANDWRITING NOTES (with Stylus, using different colours, sizes, etc) in files .pdf or .doc???
    I really need something like Paperpad App, to make notes while reading.
    Thank you.

    So...there is no app for handwrite in a .doc or in a .pdf?????????

  • Converting .pdf and .doc files into .txt file

    Can anyone here please tell me (a humble programmer) if there's anything in Java to help me accomplish the above, i.e. to strip the markup of these files.
    Or perhaps someone might know if there are programs already out there that can?
    Any pointers or advice would be great, thanks

    PDF: iText (www.lowagie.org or .com) and FOP (at apache.org, or maybe jakarta.apache.org) are the de facto standards for writing PDF in Java, but I don't think either of them will help you with reading it. You might check out etymon. I think that reads PDF. Or you could google for java pdf reader
    Doc: Check out POI, again at either jakarta or apache.

  • Best way to view .pdf and .doc files on an iPhone

    thank you if you know and are willing to post - cheers

    ok, email attachments definitely worked, was able to read .pdf files for sure.
    Problem is those emails, a week later, are buried under 100 new ones. VERY INCONVENIENT.
    This is how far the iPhone has come in 18 months ?
    The Google phone is starting to look very interesting. . .

  • Since I have connected my iPad with the MacBook through ICloud I have problems in Preview of opening PDF- and JPG-files. Does anyone have a solution for this?

    Since I have connected my iPad with the MacBook through ICloud I have problems in Preview of opening PDF- and JPG-files. Does anyone have a solution for this?

    I'm not sure I understand the connection between iCloud and this problem.  Is it simply a problem of coincidental timing (ie, the problem happened after you set up iCloud)?  If so, there's almost certainly no connection between these two events.
    Where are you getting the files you're trying to open, and what specifically happens when you try to open them?

  • Why can't I convert .odt and .doc files to .pdf?

    why doesn't my reader say it can't convert .odt and .doc files to .pdf?

    ...or a subscription to PDF Pack?  See this document for supported file types: http://forums.adobe.com/docs/DOC-1496
    What exactly happens when you try to convert such a doc?

  • Performance, minimum bandwidth, thumbnail previews for PDF and InDesign Files with web content viewer

    Hi,
    We are considering using DPS with a web content viewer for large PDFs and/or InDesign files. The client using a web viewer might have very limited bandwidth (some as low as 256Kbps). We ask:
    1 - How well does the web viewer perform with very large PDFs and InDesign files  (500 MB+) with limited bandwidth? Does the file stream in chunks and the PDF shows as soon as the first page or two are available, with the rest loading in the background, or does the entire file come down in one part and then shown?
    2 - Can PDF and InDesign files support thumbnail previews? For example, one image per PDF page and user can scroll forward and back.
    Your thoughts and comments are greatly appreciated.
    Thanks!
    -Stephen

    Hi Stephen,
    The way the web viewer works is that it converts the PDF/InDesign files to PNGs along with additional HTML assets. Assets are downloaded as they’re ready for a given page (e.g. first, page 1 is filled with its assets as they become available, then page 2, etc), so a reader wouldn’t need to wait for the entire article to load. The next few pages are also loaded in the background, so the reader wouldn’t be likely to notice lag as they flipped through pages to the next page after reading the current one. So the lag will depend on the size of an individual page.
    For your question around thumbnails, the web viewer does not load a preview image so the reader would need to wait for the assets I described above to load.
    Hope this helps...
    Brian

  • PDFs and Word Files open on iMac but not Macbook Pro

    I own an iMac and a MacBook Pro. Recently, I've been having an issue with some PDFs and Word files that have been emailed to me from different contacts. All open—and can be seen using Quick Look—on the iMac. However, on the MacBook Pro it's a different story. When I try Quick Look all I see are the icons. When I try to open the PDFs in Preview (default app for me) I get an error message saying the file could not be opened and might be damaged. When I try to open the Word doc in Word, Pages or Bean I see all of the extraneous header information etc and the text is all mixed up in that formatting junk. I have repaired permissions, cleared out my user cache, restarted—pretty much everything I can think of. But no luck. Thought?

    Brilliant suggestion! I checked all the display settings on my iMac 27" and confirmed they were the same settings as my MacBook -- until I checked the Window 7 screen resolution. Because of its size, I had expanded the screen across most of the monitor. When I changed the resolution to one suggested or configured by Windows, Approach worked fine. I've now tested it on quite a few of the settings, and as long as I let Windows determine the best resolution (on my iMac 27" it seems to be 2043 x 1276), Approach works like it should. Thank you!

  • 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

  • To open a Excel and Doc file inside the AIR application

    How to open a Excel and Doc file inside the AIR application.  I have opened the PDF file inside the AIR application.  But i got stuck in opening the Exce and Doc file.  Please help me in this issue.

    AIR does not support this inherently. However, you could write code to parse these file formats. For example, the following is an ActionScript 3.0 library for reading and writing Excel files:
    http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&extid=1375018

Maybe you are looking for

  • Safari doesn't open right away?

    Ok....I saw 2 days ago that after I turn my computer on or I restart it and I want to open safari, I click 3-4 times ( and nothing happens) before I can open it. I have all the updates done. Why is this happening and what can I do to fix it? Thank yo

  • Watch iphone videos on a Macbook Pro

    I can't figure ot how to do this.  It's probably a simply procedure but I am brain dead. Help appreciated.  Anyone?  Anyone?

  • "Can't establish a secure connection to server" Ne...

    Since moving to BT on 22nd Oct none of my Apple devices, laptop, phone or desktop are able to access Dropbox, iCal (cloud synced calander) or iCloud (Apple's cloud service). I get a message that "a secure connection to the server could not be establi

  • I want to change the default window for my tabs

    After I have Firefox loaded it goes to my homepage which is great. When i click on the "plus" sign to open a new tab in my window it defaults to some stupid search engine called "delta search" which I hate and cannot get rid of. I have had issues lik

  • Is changes in standard notifications possible?

    Hello,    I would appreciate if you could please let me know if its possible to make any changes (i.e edit/customize) in the standard notifications on SAP Portal?    In this respect read few help pages and learnt that there is an Application named as