[Libreoffice-bugs] [Bug 139273] FILEOPEN: DOC/DOCX/RTF. Wrong last page style (also present at copy/paste of the document)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Dec 29 18:55:51 UTC 2020


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

--- Comment #8 from Justin L <jluth at mail.com> ---
The big difference is in sw/source/core/doc/docftn.cxx's SetEndNoteInfo when
   if( GetEndNoteInfo() == rInfo )
       return;
when nNumType = SVX_NUM_ROMAN_LOWER, so there is nothing to do since it already
matches the default. Otherwise it lcl_PutStdPageSizeIntoItemSet into the
Endnote page style - based off of the default page style.

The problem is that this is happening too early - before the default page style
has been updated with the DOCX parameters. So obviously the fix is to delay
::LN_CT_NumFmt_val, but how... And where is def page style getting updated?
(Well, the updating would happen in the first CloseSectionGroup.)

-- 
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/20201229/7c8b6f01/attachment.htm>


More information about the Libreoffice-bugs mailing list