[Libreoffice-bugs] [Bug 123912] DOCX Text in protected form created in Writer is editable in Word

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Apr 2 15:40:25 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=123912

--- Comment #8 from Justin L <jluth at mail.com> ---
(In reply to Aron Budea from comment #1)
Previously it was just all or nothing protection.  If we want to support Word
documents with partial protection where some sections are protected and others
are not, then the ALL protection (Protect Forms) needs to be turned off so that
LO native selective protection can be used. I don't think there are any other
options.

(In reply to Aron Budea from comment #5)
> Please note that not adding sections is the normal way with form protection,
> at least in Word you just throw up form fields along with accompanying text,
> switch on restriction to only permit editing forms, and there you go. This
> is the reason why I find it strange that sections pop up in such documents
> after the commit mentioned in comment 1.
Well, sections are very different in Word, so direct comparisons aren't really
possible. I forced a section creation because without a section things didn't
protect properly, but with the other fixes from Serge, this might work now.  It
should be easy to do with just SectionPropertyMap::ApplyProtectionProperties
-  if ( !xSection.is() )
-      xSection = rDM_Impl.appendTextSectionAfter( m_xStartingRange );

But lets wait with trying that until Protect Forms actually works again (bug
124451)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190402/105b236c/attachment.html>


More information about the Libreoffice-bugs mailing list