How to open PDF in Acrobat 9 without displaying the Acrobat window

Ask a Question related to Adobe Acrobat SDK, Design and Development.

  1. #1

    Default How to open PDF in Acrobat 9 without displaying the Acrobat window

    Am using IAC in Windows XP via VC++ to open and modify PDFs in memory without displaying the Acrobat window so as to the PDF Processing in the background. To open the PDF, have to call the method PDDoc.OpenAVDoc which opens the Acrobat window for displaying the document.

    As a workaround, I tried to minimize and hide the Acrobat viewer, using the AcroApp.Minimize and AcroApp.Hide methods. However opening, minimizing and hiding the viewer is creating a flickering effect (Acrobat window coming and going) especially when a no of PDFs have to be processed in a loop.

    If I use only PDDoc.Open without the call to OpenAVDoc, am getting an error "No form is open in the Acrobat viewer".

    Can anyone suggest a workaround to open and process PDFs in memory without displaying the PDF.
    Atin Wadehra Guest

  2. Similar Questions and Discussions

    1. Cannot do Certifying signature inside an AICapp displaying Acrobat
      I have a Windows VB.Net application that displays a PDF file in an embedded Acrobat Control. The PDF has several signature fields with the top one...
    2. insert a frame or window into adobe acrobat or reader window
      Using Windows OS XP or Vista. Can you ad a frame or window into the main window to allow saving a document through another application? I have an...
    3. Parlez-vous Acrobat? Sprechen Zie Acrobat? Habla Acrobat?
      Diana Goddard, "Unsupported Language" #2, 11 Jul 2005 11:07 am </cgi-bin/webx?13@@.3bbb44a3/1>
    4. Acrobat 6 std: displaying a4 size PS
      Does anyone know how to set default size to a4? Acrobat just cuts-off the top of the page. I've tried a number of setup option combinations but not...
    5. Acrobat 6 (Macfile) create problem when open in Acrobat 5 Windows
      I create a PDF in MAC with some links in Acrobat 6 me proffesional & i burn a cd of that with the linked files. When i open that Pdf in Acrobat 5...
  3. #2

    Default Re: How to open PDF in Acrobat 9 withoutdisplaying the Acrobat window



    To open the PDF, have to call the method PDDoc.OpenAVDoc




    Only if the methods you're using are only available to AVDocs. If the methods you're using are PDDoc methods, Acrobat doesn't need to be visible.

    If I use only PDDoc.Open without the call to OpenAVDoc, am getting an
    error "No form is open in the Acrobat viewer".




    What method is giving you this error? If it is part of the AVDoc class, then yes, it needs to be open in the viewer.

    Can anyone suggest a workaround to open and process PDFs in memory without
    displaying the PDF.




    Design your program workflow to only use PD layer methods. If you use AV layer methods, the Acrobat viewer needs to open the document.
    PDL@adobeforums.com Guest

  4. #3

    Default Re: How to open PDF in Acrobat 9 withoutdisplaying the Acrobat window

    PDL,

    Am getting the Error "No form is open in the Acrobat viewer" while trying to instantiate fields list inside the form via an AcroForms object. The problematic code snippet is given below

    iPDDoc->Open("PDFFileName")

    iAVDoc->AttachDispatch(PDDoc->OpenAVDoc("PDFFileName")), true);

    ipFormApp->CreateDispatch("AFormAut.App", &OleExc) pFields = new IFields(pFormApp->GetFields());

    The GetFields method is giving error in Acrobat 9 but its working fine in Acrobat 7 and 8.

    Since the AV layer methods are working fine in Acrobat 7 and 8, please let me know why they are not working in Acrobat 9 and if there is any workaround.

    Also, if I use only PD Layer methods, can I access the form fields inside the PDF?
    Atin Wadehra Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139