[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KOFFICE_1_3_BRANCH: koffice/filters/kword/abiword
From: Nicolas Goutte <nicolasg () snafu ! de>
Date: 2004-04-01 19:21:49
Message-ID: 20040401192149.8657899E9 () office ! kde ! org
[Download RAW message or body]
CVS commit by goutte:
Of course "single" linespacing exists too (Backport)
M +8 -3 ImportFormatting.cc 1.14.2.2
--- koffice/filters/kword/abiword/ImportFormatting.cc #1.14.2.1:1.14.2.2
@@ -1,6 +1,6 @@
-// $Header$
+//
/* This file is part of the KDE project
- Copyright (C) 2001, 2002 Nicolas GOUTTE <goutte@kde.org>
+ Copyright (C) 2001, 2002, 2004 Nicolas GOUTTE <goutte@kde.org>
This library is free software; you can redistribute it and/or
@@ -307,5 +307,10 @@ void AddLayout(const QString& strStyleNa
if (flag)
{
- if (lineHeight==1.5)
+ if ( lineHeight == 1.0 )
+ {
+ element.setAttribute( "value", "single" );
+ element.setAttribute( "type", "single" );
+ }
+ else if (lineHeight==1.5)
{
element.setAttribute( "value", "oneandhalf" );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic