summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2017-05-11 18:07:56 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2017-05-16 23:18:11 -0400
commit720560335c2e3a8e72026d87d8d5f0056f4df188 (patch)
treede1dc41e53024999a4eee2c136a9c2d62933eef6 /xmloff
parent60cf3deece0595660bc9f4d402a06aae0d862014 (diff)
tdf#43535: support additional sheet protection options.
New options are: * insert columns. * insert rows. * delete columns. * delete rows. Change-Id: I076b0d01bee0fff0623e2f1137c09938a6110939 Reviewed-on: https://gerrit.libreoffice.org/37695 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> (cherry picked from commit 034be10413ed4915090678ad4f1d48596cf5e206)
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/core/xmltoken.cxx4
-rw-r--r--xmloff/source/token/tokens.txt4
2 files changed, 8 insertions, 0 deletions
diff --git a/xmloff/source/core/xmltoken.cxx b/xmloff/source/core/xmltoken.cxx
index ed6e22d127f5..1108ad5445bb 100644
--- a/xmloff/source/core/xmltoken.cxx
+++ b/xmloff/source/core/xmltoken.cxx
@@ -602,6 +602,8 @@ namespace xmloff { namespace token {
TOKEN( "default-style-name", XML_DEFAULT_STYLE_NAME ),
TOKEN( "degree", XML_DEGREE ),
TOKEN( "delay", XML_DELAY ),
+ TOKEN( "delete-columns", XML_DELETE_COLUMNS ),
+ TOKEN( "delete-rows", XML_DELETE_ROWS ),
TOKEN( "deletion", XML_DELETION ),
TOKEN( "deletions", XML_DELETIONS ),
TOKEN( "denomalign" , XML_DENOMALIGN ),
@@ -1034,6 +1036,8 @@ namespace xmloff { namespace token {
TOKEN( "information", XML_INFORMATION ),
TOKEN( "initial-creator", XML_INITIAL_CREATOR ),
TOKEN( "inproceedings", XML_INPROCEEDINGS ),
+ TOKEN( "insert-columns", XML_INSERT_COLUMNS ),
+ TOKEN( "insert-rows", XML_INSERT_ROWS ),
TOKEN( "insertion", XML_INSERTION ),
TOKEN( "insertion-cut-off", XML_INSERTION_CUT_OFF ),
TOKEN( "insertion-position", XML_INSERTION_POSITION ),
diff --git a/xmloff/source/token/tokens.txt b/xmloff/source/token/tokens.txt
index 1a1db7bcdaeb..70c05a05f068 100644
--- a/xmloff/source/token/tokens.txt
+++ b/xmloff/source/token/tokens.txt
@@ -524,6 +524,8 @@ default-style
default-style-name
degree
delay
+delete-columns
+delete-rows
deletion
deletions
denomalign
@@ -951,6 +953,8 @@ index-title-template
information
initial-creator
inproceedings
+insert-columns
+insert-rows
insertion
insertion-cut-off
insertion-position