コード例 #1
0
 public RibbonItems(Ribbon ribbon)
 {
     if (ribbon == null)
     {
         throw new ArgumentNullException(nameof(ribbon), "Parameter is null");
     }
     this.Ribbon            = ribbon;
     ApplicationMenu        = new RibbonApplicationMenu(ribbon, Cmd.cmdApplicationMenu);
     RecentItems            = new RibbonRecentItems(ribbon, Cmd.cmdRecentItems);
     ButtonNew              = new RibbonButton(ribbon, Cmd.cmdButtonNew);
     ButtonOpen             = new RibbonButton(ribbon, Cmd.cmdButtonOpen);
     ButtonSave             = new RibbonButton(ribbon, Cmd.cmdButtonSave);
     ButtonExitMenu         = new RibbonButton(ribbon, Cmd.cmdButtonExitMenu);
     HelpButton             = new RibbonHelpButton(ribbon, Cmd.cmdHelpButton);
     QAT                    = new RibbonQuickAccessToolbar(ribbon, Cmd.cmdQAT, Cmd.cmdCustomizeQAT);
     ButtonPrint            = new RibbonButton(ribbon, Cmd.cmdButtonPrint);
     ButtonUndo             = new RibbonButton(ribbon, Cmd.cmdButtonUndo);
     TabHome                = new RibbonTab(ribbon, Cmd.cmdTabHome);
     GroupClipboard         = new RibbonGroup(ribbon, Cmd.cmdGroupClipboard);
     ButtonPaste            = new RibbonSplitButton(ribbon, Cmd.cmdButtonPaste);
     ButtonPaste2           = new RibbonButton(ribbon, Cmd.cmdButtonPaste2);
     Menu1                  = new RibbonMenuGroup(ribbon, Cmd.cmdMenu1);
     ButtonMenuPaste        = new RibbonButton(ribbon, Cmd.cmdButtonMenuPaste);
     ButtonMenuPasteSpecial = new RibbonButton(ribbon, Cmd.cmdButtonMenuPasteSpecial);
     ButtonMenuPasteLink    = new RibbonButton(ribbon, Cmd.cmdButtonMenuPasteLink);
     ButtonCut              = new RibbonButton(ribbon, Cmd.cmdButtonCut);
     ButtonCopy             = new RibbonButton(ribbon, Cmd.cmdButtonCopy);
     ButtonCopyFormat       = new RibbonButton(ribbon, Cmd.cmdButtonCopyFormat);
     GroupFont              = new RibbonGroup(ribbon, Cmd.cmdGroupFont);
     FontControl            = new RibbonFontControl(ribbon, Cmd.cmdFontControl);
     GroupParagraph         = new RibbonGroup(ribbon, Cmd.cmdGroupParagraph);
     ButtonP101             = new RibbonSplitButton(ribbon, Cmd.cmdButtonP101);
     ButtonP1               = new RibbonButton(ribbon, Cmd.cmdButtonP1);
     ButtonP102             = new RibbonSplitButton(ribbon, Cmd.cmdButtonP102);
     ButtonP2               = new RibbonButton(ribbon, Cmd.cmdButtonP2);
     ButtonP3               = new RibbonDropDownButton(ribbon, Cmd.cmdButtonP3);
     ButtonP4               = new RibbonButton(ribbon, Cmd.cmdButtonP4);
     ButtonP5               = new RibbonButton(ribbon, Cmd.cmdButtonP5);
     ButtonP6               = new RibbonButton(ribbon, Cmd.cmdButtonP6);
     ButtonP7               = new RibbonButton(ribbon, Cmd.cmdButtonP7);
     ButtonP108             = new RibbonSplitButton(ribbon, Cmd.cmdButtonP108);
     ButtonP8               = new RibbonButton(ribbon, Cmd.cmdButtonP8);
     ButtonP109             = new RibbonSplitButton(ribbon, Cmd.cmdButtonP109);
     ButtonP9               = new RibbonButton(ribbon, Cmd.cmdButtonP9);
     ButtonP10              = new RibbonButton(ribbon, Cmd.cmdButtonP10);
     ButtonP11              = new RibbonButton(ribbon, Cmd.cmdButtonP11);
     ButtonP12              = new RibbonButton(ribbon, Cmd.cmdButtonP12);
     ButtonP13              = new RibbonButton(ribbon, Cmd.cmdButtonP13);
     ButtonP14              = new RibbonButton(ribbon, Cmd.cmdButtonP14);
     GroupStyles            = new RibbonGroup(ribbon, Cmd.cmdGroupStyles);
     InRibbonGallery        = new RibbonInRibbonGallery(ribbon, Cmd.cmdInRibbonGallery);
     ButtonStyles1          = new RibbonButton(ribbon, Cmd.cmdButtonStyles1);
     ButtonStyles2          = new RibbonButton(ribbon, Cmd.cmdButtonStyles2);
     ButtonStyles3          = new RibbonButton(ribbon, Cmd.cmdButtonStyles3);
     ButtonChangeStyles     = new RibbonDropDownButton(ribbon, Cmd.cmdButtonChangeStyles);
     ButtonMenuStyleSet     = new RibbonButton(ribbon, Cmd.cmdButtonMenuStyleSet);
     ButtonMenuColors       = new RibbonDropDownColorPicker(ribbon, Cmd.cmdButtonMenuColors);
     ButtonMenuFont         = new RibbonButton(ribbon, Cmd.cmdButtonMenuFont);
     ButtonMenuSetAsDefault = new RibbonButton(ribbon, Cmd.cmdButtonMenuSetAsDefault);
     GroupEditing           = new RibbonGroup(ribbon, Cmd.cmdGroupEditing);
     ButtonFind             = new RibbonButton(ribbon, Cmd.cmdButtonFind);
     ButtonReplace          = new RibbonButton(ribbon, Cmd.cmdButtonReplace);
     ButtonGoto             = new RibbonButton(ribbon, Cmd.cmdButtonGoto);
     ButtonSelect           = new RibbonDropDownButton(ribbon, Cmd.cmdButtonSelect);
     ButtonMenuSelect1      = new RibbonButton(ribbon, Cmd.cmdButtonMenuSelect1);
     ButtonMenuSelect2      = new RibbonButton(ribbon, Cmd.cmdButtonMenuSelect2);
     ButtonMenuSelect3      = new RibbonButton(ribbon, Cmd.cmdButtonMenuSelect3);
     TabInsert              = new RibbonTab(ribbon, Cmd.cmdTabInsert);
     GroupPages             = new RibbonGroup(ribbon, Cmd.cmdGroupPages);
     GroupTables            = new RibbonGroup(ribbon, Cmd.cmdGroupTables);
     GroupIllustrations     = new RibbonGroup(ribbon, Cmd.cmdGroupIllustrations);
     TabPageLayout          = new RibbonTab(ribbon, Cmd.cmdTabPageLayout);
     Group1                 = new RibbonGroup(ribbon, Cmd.cmdGroup1);
     Combo1                 = new RibbonComboBox(ribbon, Cmd.cmdCombo1);
     Button1                = new RibbonButton(ribbon, Cmd.cmdButton1);
     Combo2                 = new RibbonComboBox(ribbon, Cmd.cmdCombo2);
     Button2                = new RibbonButton(ribbon, Cmd.cmdButton2);
     Hidden1                = new RibbonButton(ribbon, Cmd.cmdHidden1);
     Group2                 = new RibbonGroup(ribbon, Cmd.cmdGroup2);
     Hidden2                = new RibbonButton(ribbon, Cmd.cmdHidden2);
     Group3                 = new RibbonGroup(ribbon, Cmd.cmdGroup3);
     ButtonLabel            = new RibbonButton(ribbon, Cmd.cmdButtonLabel);
     Group4                 = new RibbonGroup(ribbon, Cmd.cmdGroup4);
     Group5                 = new RibbonGroup(ribbon, Cmd.cmdGroup5);
     ButtonDate             = new RibbonButton(ribbon, Cmd.cmdButtonDate);
 }
