summaryrefslogtreecommitdiffstats
path: root/xmloff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2017-05-11 18:07:56 -0400
committerKohei Yoshida <libreoffice@kohei.us>2017-05-17 05:16:44 +0200
commit034be10413ed4915090678ad4f1d48596cf5e206 (patch)
tree5227cc4aae303272338e8fc25225fc48914168d0 /xmloff
parentRelated tdf#107696: deal with non empty header without number (diff)
downloadcore-034be10413ed4915090678ad4f1d48596cf5e206.tar.gz
core-034be10413ed4915090678ad4f1d48596cf5e206.zip
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>
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 c22e32173314..a7d242b366dd 100644
--- a/xmloff/source/core/xmltoken.cxx
+++ b/xmloff/source/core/xmltoken.cxx
@@ -606,6 +606,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 ),
@@ -1039,6 +1041,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 70386737e4ed..e874670378bb 100644
--- a/xmloff/source/token/tokens.txt
+++ b/xmloff/source/token/tokens.txt
@@ -529,6 +529,8 @@ default-style
default-style-name
degree
delay
+delete-columns
+delete-rows
deletion
deletions
denomalign
@@ -957,6 +959,8 @@ index-title-template
information
initial-creator
inproceedings
+insert-columns
+insert-rows
insertion
insertion-cut-off
insertion-position