
16 Apr
2007
16 Apr
'07
9:15 p.m.
On Mon, 16 Apr 2007 17:07:40 -0400, "bulia byak" <buliabyak@...400...> wrote:
How would I access the current user selection in a document? After modifying all or part of the user selection, how would I commit my changes?
This is all in the Selection class, see selection.h for its interface. Each SPDesktop has its own selection that you can access if you know the desktop.
... and the "comitting changes" (that is, changes to the selected objects themselves) part is done via sp_document_{maybe_}done, found in document-undo
-mental