On Mon, Apr 29, 2013 at 6:16 AM, Chris Bowditch <[email protected]>wrote:
> Hi Glenn, Alexios, > > One of the key requirements when we implemented IF XML, was the ability to > make modifications. Thanks to Alex for provide a list of business reasons > why that is necessary. I agree with those use cases. Some of the others are > adding barcodes, OMR marks, large file page numbering. > > We want to see this original requirement for IF XML maintained. > I can see a number of possible scenarios here, where I by "original" I mean inclusion of original text in IF, and by "mapped" I mean inclusion of mapped text in IF, i.e., result of char/glyph substitution/positioning process: *-Original, +Mapped (all)* Current implementation. If mapped != original for some text, then won't fully support accessibility or copy/find (of original). Also, have to deal with use of PUA mappings. *+Original, +Mapped (all)* * * This would resolve the accessibility/copy/find issues, and support selective re-mapping during IF rendering. However, the IF files will be significantly larger, and the presence of mapped text will be unused in cases where it is re-mapped. On the other hand, this option increases the performance of IF rendering for cases where some or most text will not be re-mapped. *+Original, +Mapped (partial)* A subset of the prior scenario, where mapped text is either selectively included or excluded from the resulting IF. Given additional configuration options or extension properties (fox:), the FO->IF process could select which mapped text to include/exclude. *+Original, -Mapped* No mapped text is included in IF, thus requiring full re-mapping during IF rendering. *Possible Configuration Support* * * Following are some ideas about additional configuration or FO extension properties to support the above scenarios: *Globally Exclude All Mapped Text (fop.xconf)* <exclude-mapped-text-from-intermediate-format/> *Globally Exclude All Original Text (fop.xconf)* <exclude-original-text-from-intermediate-format/> *Selectively Exclude Mapped Text (fox attribute)* fox:exclude-mapped-text-from-intermediate-format='true'|'false' *Selectively Exclude Original Text (fox attribute)* fox:exclude-original-text-from-intermediate-format='true'|'false' *Selectively Mark Modification of IF Text for Re-Mapping (IF attribute)* <text foi:remap .../> *Possible Optimizations* * * If both original text and mapped text are output for a given IF text, then if they are identical, only one need be present.
