You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2002/10/29 19:35:08 UTC
DO NOT REPLY [Bug 14057] New: -
[PATCH] implement "text-transform"
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14057>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14057
[PATCH] implement "text-transform"
Summary: [PATCH] implement "text-transform"
Product: Fop
Version: 0.20.4
Platform: All
OS/Version: All
Status: NEW
Severity: Enhancement
Priority: Other
Component: general
AssignedTo: fop-dev@xml.apache.org
ReportedBy: vic@outfitr.com
This patch implements the text-transform property. It correctly handles every
English-language nuance that I have been able to think of. It adds fields to
each FOText object that point to previous & next FOText objects within the same
Block, so that the text in related FOText objects can be considered for needed
context. It then transforms the text as part of the FOText Constructor. Some of
the fields and methods added may be useful for other parts of FOP as well. This
code assumes that words do not span multiple blocks.
Caveat: I cannot think of any, but if there are cases (now or in the future)
where FOText objects do not have ancestor Block objects, text-transform will
not be able to consider other FOText objects for context. This can be fixed by
storing the Block-like ancestor instead.
Caveat: The definition of "word" for purposes of this property is ambiguous. It
may need to be tweaked over time, especially for scripts other than Latin. I
have tried to build an infrastructure that will allow such modifications to be
pretty easily implemented.
Victor Mote (vic@outfitr.com)
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org