Display PDFs in Java window?

Hi,
I was wondering if Acrobat is the right product to buy in order to dispaly PDFs in my custom Java application. That is: does it come with a Java API (Java 1.4.2). I only need to display PDFs, nothing else. And I do not want to display the PDFs in a browser or Reader window, but inside my application (alongside with other information)
Will Acrobat Standard edition do, or will I need Acrobat Pro?
Thanks in advance.
/Henrik

Acrobat does not come with a Java API, as Java is not a standard desktop development environment.  Instead, it offers platform-native APIs in C/C++, COM/OLE and JavaScript.
On the server side, of course, our Livecycle products are all Java-based.

Similar Messages

  • How do I run Adobe Reader to display pdf files in Windows 8?

    I'm confused! Where is the executable for adobe pdf reader in windows 8? I want to launch it from powershell to display a pdf file. It used to be trivial in windows 7 but now the adobe pdf reader is an app and I cannot find the executable using the task
    manager.
    Can someone help me launch it from cmd.exe or powershell_ise to display a pdf file?
    I just downloaded and installed the Adobe PDF reader and I cannot execute the reader c:\Program Files (x86)\Adobe\Reader 10.0\Reader\AcroRd32.exe. I get no error messages and no GUI display. What is going on?
    Thanks,
    Siegfried
    siegfried heintze

    Hi,
    As far as I know, that Windows 8 has a reader by default, it seems like it is Microsoft Reader. It could used to read PDF file. And I have not ever use powershell to manage to use it.
    The  PDF reader is a Modern UI app; we cannot run Modern UI apps on the desktop. So I don't think powershell could manage it.
    Regards,
    Yan Li
    Cataleya Li
    TechNet Community Support

  • How to display pdf file in windows phone 8 silver light application?

    Hi,
    I am developing windows phone 8 silver light application . For my app I want to display pdf files . Is there any default controls to display pdf files ?
    I don't want to display using launchers , I want to display with in the app.
    any help,
    Thanks..
    Suresh.M

    Probably this should give you a fair idea : How to view PDF file inside an Windows Phone application?
    http://developer.nokia.com/community/wiki/Using_Crypto%2B%2B_library_with_Windows_Phone_8

  • Display xwindows in Java window

    I'm wondering if it would be possible to display a single xwindow-based windows within a Java window (inside or outside of a web browser). This would be somewhat similar to VNC but only one window would be displayed, not the entire desktop. There would have to be input capabilities, of course. Thanks for any help!

    There is pure java XServer implementation with GPL license. You can find more about it here -> http://www.jcraft.com/weirdx/

  • Display PDF in different window by reading Binary file in MIME folder.

    Hi all,
    I've kept binary file in MIME folder and I'm trying to read the contents of it. and I'm trying to display contents in pdf format in separate window.
    For this I was able to read the file by using FileInputStream
    byte[] bytes = new byte[1000];
         try
                  //File file = new File(WDURLGenerator.getResourcePath(wdComponentAPI.getDeployableObjectPart(),"data.bin"));
                   File file = new File(WDURLGenerator.getResourcePath("test.bin"));
                   FileInputStream is = new FileInputStream(file);
                  long length = file.length();
                   //Create the byte array to hold the data
                   byte[] bytesA = new byte[(int)length];
                   //Read in the bytes
                    int offset = 0;
                    int numRead = 0;
                    while (offset < bytesA.length&& (numRead=is.read(bytesA, offset, bytesA.length-offset)) >= 0)
                         offset += numRead;
                        is.close();
                   bytes = bytesA;
                   wdContext.currentContextElement().setPdfSource(bytes);
                 catch(Exception e)
                   wdComponentAPI.getMessageManager().reportException("Error Reading File:"+e.getCause(),true);
                   wdComponentAPI.getMessageManager().reportException("Error Reading File To String:"+e.toString(),true);
    I've to show this in external window. I created attribute "pdfResource" of type binary
    and declared in the source
    private ISimpleType myPdfDoc;
    After that I added this bit of code in Init Method
    myPdfDoc = wdContext.getNodeInfo().getAttribute("pdfResource").getModifiableSimpleType();
    ((IWDModifiableBinaryType)myPdfDoc).setMimeType(WDWebResourceType.PDF);
    ((IWDModifiableBinaryType)myPdfDoc).setFileName("PDF");
    After this I made an action handler which has following code.
    final byte[] documentContent = bytes
    final String docUrl = myPdfDoc.format( bytes );
    String docUrl = myPdfDoc.format(bytes);
    IWDWindow window = wdComponentAPI.getWindowManager().createExternalWindow(docURL,"Resource", true);
    window.open();
    But it is throwing Null Pointer exception for Init Method and also while displaying.
    Where is that I'm faltering. Any Pointers will be help ful
    Thanks
    Srikant

    First of all why do you need those three lines of code in your wdDoInit() ?
    Simply, you may use this:
    IWDCachedWebResource cachedResource = null;
    String url = null;
    byte[] pdf = wdContext.currentContextElement().getPdfSource();
    if (pdf != null) {
       cachedResource = WDWebResource.getWebResource(pdf, WDWebResourceType.PDF);
       url = cachedResource.getURL();
    Refer <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/4a/fb8342a7d30d53e10000000a155106/content.htm">Utilizing the IWDCachedWebResource-API</a> for further assistance.
    /* Changed the code */
    Message was edited by: Bala Krishnan

  • Display PDF from flex windows application

    Hi,
    I am creating a flex windows application using action script and mxml script.I need help in displaying a PDF document in that windows application from a netwrok drive or local pc.I tried google search it is giving me some open source projects with IFrames.But,they can be only used for browser applications(web).So,anyone please suggest me how could i accomplish this task with winows application.
    Thanks,
    adi2010

    Hi ,
    The solution for the thread is
    <mx:HTML id="pdfHtml" location="test.html" width="100%" height="100%" />
    var pdfFile:File = File.applicationDirectory.resolvePath(pdfHtml.location);
        pdfFile = new File(pdfFile.nativePath);
        var fileURL:String = pdfFile.url;
        pdfHtml.location = fileURL;
    Thanks,
    adi2010.

  • Will not display pdf in browser window -

    will not display downloaded acrobat files from the web in browser window - safari -
    can save same download and view in acrobat and/or preview.

    Apple Safari 5.1 and Adobe Reader/Acrobat Advisory
    If you are running Lion v10.7 >  Known Issues | Adobe products on Mac OS 10.7 Lion

  • Neither Safari nor Firefox will display PDF files. Anyone know how to solve this? Safari vs. 5.0.5. MAC User. Thanks

    Since yesterday neither Safari 5.0.5 nor Firefox (latest vs.) will display PDFs in their windows. Black window for Safari, white window for Firefox. Anyone know how to solve this? Thanks

    Quit Safari.
    Go to /Library/Internet Plug-Ins/
    Move these filess to the Trash.
    PDF Browser Plug-in
    AdobePDFVieweer.plugin
    Relaunch Safari. See if that helped.

  • Displaying PDF in new Browser window

    Hi all,
    I have a question about displaying a invoices in pdf format in a new window. I read several threads about this, but I haven't been able to solve my problem.
    I'm using following code:
    append the pdf to the response
      cl_wd_runtime_services=>attach_file_to_response(
        i_filename  = 'test.pdf'
        i_content   = lx_pdf
        i_mime_type = 'application/pdf'
        i_in_new_window = ' X'
        i_inplace       = 'X' ).
    The content (lx_pdf) is retrieved from a smartform, via the function module for the smartform in question, after which I convert the OTF Data (JOB_OUTPUT_INFO-OTFDATA) to XSTRING using FM SCMS_TEXT_TO_XSTRING. The returned data (buffer of type xstring) I use for afore mentioned method. But all I get to see is the following:
    //XHPLJIIID    0700 00000000001
    IN04EZZ_MO_SMARTFORM_TEST
    IN05TEST_PAGE_1
    OPDINA4   P 144  240 1683811906000010000100001
    IN06MAIN
    IN06TEXT_TEST1
    MT0168902156
    CP11000000E
    FCCOURIER 120  00144 SF001SF001110000144E
    UL +0000000000000
    CT00000000
    ST0590441This is a text page for displaying PDF in a
    MT0168902396
    ST0547238new window
    MT0168902636
    ST0460832called from within a WD application
    MT0168902876
    ST0144010Application
    EP
    The text is correct, but it is not displayed as PDF in new window, and of course I'm not interested in all the formatting codes in front of every line??
    I should be possible to display a pdf in a new browser window without having installed everything needed for Adobe Interactive forms, or isn't it??
    Kind regards,
    Micky.

    Hi Micky.
    If you have the spool number of the printed billing document you can use
    component WDK_SPOOL_TO_PDF in order to display spool as PDF.
    Just transfer spool number and format to default inbound start up plug.
    Cheers,
    Sascha

  • How can I display pdf file details on 64-bit Windows 7 detail view?

    I'd like to display some pdf file details in order to classify them by author, title, subject... This option was simply possible for pdf file on windows xp (just by selecting the desired details on detail view when exploring folders) but it seems to be impossible for windows 7 (It's possible for other file like *.jpg, mp3...). Is there a program or a plugin to solve this problem? Thank you very much.

    It would appear, very annoyingly, that Acrobat is still lagging in the x64 department! It will, at the moment, only run as an x86 sub.....

  • How to display pdf file with java code?

    Hi All,
    i have a jsp pagein that page if i click one icon then my backing bean method will call and that method will create pdf document and write some the content in that file and now i want to display that generated pdf document.
    it should look like you have pressed one icon and it displayed pdf file to you to view.
    java code below:
    FacesContext fc = FacesContext.getCurrentInstance();
    ExternalContext ec = fc.getExternalContext();
    HttpServletResponse resp = (HttpServletResponse) ec.getResponse();
    resp.setHeader("Content-Disposition", "filename=\"" + temppdfFile);
    resp.encodeRedirectURL(temppdfFile.getAbsolutePath());
    resp.setContentType("application/pdf");
    ServletOutputStream out = resp.getOutputStream();
    ServletUtils.returnFile(temppdfFile, out);
    out.flush();
    and above temppdfFile is my generated pdf file.
    when i am executing this code, it was opening dialog box for save and cancel for the file, but the name of the file it was showing me the "jsp file name" with no file extention (in wich jsp file i am calling my backing bean method) and type is "Unknown File type" and from is "local host"
    it was not showing me open option so i am saving that file then that file saved as a pdffile with tha name of my jsp file and there is nothing in that file(i.e. empty file).
    what is the solution for this. there is any wrong in my code.
    Please suggest me.
    Thanks in advance
    Indira

    public Object buildBarCodes() throws Exception
    File bulkBarcodes = null;
    String tempPDFFile = this.makeTempDir();
    File tempDir = new File("BulkPDF_Files_Print");
    if(!tempDir.exists())
    tempDir.mkdir();
    bulkBarcodes = File.createTempFile
    (tempPDFFile, ".pdf", tempDir);
    //bulkBarcodes = new File(tempDir, tempPDFFile+"BulkBarcode"+"."+"pdf");
    if(!bulkBarcodes.exists())
    bulkBarcodes.createNewFile();
    Document document = new Document();
    FileOutputStream combinedOutput = new FileOutputStream(bulkBarcodes);
    PdfWriter.getInstance(document, combinedOutput);
    document.open();
    document.add(new Paragraph("\n"));
    document.add(new Paragraph("\n"));
    Image image = Image.getInstance(bc.generateBarcodeBytes(bc.getBarcode()));
    document.add(image);
    combinedOutput.flush();
    document.close();
    combinedOutput.close();
    FacesContext facesc = FacesContext.getCurrentInstance();
    ExternalContext ec = facesc.getExternalContext();
    HttpServletResponse resp = (HttpServletResponse) ec.getResponse();
    resp.setHeader("Content-Disposition", "inline: BulkBarcodes.pdf");
    resp.encodeRedirectURL(bulkBarcodes.getAbsolutePath());
    resp.setContentType("application/pdf");
    resp.setBufferSize(10000000);
    ServletOutputStream out = resp.getOutputStream();
    ServletUtils.returnFile(bulkBarcodes, out);
    out.flush();
    return "success";
    This is my action method which will call when ever i press a button in my jsp page.
    This method will create the barcode for the given barcode number and write that barcode image in pdf file
    (i saw that pdf file which i have created through my above method, This PDF file opening when i was opening manually and the data init that is also correct means successfully it writes the mage of that barcode)
    This method taking the jsp file to open because as earlier i said it was trying to open unknown file type document and i saved that file and opended with editplus and that was the jsp file in which file i am calling my action method I mean to say it was not taking the pdf file which i have created above it was taking the jsp file

  • Display PDF document in Flex Windows application

    Hi,
    I am creating a flex windows application using action script and mxml script.I need help in displaying a PDF document in that windows application.I tried google search it is giving me some open source projects with IFrames.But,they can be only used for browser applications(web).So,anyone please suggest me how could i accomplish this task with winows application.
    Thanks,
    adi2010

    Hi Everyone,
    I got the solution for my issue.We need to use HTMLLoader to load the PDF documents in Windows aplication for Flex.

  • I have Adobe Reader X. I can open a pdf on my Windows PC but the contents will not display.

    I have Adobe Reader X.  I can open a pdf on my Windows PC but the contents of the file will not display.

    Download and run the Adobe Cleaner to completely remove Reader
    Download and run the Offline Installer to reinstall

  • Displaying pdf in browser when using Windows 7 Beta & AR 9

    Early indications are that "Adobe Air" and/or "Acrobat.com" are breaking the display in browser function in Windows 7 Beta when using Adobe Reader 9.
    On a fresh install of Windows 7 Beta, I installed Adobe Reader 9, and as everyone is finding out, you cannot display a pdf in a browser window. Doesn't matter which browser either. IE8, Opera 10a, Mozilla SeaMonkey 1.1.14 had the same result for me. The only workable option was to have the pdf open in a separate window of Adobe Reader itself. Oddly though, on rare occasions I could get a pdf to display in a browser window, but 95% of the time it would not work.
    On another fresh install of Windows 7 Beta, I installed Adobe Reader 9. After installation I opened Adobe Reader and accepted the license agreement, then closed Adobe Reader. Next I uninstalled "Acrobat.com", then uninstalled "Adobe Air" using Programs and Features in Control Panel. So far, I have not had any problem downloading and viewing pdf's in a browser window. Tested with IE8 and Opera 10a. Note that I did not run compatibility mode on Adobe Reader.

    Hi,
    I (April) apologize I have been OOO and have not been able to respond to your replies.  
    Let’s start over. 
    We have an issue where help topics do not display when selected in the TOC or when a link to the topic is clicked within another internal topic. It is in a continous loop in the browser (flickering like it is trying to load). If you right-click on the topic it displays (we are currently using this as the work-around).
    We use Windows 7, IE9 and RH10 for all our projects. (Recently upgraded from RH8 to RH10)
    Turns out the problem is not isolated. I have run across it in at least one other project, which leads me to think it also occurs in others.
    "Does this only occur when the help is called from your software? Is it OK if you double click the start page?"
              No. I it ALSO occurs when launched from the start page. 
    Have you tried deleting the CPD file and reopening Rh and the project?
              Yes, without success.
    Are you using any redirects?    
              Per (Adrienne), “I am not using any redirects. I encounter this issue only in IE. If I paste the .htm into a Firefox browser, the help displays as it should.” 
              I will add that the project also displays incorrectly in Google Chrome.
    Thanks  April

  • Display PDF in read only mode in a Java Dynpro Application

    hi,
    A PDF Document is being generated by ABAP FM and I want to display that PDF document in a seperate browser in the a Java Dynpro Application.
    how to go about it ?
    regards
    seventyros

    Hi,
    There is another solution but it is at client side only.
    Open Adobe Reader -> goto Menu 'Edit'-> 'preferences'->'Internet'-> Uncheck 'Display PDF in browser' then press 'OK'.
    Thanks
    Gautam Singh

