[Libreoffice-bugs] [Bug 82111] FILEOPEN: RTF - Incorrect alignment of '2014' on the left rather than center

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Jul 12 19:11:38 UTC 2021


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

Justin L <jluth at mail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jluth at mail.com

--- Comment #10 from Justin L <jluth at mail.com> ---
Created attachment 173517
  --> https://bugs.documentfoundation.org/attachment.cgi?id=173517&action=edit
test_rtf - small sample_msword2003.pdf: As seen in MS Word 2003.

\qc is the code for centred, and \qj is the code for justify.
\s26 and \s28 8 designate the paragraph styles

The RTF contains "2014" in:
\pard\plain \ltrpar\s26\qc
\li0\ri0\sb2760\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\pararsid12470261
\rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0
\f1\fs24\lang1049\langfe1049\cgrid\langnp1049\langfenp1049 {\rtlch\fcs1 \af0
\ltrch\fcs0 \insrsid16197105 20}
{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid6190013 14}

but it seems to be affect by the last paragraph (defined after the header)
\pard\plain \ltrpar\s28\qj

Yup - 2014 is on the wrong paragraph and has the wrong paragraph style. It
should be style _Титул_Год создания. There should be a page break AFTER 2014,
not before it. There should be an empty, justified paragraph using paragraph
style _Содержание as the last item in the document.

It seems to be confused because there is no \par adding a Carriage Return after
2014. It immediately jumps to the \sect page break.  Adding a CR before the
page break fixes this document.

-- 
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/20210712/f0df7781/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list