コード例 #2
0
 private void InitializeComponents()
 {
     // Instantiate Controls
     HelpButton = new RibbonHelpButton(ribbon, (uint)RibbonMarkupCommands.HelpButton);
     ApplicationMenu = new RibbonApplicationMenu(ribbon, (uint)RibbonMarkupCommands.ApplicationMenu);
     RecentItems = new RibbonRecentItems(ribbon, (uint)RibbonMarkupCommands.RecentItems);
     ButtonNew = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.ButtonNew);
     ButtonOpen = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.ButtonOpen);
     ButtonSave = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.ButtonSave);
     SaveAs = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.SaveAs);
     SaveAll = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.SaveAll);
     Export = new RibbonDropDownButton(ribbon, (uint)RibbonMarkupCommands.Export);
     ExportAsPNG = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.ExportAsPNG);
     ExportAsJPG = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.ExportAsJPG);
     Close = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.Close);
     ButtonExit = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.ButtonExit);
     TabHome = new RibbonTab(ribbon, (uint)RibbonMarkupCommands.TabHome);
     NewNode = new RibbonGroup(ribbon, (uint)RibbonMarkupCommands.NewNode);
     NewChildNode = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.NewChildNode);
     NewLongNode = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.NewLongNode);
     NewNodeAbove = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.NewNodeAbove);
     NewNodeBelow = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.NewNodeBelow);
     NewNodeParent = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.NewNodeParent);
     GrpEdit = new RibbonGroup(ribbon, (uint)RibbonMarkupCommands.GrpEdit);
     EditText = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.EditText);
     EditLong = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.EditLong);
     DeleteNode = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.DeleteNode);
     GrpClipboard = new RibbonGroup(ribbon, (uint)RibbonMarkupCommands.GrpClipboard);
     Paste = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.Paste);
     PasteAsText = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.PasteAsText);
     Cut = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.Cut);
     Copy = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.Copy);
     FormatPainter = new RibbonToggleButton(ribbon, (uint)RibbonMarkupCommands.FormatPainter);
     GrpFont = new RibbonGroup(ribbon, (uint)RibbonMarkupCommands.GrpFont);
     RichFont = new RibbonFontControl(ribbon, (uint)RibbonMarkupCommands.RichFont);
     GrpFormat = new RibbonGroup(ribbon, (uint)RibbonMarkupCommands.GrpFormat);
     BackColor = new RibbonDropDownColorPicker(ribbon, (uint)RibbonMarkupCommands.BackColor);
     ClearFormatting = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.ClearFormatting);
     GrpIcons = new RibbonGroup(ribbon, (uint)RibbonMarkupCommands.GrpIcons);
     IconsGallery = new RibbonInRibbonGallery(ribbon, (uint)RibbonMarkupCommands.IconsGallery);
     RemoveLastIcon = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.RemoveLastIcon);
     RemoveAllIcons = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.RemoveAllIcons);
     LaunchIconsDialog = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.LaunchIconsDialog);
     TabEdit = new RibbonTab(ribbon, (uint)RibbonMarkupCommands.TabEdit);
     GrpSelect = new RibbonGroup(ribbon, (uint)RibbonMarkupCommands.GrpSelect);
     SelectAll = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.SelectAll);
     SelectSiblings = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.SelectSiblings);
     SelectAncestors = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.SelectAncestors);
     SelectChildren = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.SelectChildren);
     SelectDescendents = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.SelectDescendents);
     SelectDescendentsUpto1 = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.SelectDescendentsUpto1);
     SelectDescendentsUpto2 = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.SelectDescendentsUpto2);
     SelectDescendentsUpto3 = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.SelectDescendentsUpto3);
     SelectDescendentsUpto4 = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.SelectDescendentsUpto4);
     SelectDescendentsUpto5 = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.SelectDescendentsUpto5);
     ExpandOnSelect = new RibbonCheckBox(ribbon, (uint)RibbonMarkupCommands.ExpandOnSelect);
     SelectLevel = new RibbonDropDownButton(ribbon, (uint)RibbonMarkupCommands.SelectLevel);
     SelectLevel1 = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.SelectLevel1);
     SelectLevel2 = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.SelectLevel2);
     SelectLevel3 = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.SelectLevel3);
     SelectLevel4 = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.SelectLevel4);
     SelectLevel5 = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.SelectLevel5);
     SelectLevelCurrent = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.SelectLevelCurrent);
     GrpExpand = new RibbonGroup(ribbon, (uint)RibbonMarkupCommands.GrpExpand);
     ExpandAll = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.ExpandAll);
     CollapseAll = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.CollapseAll);
     ToggleCurrent = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.ToggleCurrent);
     ToggleBranch = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.ToggleBranch);
     ExpandMapToCurrentLevel = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.ExpandMapToCurrentLevel);
     ExpandMapToLevel1 = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.ExpandMapToLevel1);
     ExpandMapToLevel2 = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.ExpandMapToLevel2);
     ExpandMapToLevel3 = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.ExpandMapToLevel3);
     ExpandMapToLevel4 = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.ExpandMapToLevel4);
     ExpandMapToLevel5 = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.ExpandMapToLevel5);
     GrpNavigate = new RibbonGroup(ribbon, (uint)RibbonMarkupCommands.GrpNavigate);
     NavigateToCenter = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.NavigateToCenter);
     NavigateToFirstSibling = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.NavigateToFirstSibling);
     NavigateToLastSibling = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.NavigateToLastSibling);
     GrpMove = new RibbonGroup(ribbon, (uint)RibbonMarkupCommands.GrpMove);
     MoveUp = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.MoveUp);
     MoveDown = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.MoveDown);
     GrpSort = new RibbonGroup(ribbon, (uint)RibbonMarkupCommands.GrpSort);
     SortAlphabetic = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.SortAlphabetic);
     SortDueDate = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.SortDueDate);
     SortNodeCount = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.SortNodeCount);
     SortCreateDate = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.SortCreateDate);
     SortModifiedDate = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.SortModifiedDate);
     SortOrder = new RibbonToggleButton(ribbon, (uint)RibbonMarkupCommands.SortOrder);
     GrpUndo = new RibbonGroup(ribbon, (uint)RibbonMarkupCommands.GrpUndo);
     Undo = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.Undo);
     Redo = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.Redo);
     TabInsert = new RibbonTab(ribbon, (uint)RibbonMarkupCommands.TabInsert);
     GrpHyperlink = new RibbonGroup(ribbon, (uint)RibbonMarkupCommands.GrpHyperlink);
     Hyperlink = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.Hyperlink);
     HyperlinkFile = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.HyperlinkFile);
     HyperlinkFolder = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.HyperlinkFolder);
     RemoveHyperlink = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.RemoveHyperlink);
     GrpNote = new RibbonGroup(ribbon, (uint)RibbonMarkupCommands.GrpNote);
     InsertNote = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.InsertNote);
     GrpTask = new RibbonGroup(ribbon, (uint)RibbonMarkupCommands.GrpTask);
     AddTask = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.AddTask);
     AddTaskToday = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.AddTaskToday);
     AddTaskTomorrow = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.AddTaskTomorrow);
     AddTaskNextWeek = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.AddTaskNextWeek);
     AddTaskNextMonth = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.AddTaskNextMonth);
     AddTaskNextQuarter = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.AddTaskNextQuarter);
     CompleteTask = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.CompleteTask);
     RemoveTask = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.RemoveTask);
     TabFormat = new RibbonTab(ribbon, (uint)RibbonMarkupCommands.TabFormat);
     GrpNodeFormat = new RibbonGroup(ribbon, (uint)RibbonMarkupCommands.GrpNodeFormat);
     NodeShape = new RibbonDropDownGallery(ribbon, (uint)RibbonMarkupCommands.NodeShape);
     ClearShapeFormat = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.ClearShapeFormat);
     LineColor = new RibbonDropDownColorPicker(ribbon, (uint)RibbonMarkupCommands.LineColor);
     LinePattern = new RibbonDropDownButton(ribbon, (uint)RibbonMarkupCommands.LinePattern);
     LinePatternSolid = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.LinePatternSolid);
     LinePatternDashed = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.LinePatternDashed);
     LinePatternDotted = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.LinePatternDotted);
     LinePatternMixed = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.LinePatternMixed);
     LineThickness = new RibbonDropDownButton(ribbon, (uint)RibbonMarkupCommands.LineThickness);
     LineThickness1 = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.LineThickness1);
     LineThickness2 = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.LineThickness2);
     LineThickness4 = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.LineThickness4);
     GrpNodeStyle = new RibbonGroup(ribbon, (uint)RibbonMarkupCommands.GrpNodeStyle);
     NodeStyleGallery = new RibbonInRibbonGallery(ribbon, (uint)RibbonMarkupCommands.NodeStyleGallery);
     CreateNodeStyle = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.CreateNodeStyle);
     GrpClearFormat = new RibbonGroup(ribbon, (uint)RibbonMarkupCommands.GrpClearFormat);
     TabView = new RibbonTab(ribbon, (uint)RibbonMarkupCommands.TabView);
     GrpViewTask = new RibbonGroup(ribbon, (uint)RibbonMarkupCommands.GrpViewTask);
     ViewCalendar = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.ViewCalendar);
     ViewTaskList = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.ViewTaskList);
     GrpViewNote = new RibbonGroup(ribbon, (uint)RibbonMarkupCommands.GrpViewNote);
     ViewNote = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.ViewNote);
     TabGroupNote = new RibbonTabGroup(ribbon, (uint)RibbonMarkupCommands.TabGroupNote);
     TabNoteEditor = new RibbonTab(ribbon, (uint)RibbonMarkupCommands.TabNoteEditor);
     GrpNoteFont = new RibbonGroup(ribbon, (uint)RibbonMarkupCommands.GrpNoteFont);
     GrpNoteClearFormat = new RibbonGroup(ribbon, (uint)RibbonMarkupCommands.GrpNoteClearFormat);
     GrpParagraph = new RibbonGroup(ribbon, (uint)RibbonMarkupCommands.GrpParagraph);
     Bullets = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.Bullets);
     Numbers = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.Numbers);
     Outdent = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.Outdent);
     Indent = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.Indent);
     AlignLeft = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.AlignLeft);
     AlignCenter = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.AlignCenter);
     AlignRight = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.AlignRight);
     Justify = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.Justify);
     GrpNoteStyles = new RibbonGroup(ribbon, (uint)RibbonMarkupCommands.GrpNoteStyles);
     NoteHeading1 = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.NoteHeading1);
     NoteHeading2 = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.NoteHeading2);
     NoteHeading3 = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.NoteHeading3);
     NoteNormal = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.NoteNormal);
     GrpNoteTable = new RibbonGroup(ribbon, (uint)RibbonMarkupCommands.GrpNoteTable);
     NoteInsertTable = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.NoteInsertTable);
     GrpNoteEditHtml = new RibbonGroup(ribbon, (uint)RibbonMarkupCommands.GrpNoteEditHtml);
     NoteEditHtml = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.NoteEditHtml);
     TabGroupNoteTable = new RibbonTabGroup(ribbon, (uint)RibbonMarkupCommands.TabGroupNoteTable);
     TabNoteTableLayout = new RibbonTab(ribbon, (uint)RibbonMarkupCommands.TabNoteTableLayout);
     GrpCustomizeTable = new RibbonGroup(ribbon, (uint)RibbonMarkupCommands.GrpCustomizeTable);
     ModifyTableProperties = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.ModifyTableProperties);
     GrpTableDelete = new RibbonGroup(ribbon, (uint)RibbonMarkupCommands.GrpTableDelete);
     DeleteRow = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.DeleteRow);
     DeleteColumn = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.DeleteColumn);
     DeleteTable = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.DeleteTable);
     GrpTableInsert = new RibbonGroup(ribbon, (uint)RibbonMarkupCommands.GrpTableInsert);
     InsertRowAbove = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.InsertRowAbove);
     InsertRowBelow = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.InsertRowBelow);
     InsertColumnLeft = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.InsertColumnLeft);
     InsertColumnRight = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.InsertColumnRight);
     GrpTableMove = new RibbonGroup(ribbon, (uint)RibbonMarkupCommands.GrpTableMove);
     MoveRowUp = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.MoveRowUp);
     MoveRowDown = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.MoveRowDown);
     MoveColumnLeft = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.MoveColumnLeft);
     MoveColumnRight = new RibbonButton(ribbon, (uint)RibbonMarkupCommands.MoveColumnRight);
 }