https://issues.apache.org/bugzilla/show_bug.cgi?id=50852
Vincent Hennebert <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #26716|0 |1 is obsolete| | --- Comment #38 from Vincent Hennebert <[email protected]> --- Comment on attachment 26716 --> https://issues.apache.org/bugzilla/attachment.cgi?id=26716 Patch 16/20 This patch does no longer apply after the modifications brought to the accessibility code. Feel free to submit an updated patch, although the matter has been made slightly more complicated by the presence of placeholder structure elements. Also, it would be good to improve encapsulation, immutability and robustness by avoiding some of the tests (instanceof PDFDictionary, type equal to "/MCR"). Maybe a method like addMarkedContentKid on PDFStructElem would do. That would also avoid creating an instance of PDFDictionary, only to discard it later on because the reference to the kid can be simplified. This simplification has been made less critical by the implementation of object streams, that allow to achieve a much more significant reduction of the file size. It may be of interest in cases where for some reason the user has to stick to PDF 1.4. But I'm not sure how common such a use case is. Thanks, Vincent -- You are receiving this mail because: You are the assignee for the bug.
