openoffice-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JZA <acolor...@gmail.com>
Subject Re: ctrl+z not work when add a listener to keyboard
Date Tue, 15 Mar 2016 13:38:13 GMT
Why not trigger the undo action instead through the API?
On Mar 15, 2016 8:20 AM, "homer" <brickman379@gmail.com> wrote:

> Hi,
>
> I’m using java on windows 64bit ,my open office version is 3.2.1.
>
> If I click on a RectangleShape ,then press alt+z,the selected shape do
> align action.(A keyhandler listen on key event.)
> If I want to undo that align action,press ctrl+z as usual,nothing happened.
> But ctrl+a ,ctrl+c,ctrl+v,ctrl+x all work.
> If I move a shape by hand,then i can undo it by click menu "Edit/Undo:Move
> Rectangle”.But ctrl+z not work.
> If the move is done by code, the edit menu is “Edit/Undo:Input”.
>
> How can i tell openoffice that the move is done by hand when it is
> actually did by code.
> How can i undo the move code did by press ctrl+z.
> Please advise.
>
> Best Regards
> Randy
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message