diff options
author | DaeHyun Sung <sungdh86+git@gmail.com> | 2021-07-26 23:36:50 +0900 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2021-07-29 08:43:18 +0200 |
commit | 4598a385ffaaf8fdc124962d347fead994450bea (patch) | |
tree | d718b0245699ccca3d70eec79639f76574c85ac3 /offapi/com/sun | |
parent | ff1d4168dd8620431a4f9da64c8d25a7c8f69693 (diff) |
tdf#143526 fix and add Korean numbering
fix Korean NumberFormat, compare with MS Word
change mapping of style::NumberingType::NUMBER_HANGUL_KO,
from "koreanLegal" to "koreanCounting"
"koreanDigital" add new reserved words "일, 일영, 일영영, etc"
- style::NumberingType::NUMBER_DIGITAL_KO
"koreanLegal" is new reserved words "하나, 둘, 셋, 넷, 다섯, 여섯, 일곱, 여덟, 아홉, 열"
- style::NumberingType::NUMBER_LEGAL_KO
"koreanDigital2" is new reserved words "一, 一零, 一零零, etc"
- style::NumberingType::NUMBER_DIGITAL2_KO
Reference:
1: "[MS-OE376]: Office Implementation Information for ECMA-376 Standards Support"
https://docs.microsoft.com/en-us/openspecs/office_standards/ms-oe376/a5deef83-bb01-410f-bde0-9c35abe4ca52
2.1.350 Part 4 Section 2.13.5.30, numberingChange (Previous Paragraph Numbering Properties)
2: "[MS-DOCX]: Word Extensions to the Office Open XML (.docx) File Format" shows example of not only Korean Numbering also others Numbering examples.
https://docs.microsoft.com/en-us/openspecs/office_standards/ms-docx/b839fe1f-e1ca-4fa6-8c26-5954d0abbccd
2.4 numFmt Extensions
https://docs.microsoft.com/en-us/openspecs/office_standards/ms-docx/a1bb5809-e361-4e49-8e16-7f1a67da4121
Change-Id: I535b2aa3cf4111d86b9b7b788afe4aa64e8e4545
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119518
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'offapi/com/sun')
-rw-r--r-- | offapi/com/sun/star/style/NumberingType.idl | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/offapi/com/sun/star/style/NumberingType.idl b/offapi/com/sun/star/style/NumberingType.idl index fd19e087f7b9..57e98fcf4665 100644 --- a/offapi/com/sun/star/style/NumberingType.idl +++ b/offapi/com/sun/star/style/NumberingType.idl @@ -526,6 +526,28 @@ published constants NumberingType @since LibreOffice 7.1 */ const short SZEKELY_ROVAS = 68; + + /** Numbering is in Korean Digital number as + "일,이,삼,...,일영,일영영, ..." + + @since LibreOffice 7.3 + */ + const short NUMBER_DIGITAL_KO = 69; + + /** Numbering is in Korean Digital Number, reserved "koreanDigital2", as + "一,二,三,...,一零,一零零, ..." + + @since LibreOffice 7.3 + */ + const short NUMBER_DIGITAL2_KO = 70; + + /** Numbering is in Korean Legal Number, reserved "koreanLegal", as + "하나,둘,셋,..." + + @since LibreOffice 7.3 + */ + const short NUMBER_LEGAL_KO = 71; + }; |