Maybe you are looking for

  • LSO PORTAL - SCREEN OUTPUT WITHOUT CONNECTION TO USER

    Hi All, When I try to book a participant for a course in Learning Solutions Portal, my event/business object gets triggered and i get a SWEL entry, but the RFC status in SWEL gives error saying Screen output without connection to user because of whic

  • Send photos to Apple TV from Aperture?

    In my iPhone Photos library it's east to make one picture appear instantly on my Apple TV - I just tap the rectangle-with-an-arrow-pointing-into-it and select my "Apple TV" instead of "iPhone".  Can I do the same in Aperture?  I can't figure out how.

  • Different Idocs Names.

    Hi, Would any one give me the relevant Idocs for the following 1. Purchase Order 2. Invoice 3. Customer Master 4. Product Master 5. Vendor Master 6. Payments 7. Order Confirmation 8. Order Cancellation 9. Order Acknowledgement. 10. Create Order 11. W

  • Can we render EP on mobile devices?

    We are planning to build a Mobile Portal (EP6) for hand-held devices. Can the Enterprise Portal be configured to be viewable on mobile devices? Currently it displays a message that 'iView is not compatible'. Are there some specific documents that can

  • Entries in permissions cache

    Hi, I am working with Weblogic server 6.1 sp1. The permissions cache size is set to 10007. I want to find out the number of entries in the permissions cache. How do I get the number of entries in permissions cache at any give time?