Patrik Fimml wrote:
> Mathias Bauer wrote:
>> CPH wrote:
>> > Hi,
>> >    I have a button on my UI which performs several actions thru API calls.
>> > Is ther anyway which I can get all of these actions to be considered one 
>> > atomic action by the Undo/Redo mechanism ?
>> 
>> Not ATM. But we are currently discussing new APIs for "Q". I'm somewhat
>> involved into that and I will take your question as a feature
>> enhancement request. :-)
>> 
>> My understanding is that you want to do something like:
>> 
>> set mark on undo stack
>> execute API calls
>> set another mark on undo stack
>> 
>> and then you would expect that calling "Undo" would undo *all* the
>> changes you made, and of course a following "Redo" would do the opposite.
>> 
>> The same way we want to make macros "undoable" in one step.
> 
> That was in October 2003. Is it possible now to do such things?

We had to do a lot of things for OOo2.0 (as you might have seen from how
long it took to approach the final version) and an API for Undo wasn't
on the priority list, so it was dropped. It's still on the list for the
next version and this time API funtionality in general has a higher
priority. But that's not a promise. :-)

Ciao,
Mathias

-- 
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to