Modifying Word 2013 backstage

Add-in Express™ Support Service
That's what is more important than anything else

Modifying Word 2013 backstage
 
Steve Braswell




Posts: 17
Joined: 2007-06-21
How can I add buttons to the open or save tabs in word/excel 2013 backstage view (using adxBackstageView) - I have tried changing the IdMso to a couple of ids provided by microsoft but it doesn't seem to work.

Thanks
Posted 18 Feb, 2013 13:31:37 Top
Andrei Smolin


Add-in Express team


Posts: 14094
Joined: 2006-05-11
Hello Steve,

You need to use use "TabRecent" and "TabSave", see below. Also, see Release: Office 2013 idMso & imageMso documentation.

private ADXBackstageView adxBackstageView1;
private ADXBackstageTab adxBackstageTab1;
private ADXBackstageGroup adxBackstageGroup1;
private ADXBackstageRegularButton adxBackstageRegularButton1;
private ADXBackstageTab adxBackstageTab2;
private ADXBackstageGroup adxBackstageGroup2;
private ADXBackstageRegularButton adxBackstageRegularButton2;

#region Component Designer generated code
/// <summary>
/// Required by designer
/// </summary>
private System.ComponentModel.IContainer components;

/// <summary>
/// Required by designer support - do not modify
/// the following method
/// </summary>
private void InitializeComponent()
{
    this.components = new System.ComponentModel.Container();
    this.adxBackstageView1 = new AddinExpress.MSO.ADXBackstageView(this.components);
    this.adxBackstageTab1 = new AddinExpress.MSO.ADXBackstageTab(this.components);
    this.adxBackstageGroup1 = new AddinExpress.MSO.ADXBackstageGroup(this.components);
    this.adxBackstageRegularButton1 = new AddinExpress.MSO.ADXBackstageRegularButton(this.components);
    this.adxBackstageTab2 = new AddinExpress.MSO.ADXBackstageTab(this.components);
    this.adxBackstageGroup2 = new AddinExpress.MSO.ADXBackstageGroup(this.components);
    this.adxBackstageRegularButton2 = new AddinExpress.MSO.ADXBackstageRegularButton(this.components);
    // 
    // adxBackstageView1
    // 
    this.adxBackstageView1.Controls.Add(this.adxBackstageTab1);
    this.adxBackstageView1.Controls.Add(this.adxBackstageTab2);
    this.adxBackstageView1.Id = "adxBackstageView_15c65c069eb441a8a3765551d1cce65d";
    this.adxBackstageView1.Ribbons = AddinExpress.MSO.ADXRibbons.msrWordDocument;
    // 
    // adxBackstageTab1
    // 
    this.adxBackstageTab1.Caption = "adxBackstageTab1";
    this.adxBackstageTab1.FirstColumn.Add(this.adxBackstageGroup1);
    this.adxBackstageTab1.Id = "adxBackstageTab_69637953330e4328839f975f2ade8dd7";
    this.adxBackstageTab1.IdMso = "TabSave";
    this.adxBackstageTab1.Ribbons = AddinExpress.MSO.ADXRibbons.msrWordDocument;
    // 
    // adxBackstageGroup1
    // 
    this.adxBackstageGroup1.Caption = "adxBackstageGroup1";
    this.adxBackstageGroup1.Id = "adxBackstageGroup_31778eddae104699b7312211cb111955";
    this.adxBackstageGroup1.PrimaryItem.Add(this.adxBackstageRegularButton1);
    this.adxBackstageGroup1.Ribbons = AddinExpress.MSO.ADXRibbons.msrWordDocument;
    // 
    // adxBackstageRegularButton1
    // 
    this.adxBackstageRegularButton1.Caption = "adxBackstageRegularButton1";
    this.adxBackstageRegularButton1.Id = "adxBackstageRegularButton_ec55c46d3b40457e93b98bde3bbd0020";
    this.adxBackstageRegularButton1.ImageTransparentColor = System.Drawing.Color.Transparent;
    this.adxBackstageRegularButton1.Ribbons = AddinExpress.MSO.ADXRibbons.msrWordDocument;
    // 
    // adxBackstageTab2
    // 
    this.adxBackstageTab2.Caption = "adxBackstageTab2";
    this.adxBackstageTab2.FirstColumn.Add(this.adxBackstageGroup2);
    this.adxBackstageTab2.Id = "adxBackstageTab_946bd7578cde4eef86ae2bf019918153";
    this.adxBackstageTab2.IdMso = "TabRecent";
    this.adxBackstageTab2.Ribbons = AddinExpress.MSO.ADXRibbons.msrWordDocument;
    // 
    // adxBackstageGroup2
    // 
    this.adxBackstageGroup2.Caption = "adxBackstageGroup2";
    this.adxBackstageGroup2.Id = "adxBackstageGroup_06506412b06f45abb0ea2e5d9fb35313";
    this.adxBackstageGroup2.PrimaryItem.Add(this.adxBackstageRegularButton2);
    this.adxBackstageGroup2.Ribbons = AddinExpress.MSO.ADXRibbons.msrWordDocument;
    // 
    // adxBackstageRegularButton2
    // 
    this.adxBackstageRegularButton2.Caption = "adxBackstageRegularButton2";
    this.adxBackstageRegularButton2.Id = "adxBackstageRegularButton_bae23ceb07844a5c83d4f2a2129cfdc1";
    this.adxBackstageRegularButton2.ImageTransparentColor = System.Drawing.Color.Transparent;
    this.adxBackstageRegularButton2.Ribbons = AddinExpress.MSO.ADXRibbons.msrWordDocument;
    // 
    // AddinModule
    // 
    this.AddinName = "MyAddin73";
    this.SupportedApps = AddinExpress.MSO.ADXOfficeHostApp.ohaWord;

}
#endregion


Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 19 Feb, 2013 04:15:10 Top