allow h2/h3/h4 in text
This commit is contained in:
parent
c36f63c401
commit
8ebd781b4f
@ -224,6 +224,30 @@
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="h2">
|
||||
<xs:complexType mixed="true">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:group ref="placeholders"/>
|
||||
<xs:group ref="inline-all"/>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="h3">
|
||||
<xs:complexType mixed="true">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:group ref="placeholders"/>
|
||||
<xs:group ref="inline-all"/>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="h4">
|
||||
<xs:complexType mixed="true">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:group ref="placeholders"/>
|
||||
<xs:group ref="inline-all"/>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="br">
|
||||
<xs:complexType/>
|
||||
</xs:element>
|
||||
|
||||
@ -169,6 +169,9 @@
|
||||
<xs:element ref="ol"/>
|
||||
<xs:element ref="img"/>
|
||||
<xs:element ref="div"/>
|
||||
<xs:element ref="h2"/>
|
||||
<xs:element ref="h3"/>
|
||||
<xs:element ref="h4"/>
|
||||
<xs:element ref="generate_targets"/>
|
||||
<xs:element ref="generate_piechart"/>
|
||||
<xs:element ref="generate_recommendations"/>
|
||||
|
||||
@ -165,7 +165,9 @@
|
||||
<fo:block xsl:use-attribute-sets="signee_signaturespace">
|
||||
<fo:leader xsl:use-attribute-sets="signee_dottedline" leader-length="8cm"/>
|
||||
</fo:block>
|
||||
<fo:block margin-top="0.2cm" margin-bottom="0.2cm">(Name:<fo:leader xsl:use-attribute-sets="signee_dottedline" leader-length="7cm"/>)</fo:block>
|
||||
<fo:block margin-top="0.2cm" margin-bottom="0.2cm">(Name:<fo:leader
|
||||
xsl:use-attribute-sets="signee_dottedline" leader-length="7cm"
|
||||
/>)</fo:block>
|
||||
</fo:block-container>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
@ -202,4 +204,20 @@
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="h2">
|
||||
<fo:block xsl:use-attribute-sets="h2">
|
||||
<xsl:apply-templates/>
|
||||
</fo:block>
|
||||
</xsl:template>
|
||||
<xsl:template match="h3">
|
||||
<fo:block xsl:use-attribute-sets="h3">
|
||||
<xsl:apply-templates/>
|
||||
</fo:block>
|
||||
</xsl:template>
|
||||
<xsl:template match="h4">
|
||||
<fo:block xsl:use-attribute-sets="h4">
|
||||
<xsl:apply-templates/>
|
||||
</fo:block>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
||||
@ -134,6 +134,9 @@
|
||||
<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="h4" use-attribute-sets="title-4"/>
|
||||
<xsl:attribute-set name="bold">
|
||||
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
||||
</xsl:attribute-set>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user