« Return to Thread: Customizing header alignment with image

Re: Customizing header alignment with image

by Vincent Hennebert-3 :: Rate this Message:

Reply to Author | View in Thread

Hi,

Sorry for the delay...

Mauritz Jeanson wrote:

>> -----Original Message-----
>> From: spr
>>
>> This didn;t work either:
>>   <xsl:attribute-set
>>     name    = "header.table.properties">
>>     <xsl:attribute
>>       name  = "table-layout">fixed</xsl:attribute>
>>     <xsl:attribute
>>       name  = "width">100%</xsl:attribute>
>>     <xsl:attribute
>>       name  = "background-color">yellow</xsl:attribute>
>>     <xsl:attribute
>>       name  = "alignment-adjust">alphabetic</xsl:attribute>
>>     <xsl:attribute
>>       name  = "display-align">after</xsl:attribute>
>>   </xsl:attribute-set>
>
>
> When working with FOP, the compliance page is handy:
> http://xmlgraphics.apache.org/fop/compliance.html.
>
> According to that page, display-align is only partially implemented, which
> may explain why it did not work as you expected.

This is not a FOP issue here. The display-align setting on the header
table is overriden by display-align="before" set on the table-cells.
This is hardcoded in the header.table template in pagesetup.xsl.

Copy/paste this template in your customization layer, remove the
display-align setting for each table-cell in it, and then that should
work. Maybe DocBook customization wizards will have better
recommendations.

HTH,
Vincent

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@...
For additional commands, e-mail: docbook-apps-help@...

 « Return to Thread: Customizing header alignment with image