office-gobmx/include/comphelper
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
..
accessiblecomponenthelper.hxx
accessiblecontexthelper.hxx
accessibleeventnotifier.hxx
AccessibleImplementationHelper.hxx
accessiblekeybindinghelper.hxx
accessibleselectionhelper.hxx
accessibletexthelper.hxx
accessiblewrapper.hxx
accimplaccess.hxx
anycompare.hxx
anytohash.hxx
anytostring.hxx
asyncnotification.hxx
asyncquithandler.hxx
attributelist.hxx
automationinvokedzone.hxx
backupfilehelper.hxx
base64.hxx
basicio.hxx
broadcasthelper.hxx
ChainablePropertySet.hxx
ChainablePropertySetInfo.hxx
classids.hxx
compbase.hxx
comphelperdllapi.h
componentbase.hxx
componentguard.hxx
configuration.hxx
configurationhelper.hxx
configurationlistener.hxx
container.hxx
containermultiplexer.hxx
crashzone.hxx
debuggerinfo.hxx
DirectoryHelper.hxx
dispatchcommand.hxx
docpasswordhelper.hxx tdf#128744 sw DOCX: unprotect change tracking with verification 2022-05-06 12:59:11 +02:00
docpasswordrequest.hxx
documentconstants.hxx
documentinfo.hxx
doublecheckedinit.hxx
embeddedobjectcontainer.hxx
enumhelper.hxx
eventattachermgr.hxx
evtlistenerhlp.hxx
evtmethodhelper.hxx
extract.hxx
fileformat.h
fileurl.hxx
flagguard.hxx
genericpropertyset.hxx
getexpandeduri.hxx
graphicmimetype.hxx
guarding.hxx
hash.hxx
IdPropArrayHelper.hxx
interaction.hxx
interfacecontainer2.hxx
interfacecontainer3.hxx
interfacecontainer4.hxx
logging.hxx
lok.hxx
make_shared_from_uno.hxx
MasterPropertySet.hxx
MasterPropertySetInfo.hxx
mimeconfighelper.hxx
multicontainer2.hxx
multiinterfacecontainer3.hxx
multiinterfacecontainer4.hxx
namecontainer.hxx
namedvaluecollection.hxx
newarray.hxx
numberedcollection.hxx
numbers.hxx
ofopxmlhelper.hxx
oslfile2streamwrap.hxx
parallelsort.hxx
processfactory.hxx
profilezone.hxx
propagg.hxx
proparrhlp.hxx
property.hxx
propertybag.hxx
propertycontainer.hxx
propertycontainerhelper.hxx
PropertyInfoHash.hxx
propertysequence.hxx
propertysethelper.hxx
propertysetinfo.hxx
propertystatecontainer.hxx
propertyvalue.hxx
propmultiplex.hxx
propstate.hxx
proxyaggregation.hxx
random.hxx
refcountedmutex.hxx
scopeguard.hxx
seekableinput.hxx
SelectionMultiplex.hxx
seqstream.hxx
sequence.hxx
sequenceashashmap.hxx
servicedecl.hxx use more string_view 2022-05-05 08:39:23 +02:00
servicehelper.hxx
SetFlagContextHelper.hxx
sharedmutex.hxx
simplefileaccessinteraction.hxx
solarmutex.hxx
stillreadwriteinteraction.hxx
stl_types.hxx
storagehelper.hxx
streamsection.hxx
string.hxx
synchronousdispatch.hxx
syntaxhighlight.hxx
threadpool.hxx
traceevent.hxx
types.hxx
unique_disposing_ptr.hxx
uno3.hxx
unwrapargs.hxx
weak.hxx
weakbag.hxx
weakeventlistener.hxx
windowsdebugoutput.hxx
windowserrorstring.hxx
windowsStart.hxx
xmlsechelper.hxx
xmltools.hxx