Is there a way to know if a dispatch command opens a dialog?

Miklos Vajna vmiklos at collabora.co.uk
Thu Aug 2 07:57:31 UTC 2018


Hi,

On Wed, Aug 01, 2018 at 04:52:14PM +0530, Saurav Chirania <saurav.chir at gmail.com> wrote:
> There are dispatch commands (like .uno:FontDialog) which open a dialog when
> executed. There are other dispatch commands (like .uno:GoDown) which don't
> open a dialog when executed. Do we have a function using which I can know
> whether or not a command opens a dialog? If not, will it be possible to
> implement such a function? Which parts of the code should I look into for
> implementing such a function?

I don't think we have code for this at the moment. You could add a flag
in the .sdi files for this purpose, but having to go through all
commands in sdi files to add this annotation will be quite painful, I
fear.

Regards,

Miklos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20180802/67d9a810/attachment.sig>


More information about the LibreOffice mailing list