<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - DOCX Text in protected form created in Writer is editable in Word"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=123912#c8">Comment # 8</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - DOCX Text in protected form created in Writer is editable in Word"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=123912">bug 123912</a>
              from <span class="vcard"><a class="email" href="mailto:jluth@mail.com" title="Justin L <jluth@mail.com>"> <span class="fn">Justin L</span></a>
</span></b>
        <pre>(In reply to Aron Budea from <a href="show_bug.cgi?id=123912#c1">comment #1</a>)
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 <a href="show_bug.cgi?id=123912#c5">comment #5</a>)
<span class="quote">> 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 <a href="show_bug.cgi?id=123912#c1">comment 1</a>.</span >
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)</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>