Copy and Paste ODT to the clipboard implemented on Unix in trunk.

From: Martin Sevior <msevior_at_gmail.com>
Date: Mon May 31 2010 - 08:23:18 CEST

Hi everyone,

I have finsihed a first implementation of copy and paste of odt to the
clipbaord on trunk.

presently this only works for unix and the only other app that
reads/writes odt to the clipbaord is Kword.

Export ODT to the clipboard. This use the new ie_exp_DocRangeListener class
to create a new document containing just the selected range. This is then
exported to ODT in a temporary file and then copied to the clipboard.

I have not yet added
src/wp/impexp/xp/ie_exp_DocRangeListener.(h,cpp) to the windows MSVisual C++
project desription so the windows buildis broken until that is fixed. Also we
will need to duplicate a lot of the code in src/wp/ap/gtk/*.h to the appropriate
files in the windows and osx builds to get this functionality.

--This line, and those below, will be ignored--

M src/wp/ap/gtk/ap_UnixClipboard.h
M src/wp/ap/gtk/ap_UnixApp.cpp
M src/wp/ap/gtk/ap_UnixClipboard.cpp
M src/wp/impexp/xp/ie_exp_DocRangeListener.cpp
M src/wp/impexp/xp/Makefile.am
M plugins/opendocument/exp/xp/ie_exp_OpenDocument.h
M plugins/opendocument/exp/xp/ie_exp_OpenDocument.cpp

Cheers!

Martin
Received on Mon May 31 08:23:33 2010

This archive was generated by hypermail 2.1.8 : Mon May 31 2010 - 08:23:33 CEST