At 02:16 AM 11/12/01 GMT, [EMAIL PROTECTED] wrote:
>Thanks Christian.
>
>I'm still can't get the column spanned in my pdf file, the following is my
>xsl style sheet, anything wrong here?
>
>
>    <fo:simple-page-master master-name="oddpage"
>                           page-width="8.5in"
>                           page-height="11in"
>                           margin-top="0in"
>                           margin-bottom="0in"
>                           margin-left="1.0in"
>                           margin-right="1.0in">
>      <fo:region-body column-count="3" margin-bottom="1.2in" margin-top
>="0.8in"/>
>      <fo:region-before region-name="xsl-region-before-oddpage"
>                        extent="1.5in"/>
>      <fo:region-after region-name="xsl-region-after-oddpage"
>                       extent="1in"/>
>    </fo:simple-page-master>
>
>    <fo:simple-page-master master-name="evenpage"
>                           page-width="8.5in"
>                           page-height="11in"
>                           margin-top="0in"
>                           margin-bottom="0in"
>                           margin-left="1.0in"
>                           margin-right="1.0in">
>      <fo:region-body column-count="3" margin-bottom="1.2in" margin-top
>="0.8in"/>
>      <fo:region-before region-name="xsl-region-before-evenpage"
>                        extent="1.5in"/>
>      <fo:region-after region-name="xsl-region-after-evenpage"
>                       extent="1in"/>
>    </fo:simple-page-master>
>
>
><xsl:template match="//content/section/p/img">
> <fo:block space-after="6pt" number-columns-spanned="2">
>    <fo:external-graphic height="50mm" width="80mm" src="C:
>\Fop-0.20.1\MarUS\new_skills.gif"/>
> </fo:block>
></xsl:template>

XSL allows you to specify a multi-column region-body with N columns. You 
have specified 3. Your _only_ options are to have content laid-out into 3 
columns (span='none'), or one (span='all').

These are not tables. They are classic text columns, where content flows 
from one to the other. You probably want to use either a real table, or 
alternatively, use span='all', and align and size your graphic appropriately 
in that span-reference-area - after all, you know the dimensions ahead of 
time that correspond to what you are trying to do.

Regards,
AHS



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to