DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42049>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42049





------- Additional Comments From [EMAIL PROTECTED]  2007-09-06 00:22 -------
(In reply to comment #11)

Thanks for your reply, Andreas! I can see that the example generated by fop 0.94
is correct when it comes to inheriting start-indent.

The concern I had was with the second table of the example. The code looks like
this:

      <fo:block space-before="10pt" font-style="italic">start-indent specified
on outer block, table inside (start-indent reset on fo:table)</fo:block>
      <fo:block background-color="#FFFFCC">unindented block</fo:block>
      <fo:block background-color="yellow" start-indent="10pt">fo:block
        <fo:table table-layout="fixed" start-indent="0pt">
          <fo:table-column number-columns-repeated="2"/>
          <fo:table-body>
            <fo:table-row>
              <fo:table-cell>
                <fo:block background-color="orange">cell 1</fo:block>
              </fo:table-cell>
              <fo:table-cell>
                <fo:block background-color="red">cell 2</fo:block>
              </fo:table-cell>
            </fo:table-row>
          </fo:table-body>
        </fo:table>
      </fo:block>

and the result is like this:

unindented block
  fo:block
cell 1 cell 2

I expected the result to be like this:

unindented block
  fo:block
  cell 1 cell 2

I now realize that it may have to do with "viewport/reference pair" (as
mentioned in the Wiki, referenced to 6.5.3 of the spec.). What I like to do is
to achieve my expect result above. I have now learned this can be accomplished
with the following construction:

<fo:block>unindented block</fo:block>
<fo:block-container margin-left="10mm">
  <fo:table start-indent="0mm" table-layout="fixed">
    <fo:table-column number-columns-repeated="2"/>
    <fo:table-body>
      <fo:table-row>
        <fo:table-cell>
          <fo:block background-color="orange">cell 1</fo:block>
        </fo:table-cell>
        <fo:table-cell>
          <fo:block background-color="red">cell 2</fo:block>
        </fo:table-cell>
      </fo:table-row>
    </fo:table-body>
  </fo:table>
</fo:block-container>

I would be grateful if someone could verify that I got it right, so my style
sheet will still be working as expected with coming versions of fop :-)

Thank you!

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

Reply via email to