summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2019-09-29 19:40:09 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-10-07 21:31:17 +0200
commit36c965311f53dd9feae63ed4f8ab6de4cc449b99 (patch)
tree1598e4cd1cbe7b46cdd7facdd540fb88ca051a75 /xmloff
parentbe634d021229408bf9e30b4cb75be5debf9a3ffd (diff)
use FastParser in linguistic
Change-Id: Iee2254dc13ccc31d266009ba1eb00f2517484cc7 Reviewed-on: https://gerrit.libreoffice.org/79814 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/core/xmltoken.cxx8
-rw-r--r--xmloff/source/token/tokens.txt8
2 files changed, 16 insertions, 0 deletions
diff --git a/xmloff/source/core/xmltoken.cxx b/xmloff/source/core/xmltoken.cxx
index 1063b9ee7791..9da33e32e6e1 100644
--- a/xmloff/source/core/xmltoken.cxx
+++ b/xmloff/source/core/xmltoken.cxx
@@ -109,6 +109,8 @@ namespace xmloff { namespace token {
TOKEN( "urn:oasis:names:tc:opendocument:xmlns:form:1.0", XML_N_FORM ),
TOKEN( "script", XML_NP_SCRIPT ),
TOKEN( "urn:oasis:names:tc:opendocument:xmlns:script:1.0", XML_N_SCRIPT ),
+ TOKEN( "tcd", XML_NP_TCD ),
+ TOKEN( "http://openoffice.org/2003/text-conversion-dictionary", XML_N_TCD ),
TOKEN( "xforms", XML_NP_XFORMS_1_0 ),
TOKEN( "http://www.w3.org/2002/xforms", XML_N_XFORMS_1_0 ),
TOKEN( "xsd", XML_NP_XSD ),
@@ -487,6 +489,7 @@ namespace xmloff { namespace token {
TOKEN( "contrast", XML_CONTRAST ),
TOKEN( "control", XML_CONTROL ),
TOKEN( "conversion-mode", XML_CONVERSION_MODE ),
+ TOKEN( "conversion-type", XML_CONVERSION_TYPE ),
TOKEN( "copy-back", XML_COPY_BACK ),
TOKEN( "copy-formulas", XML_COPY_FORMULAS ),
TOKEN( "copy-outline-levels", XML_COPY_OUTLINE_LEVELS ),
@@ -717,6 +720,7 @@ namespace xmloff { namespace token {
TOKEN( "endnote-ref", XML_ENDNOTE_REF ),
TOKEN( "endnotes-configuration", XML_ENDNOTES_CONFIGURATION ),
TOKEN( "engraved", XML_ENGRAVED ),
+ TOKEN( "entry", XML_ENTRY ),
TOKEN( "eq", XML_EQ ),
TOKEN( "equal-author", XML_EQUAL_AUTHOR ),
TOKEN( "equal-comment", XML_EQUAL_COMMENT ),
@@ -1097,6 +1101,7 @@ namespace xmloff { namespace token {
TOKEN( "label-stroke-width", XML_LABEL_STROKE_WIDTH ),
TOKEN( "lambda", XML_LAMBDA ),
TOKEN( "landscape", XML_LANDSCAPE ),
+ TOKEN( "lang", XML_LANG ),
TOKEN( "language", XML_LANGUAGE ),
TOKEN( "language-asian", XML_LANGUAGE_ASIAN ),
TOKEN( "language-complex", XML_LANGUAGE_COMPLEX ),
@@ -1109,6 +1114,7 @@ namespace xmloff { namespace token {
TOKEN( "leader-char", XML_LEADER_CHAR ),
TOKEN( "left", XML_LEFT ),
TOKEN( "left-outside", XML_LEFT_OUTSIDE ),
+ TOKEN( "left-text", XML_LEFT_TEXT ),
TOKEN( "left-top-position", XML_LEFT_TOP_POSITION ),
TOKEN( "left-arc", XML_LEFTARC ),
TOKEN( "left-circle", XML_LEFTCIRCLE ),
@@ -1559,6 +1565,7 @@ namespace xmloff { namespace token {
TOKEN( "ridge", XML_RIDGE ),
TOKEN( "right", XML_RIGHT ),
TOKEN( "right-outside", XML_RIGHT_OUTSIDE ),
+ TOKEN( "right-text", XML_RIGHT_TEXT ),
TOKEN( "right-arc", XML_RIGHTARC ),
TOKEN( "right-circle", XML_RIGHTCIRCLE ),
TOKEN( "ring", XML_RING ),
@@ -1871,6 +1878,7 @@ namespace xmloff { namespace token {
TOKEN( "text-combine-end-char", XML_TEXT_COMBINE_END_CHAR ),
TOKEN( "text-combine-start-char", XML_TEXT_COMBINE_START_CHAR ),
TOKEN( "text-content", XML_TEXT_CONTENT ),
+ TOKEN( "text-conversion-dictionary", XML_TEXT_CONVERSION_DICTIONARY ),
TOKEN( "text-crossing-out", XML_TEXT_CROSSING_OUT ),
TOKEN( "text-emphasize", XML_TEXT_EMPHASIZE ),
TOKEN( "text-global", XML_TEXT_GLOBAL ),
diff --git a/xmloff/source/token/tokens.txt b/xmloff/source/token/tokens.txt
index 5bce19e510af..859cbbc08768 100644
--- a/xmloff/source/token/tokens.txt
+++ b/xmloff/source/token/tokens.txt
@@ -52,6 +52,8 @@ NP_FORM_DUMMY
N_FORM_DUMMY
NP_SCRIPT_DUMMY
N_SCRIPT_DUMMY
+tcd
+N_TCD_DUMMY
xforms
N_XFORMS_1_0_DUMMY
xsd
@@ -410,6 +412,7 @@ contour-polygon
contrast
control
conversion-mode
+conversion-type
copy-back
copy-formulas
copy-outline-levels
@@ -640,6 +643,7 @@ endnote-citation
endnote-ref
endnotes-configuration
engraved
+entry
eq
equal-author
equal-comment
@@ -1015,6 +1019,7 @@ label-stroke-opacity
label-stroke-width
lambda
landscape
+lang
language
language-asian
language-complex
@@ -1027,6 +1032,7 @@ layer-set
leader-char
left
left-outside
+left-text
left-top-position
left-arc
left-circle
@@ -1477,6 +1483,7 @@ revision
ridge
right
right-outside
+right-text
right-arc
right-circle
ring
@@ -1789,6 +1796,7 @@ text-combine
text-combine-end-char
text-combine-start-char
text-content
+text-conversion-dictionary
text-crossing-out
text-emphasize
text-global