diff options
author | László Németh <nemeth@numbertext.org> | 2018-05-04 00:56:39 +0200 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2018-05-04 12:31:07 +0200 |
commit | 1501df419ea4d40358d705a281fd9662088ba51e (patch) | |
tree | 6f3fb1db35001734752db435e905b789429670a6 /filter | |
parent | d038d1f5ee0d24a5ad739d5e91015f90fd09b02e (diff) |
tdf#117171 DOCX export/import of cardinalText, ordinalText
and ordinal (indicator) numbering styles.
Change-Id: Ia4030c8a170bad67e0b52ec685a49faa77552ccf
Reviewed-on: https://gerrit.libreoffice.org/53831
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/xslt/export/wordml/ooo2wordml_list.xsl | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/filter/source/xslt/export/wordml/ooo2wordml_list.xsl b/filter/source/xslt/export/wordml/ooo2wordml_list.xsl index 8c090d92ca30..e3c9614d6e06 100644 --- a/filter/source/xslt/export/wordml/ooo2wordml_list.xsl +++ b/filter/source/xslt/export/wordml/ooo2wordml_list.xsl @@ -228,6 +228,15 @@ <xsl:when test="$number-format = 'I'"> <!-- nfcUCRoman: Uppercase roman --> <w:nfc w:val="1"/> + <xsl:when test="$number-format = '1st'"> + <!-- nfcUCOrdinal: Ordinal indicator --> + <w:nfc w:val="5"/> + <xsl:when test="$number-format = 'One'"> + <!-- nfcCardText: Cardinal --> + <w:nfc w:val="6"/> + <xsl:when test="$number-format = 'First'"> + <!-- nfcOrdText: Ordinal --> + <w:nfc w:val="7"/> </xsl:when> <xsl:when test="$number-format = '1, 2, 3, ...'"> <!-- '1, 2, 3, ...' also seems: decimal-full-width2 --> @@ -328,7 +337,7 @@ </xsl:when> </xsl:choose> </xsl:when> - <!-- unsupported: ordinal, cardinal-text, ordinal-text, hex, chicago, bullet, ideograph-zodiac-traditional, + <!-- unsupported: hex, chicago, bullet, ideograph-zodiac-traditional, chinese-not-impl, korean-legal, none --> </xsl:choose> </xsl:template> |