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 <stasp...@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@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/libreoffice >
_______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice