Ask Your Question
0

Simple generation of Messageboxes and Inputboxes using Java? [closed]

asked 2016-12-01 16:01:13 +0200

Using Java and the LibreOffice SDK, is there a simple way to generate messageboxes and inputboxes similar to the commands in LibreOffice Basic?

Alternatively, does anyone know of existing Java classes for performing these functions? I've searched quite a bit but haven't found any. :(

I'm prepared to carve up the Developer's Guide example UnoDialogSample (http://api.libreoffice.org/examples/D...) to roll my own, but I'd rather not have to go to the trouble...

Thanks!

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2020-09-16 18:49:01.362450

1 Answer

Sort by » oldest newest most voted
0

answered 2016-12-03 00:27:37 +0200

updated 2016-12-19 21:51:14 +0200

Found a messagebox class at https://forum.openoffice.org/en/forum....

Update: The messagebox class at the site noted above is actually a large example and includes a main function to enable running it as a stand-alone program. Using that class as starting point, I developed a messagebox class with only about 10% of the code as in the exemplary class. The newly developed class is available at https://sourceforge.net/projects/libr....

Update: An inputbox class, crafted from the aforementioned UnoDialogSample, is now available at https://sourceforge.net/projects/libr.... It's considerably longer than the messagebox class since LibreOffice provides no XInputBoxFactory and XInputBox analogous to the XMessageBoxFactory and XMessageBox.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-12-01 16:01:13 +0200

Seen: 253 times

Last updated: Dec 19 '16