Bug 137474 - Allow multiple tags in tight extensions dialog
Summary: Allow multiple tags in tight extensions dialog
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Extension-Tight-Integration 141020
  Show dependency treegraph
 
Reported: 2020-10-14 13:18 UTC by Heiko Tietze
Modified: 2021-03-15 09:33 UTC (History)
2 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 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