On 02/01/2013 08:56 PM, Rob Sargent wrote:

No sure why the width isn't set on the containing block, with a two column table for the data presented

Or a column definition for the entire page master if that's more appropriate.

You might be able to do this with just a list if you can set the label to be your first datum but the width will definitely have to come from the containing block.

<fo:list-item margin-left="{$bullet-offset}" keep-with-next="{$keeper}">
          <fo:list-item-label end-indent="label-end()">
<fo:block font-family="ITCStoneSerifCom-Medium" font-weight="normal" font-style="normal"> <xsl:value-of select="$bullet-char"/><!-- YOUR first-column-data HERE -->
            </fo:block>
          </fo:list-item-label>
<xsl:call-template name="bullet-text"/> <!-- YOUR IN_LINE HERE -->
        </fo:list-item>

    <xsl:template name="bullet-text">
        <fo:list-item-body start-indent="body-start()">
<fo:block line-stacking-strategy="font-height" > <!-- keep-together.within-column="always" -->
                <xsl:value-of select="text()"/>
            </fo:block>
        </fo:list-item-body>
    </xsl:template>

On 02/01/2013 08:06 PM, Manuel Mall wrote:
FOP 1.1 seems to ignore the width property for the <fo:inline>
element.

The width property doesn't apply to fo:inline elements it only applies
to block level elements that is formatting elements that essentially
generate a rectangular area. An <fo:inline> can begin in the middle of a
line and end a few lines further down in a completely different position
within that line. It is not rectangular in shape and from the
specification point of view it is not a block level element.

I know this doesn't help you solve your problem just trying to explain
why your current approach doesn't work.

Cheers

Manuel


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Reply via email to