summaryrefslogtreecommitdiff
path: root/oox/source/token
diff options
context:
space:
mode:
authorTünde Tóth <toth.tunde@nisz.hu>2021-09-01 15:47:40 +0200
committerLászló Németh <nemeth@numbertext.org>2021-09-16 15:54:57 +0200
commit40f38fd16dad4374543d4a7a109b3264837ce8d1 (patch)
treee7d7691f45b9fb0edade4ce6c3bca6739cbed43d /oox/source/token
parent522905a0674992fe2ab52afc1415c46ad33cf7f0 (diff)
tdf#115933 XLSX import: fix permission for editing
The passwords for editing in XLSX documents created with Excel weren't asked and verified. Note: LibreOffice supports only a subset of the hashing algorithms specified in MS-OE376, according to DocPasswordHelper::GetOoxHashAsVector() and https://docs.microsoft.com/en-us/openspecs/office_standards/ms-oe376/f70a4140-340b-4e94-a604-dff25b9846b1. Also the documents encrypted with unsupported algorithms got edit protection now, but it's not possible to add permission to edit them (copy of these documents are still editable). Change-Id: Iabc90f6bba4ed071dd2c60e9dea905481816964b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121497 Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'oox/source/token')
-rw-r--r--oox/source/token/properties.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/oox/source/token/properties.txt b/oox/source/token/properties.txt
index 808df85533ff..2c56d0f46804 100644
--- a/oox/source/token/properties.txt
+++ b/oox/source/token/properties.txt
@@ -337,6 +337,7 @@ MirroredY
MissingValueTreatment
Model
ModifyPasswordHash
+ModifyPasswordInfo
MoveProtect
MovingAveragePeriod
MultiLine