public Int32 WorkbookAfterXmlExport(NetOffice.ExcelApi.Workbook wb, NetOffice.ExcelApi.XmlMap map, string url, NetOffice.ExcelApi.Enums.XlXmlExportResult result) { object[] paramsArray = Invoker.ValidateParamsArray(wb, map, url, result); object returnItem = Invoker.MethodReturn(this, "WorkbookAfterXmlExport", paramsArray); return(NetRuntimeSystem.Convert.ToInt32(returnItem)); }
public Int32 AfterXmlImport(NetOffice.ExcelApi.XmlMap map, bool isRefresh, NetOffice.ExcelApi.Enums.XlXmlImportResult result) { object[] paramsArray = Invoker.ValidateParamsArray(map, isRefresh, result); object returnItem = Invoker.MethodReturn(this, "AfterXmlImport", paramsArray); return(NetRuntimeSystem.Convert.ToInt32(returnItem)); }
public Int32 WorkbookBeforeXmlExport(NetOffice.ExcelApi.Workbook wb, NetOffice.ExcelApi.XmlMap map, string url, bool cancel) { object[] paramsArray = Invoker.ValidateParamsArray(wb, map, url, cancel); object returnItem = Invoker.MethodReturn(this, "WorkbookBeforeXmlExport", paramsArray); return(NetRuntimeSystem.Convert.ToInt32(returnItem)); }
public Int32 BeforeXmlImport(NetOffice.ExcelApi.XmlMap map, string url, bool isRefresh, bool cancel) { object[] paramsArray = Invoker.ValidateParamsArray(map, url, isRefresh, cancel); object returnItem = Invoker.MethodReturn(this, "BeforeXmlImport", paramsArray); return(NetRuntimeSystem.Convert.ToInt32(returnItem)); }
public Int32 SetValue(NetOffice.ExcelApi.XmlMap map, string xPath, object selectionNamespace) { object[] paramsArray = Invoker.ValidateParamsArray(map, xPath, selectionNamespace); object returnItem = Invoker.MethodReturn(this, "SetValue", paramsArray); return(NetRuntimeSystem.Convert.ToInt32(returnItem)); }
public void AfterXmlExport([In, MarshalAs(UnmanagedType.IDispatch)] object map, [In] object url, [In] object result) { if (!Validate("AfterXmlExport")) { Invoker.ReleaseParamsArray(map, url, result); return; } NetOffice.ExcelApi.XmlMap newMap = Factory.CreateKnownObjectFromComProxy <NetOffice.ExcelApi.XmlMap>(EventClass, map, NetOffice.ExcelApi.XmlMap.LateBindingApiWrapperType); string newUrl = ToString(url); NetOffice.ExcelApi.Enums.XlXmlExportResult newResult = (NetOffice.ExcelApi.Enums.XlXmlExportResult)result; object[] paramsArray = new object[3]; paramsArray[0] = newMap; paramsArray[1] = newUrl; paramsArray[2] = newResult; EventBinding.RaiseCustomEvent("AfterXmlExport", ref paramsArray); }
/// <summary> /// /// </summary> /// <param name="map"></param> /// <param name="isRefresh"></param> /// <param name="result"></param> public void AfterXmlImport([In, MarshalAs(UnmanagedType.IDispatch)] object map, [In] object isRefresh, [In] object result) { if (!Validate("AfterXmlImport")) { Invoker.ReleaseParamsArray(map, isRefresh, result); return; } NetOffice.ExcelApi.XmlMap newMap = Factory.CreateKnownObjectFromComProxy <NetOffice.ExcelApi.XmlMap>(EventClass, map, typeof(NetOffice.ExcelApi.XmlMap)); bool newIsRefresh = ToBoolean(isRefresh); NetOffice.ExcelApi.Enums.XlXmlImportResult newResult = (NetOffice.ExcelApi.Enums.XlXmlImportResult)result; object[] paramsArray = new object[3]; paramsArray[0] = newMap; paramsArray[1] = newIsRefresh; paramsArray[2] = newResult; EventBinding.RaiseCustomEvent("AfterXmlImport", ref paramsArray); }
public void BeforeXmlExport([In, MarshalAs(UnmanagedType.IDispatch)] object map, [In] object url, [In][Out] ref object cancel) { if (!Validate("BeforeXmlExport")) { Invoker.ReleaseParamsArray(map, url, cancel); return; } NetOffice.ExcelApi.XmlMap newMap = Factory.CreateKnownObjectFromComProxy <NetOffice.ExcelApi.XmlMap>(EventClass, map, NetOffice.ExcelApi.XmlMap.LateBindingApiWrapperType); string newUrl = ToString(url); object[] paramsArray = new object[3]; paramsArray[0] = newMap; paramsArray[1] = newUrl; paramsArray.SetValue(cancel, 2); EventBinding.RaiseCustomEvent("BeforeXmlExport", ref paramsArray); cancel = ToBoolean(paramsArray[2]); }
public void AfterXmlExport([In, MarshalAs(UnmanagedType.IDispatch)] object map, [In] object url, [In] object result) { Delegate[] recipients = _eventBinding.GetEventRecipients("AfterXmlExport"); if ((true == _eventClass.IsCurrentlyDisposing) || (recipients.Length == 0)) { Invoker.ReleaseParamsArray(map, url, result); return; } NetOffice.ExcelApi.XmlMap newMap = NetOffice.Factory.CreateObjectFromComProxy(_eventClass, map) as NetOffice.ExcelApi.XmlMap; string newUrl = Convert.ToString(url); NetOffice.ExcelApi.Enums.XlXmlExportResult newResult = (NetOffice.ExcelApi.Enums.XlXmlExportResult)result; object[] paramsArray = new object[3]; paramsArray[0] = newMap; paramsArray[1] = newUrl; paramsArray[2] = newResult; _eventBinding.RaiseCustomEvent("AfterXmlExport", ref paramsArray); }
public void BeforeXmlExport([In, MarshalAs(UnmanagedType.IDispatch)] object map, [In] object url, [In][Out] ref object cancel) { Delegate[] recipients = _eventBinding.GetEventRecipients("BeforeXmlExport"); if ((true == _eventClass.IsCurrentlyDisposing) || (recipients.Length == 0)) { Invoker.ReleaseParamsArray(map, url, cancel); return; } NetOffice.ExcelApi.XmlMap newMap = NetOffice.Factory.CreateObjectFromComProxy(_eventClass, map) as NetOffice.ExcelApi.XmlMap; string newUrl = Convert.ToString(url); object[] paramsArray = new object[3]; paramsArray[0] = newMap; paramsArray[1] = newUrl; paramsArray.SetValue(cancel, 2); _eventBinding.RaiseCustomEvent("BeforeXmlExport", ref paramsArray); cancel = (bool)paramsArray[2]; }
/// <summary> /// /// </summary> /// <param name="map"></param> /// <param name="url"></param> /// <param name="isRefresh"></param> /// <param name="cancel"></param> public void BeforeXmlImport([In, MarshalAs(UnmanagedType.IDispatch)] object map, [In] object url, [In] object isRefresh, [In][Out] ref object cancel) { if (!Validate("BeforeXmlImports")) { Invoker.ReleaseParamsArray(map, url, isRefresh, cancel); return; } NetOffice.ExcelApi.XmlMap newMap = Factory.CreateKnownObjectFromComProxy <NetOffice.ExcelApi.XmlMap>(EventClass, map, typeof(NetOffice.ExcelApi.XmlMap)); string newUrl = ToString(url); bool newIsRefresh = ToBoolean(isRefresh); object[] paramsArray = new object[4]; paramsArray[0] = newMap; paramsArray[1] = newUrl; paramsArray[2] = newIsRefresh; paramsArray.SetValue(cancel, 3); EventBinding.RaiseCustomEvent("BeforeXmlImport", ref paramsArray); cancel = ToBoolean(paramsArray[3]); }
public Int32 SetValue(NetOffice.ExcelApi.XmlMap map, string xPath, object selectionNamespace) { return(Factory.ExecuteInt32MethodGet(this, "SetValue", map, xPath, selectionNamespace)); }
public Int32 SetValue(NetOffice.ExcelApi.XmlMap map, string xPath) { return(Factory.ExecuteInt32MethodGet(this, "SetValue", map, xPath)); }
public void SetValue(NetOffice.ExcelApi.XmlMap map, string xPath, object selectionNamespace) { object[] paramsArray = Invoker.ValidateParamsArray(map, xPath, selectionNamespace); Invoker.Method(this, "SetValue", paramsArray); }
public Int32 BeforeXmlExport(NetOffice.ExcelApi.XmlMap map, string url, bool cancel) { return(Factory.ExecuteInt32MethodGet(this, "BeforeXmlExport", map, url, cancel)); }
public void SetValue(NetOffice.ExcelApi.XmlMap map, string xPath) { Factory.ExecuteMethod(this, "SetValue", map, xPath); }
public Int32 AfterXmlImport(NetOffice.ExcelApi.XmlMap map, bool isRefresh, NetOffice.ExcelApi.Enums.XlXmlImportResult result) { return(Factory.ExecuteInt32MethodGet(this, "AfterXmlImport", map, isRefresh, result)); }
public void SetValue(NetOffice.ExcelApi.XmlMap map, string xPath, object selectionNamespace) { Factory.ExecuteMethod(this, "SetValue", map, xPath, selectionNamespace); }
public Int32 AfterXmlExport(NetOffice.ExcelApi.XmlMap map, string url, NetOffice.ExcelApi.Enums.XlXmlExportResult result) { return(Factory.ExecuteInt32MethodGet(this, "AfterXmlExport", map, url, result)); }
public Int32 WorkbookBeforeXmlImport(NetOffice.ExcelApi.Workbook wb, NetOffice.ExcelApi.XmlMap map, string url, bool isRefresh, bool cancel) { return(Factory.ExecuteInt32MethodGet(this, "WorkbookBeforeXmlImport", new object[] { wb, map, url, isRefresh, cancel })); }