https://issues.apache.org/bugzilla/show_bug.cgi?id=50403

Pascal Sancho <pascal.san...@takoma.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |INVALID

--- Comment #4 from Pascal Sancho <pascal.san...@takoma.fr> 2010-12-03 11:23:36 
EST ---
As said in  REC XSL v1.1  ยง5.3.2, inheritance and computed values for *-indent
are for start-* and end-* sides (left/right in a lr-tb context).

Since fo:block doesn't provide a reference area, inheritance mechanism is
played.

A good practice to indent a table is:
 - use a fo:block-container (witch generates a reference area) to surround the
table
 - set start-indent or end-indent properties on this fo:b-c
 - set *-indent properties to 0 on fo:table (or what ever content) to enforce
the inherited *-indent to 0 (you can insert a fo:block for such thing between
fo:b-c and fo:table.

In addition, FOP provides the ability to break the REC-XSL inheritance
behaviour:
see the config option [break-indent-inheritance] at [1]


Note: for before-* and after-* properties, the strategy is quite different:
 - stacking areas is not the same problem.
 - see the .conditionality sub-property.


[1] http://xmlgraphics.apache.org/fop/1.0/configuration.html

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to