[Libreoffice-bugs] [Bug 126677] Inconsistent behavior handling paragraph spacing at the beginning of a page

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Aug 27 14:25:53 UTC 2021


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

--- Comment #11 from Justin L <jluth at mail.com> ---
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 comment #10)
> 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
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">

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

> But its checked state is inconsistent, so I suppose there's still a bug here.
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.

-- 
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/20210827/4b0e24b5/attachment.htm>


More information about the Libreoffice-bugs mailing list