[Libreoffice] LibreOffice Python -- how to create a simple inputbox?

Xisco Faulí anistenis at gmail.com
Fri Jul 15 02:09:30 PDT 2011


you can use the model com.sun.star.awt.UnoControlEditModel.
Take a look to this page:
http://wiki.services.openoffice.org/wiki/ES/Desarrollo/Add-on_de_Soporte . I
couldn't find it in english but the code fits your needs pretty well ;)

Greetings

2011/7/15 Stanislav Pika <staspika at gmail.com>

> Hi!
>
> How to create an inputbox in LibreOffice Python? I've spent many days
> trying to figure that out, and it seems that while there is an interface
> XMessageBoxFactory, there is nothing like XInputBox. That is, something
> that allows user text input.
>
> XMessageBoxFactory allows only the following messagebox types:
>
>      * infobox
>      * warningbox
>      * errorbox
>      * querybox
>      * messagebox
>
> None of these has an input field.
>
>
> Best regards
> Stanislav Pika
>
> _______________________________________________
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libreoffice
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110715/5ce77740/attachment.html>


More information about the LibreOffice mailing list