ThisAddIn.Designer.cs 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // This code was generated by a tool.
  4. // Runtime Version:4.0.30319.42000
  5. //
  6. // Changes to this file may cause incorrect behavior and will be lost if
  7. // the code is regenerated.
  8. // </auto-generated>
  9. //------------------------------------------------------------------------------
  10. #pragma warning disable 414
  11. namespace HTEXMark {
  12. ///
  13. [Microsoft.VisualStudio.Tools.Applications.Runtime.StartupObjectAttribute(0)]
  14. [global::System.Security.Permissions.PermissionSetAttribute(global::System.Security.Permissions.SecurityAction.Demand, Name="FullTrust")]
  15. public sealed partial class ThisAddIn : Microsoft.Office.Tools.AddInBase {
  16. internal Microsoft.Office.Tools.CustomTaskPaneCollection CustomTaskPanes;
  17. internal Microsoft.Office.Tools.SmartTagCollection VstoSmartTags;
  18. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "17.0.0.0")]
  19. private global::System.Object missing = global::System.Type.Missing;
  20. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "17.0.0.0")]
  21. internal Microsoft.Office.Interop.Word.Application Application;
  22. ///
  23. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  24. [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
  25. public ThisAddIn(global::Microsoft.Office.Tools.Word.ApplicationFactory factory, global::System.IServiceProvider serviceProvider) :
  26. base(factory, serviceProvider, "AddIn", "ThisAddIn") {
  27. Globals.Factory = factory;
  28. }
  29. ///
  30. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  31. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "17.0.0.0")]
  32. [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
  33. protected override void Initialize() {
  34. base.Initialize();
  35. this.Application = this.GetHostItem<Microsoft.Office.Interop.Word.Application>(typeof(Microsoft.Office.Interop.Word.Application), "Application");
  36. Globals.ThisAddIn = this;
  37. global::System.Windows.Forms.Application.EnableVisualStyles();
  38. this.InitializeCachedData();
  39. this.InitializeControls();
  40. this.InitializeComponents();
  41. this.InitializeData();
  42. }
  43. ///
  44. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  45. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "17.0.0.0")]
  46. [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
  47. protected override void FinishInitialization() {
  48. this.InternalStartup();
  49. this.OnStartup();
  50. }
  51. ///
  52. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  53. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "17.0.0.0")]
  54. [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
  55. protected override void InitializeDataBindings() {
  56. this.BeginInitialization();
  57. this.BindToData();
  58. this.EndInitialization();
  59. }
  60. ///
  61. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  62. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "17.0.0.0")]
  63. [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
  64. private void InitializeCachedData() {
  65. if ((this.DataHost == null)) {
  66. return;
  67. }
  68. if (this.DataHost.IsCacheInitialized) {
  69. this.DataHost.FillCachedData(this);
  70. }
  71. }
  72. ///
  73. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  74. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "17.0.0.0")]
  75. [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
  76. private void InitializeData() {
  77. }
  78. ///
  79. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  80. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "17.0.0.0")]
  81. [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
  82. private void BindToData() {
  83. }
  84. ///
  85. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  86. [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
  87. private void StartCaching(string MemberName) {
  88. this.DataHost.StartCaching(this, MemberName);
  89. }
  90. ///
  91. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  92. [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
  93. private void StopCaching(string MemberName) {
  94. this.DataHost.StopCaching(this, MemberName);
  95. }
  96. ///
  97. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  98. [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
  99. private bool IsCached(string MemberName) {
  100. return this.DataHost.IsCached(this, MemberName);
  101. }
  102. ///
  103. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  104. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "17.0.0.0")]
  105. [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
  106. private void BeginInitialization() {
  107. this.BeginInit();
  108. this.CustomTaskPanes.BeginInit();
  109. this.VstoSmartTags.BeginInit();
  110. }
  111. ///
  112. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  113. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "17.0.0.0")]
  114. [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
  115. private void EndInitialization() {
  116. this.VstoSmartTags.EndInit();
  117. this.CustomTaskPanes.EndInit();
  118. this.EndInit();
  119. }
  120. ///
  121. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  122. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "17.0.0.0")]
  123. [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
  124. private void InitializeControls() {
  125. this.CustomTaskPanes = Globals.Factory.CreateCustomTaskPaneCollection(null, null, "CustomTaskPanes", "CustomTaskPanes", this);
  126. this.VstoSmartTags = Globals.Factory.CreateSmartTagCollection(null, null, "VstoSmartTags", "VstoSmartTags", this);
  127. }
  128. ///
  129. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  130. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "17.0.0.0")]
  131. [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
  132. private void InitializeComponents() {
  133. }
  134. ///
  135. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  136. [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
  137. private bool NeedsFill(string MemberName) {
  138. return this.DataHost.NeedsFill(this, MemberName);
  139. }
  140. ///
  141. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  142. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "17.0.0.0")]
  143. [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
  144. protected override void OnShutdown() {
  145. this.VstoSmartTags.Dispose();
  146. this.CustomTaskPanes.Dispose();
  147. base.OnShutdown();
  148. }
  149. }
  150. ///
  151. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  152. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "17.0.0.0")]
  153. internal sealed partial class Globals {
  154. ///
  155. private Globals() {
  156. }
  157. private static ThisAddIn _ThisAddIn;
  158. private static global::Microsoft.Office.Tools.Word.ApplicationFactory _factory;
  159. private static ThisRibbonCollection _ThisRibbonCollection;
  160. internal static ThisAddIn ThisAddIn {
  161. get {
  162. return _ThisAddIn;
  163. }
  164. set {
  165. if ((_ThisAddIn == null)) {
  166. _ThisAddIn = value;
  167. }
  168. else {
  169. throw new System.NotSupportedException();
  170. }
  171. }
  172. }
  173. internal static global::Microsoft.Office.Tools.Word.ApplicationFactory Factory {
  174. get {
  175. return _factory;
  176. }
  177. set {
  178. if ((_factory == null)) {
  179. _factory = value;
  180. }
  181. else {
  182. throw new System.NotSupportedException();
  183. }
  184. }
  185. }
  186. internal static ThisRibbonCollection Ribbons {
  187. get {
  188. if ((_ThisRibbonCollection == null)) {
  189. _ThisRibbonCollection = new ThisRibbonCollection(_factory.GetRibbonFactory());
  190. }
  191. return _ThisRibbonCollection;
  192. }
  193. }
  194. }
  195. ///
  196. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  197. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "17.0.0.0")]
  198. internal sealed partial class ThisRibbonCollection : Microsoft.Office.Tools.Ribbon.RibbonCollectionBase {
  199. ///
  200. internal ThisRibbonCollection(global::Microsoft.Office.Tools.Ribbon.RibbonFactory factory) :
  201. base(factory) {
  202. }
  203. }
  204. }