lib/avv2word/xslt/base.xslt in avv2word-1.0.4 vs lib/avv2word/xslt/base.xslt in avv2word-1.0.5

- old
+ new

@@ -126,9 +126,24 @@ <w:r> <w:fldChar w:fldCharType="end"/> </w:r> </xsl:template> + <xsl:template match="page-number"> + <w:r> + <w:fldChar w:fldCharType="begin"/> + </w:r> + <w:r> + <w:instrText xml:space="preserve"> PAGE \* Arabic \* MERGEFORMAT </w:instrText> + </w:r> + <w:r> + <w:fldChar w:fldCharType="separate"/> + </w:r> + <w:r> + <w:fldChar w:fldCharType="end"/> + </w:r> + </xsl:template> + <xsl:template match="br[not(ancestor::p) and not(ancestor::div) and not(ancestor::td|ancestor::li) or (preceding-sibling::div or following-sibling::div or preceding-sibling::p or following-sibling::p)]"> <w:p> <w:r></w:r> </w:p>