Bug 299112

Summary: Roundtripping of lists with image bullets fails
Product: [Applications] calligracommon Reporter: Gopalakrishna Bhat <gopalakbhat>
Component: generalAssignee: Calligra Bugs <calligra-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Sample document showing the problem

Description Gopalakrishna Bhat 2012-04-30 14:43:28 UTC
Pass the attached document through the load/save/load cycle and see that the image is not displayed as the list bullet

Reproducible: Always

Steps to Reproduce:
1.Pass the attached document through the load/save/load cycle and see that the image is not displayed as the list bullet
2.
3.
Comment 1 Gopalakrishna Bhat 2012-04-30 14:44:55 UTC
Created attachment 70774 [details]
Sample document showing the problem
Comment 2 T Zachmann 2012-05-01 05:37:32 UTC
Git commit f80a91d466afd17c773f23bf98adbffe11859d14 by Thorsten Zachmann.
Committed on 01/05/2012 at 07:32.
Pushed by zachmann into branch 'master'.

Add collection to datacenters so images are saved

If there was no image in the document the image bullets where not saved as the image collection
was not added to the data centers and therefore the images where not saved. This fixes that by
adding the image collection to the datacenters.
Reorder the way the attributes are added. They need to be added before a child element is added
therefore they are moved up.
Parts of the patch are provided by gopalK.

Is it ok to include KoImageData_p.h in a lib of our own code or should we find a different solution?

Ok to backport?

CCMAIL: calligra-devel@kde.org

M  +11   -8    libs/kotext/styles/KoListLevelProperties.cpp

http://commits.kde.org/calligra/f80a91d466afd17c773f23bf98adbffe11859d14