Hi,

I have got two remarks / questions concerning the above mentioned methods

1)
Although the CollectGarbage and RenumberObjects are public methods there does 
not seem to be a public method of derived classes returning a non-const trailer 
pointer. Therefore, is it the intention to cast - as an example - 
PdfMemoryDocument to PdfDocument to use them?

2)
CollectGarbage and RenumberObjects seem to be unusable also because they are 
not modifying the content of the trailer pointer (although the pointee of the 
trailer is modifyable). But a modification is required as RenumberObjects 
invalidates the references of objects in the trailer (the references will be 
renumbered but the trailer still contains the old numbers).
Because of the fact that CollectGarbage calls internally RenumberObjects also 
calling CollectGarbage will lead to wrong/defect trailer information.

I think that CollectGarbage and RenumberObjects are unusable / buggy?!

Hartwig



------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to