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

--- Comment #8 from Justin L <jl...@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.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to