commit (head): PD_Document::purgeFmtMarks()

From: Tomas Frydrych <tomasfrydrych_at_yahoo.co.uk>
Date: Mon May 17 2004 - 20:10:28 CEST

Added new function purgeFmtMarks() to PD_Document. This function
simply crawls over entire piecetable and deletes all fmt marks; it
leaves no history record behind. It is principally aimed at the
importers and is currently used in the Word importer -- because of
the different structure of the Word file, the importer leaves a
number of fmt marks in the doc (for example, the 2 page doc attached
to 6587 contains 55 superfluous fmt marks). We now call this function
just before leaving the importer, to clean these out. I suspect,
there might be other importers with the similar problem.

There will be no harm in backporting this, but it is not essential.

files: pt_PieceTable.h, pd_Document.h/cpp, pt_PT_FmtMark.cpp,
ie_imp_MSWord_97.cpp

Tomas
Received on Mon May 17 20:00:18 2004

This archive was generated by hypermail 2.1.8 : Mon May 17 2004 - 20:00:18 CEST