office-gobmx/include/sfx2
László Németh 28c31ba125 tdf#128744 sw DOCX: unprotect change tracking with verification
Unprotect change tracking only by password verification
instead of 1) unprotecting without the password or 2) rejecting
the correct password.

I.e. now 1) clicking on Record changes icon of Track Changes
toolbar or Edit->Track Changes->Record asks for a password, and
2) Unprotect Record changes on Security page of
File->Properties... accepts the correct password with disabling
record changes.

Show also "Invalid password!" dialog disabling Record Changes
by its icon or menu option, like Properties... dialog window does,
if the password is invalid.

Note: Still allow to unprotect OpenDocument export of a
protected OOXML import document, because that doesn't contain
the original password info, only a dummy RedlinePassword.
(OpenDocument exports protect Track Changes with the simple
RedlineProtectionKey configuration setting, so it's not
possible to map the OOXML password info to OpenDocument without
extending this.)

Follow-up to commit d416250f4f
"tdf#106843 DOCX: forbid disabling protected Record Changes".

See also commit bfd7730f4c
"tdf#89383 DOCX import: fix permission for editing".

Change-Id: Iafcf4a6b551a7e8485d4311aee889c2522526d71
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133894
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
2022-05-06 12:59:11 +02:00
..
devtools
notebookbar lok: reset ui mode state when switch to notebookbar cancelled 2022-05-01 20:19:23 +02:00
sidebar Drop special-casing for Chart's sidebar property deck 2022-04-21 18:03:43 +02:00
AccessibilityCheck.hxx tdf#143148 Use pragma once instead of include guards 2022-02-22 08:26:52 +01:00
AccessibilityIssue.hxx tdf#143148 Use pragma once instead of include guards 2022-02-22 08:26:52 +01:00
app.hxx
basedlgs.hxx
bindings.hxx add TypedWhichId version of QueryState 2022-03-14 14:20:26 +01:00
brokenpackageint.hxx
chalign.hxx
charwin.hxx
childwin.hxx use more string_view in sfx2 2022-04-13 19:02:00 +02:00
classificationhelper.hxx
ctrlitem.hxx
dialoghelper.hxx Resolves: tdf#141625 give enough space to see full date+time 2022-04-14 09:54:37 +02:00
digitalsignatures.hxx
dinfdlg.hxx
dispatch.hxx add TypedWhichId version of QueryState 2022-03-14 14:20:26 +01:00
dllapi.h
docfac.hxx loplugin:stringviewparam whitelist some more functions 2022-04-13 08:38:53 +02:00
docfile.hxx use more string_view in INetURLObject 2022-04-29 08:53:22 +02:00
docfilt.hxx loplugin:stringviewparam whitelist some more functions 2022-04-13 08:38:53 +02:00
docinf.hxx
docinsert.hxx
dockwin.hxx loplugin:stringviewparam whitelist some more functions 2022-04-13 08:38:53 +02:00
docmacromode.hxx
docstoragemodifylistener.hxx
doctempl.hxx use more string_view in INetURLObject 2022-04-29 08:53:22 +02:00
DocumentMetadataAccess.hxx
DocumentSigner.hxx
event.hxx
evntconf.hxx
fcontnr.hxx loplugin:stringviewparam whitelist some more functions 2022-04-13 08:38:53 +02:00
filedlghelper.hxx loplugin:stringviewparam convert methods using indexOf 2022-04-02 13:31:19 +02:00
flatpak.hxx
frame.hxx
frmdescr.hxx use more string_view in INetURLObject 2022-04-29 08:53:22 +02:00
frmhtml.hxx use more string_view in INetURLObject 2022-04-29 08:53:22 +02:00
frmhtmlw.hxx tdf#148413: Drop HTML export encoding configuration; use UTF-8 2022-04-06 13:51:42 +02:00
groupid.hxx
htmlmode.hxx
infobar.hxx
inputdlg.hxx
ipclient.hxx lokCalcRTL: fix rendering of charts in edit mode 2022-02-05 08:01:23 +01:00
linkmgr.hxx
linksrc.hxx
listview.hxx
lnkbase.hxx
lokcallback.hxx
lokcomponenthelpers.hxx lokCalcRTL: global RTL: fix chart edit mode rendering 2022-02-11 05:39:00 +01:00
LokControlHandler.hxx
lokhelper.hxx
mailmodelapi.hxx
Metadatable.hxx
mieclip.hxx
minfitem.hxx
module.hxx
msg.hxx
msgpool.hxx
navigat.hxx
new.hxx
newstyle.hxx
objface.hxx
objitem.hxx
objsh.hxx tdf#128744 sw DOCX: unprotect change tracking with verification 2022-05-06 12:59:11 +02:00
opengrf.hxx
pageids.hxx
passwd.hxx
printer.hxx
printopt.hxx
progress.hxx
QuerySaveDocument.hxx
request.hxx rename some SID to FN_PARAM 2022-02-10 11:48:22 +01:00
safemode.hxx
sfxbasecontroller.hxx
sfxbasemodel.hxx
sfxdlg.hxx
sfxhelp.hxx
sfxhtml.hxx use more string_view in INetURLObject 2022-04-29 08:53:22 +02:00
sfxmodelfactory.hxx
sfxresid.hxx
sfxsids.hrc add TypedWhichId version of QueryState 2022-03-14 14:20:26 +01:00
sfxstatuslistener.hxx
sfxuno.hxx
shell.hxx
signaturestate.hxx
stbitem.hxx
strings.hrc add infobar to prompt to refresh to replace old format 2022-03-30 12:25:22 +02:00
styfitem.hxx
styledlg.hxx
StyleManager.hxx
StylePreviewRenderer.hxx
tabdlg.hxx add typed GetWhich operations 2022-02-15 09:19:34 +01:00
tbxctrl.hxx
templatedlg.hxx
templatedlglocalview.hxx
templatelocalview.hxx use more string_view in INetURLObject 2022-04-29 08:53:22 +02:00
templateproperties.hxx
templdlg.hxx
thumbnailview.hxx loplugin:passstuffbyref 2022-04-20 15:24:34 +02:00
thumbnailviewitem.hxx
toolbarids.hxx
tplpitem.hxx
userinputinterception.hxx
viewfac.hxx
viewfrm.hxx add infobar to prompt to refresh to replace old format 2022-03-30 12:25:22 +02:00
viewsh.hxx
watermarkitem.hxx
weldutils.hxx loplugin:passstuffbyref 2022-04-20 15:24:34 +02:00
xmldump.hxx
XmlIdRegistry.hxx
zoomitem.hxx