Commit (STABLE): Re: Commit (HEAD): Re: sxw imp patch

From: J.M. Maurer <j.m.maurer_at_student.utwente.nl>
Date: Tue Aug 24 2004 - 22:23:53 CEST

Backport: OpenWriter Import Fixes (Style props are no longer deleted
before they are applied, The styles stream was read twice, Type of font
was passed to abi as "font-face", magic cleanup) (patch by Rob)
                                                                                                                                               
CVS:
----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: Tag: ABI-2-0-0-STABLE
CVS: ie_imp_OpenWriter.cpp
CVS:
----------------------------------------------------------------------

On za, 2004-08-21 at 20:45 +0200, J.M. Maurer wrote:
> Thanks a lot Rob! A lot of people really like to see the OOo importer
> improve! I'll backport this to STABLE as well soonish.
>
> Marc
>
> OpenWriter Import Fixes (Style props are no longer deleted before they
> are applied, The styles stream was read twice, Type of font was passed
> to abi as "font-face", magic cleanup) (patch by Rob)
>
> CVS:
> ----------------------------------------------------------------------
> CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
> CVS:
> CVS: Committing in .
> CVS:
> CVS: Modified Files:
> CVS: wp/impexp/OpenWriter/xp/ie_imp_OpenWriter.cpp
> CVS:
> ----------------------------------------------------------------------
>
>
> On za, 2004-08-21 at 16:47 +0200, robsta@stereolyzer.net wrote:
> > Hello,
> >
> > the attached patch fixes a few issues in the OpenWriter importer.
> >
> > - Style props are no longer deleted before they are applied, so e.g.
> > font size for headings is preserved. This triggered a problem when
> > font size is given in %, based on parent style. It's handeled now.
> >
> > - The styles stream was read twice. Not really a bug but certainly
> > takes a tiny bit longer when importing.
> >
> > - Type of font was passed to abi as "font-face". I changed it to
> > "font-family", this seems to be what abi understands.
> >
> > Line 354 was changed to
> > static const char magic[10] =
> > {'P','K',0x03,0x04,0x14,'\0','\0','\0','\0','\0'};
> > before diff-ing because otherwise diff would think it's a binary
> > file. This is not in the patch but could be added easily.
> >
> > I didn't find a bug for this, but could certainly open one if you'd
> > prefer.
> >
> > Thanks for patiently answering all my questions on #abiword and not
> > loosing patience ;-)
> > Rob
>
Received on Tue Aug 24 22:05:25 2004

This archive was generated by hypermail 2.1.8 : Tue Aug 24 2004 - 22:05:25 CEST