evenisse 2004/01/16 06:41:09
Modified: pdf/src/plugin-resources fo-layouts.xslt project2fo.xslt
Added: pdf/src/plugin-resources fo-cover.xslt
Log:
Add a very simple version of cover.
Revision Changes Path
1.2 +5 -5 maven-plugins/pdf/src/plugin-resources/fo-layouts.xslt
Index: fo-layouts.xslt
===================================================================
RCS file: /home/cvs/maven-plugins/pdf/src/plugin-resources/fo-layouts.xslt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- fo-layouts.xslt 15 Jan 2004 13:57:44 -0000 1.1
+++ fo-layouts.xslt 16 Jan 2004 14:41:09 -0000 1.2
@@ -25,11 +25,11 @@
<fo:simple-page-master master-name="cover-page"
page-width="{$pageWidth}in"
page-height="{$pageHeight}in"
- margin-top="0in"
- margin-bottom="0in"
- margin-left="0in"
- margin-right="0in">
- <fo:region-body margin-top="0in"/>
+ margin-top="0.2in"
+ margin-bottom="0.2in"
+ margin-left="0.4in"
+ margin-right="0.2in">
+ <fo:region-body margin-top="4.72in"/>
</fo:simple-page-master>
<fo:simple-page-master master-name="cover-inside"
1.5 +2 -2 maven-plugins/pdf/src/plugin-resources/project2fo.xslt
Index: project2fo.xslt
===================================================================
RCS file: /home/cvs/maven-plugins/pdf/src/plugin-resources/project2fo.xslt,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- project2fo.xslt 15 Jan 2004 13:56:34 -0000 1.4
+++ project2fo.xslt 16 Jan 2004 14:41:09 -0000 1.5
@@ -5,7 +5,7 @@
xmlns:svg="http://www.w3.org/TR/2001/REC-SVG-20010904" version='1.0'>
<xsl:include href="fo-layouts.xslt" />
- <!--<xsl:include href="fo-cover.xslt" />-->
+ <xsl:include href="fo-cover.xslt" />
<xsl:include href="fo-toc.xslt" />
<xsl:include href="fo-body.xslt" />
<xsl:include href="fo-tables.xslt" />
@@ -77,8 +77,8 @@
<xsl:template match="project/body">
<!-- Custom cover pages will be included in a future version -->
-<!--
<xsl:call-template name="fo-cover" />
+<!--
<xsl:call-template name="fo-cover-inside" />
-->
<xsl:call-template name="fo-toc" />
1.1 maven-plugins/pdf/src/plugin-resources/fo-cover.xslt
Index: fo-cover.xslt
===================================================================
<?xml version='1.0' encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format" version='1.0'>
<xsl:template name="fo-cover">
<fo:page-sequence master-reference="cover-page">
<fo:flow flow-name="xsl-region-body">
<fo:block xsl:use-attribute-sets="body.title"
text-align="end">
<xsl:value-of select="$coverProjectName"/> v.<xsl:value-of
select="$coverVersion"/>
</fo:block>
<fo:block xsl:use-attribute-sets="body.h1"
text-align="end" space-before="24pt" space-after="36pt">
<xsl:value-of select="$coverProjectCompany"/>
</fo:block>
<fo:block xsl:use-attribute-sets="body.h1"
text-align="end">
<xsl:value-of select="$coverType"/>
</fo:block>
</fo:flow>
</fo:page-sequence>
</xsl:template>
</xsl:stylesheet>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]