Hello Ariel, *,  

> From: Ariel Constenla-Haile [mailto:arie...@apache.org] 

> That particular scenario can have a workaround only if your code is
> controlling the undo context, 

oh yes, that helps me a lot.

> See http://people.apache.org/~arielch/api/UndoManager.odt

Thank you.

> The document model does not support this function;

yes, that's clear. 

This is only a spelling mistake, I meant the code: 

Msgbox ThisComponent.getUndoManager().getCurrentUndoActionTitle()

(this code did not work in OOo 3.3.0 and I was angry and had falsely tried also
the other code, and then copied by mistake in my post)

My mistake was not clean to distinguish between OOo 3.3.0 and AOO 4.0.0. In OOo
3.3.0 the code does not work and I have carelessly he claims did not do well in
AOO 4.0.0.


summarized:

I've tested and in AOO4.0.1 the following code works:

oUndo.enterHiddenUndoContext()

and can dissolve my problem.

in:
http://www.openoffice.org/api/docs/common/ref/com/sun/star/document/XUndoManager.h
tml

I find no evidence for the version of the OO interface "XUndoManager" works.

Earlier there were in the IDL-reference for always indicative of the form "since
OOo xy". 

Is that no longer so? 
If yes, how can I know if something is a mistake or a non-existing function? And
how do I know at what point is a specific feature available?



Greetings,
Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: api-unsubscr...@openoffice.apache.org
For additional commands, e-mail: api-h...@openoffice.apache.org

Reply via email to