openoffice-api mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schmidt <joe...@j-m-schmidt.de>
Subject Re: Some questions about "undo"
Date Thu, 06 Mar 2014 09:37:10 GMT
Hello Ariel, *,  

> From: Ariel Constenla-Haile [mailto:arielch@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-unsubscribe@openoffice.apache.org
For additional commands, e-mail: api-help@openoffice.apache.org


Mime
View raw message