Beispiel #1
0
 /// <summary>
 /// Required by designer support - do not modify
 /// the following method
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     this.adxAddinAdditionalModuleItem1 = new AddinExpress.MSO.ADXAddinAdditionalModuleItem(this.components);
     this.adxWordEvents = new AddinExpress.MSO.ADXWordAppEvents(this.components);
     //
     // adxAddinAdditionalModuleItem1
     //
     this.adxAddinAdditionalModuleItem1.ModuleProgID = "WordFax.FaxModule";
     //
     // adxWordEvents
     //
     this.adxWordEvents.NewDocument      += new AddinExpress.MSO.ADXHostActiveObject_EventHandler(this.adxWordEvents_NewDocument);
     this.adxWordEvents.WindowActivate   += new AddinExpress.MSO.ADXHostWindow_EventHandler(this.adxWordEvents_WindowActivate);
     this.adxWordEvents.WindowDeactivate += new AddinExpress.MSO.ADXHostWindow_EventHandler(this.adxWordEvents_WindowDeactivate);
     this.adxWordEvents.DocumentOpen     += new AddinExpress.MSO.ADXHostActiveObject_EventHandler(this.adxWordEvents_DocumentOpen);
     //
     // AddinModule
     //
     this.AddinName = "Word Fax Example";
     this.Modules.Add(this.adxAddinAdditionalModuleItem1);
     this.SupportedApps         = AddinExpress.MSO.ADXOfficeHostApp.ohaWord;
     this.AddinStartupComplete += new AddinExpress.MSO.ADXEvents_EventHandler(this.AddinModule_AddinStartupComplete);
 }
