Bug 137474

Summary: Allow multiple tags in tight extensions dialog
Product: LibreOffice Reporter: Heiko Tietze <heiko.tietze>
Component: UIAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: enhancement CC: cloph, kara
Priority: medium    
Version: unspecified   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=137477
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 133026, 141020    

Description Heiko Tietze 2020-10-14 13:18:30 UTC
Current implementation allows only one tag

    uno::Sequence<beans::PropertyValue> aArgs(1);
    aArgs[0].Name = "AdditionsTag";
    aArgs[0].Value <<= OUString("Templates");
    comphelper::dispatchCommand(".uno:AdditionsDialog", aArgs);

but for example in case of templates it makes sense to combine "Templates" and "Writer" or "Impress".
Comment 1 Muhammet Kara 2020-10-17 23:01:18 UTC
Makes sense. One way to do it:

Change this:

aArgs[0].Value <<= OUString("Templates");

into this:

aArgs[0].Value <<= OUString("Templates;Writer;Foo");

And parse in AdditionsDialog.cxx by using something like OUString::getToken