legiodf: add support for line-break and page-break
This commit is contained in:
parent
c5d1446ca4
commit
b63655faed
|
@ -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>
|
||||
|
|
Reference in New Issue