Hope this helps!
On 5/19/2003 11:45 AM, Jeremy Nix wrote:
I want to know if it is possible to define a set of fonts...i.e.:
<fo:font size=... weight=... famil=...>
...
and then assign id's to them and reference them in <fo:block font="REFERENCE"> tags throughout an xsl document?
<!-- ATTRIBUTES and VARIABLES SECTION - begin -->
<xsl:attribute-set name="attNormal">
<!-- attNormal | attribute set: font-family,font-size,color & background-color) of entire EOR -->
<xsl:attribute name="background-color">#ffffff</xsl:attribute>
<!-- background-color for overall EOR page - default:#ffffff (white) -->
<xsl:attribute name="color">#000000</xsl:attribute>
<!-- color for text - default:#000000 (black) -->
<xsl:attribute name="font-family">courier new, courier, monospace</xsl:attribute>
<!-- font-family for text - default:"courier new,courier,monospace" -->
<!-- NOTE: Changes to font-family affects FOP rendering of EOR and may require overhaul of template! -->
<xsl:attribute name="font-size">8pt</xsl:attribute>
<!-- font-size for text - default:8pt - -->
<!-- NOTE: Changes to font-size DRASTICALLY affects FOP rendering of EOR and may require COMPLETE overhaul of template! -->
</xsl:attribute-set>
<xsl:variable name="varNormalBGColor">#ffffff</xsl:variable>
<!-- varNormalBGColor | background-color for EOR - default:#ffffff (white) -->
<xsl:variable name="varHeadingBGColor">#dddddd</xsl:variable>
<!-- varHeadingBGColor | background-color for "headings" (e.g., Reduction Explanation) - default:#dddddd (light gray) -->
<xsl:variable name="varAccentBGColor">#ccffff</xsl:variable>
<!-- varAccentBGColor | background-color for highlights (e.g., alternating ICD9/Bill Detail lines.) - default:#ccffff (teal) -->
<xsl:variable name="varHeadingFontSize">9pt</xsl:variable>
<!-- ATTRIBUTES and VARIABLES SECTION - end -->
=====
<!-- DEFINE PAGE SEQUENCE - repeating -->
<fo:page-sequence master-reference="repeating">
<fo:static-content flow-name="xsl-region-before">
<fo:block padding="0pt" xsl:use-attribute-sets="attNormal">
<xsl:call-template name="tmpHeader"/>
</fo:block>
</fo:static-content>
<fo:static-content flow-name="xsl-region-after">
<fo:block xsl:use-attribute-sets="attNormal">
<xsl:call-template name="tmpFooter"/>
</fo:block>
</fo:static-content>
<fo:flow flow-name="xsl-region-body">
<fo:block xsl:use-attribute-sets="attNormal">
<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>
-- Clay Leeds - [EMAIL PROTECTED] Web Developer - Medata, Inc. - http://www.medata.com PGP Public Key: https://mail.medata.com/pgp/cleeds.asc
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
