added threshold to schema; fixed recommendation spacing in summary table

This commit is contained in:
skyanth 2019-12-18 13:43:11 +01:00
parent f05196d65d
commit 3b8b2d1343
3 changed files with 9 additions and 3 deletions

View File

@ -195,12 +195,14 @@
<xs:attribute ref="pieAttr" use="required"/>
<xs:attribute ref="pieElem" use="required"/>
<xs:attribute ref="status" use="optional"/>
<xs:attribute ref="threshold" use="optional" default="2"/>
</xs:complexType>
</xs:element>
<xs:attribute name="pieAttr" type="xs:string"/>
<xs:attribute name="pieElem" type="xs:string"/>
<xs:attribute name="status" type="xs:string"/>
<xs:attribute name="threshold" type="xs:integer"/>
<xs:attribute name="inexecsummary">
<xs:simpleType>

View File

@ -14,7 +14,7 @@
<xsl:template match="ul" mode="summarytable">
<!-- skip 'check if last' template -->
<fo:list-block xsl:use-attribute-sets="list">
<fo:list-block xsl:use-attribute-sets="list_summarytable">
<xsl:call-template name="do_ul_summarytable"/>
</fo:list-block>
</xsl:template>

View File

@ -134,8 +134,8 @@
<xsl:value-of select="$very-large-space"/>
</xsl:attribute>
</xsl:attribute-set>
<xsl:attribute-set name="h2" use-attribute-sets="title-2"/>
<xsl:attribute-set name="h3" use-attribute-sets="title-3"/>
<xsl:attribute-set name="h2" use-attribute-sets="title-4"/>
<xsl:attribute-set name="h3" use-attribute-sets="title-4"/>
<xsl:attribute-set name="h4" use-attribute-sets="title-4"/>
<xsl:attribute-set name="bold">
<xsl:attribute name="font-weight">bold</xsl:attribute>
@ -384,11 +384,15 @@
<xsl:attribute name="padding-top">0.2cm</xsl:attribute>
<xsl:attribute name="padding-bottom">0.5cm</xsl:attribute>
</xsl:attribute-set>
<xsl:attribute-set name="list_summarytable" use-attribute-sets="list">
<xsl:attribute name="padding-bottom">0.2cm</xsl:attribute>
</xsl:attribute-set>
<xsl:attribute-set name="li">
<xsl:attribute name="line-height">6.5mm</xsl:attribute>
<xsl:attribute name="keep-together.within-page">always</xsl:attribute>
</xsl:attribute-set>
<!-- ToC -->
<xsl:attribute-set name="index">
<xsl:attribute name="break-after">page</xsl:attribute>