Bug 128779 - Create some APIs for QR Code Generator in LibreOffice BASIC
Summary: Create some APIs for QR Code Generator in LibreOffice BASIC
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
6.4.0.0.alpha1+
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 136770 (view as bug list)
Depends on: 141193
Blocks: QR-code
  Show dependency treegraph
 
Reported: 2019-11-13 14:09 UTC by Volga
Modified: 2024-02-04 23:11 UTC (History)
9 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Volga 2019-11-13 14:09:51 UTC
Description:
With this support any developer would be allowed to do advanced controls while creating a QR code.

Steps to Reproduce:
-

Actual Results:
-

Expected Results:
-


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 m_a_riosv 2019-11-14 21:17:38 UTC
You have an extension for that:

https://gitlab.com/mauriciobaeza/zaz-barcode/tree/master/files
Comment 2 Volga 2019-11-19 14:46:35 UTC
(In reply to m.a.riosv from comment #1)
> You have an extension for that:
> 
> https://gitlab.com/mauriciobaeza/zaz-barcode/tree/master/files
This extension support creating QR code too, but has simpler option than LibreOffice's QR Code Generator.
Comment 3 elmau 2019-11-22 03:51:01 UTC
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
Comment 4 Xisco Faulí 2019-12-26 15:29:38 UTC
Moving to NEW
Comment 5 Mike Kaganski 2021-03-24 09:14:07 UTC
*** Bug 136770 has been marked as a duplicate of this bug. ***