Summary: | list nuber shrink when the first letter is a superscript | ||
---|---|---|---|
Product: | kword | Reporter: | Dennis Johansson <dennis.johansson> |
Component: | general | Assignee: | Laurent Montel <montel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 1.5 or before | ||
Target Milestone: | --- | ||
Platform: | Mandrake RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Dennis Johansson
2002-10-30 09:02:34 UTC
Reassigning to KWord as we have no "kotext" component. Subject: koffice/lib/kotext CVS commit by faure: When taking the format of the first char of the paragraph, for the format of the counter, filter out the vertical alignment (superscript/subscript) CCMAIL: 49920-done@bugs.kde.org M +4 -1 koparagcounter.cc 1.30 --- koffice/lib/kotext/koparagcounter.cc #1.29:1.30 @@ -597,5 +597,8 @@ int KoParagCounter::bulletX() KoTextFormat* KoParagCounter::counterFormat( const KoTextParag *paragraph ) { - return paragraph->at( 0 )->format(); + KoTextFormat* refFormat = paragraph->at( 0 )->format(); + KoTextFormat format( *refFormat ); + format.setVAlign( KoTextFormat::AlignNormal ); + return refFormat->parent()->format( &format ); /*paragraph->paragFormat()*/ } |