xsl-list
[Top] [All Lists]

[xsl] RE: FO: border on region-body versus region-after and region-before not touching

2013-11-12 12:46:19
Solution found:

Created:
<xsl:attribute-set name="as_FixBodyBorderIssue">
   <xsl:attribute name="margin-right"><xsl:value-of select="'-0.25pt'" 
/></xsl:attribute>
   <xsl:attribute name="margin-left"><xsl:value-of select="'-0.25pt'" 
/></xsl:attribute>
</xsl:attribute-set>

Removed border around footer and header then wrapped them in table with a 
border on fo:table. Finally added above attribute-set to fo:region-body. All 
borders align correctly now.

Not a nice work around but it works.

Mario


-----Original Message-----
From: Mario Madunic [mailto:mario(_dot_)madunic(_at_)aeroinfo(_dot_)com] 
Sent: Tuesday, November 12, 2013 7:29 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] FO: border on region-body versus region-after and region-before 
not touching

Using AH6.

I've added borders to the body, header, and footer of a page and am having an 
issue. The border on the body seems to sit on the outside of the body area, 
while the footer and header seem to sit on the inside causing a misalignment 
where they meet. This is making the body appear to be wider than both the 
footer and header. I removed the borders and gave each area a different 
background color and each area is the same width. Also removed all content but 
a single paragraph from the body (in FO XML) to see whether or not it was the 
content doing this; not the cause as far as I can see.

Any insight would be appreciated.

Thanks

Mario Madunic | Software Developer | AeroInfo Systems, A Boeing Company | 
mario(_dot_)madunic(_at_)aeroinfo(_dot_)com | #200-13575 Commerce Parkway | 
Richmond, BC, V6V 2L1, Canada | www.aeroinfo.com | www.boeing.com


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


<Prev in Thread] Current Thread [Next in Thread>