Bug 273016

Summary: Wrong loading order of styles in a table
Product: [Applications] calligracommon Reporter: Lassi Nieminen <lassniem>
Component: text-layoutAssignee: Calligra Bugs <calligra-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Bug Depends on:    
Bug Blocks: 244340    

Description Lassi Nieminen 2011-05-11 10:42:05 UTC
Version:           unspecified
OS:                Linux

A table cell can have a cell-style which defines cell-properties, paragraph-properties and text-properties.
Currently loading order seems to be
1. Load cell-style
2. Load default paragraph style
3 ...

Step 2 causes problems as it can overwrite properties from step 1

Reproducible: Always

Steps to Reproduce:
To see the effect open a document from eg. https://bugs.kde.org/show_bug.cgi?id=244340
and notice how in the 4th table of the file, the text sizes of the table are replaced from sizes from default paragraph style.
Comment 1 Camilla Boemann 2011-11-12 23:08:39 UTC
Fixed with the style inheritance