Created attachment 16311 [details] [PATCH] Handling of padding attributes are supported Was: padding-related attributes were ignored. Became: When border is specified, all padding attributes are recognized. When border is not specified, padding added to space-* attributes.
Applied. Thanks! http://svn.apache.org/viewcvs?rev=278982&view=rev Thanks to you padding on before and after sides work well now. A quick test shows that the start|end sides don't quite work as expected. You might want to have a look at it. The following leads to strange results: <fo:block margin-left="2cm" border="solid 2pt" padding-start="2cm">Hello World!</fo:block>
(In reply to comment #2) > Applied. Thanks! > http://svn.apache.org/viewcvs?rev=278982&view=rev > Thanks to you padding on before and after sides work well now. A quick test > shows that the start|end sides don't quite work as expected. You might want to > have a look at it. The following leads to strange results: > <fo:block margin-left="2cm" border="solid 2pt" padding-start="2cm">Hello > World!</fo:block> Yes, it's quite strange. But now I can't resolved it, because if border specified, then padding should be in range [0..31] pt. I use MSWord as RTF- viewer. In above test padding was greater then 31 pt, so it was cutted.
Do you have a reference to a document that describes this restriction? I've looked through versions 1.7 and 1.8 of Microsoft's RTF specification but have found nothing. Maybe it's possible to warn the user that there will be unexpected behaviour when such a constellation is encountered.
(In reply to comment #4) > Do you have a reference to a document that describes this restriction? I've > looked through versions 1.7 and 1.8 of Microsoft's RTF specification but have > found nothing. Maybe it's possible to warn the user that there will be > unexpected behaviour when such a constellation is encountered. No, I havn't reference to a document. I think, it's RTF-viewer's restriction (here MSWord restriction), because OpenOffice.org 1.1 can display padding greater then 31pt.
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed