<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Inconsistent behavior handling paragraph spacing at the beginning of a page"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=126677#c11">Comment # 11</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Inconsistent behavior handling paragraph spacing at the beginning of a page"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=126677">bug 126677</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 regards to tools -> options -> Writer -> compatibility "add paragraph and
table spacing at tops of pages":

This is DocumentSettingId::PARA_SPACE_MAX_AT_PAGES/ParaSpaceMaxAtPages
also known as  AddSpacingAtPages
also known as ADD_PARA_TABLE_SPACING_AT_START/AddParaTableSpacingAtStart
[yikes]

(In reply to Mike Kaganski from <a href="show_bug.cgi?id=126677#c10">comment #10</a>)
<span class="quote">> The compatibility setting that was introduced for compatibility with Word
> seems to be never set automatically now (at least it is always
> checked for new ODF</span >
confirmed that compatibility with Word is enabled in almost every case. Seems
to be coming from this setting having a value of "true"
officecfg/registry/schema/org/openoffice/Office/Compatibility.xcs:      <prop
oor:name="AddSpacingAtPages" oor:type="xs:boolean" oor:nillable="false">

<span class="quote">> as well as for RTF, DOC and DOCX).</span >
true for DOC, but not absolutely guaranteed for DOCX/RTF.
m_rDoc.getIDocumentSettingAccess().set(DocumentSettingId::PARA_SPACE_MAX_AT_PAGES,
true );  //ww8par.cxx

<span class="quote">> But its checked state is inconsistent, so I suppose there's still a bug here.</span >
It defaults to 
unotools/source/config/compatibility.cxx: setValue<bool>(
Index::AddSpacingAtPages, false );
but that seems is irrelevant.

I'm not sure what Mike means by being inconsistent. Perhaps because all of
these extras/source/autotext/lang/bg/standard/***/settings.xml are set to
false?

Although it LOOKS like you can save the "off" state as a user default in the
UI, it doesn't actually save there. So it appears to me that in NO CASE is it
ever off UNLESS THE DOCUMENT SETTINGS turn it off. And THAT could only happen
if a user flips that switch. I don't think it is off even for very old
documents that pre-date this setting.

Advanced settings are needed to change this at the _Default level.


At this point I didn't expect to be able to find documents with this value, and
yet it seems we have Businesscard-with-logo template and a few other things
with this as false.

The only actionable conclusion I can come to is ensure that DOCX/RTF have this
value set to true.</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>