commit: Initial pasting of XHTML into AbiWord.

From: <>
Date: Wed May 12 2004 - 04:46:12 CEST

CVS: ----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS: Committing in .
CVS: Modified Files:
CVS: text/ptbl/xp/pd_Document.cpp text/ptbl/xp/pd_Document.h
CVS: wp/impexp/xp/ie_Table.cpp wp/impexp/xp/ie_Table.h
CVS: wp/impexp/xp/ie_imp_PasteListener.cpp
CVS: wp/impexp/xp/ie_imp_PasteListener.h
CVS: wp/impexp/xp/ie_imp_XHTML.cpp wp/impexp/xp/ie_imp_XHTML.h
CVS: ----------------------------------------------------------------------
Paste XHTML into AbiWord. Tested with Gnumeric, it works great!

Doesn't handle images yet. Also have to handle UID's properly.

This works by creating a dummy document, loading XHTML from the clipboard
into the document, then broadcasting this into ie_imp_PasteListener which
pastes into AbiWord.

We can use the same trick for every other file format we support. We can
also use this for lossless copy and paste with the *.abw format.

At this point I'm reluctant to do this coz I like the way getting
copy/paste forces us to have excellent RTF import/export.

Anyway, enjoy our new Feature :-)

Received on Wed May 12 04:36:38 2004

This archive was generated by hypermail 2.1.8 : Wed May 12 2004 - 04:36:38 CEST