[Libreoffice-bugs] [Bug 128779] Add some API for QR Code Generator in LibreOffice BASIC

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Nov 22 03:51:01 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=128779

--- Comment #3 from elmau <public at elmau.net> ---
it's easy add more options... in the last version (0.6.0) you can call by code


Sub Main()

    Dim args(2) As New com.sun.star.beans.NamedValue
    zaz = createUnoService("net.elmau.zaz.BarCode")

    args(0).Name = "Type"
    args(0).Value = "qrcode"
    args(1).Name = "Data"
    args(1).Value = "libreoffice.org"
    path = zaz.execute(args)
    MsgBox path


    args(0).Name = "Type"
    args(0).Value = "qrcode"
    args(1).Name = "Data"
    args(1).Value = "libreoffice.org"
    args(2).Name = "Path"
    args(2).Value = "/home/mau/tmp.svg"

    zaz.execute(args)

End Sub

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20191122/fd0ff34b/attachment.html>


More information about the Libreoffice-bugs mailing list