AH Formatter / XSL Formatter
Q&A



XSLT/XSL-FO/MathML Technics

Margin / Indent

Top
Basic, General
About AH Formatter
About XSL Formatter
Operation
Programming
XSLT/XSL-FO/SVG/MathML Conformance
XSLT/XSL-FO/MathML Technics
Index
Q.  I specified start-indent="0pt" to a child element of fo:block-container, and fo:block-container is a child element of fo:list-item-body. [No.2003081503]
A. 

Sample FO:

<fo:list-item>
  <fo:list-item-label text-align="end" end-indent="label-end()">
    <fo:block>1.</fo:block>
  </fo:list-item-label>
  <fo:list-item-body start-indent="body-start()">
    <fo:block-container>
      <fo:table start-indent="0pt">
        <fo:table-body>
          <fo:table-row>
            <fo:table-cell>
              <fo:block>fo:table start-indent="0pt"</fo:block>
            </fo:table-cell>
          </fo:table-row>
        </fo:table-body>
      </fo:table>
    </fo:block-container>
  </fo:list-item-body>
</fo:list-item>

In this case, start-indent of fo:list-item-body is inherited to fo:block-container. And, the reference area of block-container is generated. In this reference area, start-indent specified for fo:table is effective. Therefore, the indent inherited to the reference area remains.

When start-indent="0pt" is specified for fo:block-container, the indent of the reference area is reset.


Copyright © 1999-2011 Antenna House, Inc. All rights reserved.
Antenna House is a trademark of Antenna House, Inc.