-
Notifications
You must be signed in to change notification settings - Fork 3
/
Ribbon1.Designer.cs
1194 lines (1186 loc) · 66.3 KB
/
Ribbon1.Designer.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
namespace WordAddIn1
{
partial class Ribbon1 : Microsoft.Office.Tools.Ribbon.RibbonBase
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
public Ribbon1()
: base(Globals.Factory.GetRibbonFactory())
{
InitializeComponent();
}
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region 组件设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要修改
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Ribbon1));
this.tab1 = this.Factory.CreateRibbonTab();
this.group_tuisong = this.Factory.CreateRibbonGroup();
this.button_MainTitle = this.Factory.CreateRibbonButton();
this.button_title_1 = this.Factory.CreateRibbonButton();
this.button_title_2 = this.Factory.CreateRibbonButton();
this.button_MainText = this.Factory.CreateRibbonButton();
this.button_header = this.Factory.CreateRibbonButton();
this.button_footer = this.Factory.CreateRibbonButton();
this.button_font = this.Factory.CreateRibbonButton();
this.button_clearFont = this.Factory.CreateRibbonButton();
this.TimeHeader = this.Factory.CreateRibbonButton();
this.author = this.Factory.CreateRibbonSplitButton();
this.author_o = this.Factory.CreateRibbonButton();
this.author_wps = this.Factory.CreateRibbonButton();
this.author_doc = this.Factory.CreateRibbonButton();
this.author_c = this.Factory.CreateRibbonButton();
this.author_new = this.Factory.CreateRibbonButton();
this.WeixinPic = this.Factory.CreateRibbonButton();
this.bilibiliPic = this.Factory.CreateRibbonButton();
this.changeStyle = this.Factory.CreateRibbonButton();
this.code = this.Factory.CreateRibbonGroup();
this.CodeFormat = this.Factory.CreateRibbonButton();
this.CodeTabSetting = this.Factory.CreateRibbonButton();
this.CodeTabSetting2 = this.Factory.CreateRibbonButton();
this.BorderLine = this.Factory.CreateRibbonButton();
this.ResetCodeBGcolor = this.Factory.CreateRibbonButton();
this.TableWidthSet = this.Factory.CreateRibbonMenu();
this.TableWidth = this.Factory.CreateRibbonButton();
this.CodeTableFullWidth = this.Factory.CreateRibbonButton();
this.CodeNoWidthSet = this.Factory.CreateRibbonButton();
this.PresetCode = this.Factory.CreateRibbonMenu();
this.CodeOpenPreset = this.Factory.CreateRibbonButton();
this.CodeSavePreset = this.Factory.CreateRibbonButton();
this.CodeListNum = this.Factory.CreateRibbonButton();
this.CodeBoderLineFun = this.Factory.CreateRibbonButton();
this.CodeControl = this.Factory.CreateRibbonButton();
this.CodeLatex = this.Factory.CreateRibbonGroup();
this.CodeFormatLatex = this.Factory.CreateRibbonButton();
this.Code2 = this.Factory.CreateRibbonGroup();
this.CodeFormat2 = this.Factory.CreateRibbonButton();
this.SetCode3CurrentColor = this.Factory.CreateRibbonButton();
this.saveCode3Color = this.Factory.CreateRibbonButton();
this.CodeGroup4 = this.Factory.CreateRibbonGroup();
this.CodeFormat4 = this.Factory.CreateRibbonButton();
this.SetCode4CurrentColor = this.Factory.CreateRibbonButton();
this.saveCode4Color = this.Factory.CreateRibbonButton();
this.ToolsBox = this.Factory.CreateRibbonGroup();
this.ParaShadeSplit = this.Factory.CreateRibbonSplitButton();
this.ParagraphShading = this.Factory.CreateRibbonButton();
this.ParaShadingColorSet = this.Factory.CreateRibbonButton();
this.DeleteShading = this.Factory.CreateRibbonButton();
this.StyleShadeSplit = this.Factory.CreateRibbonSplitButton();
this.styleShading = this.Factory.CreateRibbonButton();
this.styleShadeClear = this.Factory.CreateRibbonButton();
this.TableColoring = this.Factory.CreateRibbonButton();
this.ThreeLine = this.Factory.CreateRibbonButton();
this.changecharCE = this.Factory.CreateRibbonButton();
this.checkCharMatch = this.Factory.CreateRibbonButton();
this.del_header_line = this.Factory.CreateRibbonButton();
this.inlineCode = this.Factory.CreateRibbonButton();
this.bib2gbt = this.Factory.CreateRibbonButton();
this.pdfToolsGroup = this.Factory.CreateRibbonGroup();
this.Pdf2Img = this.Factory.CreateRibbonButton();
this.Img2Pdf = this.Factory.CreateRibbonButton();
this.Pdf2Imgpdf = this.Factory.CreateRibbonButton();
this.MgPdf = this.Factory.CreateRibbonButton();
this.mathList = this.Factory.CreateRibbonGroup();
this.mathInsertCh1 = this.Factory.CreateRibbonButton();
this.visSplit = this.Factory.CreateRibbonToggleButton();
this.addEQNUM = this.Factory.CreateRibbonButton();
this.mathChangeMod = this.Factory.CreateRibbonMenu();
this.mathMod1 = this.Factory.CreateRibbonButton();
this.mathMod2 = this.Factory.CreateRibbonButton();
this.mathMod3 = this.Factory.CreateRibbonButton();
this.mathMod4 = this.Factory.CreateRibbonButton();
this.updateField = this.Factory.CreateRibbonButton();
this.setSeqChar = this.Factory.CreateRibbonButton();
this.runCodeGroup = this.Factory.CreateRibbonGroup();
this.runCode = this.Factory.CreateRibbonButton();
this.chooseCode = this.Factory.CreateRibbonMenu();
this.choosePython = this.Factory.CreateRibbonButton();
this.chooseR = this.Factory.CreateRibbonButton();
this.chooseJava = this.Factory.CreateRibbonButton();
this.appendCodeMod = this.Factory.CreateRibbonCheckBox();
this.simpleBrowser = this.Factory.CreateRibbonGroup();
this.startBrowser = this.Factory.CreateRibbonButton();
this.testGroup = this.Factory.CreateRibbonGroup();
this.FileTabOnOff = this.Factory.CreateRibbonToggleButton();
this.highlight = this.Factory.CreateRibbonButton();
this.control = this.Factory.CreateRibbonGroup();
this.SettingBt = this.Factory.CreateRibbonButton();
this.About = this.Factory.CreateRibbonButton();
this.button1 = this.Factory.CreateRibbonButton();
this.tab1.SuspendLayout();
this.group_tuisong.SuspendLayout();
this.code.SuspendLayout();
this.CodeLatex.SuspendLayout();
this.Code2.SuspendLayout();
this.CodeGroup4.SuspendLayout();
this.ToolsBox.SuspendLayout();
this.pdfToolsGroup.SuspendLayout();
this.mathList.SuspendLayout();
this.runCodeGroup.SuspendLayout();
this.simpleBrowser.SuspendLayout();
this.testGroup.SuspendLayout();
this.control.SuspendLayout();
this.SuspendLayout();
//
// tab1
//
this.tab1.Groups.Add(this.group_tuisong);
this.tab1.Groups.Add(this.code);
this.tab1.Groups.Add(this.CodeLatex);
this.tab1.Groups.Add(this.Code2);
this.tab1.Groups.Add(this.CodeGroup4);
this.tab1.Groups.Add(this.ToolsBox);
this.tab1.Groups.Add(this.pdfToolsGroup);
this.tab1.Groups.Add(this.mathList);
this.tab1.Groups.Add(this.runCodeGroup);
this.tab1.Groups.Add(this.simpleBrowser);
this.tab1.Groups.Add(this.testGroup);
this.tab1.Groups.Add(this.control);
this.tab1.Label = "分点";
this.tab1.Name = "tab1";
//
// group_tuisong
//
this.group_tuisong.Items.Add(this.button_MainTitle);
this.group_tuisong.Items.Add(this.button_title_1);
this.group_tuisong.Items.Add(this.button_title_2);
this.group_tuisong.Items.Add(this.button_MainText);
this.group_tuisong.Items.Add(this.button_header);
this.group_tuisong.Items.Add(this.button_footer);
this.group_tuisong.Items.Add(this.button_font);
this.group_tuisong.Items.Add(this.button_clearFont);
this.group_tuisong.Items.Add(this.TimeHeader);
this.group_tuisong.Items.Add(this.author);
this.group_tuisong.Items.Add(this.WeixinPic);
this.group_tuisong.Items.Add(this.bilibiliPic);
this.group_tuisong.Items.Add(this.changeStyle);
this.group_tuisong.Label = "文案";
this.group_tuisong.Name = "group_tuisong";
this.group_tuisong.Visible = false;
//
// button_MainTitle
//
this.button_MainTitle.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
this.button_MainTitle.Image = ((System.Drawing.Image)(resources.GetObject("button_MainTitle.Image")));
this.button_MainTitle.Label = "文章标题";
this.button_MainTitle.Name = "button_MainTitle";
this.button_MainTitle.ScreenTip = "文章标题";
this.button_MainTitle.ShowImage = true;
this.button_MainTitle.SuperTip = "将段落设置为主标题,并保存至文档信息";
this.button_MainTitle.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.button_MainTitle_Click);
//
// button_title_1
//
this.button_title_1.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
this.button_title_1.Image = ((System.Drawing.Image)(resources.GetObject("button_title_1.Image")));
this.button_title_1.Label = "一级标题";
this.button_title_1.Name = "button_title_1";
this.button_title_1.ScreenTip = "一级标题";
this.button_title_1.ShowImage = true;
this.button_title_1.SuperTip = "将段落设置为一级标题";
this.button_title_1.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.button_title_1_Click);
//
// button_title_2
//
this.button_title_2.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
this.button_title_2.Image = ((System.Drawing.Image)(resources.GetObject("button_title_2.Image")));
this.button_title_2.Label = "二级标题";
this.button_title_2.Name = "button_title_2";
this.button_title_2.ScreenTip = "二级标题";
this.button_title_2.ShowImage = true;
this.button_title_2.SuperTip = "将段落设置为二级标题";
this.button_title_2.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.button_title_2_Click);
//
// button_MainText
//
this.button_MainText.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
this.button_MainText.Image = ((System.Drawing.Image)(resources.GetObject("button_MainText.Image")));
this.button_MainText.Label = "正文格式";
this.button_MainText.Name = "button_MainText";
this.button_MainText.ScreenTip = "正文格式";
this.button_MainText.ShowImage = true;
this.button_MainText.SuperTip = "将段落设置为正文";
this.button_MainText.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.button_MainText_Click);
//
// button_header
//
this.button_header.Label = "页眉";
this.button_header.Name = "button_header";
this.button_header.ScreenTip = "设置页眉";
this.button_header.SuperTip = "中间页眉文字";
this.button_header.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.button_header_Click);
//
// button_footer
//
this.button_footer.Label = "页脚";
this.button_footer.Name = "button_footer";
this.button_footer.ScreenTip = "设置页脚";
this.button_footer.SuperTip = "右下角添加页脚文字";
this.button_footer.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.button_footer_Click);
//
// button_font
//
this.button_font.Label = "字体";
this.button_font.Name = "button_font";
this.button_font.ScreenTip = "全文字体";
this.button_font.SuperTip = "设置全文为宋体";
this.button_font.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.button_font_Click);
//
// button_clearFont
//
this.button_clearFont.Label = "清除格式";
this.button_clearFont.Name = "button_clearFont";
this.button_clearFont.ScreenTip = "清除格式";
this.button_clearFont.SuperTip = "只留下无格式文本";
this.button_clearFont.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.button_clearFont_Click);
//
// TimeHeader
//
this.TimeHeader.Label = "时间页眉";
this.TimeHeader.Name = "TimeHeader";
this.TimeHeader.ScreenTip = "设置页眉";
this.TimeHeader.SuperTip = "右侧页眉显示上角当天日期(年/月/日)";
this.TimeHeader.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.TimeHeader_Click);
//
// author
//
this.author.Image = global::WordAddIn1.Properties.Resources.署名;
this.author.Items.Add(this.author_o);
this.author.Items.Add(this.author_wps);
this.author.Items.Add(this.author_doc);
this.author.Items.Add(this.author_c);
this.author.Items.Add(this.author_new);
this.author.Label = "署名";
this.author.Name = "author";
this.author.ScreenTip = "文章署名";
this.author.SuperTip = "文末显示作者,默认使用上次的选择";
this.author.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.author_Click);
//
// author_o
//
this.author_o.Image = ((System.Drawing.Image)(resources.GetObject("author_o.Image")));
this.author_o.Label = "Office账户";
this.author_o.Name = "author_o";
this.author_o.ScreenTip = "使用Office账户名称";
this.author_o.ShowImage = true;
this.author_o.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.author_o_Click);
//
// author_wps
//
this.author_wps.Image = ((System.Drawing.Image)(resources.GetObject("author_wps.Image")));
this.author_wps.Label = "WPS账户";
this.author_wps.Name = "author_wps";
this.author_wps.ScreenTip = "使用WPS账户名称";
this.author_wps.ShowImage = true;
this.author_wps.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.author_wps_Click);
//
// author_doc
//
this.author_doc.Image = ((System.Drawing.Image)(resources.GetObject("author_doc.Image")));
this.author_doc.Label = "文档创建者";
this.author_doc.Name = "author_doc";
this.author_doc.ScreenTip = "使用文档创建者名称";
this.author_doc.ShowImage = true;
this.author_doc.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.author_doc_Click);
//
// author_c
//
this.author_c.Image = ((System.Drawing.Image)(resources.GetObject("author_c.Image")));
this.author_c.Label = "计算机账户";
this.author_c.Name = "author_c";
this.author_c.ScreenTip = "使用计算机账户名称";
this.author_c.ShowImage = true;
this.author_c.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.author_c_Click);
//
// author_new
//
this.author_new.Image = ((System.Drawing.Image)(resources.GetObject("author_new.Image")));
this.author_new.Label = "自定义名称";
this.author_new.Name = "author_new";
this.author_new.ScreenTip = "使用自定义署名";
this.author_new.ShowImage = true;
this.author_new.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.author_new_Click);
//
// WeixinPic
//
this.WeixinPic.Image = ((System.Drawing.Image)(resources.GetObject("WeixinPic.Image")));
this.WeixinPic.Label = "获取封面";
this.WeixinPic.Name = "WeixinPic";
this.WeixinPic.ScreenTip = "微信推送封面";
this.WeixinPic.ShowImage = true;
this.WeixinPic.SuperTip = "输入微信推送连接,插入封面图至文档选中处";
this.WeixinPic.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.WeixinPic_Click);
//
// bilibiliPic
//
this.bilibiliPic.Image = ((System.Drawing.Image)(resources.GetObject("bilibiliPic.Image")));
this.bilibiliPic.Label = "获取封面";
this.bilibiliPic.Name = "bilibiliPic";
this.bilibiliPic.ScreenTip = "B站视频or直播封面";
this.bilibiliPic.ShowImage = true;
this.bilibiliPic.SuperTip = "输入B站视频or直播连接,插入封面图至文档选中处";
this.bilibiliPic.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.bilibiliPic_Click);
//
// changeStyle
//
this.changeStyle.Image = global::WordAddIn1.Properties.Resources.choose;
this.changeStyle.Label = "选择预设";
this.changeStyle.Name = "changeStyle";
this.changeStyle.ScreenTip = "选择预设";
this.changeStyle.ShowImage = true;
this.changeStyle.SuperTip = "改变标题、一级标题、二级标题、正文格式的预设";
this.changeStyle.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.changeStyle_Click);
//
// code
//
this.code.Items.Add(this.CodeFormat);
this.code.Items.Add(this.CodeTabSetting);
this.code.Items.Add(this.CodeTabSetting2);
this.code.Items.Add(this.BorderLine);
this.code.Items.Add(this.ResetCodeBGcolor);
this.code.Items.Add(this.TableWidthSet);
this.code.Items.Add(this.PresetCode);
this.code.Items.Add(this.CodeListNum);
this.code.Items.Add(this.CodeBoderLineFun);
this.code.Items.Add(this.CodeControl);
this.code.Label = "代码排版";
this.code.Name = "code";
this.code.Tag = "";
this.code.Visible = false;
//
// CodeFormat
//
this.CodeFormat.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
this.CodeFormat.Image = ((System.Drawing.Image)(resources.GetObject("CodeFormat.Image")));
this.CodeFormat.Label = "一键排版";
this.CodeFormat.Name = "CodeFormat";
this.CodeFormat.ScreenTip = "代码一键排版";
this.CodeFormat.ShowImage = true;
this.CodeFormat.SuperTip = "样式1";
this.CodeFormat.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.CodeFormat_Click);
//
// CodeTabSetting
//
this.CodeTabSetting.Label = "颜色1";
this.CodeTabSetting.Name = "CodeTabSetting";
this.CodeTabSetting.ScreenTip = "代码背景颜色1";
this.CodeTabSetting.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.CodeTabSetting_Click);
//
// CodeTabSetting2
//
this.CodeTabSetting2.Label = "颜色2";
this.CodeTabSetting2.Name = "CodeTabSetting2";
this.CodeTabSetting2.ScreenTip = "代码背景颜色2";
this.CodeTabSetting2.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.CodeTabSetting2_Click);
//
// BorderLine
//
this.BorderLine.Label = "颜色3";
this.BorderLine.Name = "BorderLine";
this.BorderLine.ScreenTip = "竖线颜色";
this.BorderLine.SuperTip = "一次选择一个表格";
this.BorderLine.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.BorderLine_Click);
//
// ResetCodeBGcolor
//
this.ResetCodeBGcolor.Label = "着色";
this.ResetCodeBGcolor.Name = "ResetCodeBGcolor";
this.ResetCodeBGcolor.ScreenTip = "设定代码背景颜色";
this.ResetCodeBGcolor.SuperTip = "请一次选择一个表格";
this.ResetCodeBGcolor.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.ResetCodeBGcolor_Click);
//
// TableWidthSet
//
this.TableWidthSet.Items.Add(this.TableWidth);
this.TableWidthSet.Items.Add(this.CodeTableFullWidth);
this.TableWidthSet.Items.Add(this.CodeNoWidthSet);
this.TableWidthSet.Label = "宽度";
this.TableWidthSet.Name = "TableWidthSet";
//
// TableWidth
//
this.TableWidth.Label = "统一宽度";
this.TableWidth.Name = "TableWidth";
this.TableWidth.ScreenTip = "统一所有代码块宽度,以最宽的为准";
this.TableWidth.ShowImage = true;
this.TableWidth.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.TableWidth_Click);
//
// CodeTableFullWidth
//
this.CodeTableFullWidth.Label = "左右平铺";
this.CodeTableFullWidth.Name = "CodeTableFullWidth";
this.CodeTableFullWidth.ScreenTip = "将选中的代码块左右拉到最大";
this.CodeTableFullWidth.ShowImage = true;
this.CodeTableFullWidth.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.CodeTableFullWidth_Click);
//
// CodeNoWidthSet
//
this.CodeNoWidthSet.Label = "行号宽度";
this.CodeNoWidthSet.Name = "CodeNoWidthSet";
this.CodeNoWidthSet.ScreenTip = "设置选中的代码块的行号宽度(如果存在行号)为行号宽度的默认值";
this.CodeNoWidthSet.ShowImage = true;
this.CodeNoWidthSet.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.CodeNoWidthSet_Click);
//
// PresetCode
//
this.PresetCode.Items.Add(this.CodeOpenPreset);
this.PresetCode.Items.Add(this.CodeSavePreset);
this.PresetCode.Label = "预设";
this.PresetCode.Name = "PresetCode";
//
// CodeOpenPreset
//
this.CodeOpenPreset.Label = "打开预设";
this.CodeOpenPreset.Name = "CodeOpenPreset";
this.CodeOpenPreset.ScreenTip = "打开一个预设";
this.CodeOpenPreset.ShowImage = true;
this.CodeOpenPreset.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.CodeOpenPreset_Click);
//
// CodeSavePreset
//
this.CodeSavePreset.Label = "保存预设";
this.CodeSavePreset.Name = "CodeSavePreset";
this.CodeSavePreset.ScreenTip = "将目前格式保存为预设";
this.CodeSavePreset.ShowImage = true;
this.CodeSavePreset.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.CodeSavePreset_Click);
//
// CodeListNum
//
this.CodeListNum.Label = "行号";
this.CodeListNum.Name = "CodeListNum";
this.CodeListNum.ScreenTip = "代码左侧增/减行号";
this.CodeListNum.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.CodeListNum_Click);
//
// CodeBoderLineFun
//
this.CodeBoderLineFun.Label = "竖线";
this.CodeBoderLineFun.Name = "CodeBoderLineFun";
this.CodeBoderLineFun.ScreenTip = "增加/删除代码编号分隔线";
this.CodeBoderLineFun.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.CodeBoderLineFun_Click);
//
// CodeControl
//
this.CodeControl.Label = "设置";
this.CodeControl.Name = "CodeControl";
this.CodeControl.ScreenTip = "代码排版的所有设置";
this.CodeControl.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.CodeControl_Click);
//
// CodeLatex
//
this.CodeLatex.Items.Add(this.CodeFormatLatex);
this.CodeLatex.Label = "代码排版2";
this.CodeLatex.Name = "CodeLatex";
this.CodeLatex.Visible = false;
//
// CodeFormatLatex
//
this.CodeFormatLatex.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
this.CodeFormatLatex.Image = ((System.Drawing.Image)(resources.GetObject("CodeFormatLatex.Image")));
this.CodeFormatLatex.Label = "一键排版";
this.CodeFormatLatex.Name = "CodeFormatLatex";
this.CodeFormatLatex.ScreenTip = "代码一键排版";
this.CodeFormatLatex.ShowImage = true;
this.CodeFormatLatex.SuperTip = "样式2";
this.CodeFormatLatex.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.CodeFormatLatex_Click);
//
// Code2
//
this.Code2.Items.Add(this.CodeFormat2);
this.Code2.Items.Add(this.SetCode3CurrentColor);
this.Code2.Items.Add(this.saveCode3Color);
this.Code2.Label = "代码排版3";
this.Code2.Name = "Code2";
this.Code2.Visible = false;
//
// CodeFormat2
//
this.CodeFormat2.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
this.CodeFormat2.Image = ((System.Drawing.Image)(resources.GetObject("CodeFormat2.Image")));
this.CodeFormat2.Label = "一键排版";
this.CodeFormat2.Name = "CodeFormat2";
this.CodeFormat2.ScreenTip = "代码一键排版";
this.CodeFormat2.ShowImage = true;
this.CodeFormat2.SuperTip = "样式3";
this.CodeFormat2.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.CodeFormat2_Click);
//
// SetCode3CurrentColor
//
this.SetCode3CurrentColor.Label = "颜色";
this.SetCode3CurrentColor.Name = "SetCode3CurrentColor";
this.SetCode3CurrentColor.ScreenTip = "设置底纹颜色";
this.SetCode3CurrentColor.SuperTip = "选择颜色,并且应用到本文档。注意:不会修改预设文件。";
this.SetCode3CurrentColor.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.SetCode3CurrentColor_Click);
//
// saveCode3Color
//
this.saveCode3Color.Label = "保存";
this.saveCode3Color.Name = "saveCode3Color";
this.saveCode3Color.ScreenTip = "保存颜色";
this.saveCode3Color.SuperTip = "将本文档使用的代码排版3的底纹颜色保存至预设文件";
this.saveCode3Color.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.saveCode3Color_Click);
//
// CodeGroup4
//
this.CodeGroup4.Items.Add(this.CodeFormat4);
this.CodeGroup4.Items.Add(this.SetCode4CurrentColor);
this.CodeGroup4.Items.Add(this.saveCode4Color);
this.CodeGroup4.Label = "代码排版4";
this.CodeGroup4.Name = "CodeGroup4";
this.CodeGroup4.Visible = false;
//
// CodeFormat4
//
this.CodeFormat4.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
this.CodeFormat4.Image = ((System.Drawing.Image)(resources.GetObject("CodeFormat4.Image")));
this.CodeFormat4.Label = "一键排版";
this.CodeFormat4.Name = "CodeFormat4";
this.CodeFormat4.ScreenTip = "代码一键排版";
this.CodeFormat4.ShowImage = true;
this.CodeFormat4.SuperTip = "样式4";
this.CodeFormat4.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.CodeFormat4_Click);
//
// SetCode4CurrentColor
//
this.SetCode4CurrentColor.Label = "颜色";
this.SetCode4CurrentColor.Name = "SetCode4CurrentColor";
this.SetCode4CurrentColor.ScreenTip = "设置底纹颜色";
this.SetCode4CurrentColor.SuperTip = "先选中代码块。再选择颜色。更改只会应用到本文档,不会修改预设文件。";
this.SetCode4CurrentColor.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.SetCode4CurrentColor_Click);
//
// saveCode4Color
//
this.saveCode4Color.Label = "保存";
this.saveCode4Color.Name = "saveCode4Color";
this.saveCode4Color.ScreenTip = "保存颜色";
this.saveCode4Color.SuperTip = "将本文档使用的代码排版4的底纹颜色保存至预设文件";
this.saveCode4Color.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.saveCode4Color_Click);
//
// ToolsBox
//
this.ToolsBox.Items.Add(this.ParaShadeSplit);
this.ToolsBox.Items.Add(this.StyleShadeSplit);
this.ToolsBox.Items.Add(this.TableColoring);
this.ToolsBox.Items.Add(this.ThreeLine);
this.ToolsBox.Items.Add(this.changecharCE);
this.ToolsBox.Items.Add(this.checkCharMatch);
this.ToolsBox.Items.Add(this.del_header_line);
this.ToolsBox.Items.Add(this.inlineCode);
this.ToolsBox.Items.Add(this.bib2gbt);
this.ToolsBox.Label = "工具箱";
this.ToolsBox.Name = "ToolsBox";
this.ToolsBox.Visible = false;
//
// ParaShadeSplit
//
this.ParaShadeSplit.Image = ((System.Drawing.Image)(resources.GetObject("ParaShadeSplit.Image")));
this.ParaShadeSplit.Items.Add(this.ParagraphShading);
this.ParaShadeSplit.Items.Add(this.ParaShadingColorSet);
this.ParaShadeSplit.Items.Add(this.DeleteShading);
this.ParaShadeSplit.Label = "段落底纹";
this.ParaShadeSplit.Name = "ParaShadeSplit";
this.ParaShadeSplit.ScreenTip = "段落底纹";
this.ParaShadeSplit.SuperTip = "设置段落底纹的工具集";
this.ParaShadeSplit.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.ParaShadeSplit_Click);
//
// ParagraphShading
//
this.ParagraphShading.Image = ((System.Drawing.Image)(resources.GetObject("ParagraphShading.Image")));
this.ParagraphShading.Label = "段落着色";
this.ParagraphShading.Name = "ParagraphShading";
this.ParagraphShading.ScreenTip = "段落着色";
this.ParagraphShading.ShowImage = true;
this.ParagraphShading.SuperTip = "给段落加上底纹";
this.ParagraphShading.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.ParagraphShading_Click);
//
// ParaShadingColorSet
//
this.ParaShadingColorSet.Image = ((System.Drawing.Image)(resources.GetObject("ParaShadingColorSet.Image")));
this.ParaShadingColorSet.Label = "设置颜色";
this.ParaShadingColorSet.Name = "ParaShadingColorSet";
this.ParaShadingColorSet.ScreenTip = "设置颜色";
this.ParaShadingColorSet.ShowImage = true;
this.ParaShadingColorSet.SuperTip = "设置默认底纹颜色";
this.ParaShadingColorSet.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.ParaShadingColorSet_Click);
//
// DeleteShading
//
this.DeleteShading.Image = ((System.Drawing.Image)(resources.GetObject("DeleteShading.Image")));
this.DeleteShading.Label = "清除底纹";
this.DeleteShading.Name = "DeleteShading";
this.DeleteShading.ScreenTip = "清除底纹";
this.DeleteShading.ShowImage = true;
this.DeleteShading.SuperTip = "清除选择段落的底纹";
this.DeleteShading.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.DeleteShading_Click);
//
// StyleShadeSplit
//
this.StyleShadeSplit.Image = ((System.Drawing.Image)(resources.GetObject("StyleShadeSplit.Image")));
this.StyleShadeSplit.Items.Add(this.styleShading);
this.StyleShadeSplit.Items.Add(this.styleShadeClear);
this.StyleShadeSplit.Label = "样式底纹";
this.StyleShadeSplit.Name = "StyleShadeSplit";
this.StyleShadeSplit.ScreenTip = "样式底纹";
this.StyleShadeSplit.SuperTip = "设置样式底纹的工具集";
this.StyleShadeSplit.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.StyleShadeSplit_Click);
//
// styleShading
//
this.styleShading.Image = ((System.Drawing.Image)(resources.GetObject("styleShading.Image")));
this.styleShading.Label = "底纹颜色";
this.styleShading.Name = "styleShading";
this.styleShading.ScreenTip = "底纹颜色";
this.styleShading.ShowImage = true;
this.styleShading.SuperTip = "设置样式底纹颜色";
this.styleShading.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.styleShading_Click);
//
// styleShadeClear
//
this.styleShadeClear.Image = ((System.Drawing.Image)(resources.GetObject("styleShadeClear.Image")));
this.styleShadeClear.Label = "清除底纹";
this.styleShadeClear.Name = "styleShadeClear";
this.styleShadeClear.ScreenTip = "清除底纹";
this.styleShadeClear.ShowImage = true;
this.styleShadeClear.SuperTip = "删除样式中的底纹";
this.styleShadeClear.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.styleShadeClear_Click);
//
// TableColoring
//
this.TableColoring.Image = ((System.Drawing.Image)(resources.GetObject("TableColoring.Image")));
this.TableColoring.Label = "表格着色";
this.TableColoring.Name = "TableColoring";
this.TableColoring.ScreenTip = "表格着色";
this.TableColoring.ShowImage = true;
this.TableColoring.SuperTip = "打开\\关闭表格颜色设置面板";
this.TableColoring.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.TableColoring_Click);
//
// ThreeLine
//
this.ThreeLine.Image = ((System.Drawing.Image)(resources.GetObject("ThreeLine.Image")));
this.ThreeLine.Label = "三线表";
this.ThreeLine.Name = "ThreeLine";
this.ThreeLine.ScreenTip = "将表格转为三线表";
this.ThreeLine.ShowImage = true;
this.ThreeLine.SuperTip = "不能有合并单元格";
this.ThreeLine.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.ThreeLine_Click);
//
// changecharCE
//
this.changecharCE.Image = ((System.Drawing.Image)(resources.GetObject("changecharCE.Image")));
this.changecharCE.Label = "替换符号";
this.changecharCE.Name = "changecharCE";
this.changecharCE.ScreenTip = "替换符号";
this.changecharCE.ShowImage = true;
this.changecharCE.SuperTip = "打开\\关闭面板、将选中文字的英文标点换成中文标点";
this.changecharCE.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.changecharCE_Click);
//
// checkCharMatch
//
this.checkCharMatch.Image = ((System.Drawing.Image)(resources.GetObject("checkCharMatch.Image")));
this.checkCharMatch.Label = "符号匹配";
this.checkCharMatch.Name = "checkCharMatch";
this.checkCharMatch.ScreenTip = "符号匹配";
this.checkCharMatch.ShowImage = true;
this.checkCharMatch.SuperTip = "打开\\关闭面板,检查符号是否配对";
this.checkCharMatch.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.checkCharMatch_Click);
//
// del_header_line
//
this.del_header_line.Image = ((System.Drawing.Image)(resources.GetObject("del_header_line.Image")));
this.del_header_line.Label = "页眉横线";
this.del_header_line.Name = "del_header_line";
this.del_header_line.ScreenTip = "去除页眉横线";
this.del_header_line.ShowImage = true;
this.del_header_line.SuperTip = "去除页眉横线";
this.del_header_line.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.del_header_line_Click);
//
// inlineCode
//
this.inlineCode.Image = ((System.Drawing.Image)(resources.GetObject("inlineCode.Image")));
this.inlineCode.Label = "行内代码";
this.inlineCode.Name = "inlineCode";
this.inlineCode.ScreenTip = "行内代码";
this.inlineCode.ShowImage = true;
this.inlineCode.SuperTip = "选中文字,按照行内代码样式排版";
this.inlineCode.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.inlineCode_Click);
//
// bib2gbt
//
this.bib2gbt.Image = global::WordAddIn1.Properties.Resources.bib2gbt;
this.bib2gbt.Label = "BibTeX";
this.bib2gbt.Name = "bib2gbt";
this.bib2gbt.ScreenTip = "将BibTeX转换成GBT格式";
this.bib2gbt.ShowImage = true;
this.bib2gbt.SuperTip = "将BibTeX转换成GBT7714-2015格式,并插入到选中位置.";
this.bib2gbt.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.bib2gbt_Click);
//
// pdfToolsGroup
//
this.pdfToolsGroup.Items.Add(this.Pdf2Img);
this.pdfToolsGroup.Items.Add(this.Img2Pdf);
this.pdfToolsGroup.Items.Add(this.Pdf2Imgpdf);
this.pdfToolsGroup.Items.Add(this.MgPdf);
this.pdfToolsGroup.Label = "PDF 工具箱";
this.pdfToolsGroup.Name = "pdfToolsGroup";
this.pdfToolsGroup.Visible = false;
//
// Pdf2Img
//
this.Pdf2Img.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
this.Pdf2Img.Image = global::WordAddIn1.Properties.Resources.pdf2img;
this.Pdf2Img.Label = "PDF转图片";
this.Pdf2Img.Name = "Pdf2Img";
this.Pdf2Img.ScreenTip = "PDF转图片";
this.Pdf2Img.ShowImage = true;
this.Pdf2Img.SuperTip = "将选择的PDF文件逐页输出为图片";
this.Pdf2Img.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.Pdf2Img_Click);
//
// Img2Pdf
//
this.Img2Pdf.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
this.Img2Pdf.Image = global::WordAddIn1.Properties.Resources.img2pdf;
this.Img2Pdf.Label = "图片转PDF";
this.Img2Pdf.Name = "Img2Pdf";
this.Img2Pdf.ScreenTip = "图片转PDF";
this.Img2Pdf.ShowImage = true;
this.Img2Pdf.SuperTip = "将选中的图片转为一份PDF";
this.Img2Pdf.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.Img2Pdf_Click);
//
// Pdf2Imgpdf
//
this.Pdf2Imgpdf.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
this.Pdf2Imgpdf.Image = global::WordAddIn1.Properties.Resources.imgpdf;
this.Pdf2Imgpdf.Label = "转图像PDF";
this.Pdf2Imgpdf.Name = "Pdf2Imgpdf";
this.Pdf2Imgpdf.ScreenTip = "转图像PDF";
this.Pdf2Imgpdf.ShowImage = true;
this.Pdf2Imgpdf.SuperTip = "将选中的 PDF 转换为每页都是图像的 PDF";
this.Pdf2Imgpdf.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.Pdf2Imgpdf_Click);
//
// MgPdf
//
this.MgPdf.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
this.MgPdf.Image = global::WordAddIn1.Properties.Resources.merge;
this.MgPdf.Label = "合并PDF";
this.MgPdf.Name = "MgPdf";
this.MgPdf.ScreenTip = "合并PDF";
this.MgPdf.ShowImage = true;
this.MgPdf.SuperTip = "将选中的PDF合并为一份PDF";
this.MgPdf.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.MgPdf_Click);
//
// mathList
//
this.mathList.Items.Add(this.mathInsertCh1);
this.mathList.Items.Add(this.visSplit);
this.mathList.Items.Add(this.addEQNUM);
this.mathList.Items.Add(this.mathChangeMod);
this.mathList.Items.Add(this.updateField);
this.mathList.Items.Add(this.setSeqChar);
this.mathList.Label = "公式编号";
this.mathList.Name = "mathList";
this.mathList.Visible = false;
//
// mathInsertCh1
//
this.mathInsertCh1.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
this.mathInsertCh1.Image = global::WordAddIn1.Properties.Resources.split;
this.mathInsertCh1.Label = "插入分隔";
this.mathInsertCh1.Name = "mathInsertCh1";
this.mathInsertCh1.ScreenTip = "在选中位置插入分隔标记";
this.mathInsertCh1.ShowImage = true;
this.mathInsertCh1.SuperTip = "公式一级编号在分隔标记后加一,如(1-1)增加到(2-1)";
this.mathInsertCh1.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.mathInsertCh1_Click);
//
// visSplit
//
this.visSplit.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
this.visSplit.Image = global::WordAddIn1.Properties.Resources._switch;
this.visSplit.Label = "显示分隔";
this.visSplit.Name = "visSplit";
this.visSplit.ScreenTip = "显示/隐藏分隔标记";
this.visSplit.ShowImage = true;
this.visSplit.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.visSplit_Click);
//
// addEQNUM
//
this.addEQNUM.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
this.addEQNUM.Image = global::WordAddIn1.Properties.Resources.math;
this.addEQNUM.Label = "公式编号";
this.addEQNUM.Name = "addEQNUM";
this.addEQNUM.ScreenTip = "公式编号";
this.addEQNUM.ShowImage = true;
this.addEQNUM.SuperTip = "公式编号右对齐(用于单独一条公式)";
this.addEQNUM.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.addEQNUM_Click);
//
// mathChangeMod
//
this.mathChangeMod.Image = global::WordAddIn1.Properties.Resources.choose;
this.mathChangeMod.Items.Add(this.mathMod1);
this.mathChangeMod.Items.Add(this.mathMod2);
this.mathChangeMod.Items.Add(this.mathMod3);
this.mathChangeMod.Items.Add(this.mathMod4);
this.mathChangeMod.Label = "模式";
this.mathChangeMod.Name = "mathChangeMod";
this.mathChangeMod.ScreenTip = "编号模式";
this.mathChangeMod.ShowImage = true;
this.mathChangeMod.SuperTip = "选择合适的编号模式,不同模式有不同的使用方法和注意事项";
//
// mathMod1
//
this.mathMod1.Label = "模式 1";
this.mathMod1.Name = "mathMod1";
this.mathMod1.ScreenTip = "模式 1";
this.mathMod1.ShowImage = true;
this.mathMod1.SuperTip = "1. 自动更新编号: √\n2. 加入交叉引用: ×\n3. 编号格式:(1)\n\n备注:可以对编号打书签,再交叉引用书签";
this.mathMod1.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.mathMod1_Click);
//
// mathMod2
//
this.mathMod2.Label = "模式 2";
this.mathMod2.Name = "mathMod2";
this.mathMod2.ScreenTip = "模式 2";
this.mathMod2.ShowImage = true;
this.mathMod2.SuperTip = "1. 自动更新编号: √\n2. 加入交叉引用: √\n3. 编号格式:(1)\n\n备注:编号通过有序列表实现,交叉引用编号项";
this.mathMod2.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.mathMod2_Click);
//
// mathMod3
//
this.mathMod3.Label = "模式 3";
this.mathMod3.Name = "mathMod3";
this.mathMod3.ScreenTip = "模式 3";
this.mathMod3.ShowImage = true;
this.mathMod3.SuperTip = "1. 自动更新编号: ×\n2. 加入交叉引用: ×\n3. 编号格式:(1-1)\n\n备注:\n1. 先给每章标题末尾插入分隔标记,再对公式插入编号\n2. 可以对编号打" +
"书签,再交叉引用书签";
this.mathMod3.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.mathMod3_Click);
//
// mathMod4
//
this.mathMod4.Label = "模式 4";
this.mathMod4.Name = "mathMod4";
this.mathMod4.ScreenTip = "模式 4";
this.mathMod4.ShowImage = true;
this.mathMod4.SuperTip = "1. 自动更新编号: √\n2. 加入交叉引用: √\n3. 编号格式:(1-1)\n\n备注:\n先给每章标题末尾插入分隔标记,再对公式插入编号";
this.mathMod4.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.mathMod4_Click);
//
// updateField
//
this.updateField.Image = global::WordAddIn1.Properties.Resources.update;
this.updateField.Label = "更新域";
this.updateField.Name = "updateField";
this.updateField.ScreenTip = "更新域代码";
this.updateField.ShowImage = true;
this.updateField.SuperTip = "更新选中区域的域代码(包含编号、引用等)";
this.updateField.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.updateField_Click);
//
// setSeqChar
//
this.setSeqChar.Image = global::WordAddIn1.Properties.Resources.settings;
this.setSeqChar.Label = "设置符号";
this.setSeqChar.Name = "setSeqChar";
this.setSeqChar.ScreenTip = "设置公式编号连接符号";
this.setSeqChar.ShowImage = true;
this.setSeqChar.SuperTip = "公式一级编号和二级编号之间的连接符号";
this.setSeqChar.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.setSeqChar_Click);
//
// runCodeGroup
//
this.runCodeGroup.Items.Add(this.runCode);
this.runCodeGroup.Items.Add(this.chooseCode);
this.runCodeGroup.Items.Add(this.appendCodeMod);
this.runCodeGroup.Label = "运行代码";
this.runCodeGroup.Name = "runCodeGroup";
this.runCodeGroup.Visible = false;
//
// runCode
//
this.runCode.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
this.runCode.Image = global::WordAddIn1.Properties.Resources.codeRun;
this.runCode.Label = "运行代码";
this.runCode.Name = "runCode";
this.runCode.ScreenTip = "运行代码";
this.runCode.ShowImage = true;
this.runCode.SuperTip = "选中代码,点击运行。打印结果到选段下方。\n\n注意:需要相应编译环境";
this.runCode.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.runCode_Click);
//
// chooseCode
//
this.chooseCode.Image = ((System.Drawing.Image)(resources.GetObject("chooseCode.Image")));
this.chooseCode.Items.Add(this.choosePython);
this.chooseCode.Items.Add(this.chooseR);
this.chooseCode.Items.Add(this.chooseJava);
this.chooseCode.Label = "当前语言";
this.chooseCode.Name = "chooseCode";
this.chooseCode.ScreenTip = "选择代码语言";
this.chooseCode.ShowImage = true;
this.chooseCode.SuperTip = "在下拉列表中选择需要的代码语言";
//
// choosePython
//
this.choosePython.Image = global::WordAddIn1.Properties.Resources.python;
this.choosePython.Label = "python";
this.choosePython.Name = "choosePython";
this.choosePython.ScreenTip = "Python";
this.choosePython.ShowImage = true;
this.choosePython.SuperTip = "需要 Python 环境";
this.choosePython.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.choosePython_Click);
//
// chooseR
//
this.chooseR.Image = global::WordAddIn1.Properties.Resources.R;
this.chooseR.Label = "R";
this.chooseR.Name = "chooseR";
this.chooseR.ScreenTip = "R";
this.chooseR.ShowImage = true;
this.chooseR.SuperTip = "需要 R 环境";
this.chooseR.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.chooseR_Click);
//
// chooseJava
//
this.chooseJava.Image = global::WordAddIn1.Properties.Resources.java;
this.chooseJava.Label = "java";
this.chooseJava.Name = "chooseJava";
this.chooseJava.ScreenTip = "Java";
this.chooseJava.ShowImage = true;
this.chooseJava.SuperTip = "需要 Java 环境";
this.chooseJava.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.chooseJava_Click);
//
// appendCodeMod
//
this.appendCodeMod.Label = "追加模式";
this.appendCodeMod.Name = "appendCodeMod";
this.appendCodeMod.ScreenTip = "追加模式";
this.appendCodeMod.SuperTip = "勾选后,代码将会追加到上次的运行内容之后";
this.appendCodeMod.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.appendCodeMod_Click);
//
// simpleBrowser
//
this.simpleBrowser.Items.Add(this.startBrowser);
this.simpleBrowser.Label = "简单浏览器";
this.simpleBrowser.Name = "simpleBrowser";
this.simpleBrowser.Visible = false;
//
// startBrowser
//
this.startBrowser.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
this.startBrowser.Image = global::WordAddIn1.Properties.Resources.edge;
this.startBrowser.Label = "开始";
this.startBrowser.Name = "startBrowser";
this.startBrowser.ScreenTip = "打开侧栏浏览器";
this.startBrowser.ShowImage = true;
this.startBrowser.SuperTip = "你可以在侧栏浏览网页、本地HTML,PDF,MD";
this.startBrowser.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.startBrowser_Click);
//
// testGroup
//
this.testGroup.Items.Add(this.FileTabOnOff);
this.testGroup.Items.Add(this.highlight);
this.testGroup.Label = "实验性功能";
this.testGroup.Name = "testGroup";
this.testGroup.Visible = false;