Issue 121618

Summary: Impress tables default font size (18pt) not editable
Product: Impress Reporter: stfhell <stfhell>
Component: formattingAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Normal    
Priority: P3 CC: issues, rb.henschel
Version: 3.4.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
test file: impress_table.odp none

Description stfhell 2013-01-14 10:59:57 UTC
Created attachment 80143 [details]
test file: impress_table.odp

Tables created in Impress use a default size of 18pt. You can change that by formatting the cells and/or by changing the "font" property for the table. But as soon as you delete the contents of a cell and leave the cell, it is reset to the default size of 18pt.

Reproduce:

1. Open file "impress_table.odp". The table cells are 10 pt Arial (set via Table/font property).
2. Delete the text in one cell (for example "cell4").
3. Leave the cell (by pressing TAB or using the mouse).
4. When you return to cell 4, font size will be 18 pt.

I have the feeling that 18pt is somewhere hardwired in Impress. I tried to change this default once by replacing all "18pt" settings in the content.xml and styles.xml, and still empty cells defaulted to 18 pt.

Tested under AOO 3.4.1 and AOO350m1(Build:9611) - Rev. 1420743 / 2012-12-13_04:34:45 - Rev. 1421074 under Ubuntu 12.04/AMD64.
Comment 1 Regina Henschel 2013-01-14 13:01:23 UTC
The table in Impress is a graphic object. Therefore the settings are made via a Graphics style. If no own style exists, the style "default" is used, which has 18pt font size.

Open the 'Style and Formatting' window (F11) and choose the category 'Graphics Styles'. Single click the table and then click in the 'Style and Formatting' window top right on the the icon 'New style from selection'. Name the new style for example 'MyTableStyle'. Right click that style and choose the item 'Modify'. In the tab 'Font' change the font size to the desired value.

You can of cause change the font size in the style 'default', but that would influence other styles too, not only the table.
Comment 2 stfhell 2013-01-14 13:31:38 UTC
(In reply to comment #1)
> The table in Impress is a graphic object. Therefore the settings are made
> via a Graphics style. If no own style exists, the style "default" is used,
> which has 18pt font size.
...
> You can of cause change the font size in the style 'default', but that would
> influence other styles too, not only the table.

That doesn't change anything. In fact, in the attached test file, "Default" is already set to 10 pt; and there is a new graphic style "Table_Cells" defined with font = 10pt. But Impress always resets empty cells to 18pt.
Comment 3 Regina Henschel 2013-01-14 15:21:32 UTC
Ah, I see. Indeed, when the text is removed, the cursor switches back to 18pt. It does this even when another font size is set for the cell using Table properties.

This problem is likely connected to bug 102453, but I cannot judge, whether it is duplicate or one bug depends on the other.