Bug 51129 - FORMATTING: FILEOPEN particular .doc (MSO97) shows page header internet link with too big font size (focus on comment 9)
Summary: FORMATTING: FILEOPEN particular .doc (MSO97) shows page header internet link ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: Other All
: medium trivial
Assignee: Not Assigned
Depends on:
Blocks: DOC-Header-Footer
  Show dependency treegraph
Reported: 2012-06-15 12:21 UTC by flyingvjlh
Modified: 2021-04-07 17:24 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:
Regression By:

.doc file with the bug and .pdf file to show the right formatting (237.51 KB, application/x-zip-compressed)
2012-06-20 14:54 UTC, flyingvjlh
formatbugword.docx: round-tripped by MS Word 2003 (19.42 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-07-16 06:30 UTC, Justin L
charFormatOnParagraphMarker.doc: MSWord2003 created minimal example of what is causing problems with page2 header. This should be a one-page document with two empty paragraphs - one huge and one tiny. (19.50 KB, application/msword)
2020-07-16 07:43 UTC, Justin L
formatbugword_word2003.pdf: how it looks in MS Word 2003 (7.90 KB, application/pdf)
2021-04-07 17:24 UTC, Justin L

Note You need to log in before you can comment on or make changes to this bug.
Description flyingvjlh 2012-06-15 12:21:24 UTC

Creating a title page / text page file with two formats ("magazine" texte presentation)

1)   the external border color changes to grey when selected to blue 8
2)   The background image settings does not stay the one selected (juxtapose becomes fulfill)
3) Some margin values are changed on reopening.
4) on image deletion or moving undo does not work properly


Comment 1 bfoman (inactive) 2012-06-20 05:11:00 UTC
Could you attach any example documents to allow others to check on different
Comment 2 flyingvjlh 2012-06-20 14:54:50 UTC
Created attachment 63275 [details]
.doc file with the bug and .pdf file to show the right formatting


Here is the text presentation (in .doc) that does not keep  the page formatting

Two different page format. 

Saved with the format shown in the pdf  and reopened the border color goes from blue 8 to grey and the text looses completely the image background. 

The bug occurs in the first page format And in the second page format .

The pdf file shows the text in the right presentation.

Comment 3 Florian Reisinger 2012-10-01 10:43:24 UTC
Agreed the size of the font is different (header)
Comment 4 Rainer Bielefeld Retired 2012-10-03 15:55:27 UTC
I reduce this one to 1 problem.

[Reproducible] with parallel installation of Master "LOdev   -  ENGLISH UI / German Locale  [Build ID: c7e559]"  {tinderbox: @16, pull time 2012-10-03 05:46:26} on German WIN7 Home Premium (64bit).

Steps how to reproduce:
Open "formatbugword.doc" with LibO and a Copy of the document with MS WORD VIEWER
Expected: look equal
Actual: Font size for Link text in page heading 
- is smaller than for page body text in MS WV, 
- but much bigger in LibO.

Already a prolbem sith LibO 3.3.3 and also with AOOo 3.4.1 (and OOo 1.1.5), so this one seems inherited from OOo.

I can't reproduce the problem with a simple self created .doc from LibO 3.7.0

Can you contribute some information how you created the .doc and may be attach a more simple document only for this page header font size bug?

Please see <http://wiki.documentfoundation.org/BugReport#General_information> item 4!
Can you please submit different reports for all problems you see referring to your test kit here due to <https://wiki.documentfoundation.org/QA-FAQ#How_to_use_attached_sample_documents_for_multiple_Bug_Reports>?
Thank you!

<https://wiki.documentfoundation.org/BugTriage#Process>  item 5

Please set Status to ASSIGNED and add yourself to "Assigned To" if you accept this Bug or forward the Bug if it's not your turf.
Comment 5 Cédric Bosdonnat 2014-01-20 08:57:45 UTC
Restricted my LibreOffice hacking area
Comment 6 Joel Madero 2015-05-02 15:41:27 UTC Comment hidden (obsolete)
Comment 7 Buovjaga 2015-06-20 13:06:56 UTC

Win 7 Pro 64-bit Version:
Build ID: 3ecef8cedb215e49237a11607197edc91639bfcd
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-06-19_23:16:58
Locale: fi-FI (fi_FI)
Comment 8 QA Administrators 2016-09-20 10:10:29 UTC Comment hidden (obsolete)
Comment 9 Justin L 2017-09-06 17:47:50 UTC
Worth noting is that the header starts with a 20pt carriage return, then two 20pt spaces followed by the 10pt link (www.lesoreilles.com) followed by another 20pt space.

So, it isn't too surprising that LO displays everything in size 20.
Comment 10 QA Administrators 2018-10-02 02:53:58 UTC Comment hidden (obsolete, spam)
Comment 11 Justin L 2020-07-16 06:30:59 UTC Comment hidden (off-topic)
Comment 12 Justin L 2020-07-16 07:43:55 UTC Comment hidden (off-topic)
Comment 13 Justin L 2020-07-16 08:39:56 UTC
OK - Lets focus this bug report on the problem discussed in comment 9, which comment 12 notes is "fixed" when first round-trippedy by MS Word 2003 (and thus reduced to trivial importance).

Just ignore the hugely problematic page2 header bug, which is covered by meta bug 125905.
Comment 14 Justin L 2020-07-16 08:57:05 UTC
header3.xml contains (simplified - and *split hyperlink combined*...):
<w:p w:rsidR="006B0539" w:rsidRDefault="006B0539">
    <w:jc w:val="center"/>
      <w:rFonts w:eastAsia="Times New Roman"/>
      <w:sz w:val="40"/>
    <w:t xml:space="preserve"> </w:t>
  <w:hyperlink r:id="rId1" w:history="1">
        <w:rStyle w:val="Hyperlink"/>
      <w:sz w:val="40"/>
    <w:t xml:space="preserve"> </w:t>

Nothing about charstyle Hyperlink or DefaultParagraphFont which it is based on reset the character size. So only the normal paragraph style specifies the size the link should take.

Walking away - way too complex and dangerous territory to risk for a trivial problem.
Comment 15 Justin L 2021-04-07 17:24:59 UTC
Created attachment 171013 [details]
formatbugword_word2003.pdf: how it looks in MS Word 2003

The PDF from the zip confused me, because it looks just like LO 7.2+ shows it. But according to Word, the link SHOULD be a tiny size 10.