Hi to all,
i found this code in Basic to remove the image(the Frame), how can i use in 
Java??

oTextFrames = ThisComponent.getTextFrames
If oTextFrames.hasByName("Nome della cornice") Then
   oFrame = oTextFrames.getByName("Nome della cornice")
   oControl = ThisComponent.CurrentController
   oControl.Select(oFrame)
   oDispatcher = createUnoService("com.sun.star.frame.DispatchHelper")
   oDispatcher.executeDispatch(oControl.Frame, ".uno:Delete", "", 0,
Array())
End If


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



Reply via email to