Exemple #1
0
 /// <summary>
 /// Creates an instance of the application
 /// </summary>
 /// <param name="application">owner application</param>
 public CommonUtils(COMObject application)
 {
     if (null == application)
         throw new ArgumentNullException("application");
     _ownerApplication = application;
     _headerCaptionLine = _headerCaptionLineDefault;
     _infos = new Infos(this);
 }
Exemple #2
0
 /// <summary>
 /// Creates an instance of the class
 /// </summary>
 /// <param name="owner">addin owner instance</param>
 /// <param name="isAutomation">host application is started for automation</param>
 protected internal CommonUtils(NetOffice.Tools.COMAddinBase owner, bool isAutomation)
 {
     if (null == owner)
         throw new ArgumentNullException("owner");
     Owner = owner;
     _ownerApplication = owner.AppInstance;
     _isAutomation = isAutomation;
     _headerCaptionLine = _headerCaptionLineDefault;
     _infos = new Infos(this);
 }
 private bool Equal(object applicationProxyA, object applicationProxyB)
 {
     try
     {
         COMObject a = new COMObject(applicationProxyA);
         COMObject b = new COMObject(applicationProxyB);
         return a.EqualsOnServer(b);
     }
     catch (Exception)
     {
         throw;
     }
 }
Exemple #4
0
 public ThemeColor(COMObject parentObject, object comProxy, Type comProxyType) : base(parentObject, comProxy, comProxyType)
 {
 }
Exemple #5
0
 public SmartTagRecognizers(Core factory, COMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
 {
 }
Exemple #6
0
 public Panes(COMObject parentObject, object comProxy) : base(parentObject, comProxy)
 {
 }
 public IAxisTitle_(COMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType)
 {
 }
Exemple #8
0
 ///<param name="factory">current used factory core</param>
 ///<param name="parentObject">object there has created the proxy</param>
 ///<param name="comProxy">inner wrapped COM proxy</param>
 public SmartTagRecognizers(Core factory, COMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
 {
 }
Exemple #9
0
 public IHTMLXMLHttpRequest2(COMObject parentObject, object comProxy) : base(parentObject, comProxy)
 {
 }
Exemple #10
0
 public IHTMLXMLHttpRequest2(COMObject replacedObject) : base(replacedObject)
 {
 }
 public IHostBehaviorInit(COMObject replacedObject) : base(replacedObject)
 {
 }
Exemple #12
0
 public XmlMap(COMObject parentObject, object comProxy) : base(parentObject, comProxy)
 {
 }
 public IHostBehaviorInit(COMObject parentObject, object comProxy) : base(parentObject, comProxy)
 {
 }
 public IHostBehaviorInit(COMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType)
 {
 }
 ///<param name="factory">current used factory core</param>
 ///<param name="parentObject">object there has created the proxy</param>
 ///<param name="comProxy">inner wrapped COM proxy</param>
 public IHostBehaviorInit(Core factory, COMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
 {
 }
Exemple #16
0
 public Panes(COMObject replacedObject) : base(replacedObject)
 {
 }
Exemple #17
0
 public Panes(Core factory, COMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
 {
 }
Exemple #18
0
 public ThemeColor(COMObject replacedObject) : base(replacedObject)
 {
 }
Exemple #19
0
 public XmlMap(COMObject parentObject, object comProxy, Type comProxyType) : base(parentObject, comProxy, comProxyType)
 {
 }
Exemple #20
0
 ///<param name="factory">current used factory core</param>
 ///<param name="parentObject">object there has created the proxy</param>
 ///<param name="comProxy">inner wrapped COM proxy</param>
 public IHTMLXMLHttpRequest2(Core factory, COMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
 {
 }
Exemple #21
0
 public XmlMap(COMObject replacedObject) : base(replacedObject)
 {
 }
Exemple #22
0
 public IHTMLXMLHttpRequest2(COMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType)
 {
 }
Exemple #23
0
 public Comment(COMObject parentObject, object comProxy) : base(parentObject, comProxy)
 {
 }
 public IAxisTitle_(COMObject parentObject, object comProxy) : base(parentObject, comProxy)
 {
 }
Exemple #25
0
 public ILeaderLines(COMObject replacedObject) : base(replacedObject)
 {
 }
 public IAxisTitle_(COMObject replacedObject) : base(replacedObject)
 {
 }
Exemple #27
0
 public ILeaderLines(COMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType)
 {
 }
Exemple #28
0
 public SmartTagRecognizers(COMObject parentObject, object comProxy) : base(parentObject, comProxy)
 {
 }
Exemple #29
0
 public ThemeColor(COMObject parentObject, object comProxy) : base(parentObject, comProxy)
 {
 }
Exemple #30
0
 public Comment(COMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType)
 {
 }
Exemple #31
0
 ///<param name="factory">current used factory core</param>
 ///<param name="parentObject">object there has created the proxy</param>
 ///<param name="comProxy">inner wrapped COM proxy</param>
 public Panes(Core factory, COMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
 {
 }
Exemple #32
0
 public Comment(COMObject replacedObject) : base(replacedObject)
 {
 }
Exemple #33
0
 public ILeaderLines(COMObject parentObject, object comProxy) : base(parentObject, comProxy)
 {
 }