commit: Re: commit:(HEAD): rtf and word import

From: Martin Sevior (msevior@physics.unimelb.edu.au)
Date: Fri May 09 2003 - 22:20:12 EDT

  • Next message: Tomas Frydrych: "commit(HEAD): Word style import"

    CVS:
    ----------------------------------------------------------------------
    CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
    CVS:
    CVS: Committing in .
    CVS:
    CVS: Modified Files:
    CVS: text/fmt/xp/fp_Line.cpp text/fmt/xp/fp_TableContainer.cpp
    CVS: text/ptbl/xp/pd_Document.cpp text/ptbl/xp/pd_Document.h
    CVS: wp/impexp/xp/ie_exp.cpp wp/impexp/xp/ie_imp.cpp
    CVS: wp/impexp/xp/ie_imp_RTF.cpp
    CVS:
    ----------------------------------------------------------------------
    Fix copy/paste, improve table clearscreen.
                                                                                    
    Implement these fixes. moving tables nolonger writes white spaces to the
    right of your doc.

    Martin

    On Sat, 10 May 2003, Martin Sevior wrote:

    > On Fri, 9 May 2003, Tomas Frydrych wrote:
    >
    > >
    > > OK, this should remove much of unecessary processing from bidi
    > > documents without the need to know ahead if the doc is bidi or not
    > > (thanks to Dom for keeping nagging me).
    > >
    > > files: ie_imp_RTF.h/cpp, ie_imp_MSWord_97.h/cpp
    > >
    >
    > Hi Tomas,
    > I found out what was wrong the copy/paste last night.
    >
    > 1. You use changeStruxFmt(PTX_AddTmp,dpos1,length,...)
    > ^^^^^
    >
    > This length should be the final position in the document.
    >
    > ie.
    > changeStruxFmt(PTX_AddTmp,dpos1,dpos2,...)
    >
    > 2. Your caching variables in the pd_Document rapidly go stale and can
    > easily point to non-valid strux. I put in some code to invalidate these at
    > the earliest opportunity. I tested by doing some major cell merging,
    > (which really exercises the copy/paste code) and everything seems to work
    > again.
    >
    > I'll try to merge these things with your update now.
    >
    > Martin
    >
    >
    >



    This archive was generated by hypermail 2.1.4 : Fri May 09 2003 - 22:33:03 EDT