/// <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); }
/// <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; } }
public ThemeColor(COMObject parentObject, object comProxy, Type comProxyType) : base(parentObject, comProxy, comProxyType) { }
public SmartTagRecognizers(Core factory, COMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) { }
public Panes(COMObject parentObject, object comProxy) : base(parentObject, comProxy) { }
public IAxisTitle_(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 SmartTagRecognizers(Core factory, COMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) { }
public IHTMLXMLHttpRequest2(COMObject parentObject, object comProxy) : base(parentObject, comProxy) { }
public IHTMLXMLHttpRequest2(COMObject replacedObject) : base(replacedObject) { }
public IHostBehaviorInit(COMObject replacedObject) : base(replacedObject) { }
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) { }
public Panes(COMObject replacedObject) : base(replacedObject) { }
public Panes(Core factory, COMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) { }
public ThemeColor(COMObject replacedObject) : base(replacedObject) { }
public XmlMap(COMObject parentObject, object comProxy, 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 IHTMLXMLHttpRequest2(Core factory, COMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) { }
public XmlMap(COMObject replacedObject) : base(replacedObject) { }
public IHTMLXMLHttpRequest2(COMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) { }
public Comment(COMObject parentObject, object comProxy) : base(parentObject, comProxy) { }
public IAxisTitle_(COMObject parentObject, object comProxy) : base(parentObject, comProxy) { }
public ILeaderLines(COMObject replacedObject) : base(replacedObject) { }
public IAxisTitle_(COMObject replacedObject) : base(replacedObject) { }
public ILeaderLines(COMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) { }
public SmartTagRecognizers(COMObject parentObject, object comProxy) : base(parentObject, comProxy) { }
public ThemeColor(COMObject parentObject, object comProxy) : base(parentObject, comProxy) { }
public Comment(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 Panes(Core factory, COMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) { }
public Comment(COMObject replacedObject) : base(replacedObject) { }
public ILeaderLines(COMObject parentObject, object comProxy) : base(parentObject, comProxy) { }