You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Jay Bryant <ja...@bryantcs.com> on 2006/11/02 01:57:57 UTC
Tables breaking borders in 0.92beta
Hi, all,
I'm using 0.92beta with DocBook's XSL stylesheets, and I'm getting tables
that consistently put content across the right-hand border.
I've attached an image that shows the problem, and here's the corresponding
table in FO:
<fo:table border-before-width.conditionality="retain"
border-collapse="collapse" border-left-style="solid"
border-right-style="solid" border-top-style="solid"
border-bottom-style="solid" border-left-width="0.5pt"
border-right-width="0.5pt" border-top-width="0.5pt"
border-bottom-width="0.5pt" border-left-color="black"
border-right-color="black" border-top-color="black"
border-bottom-color="black" table-layout="fixed" width="100%">
<fo:table-column column-number="1" column-width="1.075in"/>
<fo:table-column column-number="2" column-width="5.7347in"/>
<fo:table-body start-indent="0pt" end-indent="0pt">
<fo:table-row>
<fo:table-cell padding-left="2pt" padding-right="2pt"
padding-top="2pt" padding-bottom="2pt" border-bottom-width="0.5pt"
border-bottom-style="solid" border-bottom-color="black"
border-right-width="0.5pt" border-right-style="solid"
border-right-color="black">
<fo:block>
<fo:block space-before.optimum="1em" space-before.minimum="0.8em"
space-before.maximum="1.2em"><fo:inline
font-style="italic">Italics</fo:inline></fo:block>
</fo:block>
</fo:table-cell>
<fo:table-cell padding-left="2pt" padding-right="2pt"
padding-top="2pt" padding-bottom="2pt" border-bottom-width="0.5pt"
border-bottom-style="solid" border-bottom-color="black">
<fo:block>
<fo:block space-before.optimum="1em" space-before.minimum="0.8em"
space-before.maximum="1.2em">Italics represent placeholders in commands and
options for context-sensitive values like file names, device types and
names, numeric values, etc. Chapter and section names are italicized when
referenced in the text as well.</fo:block>
</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell padding-left="2pt" padding-right="2pt"
padding-top="2pt" padding-bottom="2pt" border-right-width="0.5pt"
border-right-style="solid" border-right-color="black">
<fo:block>
<fo:block space-before.optimum="1em" space-before.minimum="0.8em"
space-before.maximum="1.2em"><fo:inline
font-family="monospace">Courier</fo:inline></fo:block>
</fo:block>
</fo:table-cell>
<fo:table-cell padding-left="2pt" padding-right="2pt"
padding-top="2pt" padding-bottom="2pt">
<fo:block>
<fo:block space-before.optimum="1em" space-before.minimum="0.8em"
space-before.maximum="1.2em">Courier is used for literal commands and
options, and output from the computer.</fo:block>
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
Any ideas?
Thanks.
Jay Bryant
Bryant Communication Services
Re: Tables breaking borders in 0.92beta
Posted by Manuel Mall <ma...@apache.org>.
On Thursday 02 November 2006 08:57, Jay Bryant wrote:
> Hi, all,
>
Jay,
have you tried with border-collapse="separate" because fop doesn't
support collapsing borders.
Manuel
> I'm using 0.92beta with DocBook's XSL stylesheets, and I'm getting
> tables that consistently put content across the right-hand border.
>
> I've attached an image that shows the problem, and here's the
> corresponding table in FO:
>
> <fo:table border-before-width.conditionality="retain"
> border-collapse="collapse" border-left-style="solid"
> border-right-style="solid" border-top-style="solid"
> border-bottom-style="solid" border-left-width="0.5pt"
> border-right-width="0.5pt" border-top-width="0.5pt"
> border-bottom-width="0.5pt" border-left-color="black"
> border-right-color="black" border-top-color="black"
> border-bottom-color="black" table-layout="fixed" width="100%">
> <fo:table-column column-number="1" column-width="1.075in"/>
> <fo:table-column column-number="2" column-width="5.7347in"/>
> <fo:table-body start-indent="0pt" end-indent="0pt">
> <fo:table-row>
> <fo:table-cell padding-left="2pt" padding-right="2pt"
> padding-top="2pt" padding-bottom="2pt" border-bottom-width="0.5pt"
> border-bottom-style="solid" border-bottom-color="black"
> border-right-width="0.5pt" border-right-style="solid"
> border-right-color="black">
> <fo:block>
> <fo:block space-before.optimum="1em"
> space-before.minimum="0.8em" space-before.maximum="1.2em"><fo:inline
> font-style="italic">Italics</fo:inline></fo:block>
> </fo:block>
> </fo:table-cell>
> <fo:table-cell padding-left="2pt" padding-right="2pt"
> padding-top="2pt" padding-bottom="2pt" border-bottom-width="0.5pt"
> border-bottom-style="solid" border-bottom-color="black">
> <fo:block>
> <fo:block space-before.optimum="1em"
> space-before.minimum="0.8em" space-before.maximum="1.2em">Italics
> represent placeholders in commands and options for context-sensitive
> values like file names, device types and names, numeric values, etc.
> Chapter and section names are italicized when referenced in the text
> as well.</fo:block>
> </fo:block>
> </fo:table-cell>
> </fo:table-row>
> <fo:table-row>
> <fo:table-cell padding-left="2pt" padding-right="2pt"
> padding-top="2pt" padding-bottom="2pt" border-right-width="0.5pt"
> border-right-style="solid" border-right-color="black">
> <fo:block>
> <fo:block space-before.optimum="1em"
> space-before.minimum="0.8em" space-before.maximum="1.2em"><fo:inline
> font-family="monospace">Courier</fo:inline></fo:block>
> </fo:block>
> </fo:table-cell>
> <fo:table-cell padding-left="2pt" padding-right="2pt"
> padding-top="2pt" padding-bottom="2pt">
> <fo:block>
> <fo:block space-before.optimum="1em"
> space-before.minimum="0.8em" space-before.maximum="1.2em">Courier is
> used for literal commands and options, and output from the
> computer.</fo:block>
> </fo:block>
> </fo:table-cell>
> </fo:table-row>
> </fo:table-body>
> </fo:table>
>
> Any ideas?
>
> Thanks.
>
> Jay Bryant
> Bryant Communication Services
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org