Bug 282091

Summary: Words not saves heading numbering
Product: [Applications] calligrawords Reporter: Giuseppe Calà <gcala>
Component: generalAssignee: Calligra Words Bugs <calligra-words-bugs-null>
Status: RESOLVED FIXED    
Severity: major CC: gopalakbhat, sebsauer
Priority: NOR Keywords: release_blocker
Version: 2.4-snapshots   
Target Milestone: ---   
Platform: Chakra   
OS: Linux   
Latest Commit: Version Fixed In:

Description Giuseppe Calà 2011-09-15 17:28:00 UTC
Version:           2.4-snapshots (using KDE 4.7.1) 
OS:                Linux

When selecting headings style for paragraph words adds numbering. But saving, closing and re-opening the document numbering is gone.

A mandatory screen:
http://wstaw.org/m/2011/09/15/words-numbering-bug.png.

I tryed creating a similar document with LibreOffice and opening it with Words: numbering is showed correctly.

Reproducible: Didn't try

Steps to Reproduce:
Add any heading paragraph style, save and close the document. Open it again.

Actual Results:  
Headings without numbering.

Expected Results:  
Headings with numbering (like just before closing the document)

I'm using Words 2.3.81 (but was present in previous versions too).
Comment 1 Camilla Boemann 2011-09-15 17:49:53 UTC
Thanks for reporting
Comment 2 Sebastian Sauer 2011-09-21 09:56:41 UTC
Reasons are;
1. we don't save the loaded KoStyleManager::outlineStyle() as "text:outline-style" but as "text:list-style".
2. we don't save it in the styles.xml at office:styles but in the content.xml as office:automatic-styles .
Comment 3 Gopalakrishna Bhat 2011-12-05 16:34:13 UTC
Fixed with 89149705d39b5412ffd624136ebbae2b0d2a194f and 9a01dc821103dbbb8e94c9ce9734e2d856a84863