commit: 3 new methods to copy stuff around documents.

From: Martin Sevior <msevior_at_physics.unimelb.edu.au>
Date: Wed Sep 29 2004 - 10:57:07 CEST

CVS:
----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: text/fmt/xp/fv_View.cpp text/fmt/xp/fv_View.h
CVS: text/fmt/xp/fv_View_cmd.cpp
CVS:
----------------------------------------------------------------------
3 new methods for fv_View.
void pasteFromLocalTo(PT_DocPosition pos);
void _pasteFromLocalTo(PT_DocPosition pos);
void copyToLocal(PT_DocPosition pos1, PT_DocPosition pos2)

These methods convert a range of text to a local cache of RTF which is
not placed on the clipboard. This can then be pasted into the document
can then be
pasted back into the document.

The initial use of these is to preserve properties of the text when
converted to a table.

I'll also use these to fix a usability bug in visual Drag and drop.
Doing a visual drag and drop currently wipes out the clipboard and
replaces it with the contents of the drag.

There are other uses for this too.

Cheers

Martin
Received on Wed Sep 29 10:14:08 2004

This archive was generated by hypermail 2.1.8 : Wed Sep 29 2004 - 10:14:09 CEST