On Monday 14 May 2012 15:22:42 PM matus.u...@gmail.com wrote: > Hello again Jos, > > do you have any test files, where text:outline-level is set to zero? > That means no paragraph styles to format TOC were found. And I would > like to fix that. > > - cwriter->addAttribute("text:outline-level", levels); > + if (levels > 0) { > + cwriter->addAttribute("text:outline-level", levels); > + }
Same answer as for the font sizes. I did not keep track of the offending files, but will do so in the future. The fastest way to find them is to run a version of calligraconverter that trips on this on the files from calligratests. Put an ::exit(17) in there and check for that exit code in a shell script that converts all mso files. Cheers, Jos _______________________________________________ calligra-devel mailing list calligra-devel@kde.org https://mail.kde.org/mailman/listinfo/calligra-devel