Beispiel #2
0
 /// <summary>
 /// Required by designer support - do not modify
 /// the following method
 /// </summary>
 private void InitializeComponent()
 {
     this.components                 = new System.ComponentModel.Container();
     this.commandBar                 = new AddinExpress.MSO.ADXCommandBar(this.components);
     this.configureButton            = new AddinExpress.MSO.ADXCommandBarButton(this.components);
     this.addButton                  = new AddinExpress.MSO.ADXCommandBarButton(this.components);
     this.editButton                 = new AddinExpress.MSO.ADXCommandBarButton(this.components);
     this.checkinButton              = new AddinExpress.MSO.ADXCommandBarButton(this.components);
     this.cancelCheckoutButton       = new AddinExpress.MSO.ADXCommandBarButton(this.components);
     this.helpButton                 = new AddinExpress.MSO.ADXCommandBarButton(this.components);
     this.adxWordEvents              = new AddinExpress.MSO.ADXWordAppEvents(this.components);
     this.ribbonTab                  = new AddinExpress.MSO.ADXRibbonTab(this.components);
     this.ribbonGroup                = new AddinExpress.MSO.ADXRibbonGroup(this.components);
     this.ribbonBox                  = new AddinExpress.MSO.ADXRibbonBox(this.components);
     this.ribbonSplitButton          = new AddinExpress.MSO.ADXRibbonSplitButton(this.components);
     this.ribbonMenu                 = new AddinExpress.MSO.ADXRibbonMenu(this.components);
     this.configurationRibbonButton  = new AddinExpress.MSO.ADXRibbonButton(this.components);
     this.addRibbonButton            = new AddinExpress.MSO.ADXRibbonButton(this.components);
     this.editRibbonButton           = new AddinExpress.MSO.ADXRibbonButton(this.components);
     this.checkinRibbonButton        = new AddinExpress.MSO.ADXRibbonButton(this.components);
     this.cancelCheckoutRibbonButton = new AddinExpress.MSO.ADXRibbonButton(this.components);
     this.helpRibbonButton           = new AddinExpress.MSO.ADXRibbonButton(this.components);
     //
     // commandBar
     //
     this.commandBar.CommandBarName = "OpenKM Bar";
     this.commandBar.CommandBarTag  = "0b952d78-86de-4dc8-8da2-aa405bd4a9be";
     this.commandBar.Controls.Add(this.configureButton);
     this.commandBar.Controls.Add(this.addButton);
     this.commandBar.Controls.Add(this.editButton);
     this.commandBar.Controls.Add(this.checkinButton);
     this.commandBar.Controls.Add(this.cancelCheckoutButton);
     this.commandBar.Controls.Add(this.helpButton);
     this.commandBar.UpdateCounter = 7;
     this.commandBar.UseForRibbon  = true;
     //
     // configureButton
     //
     this.configureButton.Caption               = "Configure";
     this.configureButton.ControlTag            = "1e299dda-6709-4366-b0ad-0df0ef33c5e6";
     this.configureButton.ImageTransparentColor = System.Drawing.Color.Transparent;
     this.configureButton.Style         = AddinExpress.MSO.ADXMsoButtonStyle.adxMsoButtonIconAndCaption;
     this.configureButton.Tag           = "Configure OpenKM";
     this.configureButton.UpdateCounter = 6;
     //
     // addButton
     //
     this.addButton.Caption               = "addButton";
     this.addButton.ControlTag            = "5a17fe7d-02ba-47df-bf98-dc16245d8966";
     this.addButton.ImageTransparentColor = System.Drawing.Color.Transparent;
     this.addButton.Style         = AddinExpress.MSO.ADXMsoButtonStyle.adxMsoButtonIcon;
     this.addButton.Tag           = "addButton";
     this.addButton.UpdateCounter = 3;
     //
     // editButton
     //
     this.editButton.Caption               = "editButton";
     this.editButton.ControlTag            = "0c6f517e-cd9e-4b1a-b7eb-cce13e9b782c";
     this.editButton.ImageTransparentColor = System.Drawing.Color.Transparent;
     this.editButton.Style         = AddinExpress.MSO.ADXMsoButtonStyle.adxMsoButtonIcon;
     this.editButton.Tag           = "editButton";
     this.editButton.UpdateCounter = 11;
     //
     // checkinButton
     //
     this.checkinButton.Caption               = "checkinButton";
     this.checkinButton.ControlTag            = "4f845e46-f6b2-4986-8852-9335534cc19a";
     this.checkinButton.ImageTransparentColor = System.Drawing.Color.Transparent;
     this.checkinButton.Style         = AddinExpress.MSO.ADXMsoButtonStyle.adxMsoButtonIcon;
     this.checkinButton.Tag           = "checkinButton";
     this.checkinButton.UpdateCounter = 3;
     //
     // cancelCheckoutButton
     //
     this.cancelCheckoutButton.Caption               = "cancelCheckoutButton";
     this.cancelCheckoutButton.ControlTag            = "8f357dd5-1c1a-4e4d-afb2-b0f44f7cabfb";
     this.cancelCheckoutButton.ImageTransparentColor = System.Drawing.Color.Transparent;
     this.cancelCheckoutButton.Style         = AddinExpress.MSO.ADXMsoButtonStyle.adxMsoButtonIcon;
     this.cancelCheckoutButton.Tag           = "cancelCheckoutButton";
     this.cancelCheckoutButton.UpdateCounter = 3;
     //
     // helpButton
     //
     this.helpButton.Caption               = "helpButton";
     this.helpButton.ControlTag            = "6f44b48b-ebee-492c-8856-cdbb989d97db";
     this.helpButton.FaceID                = 984;
     this.helpButton.ImageTransparentColor = System.Drawing.Color.Transparent;
     this.helpButton.Style         = AddinExpress.MSO.ADXMsoButtonStyle.adxMsoButtonIcon;
     this.helpButton.Tag           = "helpButton";
     this.helpButton.UpdateCounter = 4;
     //
     // ribbonTab
     //
     this.ribbonTab.Caption = "OpenKM";
     this.ribbonTab.Controls.Add(this.ribbonGroup);
     this.ribbonTab.Id      = "adxRibbonTab_08381d1c02bf432391f0dfe1ef65d510";
     this.ribbonTab.Ribbons = AddinExpress.MSO.ADXRibbons.msrWordDocument;
     //
     // ribbonGroup
     //
     this.ribbonGroup.Caption = "OpenKM tools";
     this.ribbonGroup.Controls.Add(this.ribbonBox);
     this.ribbonGroup.Id = "adxRibbonGroup_5ccf1332a1c4437d8775f2a045fdb10a";
     this.ribbonGroup.ImageTransparentColor = System.Drawing.Color.Transparent;
     this.ribbonGroup.Ribbons = AddinExpress.MSO.ADXRibbons.msrWordDocument;
     //
     // ribbonBox
     //
     this.ribbonBox.Controls.Add(this.ribbonSplitButton);
     this.ribbonBox.Id      = "adxRibbonBox_488573399981470b89b0404d005365fa";
     this.ribbonBox.Ribbons = AddinExpress.MSO.ADXRibbons.msrWordDocument;
     //
     // ribbonSplitButton
     //
     this.ribbonSplitButton.Controls.Add(this.ribbonMenu);
     this.ribbonSplitButton.Id = "adxRibbonSplitButton_fd8ed0f7957e470d98ab0938222fb823";
     this.ribbonSplitButton.ImageTransparentColor = System.Drawing.Color.Transparent;
     this.ribbonSplitButton.Ribbons = AddinExpress.MSO.ADXRibbons.msrWordDocument;
     this.ribbonSplitButton.Size    = AddinExpress.MSO.ADXRibbonXControlSize.Large;
     //
     // ribbonMenu
     //
     this.ribbonMenu.Controls.Add(this.configurationRibbonButton);
     this.ribbonMenu.Controls.Add(this.addRibbonButton);
     this.ribbonMenu.Controls.Add(this.editRibbonButton);
     this.ribbonMenu.Controls.Add(this.checkinRibbonButton);
     this.ribbonMenu.Controls.Add(this.cancelCheckoutRibbonButton);
     this.ribbonMenu.Controls.Add(this.helpRibbonButton);
     this.ribbonMenu.Id = "adxRibbonMenu_a94f8c0efc504284bcd5fb337db7bbed";
     this.ribbonMenu.ImageTransparentColor = System.Drawing.Color.Transparent;
     this.ribbonMenu.Ribbons = AddinExpress.MSO.ADXRibbons.msrWordDocument;
     //
     // configurationRibbonButton
     //
     this.configurationRibbonButton.Caption = "Configuration";
     this.configurationRibbonButton.Id      = "adxRibbonButton_64cd0492a5534dafb325c7282c95bd5f";
     this.configurationRibbonButton.ImageTransparentColor = System.Drawing.Color.Transparent;
     this.configurationRibbonButton.Ribbons = AddinExpress.MSO.ADXRibbons.msrWordDocument;
     //
     // addRibbonButton
     //
     this.addRibbonButton.Caption = "Add";
     this.addRibbonButton.Id      = "adxRibbonButton_812447ea4e0e406cbd5832258beae26e";
     this.addRibbonButton.ImageTransparentColor = System.Drawing.Color.Transparent;
     this.addRibbonButton.Ribbons = AddinExpress.MSO.ADXRibbons.msrWordDocument;
     //
     // editRibbonButton
     //
     this.editRibbonButton.Caption = "Edit";
     this.editRibbonButton.Id      = "adxRibbonButton_2d25925c80d3457c8d00cd8710aa10cb";
     this.editRibbonButton.ImageTransparentColor = System.Drawing.Color.Transparent;
     this.editRibbonButton.Ribbons = AddinExpress.MSO.ADXRibbons.msrWordDocument;
     //
     // checkinRibbonButton
     //
     this.checkinRibbonButton.Caption = "Checkin";
     this.checkinRibbonButton.Id      = "adxRibbonButton_0c8960c8357a4598903251f0bd5372a7";
     this.checkinRibbonButton.ImageTransparentColor = System.Drawing.Color.Transparent;
     this.checkinRibbonButton.Ribbons = AddinExpress.MSO.ADXRibbons.msrWordDocument;
     //
     // cancelCheckoutRibbonButton
     //
     this.cancelCheckoutRibbonButton.Caption = "Cancel chekcout";
     this.cancelCheckoutRibbonButton.Id      = "adxRibbonButton_7507b93657f94901a291c165c38ff660";
     this.cancelCheckoutRibbonButton.ImageTransparentColor = System.Drawing.Color.Transparent;
     this.cancelCheckoutRibbonButton.Ribbons = AddinExpress.MSO.ADXRibbons.msrWordDocument;
     //
     // helpRibbonButton
     //
     this.helpRibbonButton.Caption = "Help";
     this.helpRibbonButton.Id      = "adxRibbonButton_69f5891a85524e7d8810c5b7fd10267b";
     this.helpRibbonButton.ImageTransparentColor = System.Drawing.Color.Transparent;
     this.helpRibbonButton.Ribbons = AddinExpress.MSO.ADXRibbons.msrWordDocument;
     //
     // AddinModule
     //
     this.AddinName     = "OpenKMWordAddIn";
     this.SupportedApps = AddinExpress.MSO.ADXOfficeHostApp.ohaWord;
 }
 /// <summary>
 /// Required by designer support - do not modify
 /// the following method
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     this.commandBar = new AddinExpress.MSO.ADXCommandBar(this.components);
     this.configureButton = new AddinExpress.MSO.ADXCommandBarButton(this.components);
     this.addButton = new AddinExpress.MSO.ADXCommandBarButton(this.components);
     this.editButton = new AddinExpress.MSO.ADXCommandBarButton(this.components);
     this.checkinButton = new AddinExpress.MSO.ADXCommandBarButton(this.components);
     this.cancelCheckoutButton = new AddinExpress.MSO.ADXCommandBarButton(this.components);
     this.helpButton = new AddinExpress.MSO.ADXCommandBarButton(this.components);
     this.adxWordEvents = new AddinExpress.MSO.ADXWordAppEvents(this.components);
     this.ribbonTab = new AddinExpress.MSO.ADXRibbonTab(this.components);
     this.ribbonGroup = new AddinExpress.MSO.ADXRibbonGroup(this.components);
     this.ribbonBox = new AddinExpress.MSO.ADXRibbonBox(this.components);
     this.ribbonSplitButton = new AddinExpress.MSO.ADXRibbonSplitButton(this.components);
     this.ribbonMenu = new AddinExpress.MSO.ADXRibbonMenu(this.components);
     this.configurationRibbonButton = new AddinExpress.MSO.ADXRibbonButton(this.components);
     this.addRibbonButton = new AddinExpress.MSO.ADXRibbonButton(this.components);
     this.editRibbonButton = new AddinExpress.MSO.ADXRibbonButton(this.components);
     this.checkinRibbonButton = new AddinExpress.MSO.ADXRibbonButton(this.components);
     this.cancelCheckoutRibbonButton = new AddinExpress.MSO.ADXRibbonButton(this.components);
     this.helpRibbonButton = new AddinExpress.MSO.ADXRibbonButton(this.components);
     //
     // commandBar
     //
     this.commandBar.CommandBarName = "OpenKM Bar";
     this.commandBar.CommandBarTag = "0b952d78-86de-4dc8-8da2-aa405bd4a9be";
     this.commandBar.Controls.Add(this.configureButton);
     this.commandBar.Controls.Add(this.addButton);
     this.commandBar.Controls.Add(this.editButton);
     this.commandBar.Controls.Add(this.checkinButton);
     this.commandBar.Controls.Add(this.cancelCheckoutButton);
     this.commandBar.Controls.Add(this.helpButton);
     this.commandBar.UpdateCounter = 7;
     this.commandBar.UseForRibbon = true;
     //
     // configureButton
     //
     this.configureButton.Caption = "Configure";
     this.configureButton.ControlTag = "1e299dda-6709-4366-b0ad-0df0ef33c5e6";
     this.configureButton.ImageTransparentColor = System.Drawing.Color.Transparent;
     this.configureButton.Style = AddinExpress.MSO.ADXMsoButtonStyle.adxMsoButtonIconAndCaption;
     this.configureButton.Tag = "Configure OpenKM";
     this.configureButton.UpdateCounter = 6;
     //
     // addButton
     //
     this.addButton.Caption = "addButton";
     this.addButton.ControlTag = "5a17fe7d-02ba-47df-bf98-dc16245d8966";
     this.addButton.ImageTransparentColor = System.Drawing.Color.Transparent;
     this.addButton.Style = AddinExpress.MSO.ADXMsoButtonStyle.adxMsoButtonIcon;
     this.addButton.Tag = "addButton";
     this.addButton.UpdateCounter = 3;
     //
     // editButton
     //
     this.editButton.Caption = "editButton";
     this.editButton.ControlTag = "0c6f517e-cd9e-4b1a-b7eb-cce13e9b782c";
     this.editButton.ImageTransparentColor = System.Drawing.Color.Transparent;
     this.editButton.Style = AddinExpress.MSO.ADXMsoButtonStyle.adxMsoButtonIcon;
     this.editButton.Tag = "editButton";
     this.editButton.UpdateCounter = 11;
     //
     // checkinButton
     //
     this.checkinButton.Caption = "checkinButton";
     this.checkinButton.ControlTag = "4f845e46-f6b2-4986-8852-9335534cc19a";
     this.checkinButton.ImageTransparentColor = System.Drawing.Color.Transparent;
     this.checkinButton.Style = AddinExpress.MSO.ADXMsoButtonStyle.adxMsoButtonIcon;
     this.checkinButton.Tag = "checkinButton";
     this.checkinButton.UpdateCounter = 3;
     //
     // cancelCheckoutButton
     //
     this.cancelCheckoutButton.Caption = "cancelCheckoutButton";
     this.cancelCheckoutButton.ControlTag = "8f357dd5-1c1a-4e4d-afb2-b0f44f7cabfb";
     this.cancelCheckoutButton.ImageTransparentColor = System.Drawing.Color.Transparent;
     this.cancelCheckoutButton.Style = AddinExpress.MSO.ADXMsoButtonStyle.adxMsoButtonIcon;
     this.cancelCheckoutButton.Tag = "cancelCheckoutButton";
     this.cancelCheckoutButton.UpdateCounter = 3;
     //
     // helpButton
     //
     this.helpButton.Caption = "helpButton";
     this.helpButton.ControlTag = "6f44b48b-ebee-492c-8856-cdbb989d97db";
     this.helpButton.FaceID = 984;
     this.helpButton.ImageTransparentColor = System.Drawing.Color.Transparent;
     this.helpButton.Style = AddinExpress.MSO.ADXMsoButtonStyle.adxMsoButtonIcon;
     this.helpButton.Tag = "helpButton";
     this.helpButton.UpdateCounter = 4;
     //
     // ribbonTab
     //
     this.ribbonTab.Caption = "OpenKM";
     this.ribbonTab.Controls.Add(this.ribbonGroup);
     this.ribbonTab.Id = "adxRibbonTab_08381d1c02bf432391f0dfe1ef65d510";
     this.ribbonTab.Ribbons = AddinExpress.MSO.ADXRibbons.msrWordDocument;
     //
     // ribbonGroup
     //
     this.ribbonGroup.Caption = "OpenKM tools";
     this.ribbonGroup.Controls.Add(this.ribbonBox);
     this.ribbonGroup.Id = "adxRibbonGroup_5ccf1332a1c4437d8775f2a045fdb10a";
     this.ribbonGroup.ImageTransparentColor = System.Drawing.Color.Transparent;
     this.ribbonGroup.Ribbons = AddinExpress.MSO.ADXRibbons.msrWordDocument;
     //
     // ribbonBox
     //
     this.ribbonBox.Controls.Add(this.ribbonSplitButton);
     this.ribbonBox.Id = "adxRibbonBox_488573399981470b89b0404d005365fa";
     this.ribbonBox.Ribbons = AddinExpress.MSO.ADXRibbons.msrWordDocument;
     //
     // ribbonSplitButton
     //
     this.ribbonSplitButton.Controls.Add(this.ribbonMenu);
     this.ribbonSplitButton.Id = "adxRibbonSplitButton_fd8ed0f7957e470d98ab0938222fb823";
     this.ribbonSplitButton.ImageTransparentColor = System.Drawing.Color.Transparent;
     this.ribbonSplitButton.Ribbons = AddinExpress.MSO.ADXRibbons.msrWordDocument;
     this.ribbonSplitButton.Size = AddinExpress.MSO.ADXRibbonXControlSize.Large;
     //
     // ribbonMenu
     //
     this.ribbonMenu.Controls.Add(this.configurationRibbonButton);
     this.ribbonMenu.Controls.Add(this.addRibbonButton);
     this.ribbonMenu.Controls.Add(this.editRibbonButton);
     this.ribbonMenu.Controls.Add(this.checkinRibbonButton);
     this.ribbonMenu.Controls.Add(this.cancelCheckoutRibbonButton);
     this.ribbonMenu.Controls.Add(this.helpRibbonButton);
     this.ribbonMenu.Id = "adxRibbonMenu_a94f8c0efc504284bcd5fb337db7bbed";
     this.ribbonMenu.ImageTransparentColor = System.Drawing.Color.Transparent;
     this.ribbonMenu.Ribbons = AddinExpress.MSO.ADXRibbons.msrWordDocument;
     //
     // configurationRibbonButton
     //
     this.configurationRibbonButton.Caption = "Configuration";
     this.configurationRibbonButton.Id = "adxRibbonButton_64cd0492a5534dafb325c7282c95bd5f";
     this.configurationRibbonButton.ImageTransparentColor = System.Drawing.Color.Transparent;
     this.configurationRibbonButton.Ribbons = AddinExpress.MSO.ADXRibbons.msrWordDocument;
     //
     // addRibbonButton
     //
     this.addRibbonButton.Caption = "Add";
     this.addRibbonButton.Id = "adxRibbonButton_812447ea4e0e406cbd5832258beae26e";
     this.addRibbonButton.ImageTransparentColor = System.Drawing.Color.Transparent;
     this.addRibbonButton.Ribbons = AddinExpress.MSO.ADXRibbons.msrWordDocument;
     //
     // editRibbonButton
     //
     this.editRibbonButton.Caption = "Edit";
     this.editRibbonButton.Id = "adxRibbonButton_2d25925c80d3457c8d00cd8710aa10cb";
     this.editRibbonButton.ImageTransparentColor = System.Drawing.Color.Transparent;
     this.editRibbonButton.Ribbons = AddinExpress.MSO.ADXRibbons.msrWordDocument;
     //
     // checkinRibbonButton
     //
     this.checkinRibbonButton.Caption = "Checkin";
     this.checkinRibbonButton.Id = "adxRibbonButton_0c8960c8357a4598903251f0bd5372a7";
     this.checkinRibbonButton.ImageTransparentColor = System.Drawing.Color.Transparent;
     this.checkinRibbonButton.Ribbons = AddinExpress.MSO.ADXRibbons.msrWordDocument;
     //
     // cancelCheckoutRibbonButton
     //
     this.cancelCheckoutRibbonButton.Caption = "Cancel chekcout";
     this.cancelCheckoutRibbonButton.Id = "adxRibbonButton_7507b93657f94901a291c165c38ff660";
     this.cancelCheckoutRibbonButton.ImageTransparentColor = System.Drawing.Color.Transparent;
     this.cancelCheckoutRibbonButton.Ribbons = AddinExpress.MSO.ADXRibbons.msrWordDocument;
     //
     // helpRibbonButton
     //
     this.helpRibbonButton.Caption = "Help";
     this.helpRibbonButton.Id = "adxRibbonButton_69f5891a85524e7d8810c5b7fd10267b";
     this.helpRibbonButton.ImageTransparentColor = System.Drawing.Color.Transparent;
     this.helpRibbonButton.Ribbons = AddinExpress.MSO.ADXRibbons.msrWordDocument;
     //
     // AddinModule
     //
     this.AddinName = "OpenKMWordAddIn";
     this.SupportedApps = AddinExpress.MSO.ADXOfficeHostApp.ohaWord;
 }