]> source.dussan.org Git - xmlgraphics-fop.git/commit
Alternative set of rules for text indent calculation (start-indent and end-indent...
authorJeremias Maerki <jeremias@apache.org>
Wed, 7 Dec 2005 15:15:38 +0000 (15:15 +0000)
committerJeremias Maerki <jeremias@apache.org>
Wed, 7 Dec 2005 15:15:38 +0000 (15:15 +0000)
commit973d676bae6d1253f8675b216704752f5897e2fa
treee4a7d895f45fc91d51ad39344a59a78379a9554e
parent60cf5396d817f66e1da6ab8ad1b589457be8c41c
Alternative set of rules for text indent calculation (start-indent and end-indent) which tries to mimic many commercial FO implementation that have chosen to break the specification in this aspect. I think I have found the behaviour for most cases. But I'm operating in reverse-engineering mode here and not all FO implementations behave in the same way!
This is an optional feature that has to be explicitely enabled through the user agent. Otherwise, FOP will behave like before.
In the FO tree tests a processing instruction is used to enable the feature/bug ;-) in the user agent so I can test both cases.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@354763 13f79535-47bb-0310-9956-ffa450edef68
src/documentation/content/xdocs/trunk/configuration.xml
src/documentation/content/xdocs/trunk/embedding.xml
src/java/org/apache/fop/apps/FOUserAgent.java
src/java/org/apache/fop/fo/properties/IndentPropertyMaker.java
test/fotree/testcases/indent-inheritance1.fo [new file with mode: 0644]
test/fotree/testcases/indent-inheritance2.fo [new file with mode: 0644]
test/fotree/testcases/indent-inheritance2a.fo [new file with mode: 0644]
test/java/org/apache/fop/fotreetest/FOTreeTester.java