On Jan 18, 2005, at 12:26 PM, Luke Shannon wrote:
Hello;

I have looked around for examples of this but have not found anything.

Is there a way to define all the attributes (font-family, start-indent, etc)
for fo:block used in the document?


Thanks,

Luke

You mean like this?

:-p

<xsl:attribute-set name="attributes_GLOBAL">
<!-- background-color for overall EOR page - default:#ffffff (white) -->
<xsl:attribute name="background-color">#ffffff</xsl:attribute>
<!-- color for text - default:#000000 (black) -->
<xsl:attribute name="color">#000000</xsl:attribute>
<!-- font-family for text - default:"courier new, courier, monospace" -->
<xsl:attribute name="font-family">courier new, courier, monospace</xsl:attribute>
<!-- NOTE: Changes to font-family affects FOP rendering of EOR and may require overhaul of template! -->
<!-- font-size for text - default:8pt - -->
<xsl:attribute name="font-size">8pt</xsl:attribute>
<!-- NOTE: Changes to font-size DRASTICALLY affects FOP rendering of EOR and may require COMPLETE overhaul of template! -->
</xsl:attribute-set>


<fo:page-sequence master-reference="repeating" force-page-count="no-force">
<fo:static-content flow-name="xsl-region-before">
<fo:block padding="0pt" xsl:use-attribute-sets="attributes_GLOBAL">
<xsl:call-template name="tmpHeader"/>
</fo:block>
</fo:static-content>
<fo:static-content flow-name="xsl-region-after">
<fo:block xsl:use-attribute-sets="attributes_GLOBAL">
<xsl:call-template name="tmpFooter"/>
</fo:block>
</fo:static-content>
<fo:flow flow-name="xsl-region-body">
<fo:block xsl:use-attribute-sets="attributes_GLOBAL">
<xsl:call-template name="tmpBody"/>
<fo:block padding="0pt" font-size="1pt">
<fo:marker marker-class-name="table-continued"/>
</fo:block>
</fo:block>
</fo:flow>
</fo:page-sequence>


Web Maestro Clay
--
<[EMAIL PROTECTED]> - <http://homepage.mac.com/webmaestro/>
My religion is simple. My religion is kindness.
- HH The 14th Dalai Lama of Tibet


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



Reply via email to