Handling Object Stream / Cross Ref stream in PDF 1.4

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

  1. #1

    Default Handling Object Stream / Cross Ref stream in PDF 1.4

    Hi,

    My PDF Application handles only PDF spec 1.4 and when my Application process a PDF file generated with Acrobat ~ PDF 1.6, I see some
    Cross Reference Stream object Xrefstm.

    I did go through PDF Spec 1.6, but I am not able to code the same in my
    application.

    When a PDF Acrobat 8 file is processed by my Application, an output file
    generated, but unable to open it.

    It shows the follwing err - expected dict object and I found that object having
    Catalog Type, does not have a Pages Object entry.

    Is this (Missing Dictionary object - Pages )due to my code not handling xrefstm?
    ---------------------------------------------------------------------------------------
    Aandi Inston - 9:15am Aug 3, 08 PST (#1 of 2)

    Sounds likely to be the cause. You should detect and reject this case.

    Aandi Inston

    ----------------------------------------------------------------------------------------------------------------
    Hi Andi,

    In 1.6 generated Acrobat file - my input file, the after reading /Prev
    entry, traverses to starting of the file to beginning of the cross
    reference section or table (as per the PDF 1.6 Spec this is how /Prev
    works)

    In my application, it is going / reading the object second object (it
    also contains XRef, not handled in my code), the first object after
    the header information is not at all read.

    The object at the beginning contains type -- ObjStm ( this is not
    handled in my code),

    My Application reads the input file (PDF 1.4) from first object - here
    I dont have any /Prev entry.

    Not sure how to handle the XrefStm,- can you please guide me how to
    reject this case (XrefStm)

    Any guidance..
    quriocity@adobeforums.com Guest

  2. Similar Questions and Discussions

    1. can stream LIVE, but can't stream FLV -=
      Hi there. Pulling out my hair...and i'm bald enough already! I built a FLA that streams live from the FME - works great. Cannot for the life...
    2. Cross Site stream???
      hi, im building a webcam app i have 2 websites: site1.com & site2.com publishing and playing from site1 to site1 is ok publishing and playing...
    3. Delete stream object
      If I use netStream.close command I stop the stream but I don't delete the object that remain in server with the number ID of client and the status...
    4. ADO Stream object
      I'm trying to execute the piece of code below: Const adTypeBinary = 1 Dim BinaryStream Set BinaryStream = CreateObject("ADODB.Stream") ...
    5. heads-up on cross-platform text handling
      A little idiosyncrasy I just discovered regarding how different platforms handle fonts in an swf: It seems that even if you embed your fonts,...
  3. #2

    Default Re: Handling Object Stream / Cross Ref stream in PDF 1.4

    i would listen to Aandi and others in the original PDF specification
    forum ...

    Jon


    [email]quriocity@adobeforums.com[/email] wrote:
    > Hi,
    >
    > My PDF Application handles only PDF spec 1.4 and when my Application process a PDF file generated with Acrobat ~ PDF 1.6, I see some
    > Cross Reference Stream object Xrefstm.
    >
    > I did go through PDF Spec 1.6, but I am not able to code the same in my
    > application.
    >
    > When a PDF Acrobat 8 file is processed by my Application, an output file
    > generated, but unable to open it.
    >
    > It shows the follwing err - expected dict object and I found that object having
    > Catalog Type, does not have a Pages Object entry.
    >
    > Is this (Missing Dictionary object - Pages )due to my code not handling xrefstm?
    > ---------------------------------------------------------------------------------------
    > Aandi Inston - 9:15am Aug 3, 08 PST (#1 of 2)
    >
    > Sounds likely to be the cause. You should detect and reject this case.
    >
    > Aandi Inston
    >
    > ----------------------------------------------------------------------------------------------------------------
    > Hi Andi,
    >
    > In 1.6 generated Acrobat file - my input file, the after reading /Prev
    > entry, traverses to starting of the file to beginning of the cross
    > reference section or table (as per the PDF 1.6 Spec this is how /Prev
    > works)
    >
    > In my application, it is going / reading the object second object (it
    > also contains XRef, not handled in my code), the first object after
    > the header information is not at all read.
    >
    > The object at the beginning contains type -- ObjStm ( this is not
    > handled in my code),
    >
    > My Application reads the input file (PDF 1.4) from first object - here
    > I dont have any /Prev entry.
    >
    > Not sure how to handle the XrefStm,- can you please guide me how to
    > reject this case (XrefStm)
    >
    > Any guidance..
    Jon Bessant 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