HI Everyone,
I just realized that it is easy to add editting to plugins by have having
a single extra method to the pluginManager class.
virtual bool editMe(UT_sint32 uid);
Executing this method edits the object. This can be a simple fork/exec
with the contents of the description passed to the external program. After
a save operation the altered contents are re-rendered on screen via a
changeObject(..) call to the PD_Document. This causes the object and
surrounding text to be re-rendered.
Cheers
Martin
Received on Wed Jan 12 04:11:55 2005
This archive was generated by hypermail 2.1.8 : Wed Jan 12 2005 - 04:11:58 CET