mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-19 09:54:49 -04:00
TOC text font changed to bold
This commit is contained in:
parent
4aa0b667b5
commit
d48f91d02a
@ -21,6 +21,12 @@ import java.awt.image.BufferedImage;
|
||||
import java.io.*;
|
||||
|
||||
/**
|
||||
* This is not a real test case.
|
||||
* This piece of code reads the elements from the library and creates an XML document containing all descriptive
|
||||
* information used to create th tooltips in teh program. After that Xalan is used to transform the XML document
|
||||
* to a XSL-FO document. Then FOP is used to read the XSL-FO file and to compile it to a PDF document.
|
||||
* The PDF document is then included in the distribution ZIP.
|
||||
*
|
||||
* Created by hneemann on 17.11.16.
|
||||
*/
|
||||
public class DocuTest extends TestCase {
|
||||
|
@ -52,7 +52,7 @@
|
||||
</xsl:element>
|
||||
</fo:block>
|
||||
<!-- table of contents text -->
|
||||
<fo:block page-break-before="always" margin-bottom="5mm" font-size="18pt" >
|
||||
<fo:block page-break-before="always" margin-bottom="5mm" font-size="18pt" font-weight="bold">
|
||||
<xsl:value-of select="@inhalt"/>
|
||||
</fo:block>
|
||||
<!-- table of contents -->
|
||||
@ -66,6 +66,7 @@
|
||||
</fo:root>
|
||||
</xsl:template>
|
||||
|
||||
<!-- Creation of the table of content-->
|
||||
<xsl:template match="lib" mode="inhalt">
|
||||
<fo:block>
|
||||
<xsl:value-of select="position()"/>. <xsl:value-of select="@name"/>
|
||||
@ -91,6 +92,7 @@
|
||||
</fo:block>
|
||||
</xsl:template>
|
||||
|
||||
<!-- Creation of the text -->
|
||||
<xsl:template match="lib" mode="full">
|
||||
<fo:block margin-top="4mm" margin-bottom="4mm" font-size="16pt" font-weight="bold">
|
||||
<xsl:value-of select="position()"/>. <xsl:value-of select="@name"/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user