From koffice Mon Dec 16 20:51:04 2002 From: Thomas Gufler Date: Mon, 16 Dec 2002 20:51:04 +0000 To: koffice Subject: Re: koffice 1.2.1 and wv2 X-MARC-Message: https://marc.info/?l=koffice&m=104007192630534 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, first I tried to checkout koffice/lib/kofficeui from CVS, but the checked out code didn't compile. So I readded the old kofficeui code and commented the following two lines in document.cpp out: //KoFormat paperFormat = KoPageFormat::guessFormat( landscape ? height : width, landscape ? width : height ); //elementPaper.setAttribute("format",paperFormat); Everything compiled and installed fine. I tried to load a few Word 97 documents and they looked much better with the new filter(header, ..) except a problem with the fonts(which I think is not filter related). Thanks for the great work. Tom Am Montag, 16. Dezember 2002 17:51 schrieb David Faure: > On Monday 16 December 2002 14:47, Thomas Gufler wrote: > > Hallo, > > > > thanks for the answer. Everything worked fine till compiling > > koffice/filters/kword/msword, where I get the following error: > > document.lo `test -f document.cpp || echo './'`document.cpp > > document.cpp: In member function `void > > Document::slotFirstSectionFound(wvWare::SharedPtr > wvWare::Word97::SEP>)': > > document.cpp:235: `guessFormat' undeclared in namespace `KoPageFormat' > > Yup, I added that one in koffice/lib/kofficeui of CVS HEAD. > You could get that directory from CVS HEAD, or you can comment out > this call - it's only about showing the right page format in the dialog, > not very critical. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9/jy87qQjqnk0WdwRAjBWAJ4tURA7p9zAOh1nRQszt2/1ILRffwCdGhC+ A7gTbhzUpxNWwrjFInJ6TW0= =isCh -----END PGP SIGNATURE----- ____________________________________ koffice mailing list koffice@mail.kde.org To unsubscribe please visit: http://mail.kde.org/mailman/listinfo/koffice