From: Martin Sevior (msevior@physics.unimelb.edu.au)
Date: Thu Sep 26 2002 - 01:22:46 EDT
CVS:
----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: src/af/util/xp/ut_string_class.cpp
CVS: src/af/util/xp/ut_string_class.h
CVS: src/text/ptbl/xp/pd_Document.cpp
CVS: src/text/ptbl/xp/pd_Document.h src/wp/impexp/xp/ie_Table.cpp
CVS: src/wp/impexp/xp/ie_Table.h
CVS: src/wp/impexp/xp/ie_imp_AbiWord_1.cpp
CVS: src/wp/impexp/xp/ie_imp_RTF.cpp
CVS:
----------------------------------------------------------------------
Many helper functions and classes to ease import of RTF tables.
These include three new global string functions:
/*!
* Some functions to add/subtract and extract UT_String properties from
a UT_String of properties.
*/
ABI_EXPORT UT_String * UT_String_getPropVal(UT_String & sPropertyString,
UT_String * sProp);
ABI_EXPORT void UT_String_setProperty(UT_String & sPropertyString,
UT_String * sProp, UT_String * sVal);
ABI_EXPORT void UT_String_removeProperty(UT_String & sPropertyString,
UT_String * sProp);
To allow manipulation of properties within UT_Strings. I should have
written these ages ago.
Also three new classes in ie_Table.(h,cpp)
To help in the import of tables from RTF. These new classes allow us to
build an in-memory description of a table from the cluses given by the
RTF. When the table is complete all the piecetable strux's are updated
to give the correct table description.
A HUGE word of caution. Everything is 100% undebugged at this point. If
use use this code you will find bugs.
I will be fix them myself as I actually implement the RTF importer.
Cheers
Martin
This archive was generated by hypermail 2.1.4 : Thu Sep 26 2002 - 01:36:02 EDT