legiodf: add support for line-break and page-break

This commit is contained in:
Frédéric Péters 2013-12-30 09:26:56 +01:00
parent c5d1446ca4
commit b63655faed
1 changed files with 8 additions and 0 deletions

View File

@ -248,6 +248,14 @@
<text:span text:style-name="TS{@role}"><xsl:apply-templates select="node() | text()" mode="inline"/></text:span>
</xsl:template>
<xsl:template match="processing-instruction('line-break')" mode="inline">
<text:line-break/>
</xsl:template>
<xsl:template match="processing-instruction('page-break')" mode="inline">
<text:soft-page-break/>
</xsl:template>
<xsl:template match="xref" mode="inline">
<text:sequence-ref text:reference-format="value"><xsl:attribute name="text:ref-name"
><xsl:value-of select="@linkend"/></xsl:attribute>1</text:sequence-ref>