Bug 64300 - WW8: font size after table changes from 2 to 12 pt while exporting
Summary: WW8: font size after table changes from 2 to 12 pt while exporting
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: Other All
: medium normal
Assignee: Not Assigned
Depends on:
Reported: 2013-05-06 23:52 UTC by tommy27
Modified: 2013-11-21 13:22 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:

ODT version (11.13 KB, application/vnd.oasis.opendocument.text)
2013-05-06 23:52 UTC, tommy27
DOC saved version (11.50 KB, application/msword)
2013-05-06 23:52 UTC, tommy27
screenshot 1 ODT (20.60 KB, image/png)
2013-05-06 23:53 UTC, tommy27
screenshot 2 DOC (22.93 KB, image/png)
2013-05-06 23:54 UTC, tommy27

Note You need to log in before you can comment on or make changes to this bug.
Description tommy27 2013-05-06 23:52:15 UTC
Created attachment 78954 [details]
ODT version

this issue is the twin of the similar report I filed in OOo bug tracker in 2010.

inherithed from OOo, still present in LibO 4.0.2

I replicate the bug report here hoping that LibO devs will fix it.



- open the attached " issue_ODT_version.odt " file
- the font size of the line between the frame and the this black line is 2 
pixels (see screenshot n°1)
- save it as .doc
- close the .doc file (I have also attached an already saved version " 
issue_DOC_version.doc " file)
- reopen the .doc file
- the font size of that line now is 12 pixels (see screenshot n° 2)

it seems that the problem affects only the line after the grey frame, the other 
layout elements have nothing to do with this bug.

if you just copy the frame and the line below in a new .odt file and you save 
as .doc the font size of the line between still changes from 2 pixels to 12 
after saving and reopening the doc file
Comment 1 tommy27 2013-05-06 23:52:58 UTC
Created attachment 78955 [details]
DOC saved version
Comment 2 tommy27 2013-05-06 23:53:52 UTC
Created attachment 78956 [details]
screenshot 1 ODT
Comment 3 tommy27 2013-05-06 23:54:38 UTC
Created attachment 78957 [details]
screenshot 2 DOC
Comment 4 tommy27 2013-05-06 23:59:52 UTC
"copy & paste" of some useful comments from OOo bug tracker


eric.savary  2010-05-16 12:19:51 UTC
@MRU: happens only after tables when the font size of the paragraph is hard

michael.ruess  2010-05-17 13:39:40 UTC 
MRU->HBRINKM: the 2pt paragraph following the table will revert to style's
setting of 12pt when exporting. Maybe this has the same root cause as issue 56648.
Comment 5 Jacques Guilleron 2013-05-07 11:54:13 UTC
Hi tommy27,

just add a sa
Comment 6 Jacques Guilleron 2013-05-07 11:58:00 UTC
Hi tommy27,

Add only one space to your paragraph. What do you get?

Have a nice day,

Jacques Guilleron
Comment 7 tommy27 2013-05-07 12:19:35 UTC
@Jacques Guilleron 

WOW!!! adding a blank space to the "2 pixel" line seems to workaround the issue.

the resulting exported DOC file keeps "2 pixel" width and doesn't change to "12 pixel" like I reported before.

so, would you please tell me why adding such a blank space solves the issue?
Comment 8 Jacques Guilleron 2013-05-07 13:54:33 UTC
Probably it's unusual to have an empty paragraph with such a border. I will use rather a table to do the same thing and play with borders and spacing to content.
That give also one object to manage.

Have a nice day,

Jacques Guilleron
Comment 9 tommy27 2013-05-07 14:40:02 UTC
your workaround solves the "exporting to DOC" bug, so I'll modify my own template accordingly 

however this is a buggy behaviour because the same empty paragraph is saved without any change in pixel width if I save the document in ODT format.

the 2 --> 12 pixel change happens just with ODT --> DOC conversion or with direct DOC saving.

IMHO, the font size should not be changed by saving in DOC but should keep the same size the user has initially set

by the way I'm setting status as NEW since this issue has been confirmed also in old OOo releases from which the bug is inherited.
Comment 10 tommy27 2013-05-25 11:06:09 UTC
just wanted to add that PDF export is not affected by this bug.
it seems that the 2 --> 12 font size change only affects the DOC format.
Comment 11 tommy27 2013-09-07 16:42:12 UTC
bug still present in 4.0.5 final
bug not present anymore in 4.1.1 final

changing status as RESOLVED WFM