It is possible to make openoffice react on addon's toolbar button press action like standard add shape button (cursor icon changes and while moving mouse after mouse click on draw page appeared shape, which resizing according mouse movement) ?
Or all can i do is dispatching standard command and handling modifed action of drawpage , deleting added shape and do what i need having deleted shape properties? -- Борисов Антон