[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    [patch] Numbered list in winword97 filter
From:       Per Winkvist <per.winkvist () cell-telecom ! com>
Date:       2002-07-05 6:51:04
[Download RAW message or body]

Hi,

Importing a Word97 document goes okay. When importing the same document, but 
saved as Word2000 we don't get right settings for the list numbering. This is 
because we check if document version > Word97. If this is true we don't fill 
in the list details...

Removing this check makes it work as fine when loading docs in 2000 as it did 
for 97 (and still does).

Okay to commit ?


--- msword.cc   2002/05/13 17:52:20     1.80
+++ msword.cc   2002/07/05 06:35:01
@@ -255,15 +255,6 @@ void MsWord::decodeParagraph(
         S32 lfoCount;
         int i;

-        // TBD: discretion is the better part of valour! Our list logic below
-        // will give up if we don't do this!
-
-        if (m_fib.nFib > s_maxWord7Version)
-        {
-            gotListParagraph(text, properties.m_pap, chpxs);
-            return;
-        }
-
         // Find the number of LFOs.

         ptr += MsWordGenerated::read(ptr, &lfoCount);



_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic