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".
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