Thanks Leonard -- I am working on getting a test case from the source of 
the original document.

In the meantime, did you have a chance to take a look at the text at the 
end of sectoin 7.5.8.1 of
     http://www.adobe.com/devnet/acrobat/pdfs/PDF32000_2008.pdf?

>     The value following the startxref keyword shall be the offset of the 
> cross-reference stream rather than the xrefkeyword. For files that use 
> cross-reference streams entirely (that is, files that are not 
> hybrid-reference files; see 7.5.8.4, "Compatibility with Applications That Do 
> Not Support Compressed Reference Streams"), the keywords xref and trailer 
> shall no longer be used. Therefore, with the exception of the startxref 
> address %%EOFsegment and comments, a file may be entirely a sequence of 
> objects.

Does that imply that in some situations a PDF may be valid WITHOUT a 
trailer?  Or is that a red herring in this case?

Leonard Rosenthol wrote:
> I can’t explain why Acrobat isn’t adding the trailer w/o seeing the 
> original – sorry :(.
> 
> Leonard
> 
> 
> On 6/11/09 5:04 PM, "Paul Gatewood" <[email protected]> wrote:
> 
>     Hi Bruno,
> 
>     Sorry for the confusion -- yes, the problem still exists.
> 
>     Again, here is exactly what I did, using Adobe Acrobat 9 Pro, Version
>     9.1.1 on Windows XP.
> 
>     1) Start Acrobat
>     2) Open original file (without trailer)
>         (sorry I can not supply this -- it has confidential information
>         from a 3rd party)
>     3) Choose TouchUp Object tool (this PDF only has 2 images)
>     4) Right click each of the 2 images, and choose "delete"
>     5) Choose File -> Save As
>     6) Enter "leonard.pdf" for the file name (Save as type: Adobe PDF File)\
>     7) Exit
> 
>     The file I just produced is attached.   It was produced using exactly
>     the steps described above.  There was no binary editor involved -- it
>     was exclusively Acrobat, and has no trailer.
> 
>     I do not know what was used to produce the original file (the one which
>     I am not able to supply here, due to confidential/proprietary content).
> 
>     I am inquiring here (where I work) as to whether the producer of that
>     original file might be able to produce a sample file using the same tool
>     to create the original, but with vanilla content, so that I/we may use
>     it for troubleshooting/testing via this public forum, but I am not sure
>     when this will work out (there are a few layers of government people
>     involved).
> 
>     I guess in the meantime, do I understand the following correctly?
>     a) the trailer is ALWAYS required, under ALL conditions
>     b) the text I quoted from the PDF specification I cited
>         doesn't have anything to do with this situation
> 
>     Also, does anyone know anything further regarding Acrobat 9 not adding a
>     trailer when using "Save As" (when the original document did not have a
>     trailer)?
> 
>     In the past, when such files (without trailer) were encountered, I could
>     1) have the suppliers notified that the file was not valid PDF, due
>         to the missing trailer, and
>     2) remedy the situation by opening it in Acrobat (don't recall whether
>         it was Acrobat 7 or 8)
> 
>     But since Acrobat 9 is not adding the missing trailer, I would like to
>     know more before I have the suppliers told that they are supplying an
>     invalid PDF.
> 
>     Thanks
>     -Paul
> 
>     Bruno Lowagie wrote:
>     >  Paul Gatewood wrote:
>     > > Please ignore the text
>     > >      "Yes, I produced the file as follows: "
>     > > after my name -- I had started to describe what I had done before I
>     > > decided to just do it again, step-by-step, to be sure.
>     >
>     >  I don't understand: is there still a problem?
>     >  Or did redoing everything step-by-step solve the problem?
>     >  br,
>     >  Bruno
>     >
>     >
>     
> ------------------------------------------------------------------------------
>     >  Crystal Reports - New Free Runtime and 30 Day Trial
>     >  Check out the new simplified licensing option that enables unlimited
>     >  royalty-free distribution of the report engine for externally facing
>     >  server and web deployment.
>     >  http://p.sf.net/sfu/businessobjects
>     >  _______________________________________________
>     >  iText-questions mailing list
>     >  [email protected]
>     >  https://lists.sourceforge.net/lists/listinfo/itext-questions
>     >
>     >  Buy the iText book: http://www.1t3xt.com/docs/book.php
>     >  Check the site with examples before you ask questions:
>     http://www.1t3xt.info/examples/
>     >  You can also search the keywords list:
>     http://1t3xt.info/tutorials/keywords/
>     >
> 
> 
> -- 
> Leonard Rosenthol
> PDF Standards Architect
> Adobe Systems Incorporated
> 
> 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing 
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 
> Buy the iText book: http://www.1t3xt.com/docs/book.php
> Check the site with examples before you ask questions: 
> http://www.1t3xt.info/examples/
> You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to