Changeset View
Changeset View
Standalone View
Standalone View
libs/textlayout/ListItemsHelper.cpp
Context not available. | |||||
183 | KoOdfNumberDefinition numberFormat; | 183 | KoOdfNumberDefinition numberFormat; | ||
---|---|---|---|---|---|
184 | numberFormat.setFormatSpecification(static_cast<KoOdfNumberDefinition::FormatSpecification>(format.intProperty(KoListStyle::NumberFormat))); | 184 | numberFormat.setFormatSpecification(static_cast<KoOdfNumberDefinition::FormatSpecification>(format.intProperty(KoListStyle::NumberFormat))); | ||
185 | numberFormat.setLetterSynchronization(format.boolProperty(KoListStyle::LetterSynchronization)); | 185 | numberFormat.setLetterSynchronization(format.boolProperty(KoListStyle::LetterSynchronization)); | ||
186 | item = numberFormat.formattedNumber(index) + "." + item; // add missing counters. | 186 | item = numberFormat.formattedNumber(1) + "." + item; // add missing counters. | ||
187 | } | 187 | } | ||
188 | } | 188 | } | ||
189 | bool calcWidth = true; | 189 | bool calcWidth = true; | ||
Context not available. |