I have started writing an outlook add-in. I would like to add some buttons/tabs when user is writing new e-mail or responding to some. I know that I need to change ribbon type, to be able to place those new controls in given situations, but is it possible to do it without ribbon designer? I prefer not to user ribbon designer (and write manually all code needed), but don't know how to do it without it and not sure if it possible.
EDIT: There is a little misunderstood.
I know how to edit/create office ribbon for Excel/Word/Powerpoint etc. The problem is related to Outlook, because in outlook there is multiple "views". For Excel/Word/Powerpoint there is one "type" of ribbon. Depending on the ribbontype in Outlook, it is shown in different view. I couldn't find where I could specify it in case of creating ribbon manually.
I've found something that in MS documentation:
public string GetCustomUI(string ribbonID)
{
string ribbonXML = String.Empty;
if (ribbonID == "Microsoft.Outlook.Mail.Compose")
{
ribbonXML = GetResourceText("Trin_RibbonOutlookBasic.Ribbon1.xml");
}
return ribbonXML;
}