diff --git a/Source/ClientApplication/ClientApplication.csproj b/Source/ClientApplication/ClientApplication.csproj index 02492051d9..e285cd06e9 100644 --- a/Source/ClientApplication/ClientApplication.csproj +++ b/Source/ClientApplication/ClientApplication.csproj @@ -28,7 +28,6 @@ - diff --git a/Source/NetOffice.sln b/Source/NetOffice.sln index 76275dc3b5..286f80463e 100644 --- a/Source/NetOffice.sln +++ b/Source/NetOffice.sln @@ -43,8 +43,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MSComctlLibApi", "MSComctlL EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MSDATASRCApi", "MSDATASRC\MSDATASRCApi.csproj", "{9D83E8F2-4EFD-4A2E-88CE-9F5943620DB6}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PublisherApi", "Publisher\PublisherApi.csproj", "{044A2BC3-7F84-4BEC-8B99-9E3432FAD88E}" -EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NetOffice.Tests", "NetOffice.Tests\NetOffice.Tests.csproj", "{67372CD1-E220-44DA-AB36-F489A593923C}" EndProject Global @@ -110,10 +108,6 @@ Global {9D83E8F2-4EFD-4A2E-88CE-9F5943620DB6}.Debug|Any CPU.Build.0 = Debug|Any CPU {9D83E8F2-4EFD-4A2E-88CE-9F5943620DB6}.Release|Any CPU.ActiveCfg = Release|Any CPU {9D83E8F2-4EFD-4A2E-88CE-9F5943620DB6}.Release|Any CPU.Build.0 = Release|Any CPU - {044A2BC3-7F84-4BEC-8B99-9E3432FAD88E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {044A2BC3-7F84-4BEC-8B99-9E3432FAD88E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {044A2BC3-7F84-4BEC-8B99-9E3432FAD88E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {044A2BC3-7F84-4BEC-8B99-9E3432FAD88E}.Release|Any CPU.Build.0 = Release|Any CPU {67372CD1-E220-44DA-AB36-F489A593923C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {67372CD1-E220-44DA-AB36-F489A593923C}.Debug|Any CPU.Build.0 = Debug|Any CPU {67372CD1-E220-44DA-AB36-F489A593923C}.Release|Any CPU.ActiveCfg = Release|Any CPU diff --git a/Source/NetOffice/KeyTokens.txt b/Source/NetOffice/KeyTokens.txt index 4e4c774a26..826e86a05b 100644 --- a/Source/NetOffice/KeyTokens.txt +++ b/Source/NetOffice/KeyTokens.txt @@ -11,5 +11,4 @@ OWC10Api, Version=1.8.1.0, Culture=neutral, PublicKeyToken=a2b945645f1c78b9 PowerPointApi, Version=1.8.1.0, Culture=neutral, PublicKeyToken=f3aefb8851e52dd2 VBIDEApi, Version=1.8.1.0, Culture=neutral, PublicKeyToken=931cec8882205047 WordApi, Version=1.8.1.0, Culture=neutral, PublicKeyToken=f66d74591aaf8089 -PublisherApi, Version=1.8.1.0, Culture=neutral, PublicKeyToken=2133a4c2cfc56bf6 IExcelApi, Version=1.8.1.0, Culture=neutral, PublicKeyToken=c507a5667bd1b6bd \ No newline at end of file diff --git a/Source/NetOffice/Loader/CurrentAppDomain.cs b/Source/NetOffice/Loader/CurrentAppDomain.cs index ccc812f8f8..4966a6f57d 100644 --- a/Source/NetOffice/Loader/CurrentAppDomain.cs +++ b/Source/NetOffice/Loader/CurrentAppDomain.cs @@ -16,7 +16,6 @@ internal class CurrentAppDomain private static readonly string[] _assemblyNames = new string[] { "OfficeApi.dll", "ExcelApi.dll", "WordApi.dll", "OutlookApi.dll", "PowerPointApi.dll", "AccessApi.dll", - "PublisherApi.dll", "VBIDEApi.dll" }; #endregion diff --git a/Source/Office/Tools/ApplicationIdentifiers.cs b/Source/Office/Tools/ApplicationIdentifiers.cs index 72fc623630..7c4e1f5c78 100644 --- a/Source/Office/Tools/ApplicationIdentifiers.cs +++ b/Source/Office/Tools/ApplicationIdentifiers.cs @@ -49,12 +49,7 @@ public enum ApplicationType /// /// MS Project /// - MS_Project = 7, - - /// - /// Publisher - /// - Publisher = 8 + MS_Project = 7 } static ApplicationIdentifiers() @@ -65,7 +60,6 @@ static ApplicationIdentifiers() PowerPoint = new Guid("91493442-5A91-11CF-8700-00AA0060263B"); Access = new Guid("68CCE6C0-6129-101B-AF4E-00AA003F0F07"); MS_Project = new Guid("00020AFF-0000-0000-C000-000000000046"); - Publisher = new Guid("0002123E-0000-0000-C000-000000000046"); } /// @@ -98,11 +92,6 @@ static ApplicationIdentifiers() /// public static Guid MS_Project { get; private set; } - /// - /// 0002123E-0000-0000-C000-000000000046 - /// - public static Guid Publisher { get; private set; } - /// /// Compare the id with application interface id's. /// (Typical you got with comProxy.GetType().GUID) @@ -123,8 +112,6 @@ public static ApplicationType IsApplication(Guid id) return ApplicationType.Access; if (id == MS_Project) return ApplicationType.MS_Project; - if (id == Publisher) - return ApplicationType.Publisher; return ApplicationType.None; } diff --git a/Source/Office/Tools/MultiRegisterAttribute.cs b/Source/Office/Tools/MultiRegisterAttribute.cs index 496715eedd..d20ca3f143 100644 --- a/Source/Office/Tools/MultiRegisterAttribute.cs +++ b/Source/Office/Tools/MultiRegisterAttribute.cs @@ -31,11 +31,6 @@ public enum RegisterIn /// MS Access in any version /// Access = 4, - - /// - /// MS Publisher - /// - Publisher = 7, } /// diff --git a/Source/Publisher/AssemblyInfo.cs b/Source/Publisher/AssemblyInfo.cs deleted file mode 100644 index 5f8ed7d6ed..0000000000 --- a/Source/Publisher/AssemblyInfo.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using NetOffice; -using NetOffice.Attributes; - -/* - Contains the following Type Libraries: - Name - Description - SupportByVersion - Publisher - Microsoft.Office.Interop.Publisher, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C - 14 - Publisher - Microsoft Publisher 15.0 Object Library - 15 - Publisher - Microsoft Publisher 16.0 Object Library - 16 -*/ - -[assembly: PrimaryInteropAssembly(1, 0)] -[assembly: ImportedFromTypeLib("Publisher")] -[assembly: Guid("0002123C-0000-0000-C000-000000000046")] -[assembly: NetOfficeAssemblyAttribute("1.8.1.0")] -[assembly: Dependency("OfficeApi.dll", LoadHint.Default)] -[assembly: Dependency("NetOffice.dll", LoadHint.Default)] - - -/* -Alias Table - -*/ \ No newline at end of file diff --git a/Source/Publisher/Classes/Application.cs b/Source/Publisher/Classes/Application.cs deleted file mode 100644 index e7a9496f46..0000000000 --- a/Source/Publisher/Classes/Application.cs +++ /dev/null @@ -1,829 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; -using NetOffice.CollectionsGeneric; - -namespace NetOffice.PublisherApi -{ - #region Delegates - - #pragma warning disable - public delegate void Application_WindowActivateEventHandler(NetOffice.PublisherApi.Window wn); - public delegate void Application_WindowDeactivateEventHandler(NetOffice.PublisherApi.Window wn); - public delegate void Application_WindowPageChangeEventHandler(NetOffice.PublisherApi.View vw); - public delegate void Application_QuitEventHandler(); - public delegate void Application_NewDocumentEventHandler(NetOffice.PublisherApi._Document doc); - public delegate void Application_DocumentOpenEventHandler(NetOffice.PublisherApi._Document doc); - public delegate void Application_DocumentBeforeCloseEventHandler(NetOffice.PublisherApi._Document doc, ref bool cancel); - public delegate void Application_MailMergeAfterMergeEventHandler(NetOffice.PublisherApi._Document doc); - public delegate void Application_MailMergeAfterRecordMergeEventHandler(NetOffice.PublisherApi._Document doc); - public delegate void Application_MailMergeBeforeMergeEventHandler(NetOffice.PublisherApi._Document doc, Int32 startRecord, Int32 endRecord, ref bool cancel); - public delegate void Application_MailMergeBeforeRecordMergeEventHandler(NetOffice.PublisherApi._Document doc, ref bool cancel); - public delegate void Application_MailMergeDataSourceLoadEventHandler(NetOffice.PublisherApi._Document doc); - public delegate void Application_MailMergeWizardSendToCustomEventHandler(NetOffice.PublisherApi._Document doc); - public delegate void Application_MailMergeWizardStateChangeEventHandler(NetOffice.PublisherApi._Document doc, Int32 fromState); - public delegate void Application_MailMergeDataSourceValidateEventHandler(NetOffice.PublisherApi._Document doc, ref bool handled); - public delegate void Application_MailMergeInsertBarcodeEventHandler(NetOffice.PublisherApi._Document doc, ref bool okToInsert); - public delegate void Application_MailMergeRecipientListCloseEventHandler(NetOffice.PublisherApi._Document doc); - public delegate void Application_MailMergeGenerateBarcodeEventHandler(NetOffice.PublisherApi._Document doc, ref string bstrString); - public delegate void Application_MailMergeWizardFollowUpCustomEventHandler(NetOffice.PublisherApi._Document doc); - public delegate void Application_BeforePrintEventHandler(NetOffice.PublisherApi._Document doc, ref bool cancel); - public delegate void Application_AfterPrintEventHandler(NetOffice.PublisherApi._Document doc); - public delegate void Application_ShowCatalogUIEventHandler(); - public delegate void Application_HideCatalogUIEventHandler(); - #pragma warning restore - - #endregion - - /// - /// CoClass Application - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsCoClass), ComProgId("Publisher.Application"), ModuleProvider(typeof(GlobalHelperModules.GlobalModule))] - [EventSink(typeof(Events.ApplicationEvents_SinkHelper))] - [ComEventInterface(typeof(Events.ApplicationEvents))] - public class Application : _Application, ICloneable, IEventBinding - { - #pragma warning disable - - #region Fields - - private NetRuntimeSystem.Runtime.InteropServices.ComTypes.IConnectionPoint _connectPoint; - private string _activeSinkId; - private static Type _type; - private Events.ApplicationEvents_SinkHelper _applicationEvents_SinkHelper; - - #endregion - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - /// - /// Type Cache - /// - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(Application); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public Application(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - _callQuitInDispose = true; - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public Application(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - GlobalHelperModules.GlobalModule.Instance = this; - } - - ///object there has created the proxy - ///inner wrapped COM proxy - public Application(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - GlobalHelperModules.GlobalModule.Instance = this; - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Application(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Application(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Application(ICOMObject replacedObject) : base(replacedObject) - { - - } - - /// - ///creates a new instance of Application - /// - public Application():base("Publisher.Application") - { - GlobalHelperModules.GlobalModule.Instance = this; - } - - /// - ///creates a new instance of Application - /// - ///registered ProgID - public Application(string progId):base(progId) - { - GlobalHelperModules.GlobalModule.Instance = this; - } - - /// - /// NetOffice method: dispose instance and all child instances - /// - /// dispose event exported proxies with one or more event recipients - [Category("NetOffice"), CoreOverridden] - public override void Dispose(bool disposeEventBinding) - { - if(this.Equals(GlobalHelperModules.GlobalModule.Instance)) - GlobalHelperModules.GlobalModule.Instance = null; - base.Dispose(disposeEventBinding); - } - - /// - /// NetOffice method: dispose instance and all child instances - /// - [Category("NetOffice"), CoreOverridden] - public override void Dispose() - { - if(this.Equals(GlobalHelperModules.GlobalModule.Instance)) - GlobalHelperModules.GlobalModule.Instance = null; - base.Dispose(); - } - - #endregion - - #region Static CoClass Methods - - /// - /// Returns all running Publisher.Application instances from the environment/system - /// - /// Publisher.Application sequence - public static IDisposableSequence GetActiveInstances() - { - return Running.ProxyService.GetActiveInstances("Publisher", "Application"); - } - - /// - /// Returns a running Publisher.Application instance from the environment/system - /// - /// throw exception if unable to find an instance - /// Publisher.Application instance or null - public static Application GetActiveInstance(bool throwExceptionIfNotFound = false) - { - return Running.ProxyService.GetActiveInstance("Publisher", "Application", throwExceptionIfNotFound); - } - - #endregion - - #region Events - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - private event Application_WindowActivateEventHandler _WindowActivateEvent; - - /// - /// SupportByVersion Publisher 14 15 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public event Application_WindowActivateEventHandler WindowActivateEvent - { - add - { - CreateEventBridge(); - _WindowActivateEvent += value; - } - remove - { - _WindowActivateEvent -= value; - } - } - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - private event Application_WindowDeactivateEventHandler _WindowDeactivateEvent; - - /// - /// SupportByVersion Publisher 14 15 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public event Application_WindowDeactivateEventHandler WindowDeactivateEvent - { - add - { - CreateEventBridge(); - _WindowDeactivateEvent += value; - } - remove - { - _WindowDeactivateEvent -= value; - } - } - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - private event Application_WindowPageChangeEventHandler _WindowPageChangeEvent; - - /// - /// SupportByVersion Publisher 14 15 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public event Application_WindowPageChangeEventHandler WindowPageChangeEvent - { - add - { - CreateEventBridge(); - _WindowPageChangeEvent += value; - } - remove - { - _WindowPageChangeEvent -= value; - } - } - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - private event Application_QuitEventHandler _QuitEvent; - - /// - /// SupportByVersion Publisher 14 15 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public event Application_QuitEventHandler QuitEvent - { - add - { - CreateEventBridge(); - _QuitEvent += value; - } - remove - { - _QuitEvent -= value; - } - } - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - private event Application_NewDocumentEventHandler _NewDocumentEvent; - - /// - /// SupportByVersion Publisher 14 15 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public event Application_NewDocumentEventHandler NewDocumentEvent - { - add - { - CreateEventBridge(); - _NewDocumentEvent += value; - } - remove - { - _NewDocumentEvent -= value; - } - } - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - private event Application_DocumentOpenEventHandler _DocumentOpenEvent; - - /// - /// SupportByVersion Publisher 14 15 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public event Application_DocumentOpenEventHandler DocumentOpenEvent - { - add - { - CreateEventBridge(); - _DocumentOpenEvent += value; - } - remove - { - _DocumentOpenEvent -= value; - } - } - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - private event Application_DocumentBeforeCloseEventHandler _DocumentBeforeCloseEvent; - - /// - /// SupportByVersion Publisher 14 15 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public event Application_DocumentBeforeCloseEventHandler DocumentBeforeCloseEvent - { - add - { - CreateEventBridge(); - _DocumentBeforeCloseEvent += value; - } - remove - { - _DocumentBeforeCloseEvent -= value; - } - } - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - private event Application_MailMergeAfterMergeEventHandler _MailMergeAfterMergeEvent; - - /// - /// SupportByVersion Publisher 14 15 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public event Application_MailMergeAfterMergeEventHandler MailMergeAfterMergeEvent - { - add - { - CreateEventBridge(); - _MailMergeAfterMergeEvent += value; - } - remove - { - _MailMergeAfterMergeEvent -= value; - } - } - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - private event Application_MailMergeAfterRecordMergeEventHandler _MailMergeAfterRecordMergeEvent; - - /// - /// SupportByVersion Publisher 14 15 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public event Application_MailMergeAfterRecordMergeEventHandler MailMergeAfterRecordMergeEvent - { - add - { - CreateEventBridge(); - _MailMergeAfterRecordMergeEvent += value; - } - remove - { - _MailMergeAfterRecordMergeEvent -= value; - } - } - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - private event Application_MailMergeBeforeMergeEventHandler _MailMergeBeforeMergeEvent; - - /// - /// SupportByVersion Publisher 14 15 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public event Application_MailMergeBeforeMergeEventHandler MailMergeBeforeMergeEvent - { - add - { - CreateEventBridge(); - _MailMergeBeforeMergeEvent += value; - } - remove - { - _MailMergeBeforeMergeEvent -= value; - } - } - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - private event Application_MailMergeBeforeRecordMergeEventHandler _MailMergeBeforeRecordMergeEvent; - - /// - /// SupportByVersion Publisher 14 15 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public event Application_MailMergeBeforeRecordMergeEventHandler MailMergeBeforeRecordMergeEvent - { - add - { - CreateEventBridge(); - _MailMergeBeforeRecordMergeEvent += value; - } - remove - { - _MailMergeBeforeRecordMergeEvent -= value; - } - } - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - private event Application_MailMergeDataSourceLoadEventHandler _MailMergeDataSourceLoadEvent; - - /// - /// SupportByVersion Publisher 14 15 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public event Application_MailMergeDataSourceLoadEventHandler MailMergeDataSourceLoadEvent - { - add - { - CreateEventBridge(); - _MailMergeDataSourceLoadEvent += value; - } - remove - { - _MailMergeDataSourceLoadEvent -= value; - } - } - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - private event Application_MailMergeWizardSendToCustomEventHandler _MailMergeWizardSendToCustomEvent; - - /// - /// SupportByVersion Publisher 14 15 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public event Application_MailMergeWizardSendToCustomEventHandler MailMergeWizardSendToCustomEvent - { - add - { - CreateEventBridge(); - _MailMergeWizardSendToCustomEvent += value; - } - remove - { - _MailMergeWizardSendToCustomEvent -= value; - } - } - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - private event Application_MailMergeWizardStateChangeEventHandler _MailMergeWizardStateChangeEvent; - - /// - /// SupportByVersion Publisher 14 15 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public event Application_MailMergeWizardStateChangeEventHandler MailMergeWizardStateChangeEvent - { - add - { - CreateEventBridge(); - _MailMergeWizardStateChangeEvent += value; - } - remove - { - _MailMergeWizardStateChangeEvent -= value; - } - } - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - private event Application_MailMergeDataSourceValidateEventHandler _MailMergeDataSourceValidateEvent; - - /// - /// SupportByVersion Publisher 14 15 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public event Application_MailMergeDataSourceValidateEventHandler MailMergeDataSourceValidateEvent - { - add - { - CreateEventBridge(); - _MailMergeDataSourceValidateEvent += value; - } - remove - { - _MailMergeDataSourceValidateEvent -= value; - } - } - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - private event Application_MailMergeInsertBarcodeEventHandler _MailMergeInsertBarcodeEvent; - - /// - /// SupportByVersion Publisher 14 15 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public event Application_MailMergeInsertBarcodeEventHandler MailMergeInsertBarcodeEvent - { - add - { - CreateEventBridge(); - _MailMergeInsertBarcodeEvent += value; - } - remove - { - _MailMergeInsertBarcodeEvent -= value; - } - } - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - private event Application_MailMergeRecipientListCloseEventHandler _MailMergeRecipientListCloseEvent; - - /// - /// SupportByVersion Publisher 14 15 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public event Application_MailMergeRecipientListCloseEventHandler MailMergeRecipientListCloseEvent - { - add - { - CreateEventBridge(); - _MailMergeRecipientListCloseEvent += value; - } - remove - { - _MailMergeRecipientListCloseEvent -= value; - } - } - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - private event Application_MailMergeGenerateBarcodeEventHandler _MailMergeGenerateBarcodeEvent; - - /// - /// SupportByVersion Publisher 14 15 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public event Application_MailMergeGenerateBarcodeEventHandler MailMergeGenerateBarcodeEvent - { - add - { - CreateEventBridge(); - _MailMergeGenerateBarcodeEvent += value; - } - remove - { - _MailMergeGenerateBarcodeEvent -= value; - } - } - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - private event Application_MailMergeWizardFollowUpCustomEventHandler _MailMergeWizardFollowUpCustomEvent; - - /// - /// SupportByVersion Publisher 14 15 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public event Application_MailMergeWizardFollowUpCustomEventHandler MailMergeWizardFollowUpCustomEvent - { - add - { - CreateEventBridge(); - _MailMergeWizardFollowUpCustomEvent += value; - } - remove - { - _MailMergeWizardFollowUpCustomEvent -= value; - } - } - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - private event Application_BeforePrintEventHandler _BeforePrintEvent; - - /// - /// SupportByVersion Publisher 14 15 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public event Application_BeforePrintEventHandler BeforePrintEvent - { - add - { - CreateEventBridge(); - _BeforePrintEvent += value; - } - remove - { - _BeforePrintEvent -= value; - } - } - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - private event Application_AfterPrintEventHandler _AfterPrintEvent; - - /// - /// SupportByVersion Publisher 14 15 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public event Application_AfterPrintEventHandler AfterPrintEvent - { - add - { - CreateEventBridge(); - _AfterPrintEvent += value; - } - remove - { - _AfterPrintEvent -= value; - } - } - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - private event Application_ShowCatalogUIEventHandler _ShowCatalogUIEvent; - - /// - /// SupportByVersion Publisher 14 15 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public event Application_ShowCatalogUIEventHandler ShowCatalogUIEvent - { - add - { - CreateEventBridge(); - _ShowCatalogUIEvent += value; - } - remove - { - _ShowCatalogUIEvent -= value; - } - } - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - private event Application_HideCatalogUIEventHandler _HideCatalogUIEvent; - - /// - /// SupportByVersion Publisher 14 15 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public event Application_HideCatalogUIEventHandler HideCatalogUIEvent - { - add - { - CreateEventBridge(); - _HideCatalogUIEvent += value; - } - remove - { - _HideCatalogUIEvent -= value; - } - } - - #endregion - - #region IEventBinding - - /// - /// creates active sink helper - /// - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public void CreateEventBridge() - { - if(false == Factory.Settings.EnableEvents) - return; - - if (null != _connectPoint) - return; - - if (null == _activeSinkId) - _activeSinkId = SinkHelper.GetConnectionPoint(this, ref _connectPoint, Events.ApplicationEvents_SinkHelper.Id); - - - if(Events.ApplicationEvents_SinkHelper.Id.Equals(_activeSinkId, StringComparison.InvariantCultureIgnoreCase)) - { - _applicationEvents_SinkHelper = new Events.ApplicationEvents_SinkHelper(this, _connectPoint); - return; - } - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public bool EventBridgeInitialized - { - get - { - return (null != _connectPoint); - } - } - /// - /// Instance has one or more event recipients - /// - /// true if one or more event is active, otherwise false - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public bool HasEventRecipients() - { - return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType); - } - - /// - /// Instance has one or more event recipients - /// - /// name of the event - /// - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public bool HasEventRecipients(string eventName) - { - return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType, eventName); - } - - /// - /// Target methods from its actual event recipients - /// - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Delegate[] GetEventRecipients(string eventName) - { - return NetOffice.Events.CoClassEventReflector.GetEventRecipients(this, LateBindingApiWrapperType, eventName); - } - - /// - /// Returns the current count of event recipients - /// - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public int GetCountOfEventRecipients(string eventName) - { - return NetOffice.Events.CoClassEventReflector.GetCountOfEventRecipients(this, LateBindingApiWrapperType, eventName); - } - - /// - /// Raise an instance event - /// - /// name of the event without 'Event' at the end - /// custom arguments for the event - /// count of called event recipients - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public int RaiseCustomEvent(string eventName, ref object[] paramsArray) - { - return NetOffice.Events.CoClassEventReflector.RaiseCustomEvent(this, LateBindingApiWrapperType, eventName, ref paramsArray); - } - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public void DisposeEventBridge() - { - if( null != _applicationEvents_SinkHelper) - { - _applicationEvents_SinkHelper.Dispose(); - _applicationEvents_SinkHelper = null; - } - - _connectPoint = null; - } - - #endregion - - #region ICloneable - - /// - /// Creates a new Application that is a copy of the current instance - /// - /// A new Application that is a copy of this instance - /// An unexpected error occured. See inner exception(s) for details. - public new virtual Application Clone() - { - return base.Clone() as Application; - } - - #endregion - - #pragma warning restore - } -} \ No newline at end of file diff --git a/Source/Publisher/Classes/Document.cs b/Source/Publisher/Classes/Document.cs deleted file mode 100644 index 8ec62fa385..0000000000 --- a/Source/Publisher/Classes/Document.cs +++ /dev/null @@ -1,396 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - #region Delegates - - #pragma warning disable - public delegate void Document_OpenEventHandler(); - public delegate void Document_BeforeCloseEventHandler(ref bool cancel); - public delegate void Document_ShapesAddedEventHandler(); - public delegate void Document_WizardAfterChangeEventHandler(); - public delegate void Document_ShapesRemovedEventHandler(); - public delegate void Document_UndoEventHandler(); - public delegate void Document_RedoEventHandler(); - #pragma warning restore - - #endregion - - /// - /// CoClass Document - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsCoClass)] - [EventSink(typeof(Events.DocumentEvents_SinkHelper))] - [ComEventInterface(typeof(Events.DocumentEvents))] - public class Document : _Document, IEventBinding - { - #pragma warning disable - - #region Fields - - private NetRuntimeSystem.Runtime.InteropServices.ComTypes.IConnectionPoint _connectPoint; - private string _activeSinkId; - private static Type _type; - private Events.DocumentEvents_SinkHelper _documentEvents_SinkHelper; - - #endregion - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - /// - /// Type Cache - /// - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(Document); - return _type; - } - } - - #endregion - - #region Construction - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public Document(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - public Document(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Document(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Document(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Document(ICOMObject replacedObject) : base(replacedObject) - { - - } - - /// - ///creates a new instance of Document - /// - public Document():base("Publisher.Document") - { - - } - - /// - ///creates a new instance of Document - /// - ///registered ProgID - public Document(string progId):base(progId) - { - - } - - #endregion - - #region Static CoClass Methods - #endregion - - #region Events - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - private event Document_OpenEventHandler _OpenEvent; - - /// - /// SupportByVersion Publisher 14 15 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public event Document_OpenEventHandler OpenEvent - { - add - { - CreateEventBridge(); - _OpenEvent += value; - } - remove - { - _OpenEvent -= value; - } - } - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - private event Document_BeforeCloseEventHandler _BeforeCloseEvent; - - /// - /// SupportByVersion Publisher 14 15 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public event Document_BeforeCloseEventHandler BeforeCloseEvent - { - add - { - CreateEventBridge(); - _BeforeCloseEvent += value; - } - remove - { - _BeforeCloseEvent -= value; - } - } - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - private event Document_ShapesAddedEventHandler _ShapesAddedEvent; - - /// - /// SupportByVersion Publisher 14 15 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public event Document_ShapesAddedEventHandler ShapesAddedEvent - { - add - { - CreateEventBridge(); - _ShapesAddedEvent += value; - } - remove - { - _ShapesAddedEvent -= value; - } - } - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - private event Document_WizardAfterChangeEventHandler _WizardAfterChangeEvent; - - /// - /// SupportByVersion Publisher 14 15 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public event Document_WizardAfterChangeEventHandler WizardAfterChangeEvent - { - add - { - CreateEventBridge(); - _WizardAfterChangeEvent += value; - } - remove - { - _WizardAfterChangeEvent -= value; - } - } - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - private event Document_ShapesRemovedEventHandler _ShapesRemovedEvent; - - /// - /// SupportByVersion Publisher 14 15 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public event Document_ShapesRemovedEventHandler ShapesRemovedEvent - { - add - { - CreateEventBridge(); - _ShapesRemovedEvent += value; - } - remove - { - _ShapesRemovedEvent -= value; - } - } - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - private event Document_UndoEventHandler _UndoEvent; - - /// - /// SupportByVersion Publisher 14 15 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public event Document_UndoEventHandler UndoEvent - { - add - { - CreateEventBridge(); - _UndoEvent += value; - } - remove - { - _UndoEvent -= value; - } - } - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - private event Document_RedoEventHandler _RedoEvent; - - /// - /// SupportByVersion Publisher 14 15 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public event Document_RedoEventHandler RedoEvent - { - add - { - CreateEventBridge(); - _RedoEvent += value; - } - remove - { - _RedoEvent -= value; - } - } - - #endregion - - #region IEventBinding - - /// - /// creates active sink helper - /// - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public void CreateEventBridge() - { - if(false == Factory.Settings.EnableEvents) - return; - - if (null != _connectPoint) - return; - - if (null == _activeSinkId) - _activeSinkId = SinkHelper.GetConnectionPoint(this, ref _connectPoint, Events.DocumentEvents_SinkHelper.Id); - - - if(Events.DocumentEvents_SinkHelper.Id.Equals(_activeSinkId, StringComparison.InvariantCultureIgnoreCase)) - { - _documentEvents_SinkHelper = new Events.DocumentEvents_SinkHelper(this, _connectPoint); - return; - } - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public bool EventBridgeInitialized - { - get - { - return (null != _connectPoint); - } - } - /// - /// Instance has one or more event recipients - /// - /// true if one or more event is active, otherwise false - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public bool HasEventRecipients() - { - return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType); - } - - /// - /// Instance has one or more event recipients - /// - /// name of the event - /// - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public bool HasEventRecipients(string eventName) - { - return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType, eventName); - } - - /// - /// Target methods from its actual event recipients - /// - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Delegate[] GetEventRecipients(string eventName) - { - return NetOffice.Events.CoClassEventReflector.GetEventRecipients(this, LateBindingApiWrapperType, eventName); - } - - /// - /// Returns the current count of event recipients - /// - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public int GetCountOfEventRecipients(string eventName) - { - return NetOffice.Events.CoClassEventReflector.GetCountOfEventRecipients(this, LateBindingApiWrapperType, eventName); - } - - /// - /// Raise an instance event - /// - /// name of the event without 'Event' at the end - /// custom arguments for the event - /// count of called event recipients - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public int RaiseCustomEvent(string eventName, ref object[] paramsArray) - { - return NetOffice.Events.CoClassEventReflector.RaiseCustomEvent(this, LateBindingApiWrapperType, eventName, ref paramsArray); - } - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public void DisposeEventBridge() - { - if( null != _documentEvents_SinkHelper) - { - _documentEvents_SinkHelper.Dispose(); - _documentEvents_SinkHelper = null; - } - - _connectPoint = null; - } - - #endregion - - #pragma warning restore - } -} - diff --git a/Source/Publisher/DispatchInterfaces/Adjustments.cs b/Source/Publisher/DispatchInterfaces/Adjustments.cs deleted file mode 100644 index 984c80b670..0000000000 --- a/Source/Publisher/DispatchInterfaces/Adjustments.cs +++ /dev/null @@ -1,234 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; -using NetOffice.CollectionsGeneric; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface Adjustments - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface), Enumerator(Enumerator.Variant, EnumeratorInvoke.Custom), HasIndexProperty(IndexInvoke.Property, "Item")] - public class Adjustments : COMObject, NetOffice.CollectionsGeneric.IEnumerableProvider - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(Adjustments); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public Adjustments(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public Adjustments(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Adjustments(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Adjustments(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Adjustments(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Adjustments(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Adjustments() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Adjustments(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Count - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Count"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - /// Int32 index - [SupportByVersion("Publisher", 14,15,16)] - [NetRuntimeSystem.Runtime.CompilerServices.IndexerName("Item"), IndexProperty] - public object this[Int32 index] - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "Item", index); - } - set - { - Factory.ExecuteVariantPropertySet(this, "Item", value, index); - } - } - - #endregion - - #region Methods - - #endregion - - #region IEnumerableProvider - - ICOMObject IEnumerableProvider.GetComObjectEnumerator(ICOMObject parent) - { - return this; - } - - IEnumerable IEnumerableProvider.FetchVariantComObjectEnumerator(ICOMObject parent, ICOMObject enumerator) - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (object item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable Member - - /// - /// SupportByVersion Publisher, 14,15,16 - /// This is a custom enumerator from NetOffice - /// - [SupportByVersion("Publisher", 14, 15, 16)] - [CustomEnumerator] - public IEnumerator GetEnumerator() - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (object item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable Members - - /// - /// SupportByVersion Publisher, 14,15,16 - /// This is a custom enumerator from NetOffice - /// - [SupportByVersion("Publisher", 14, 15, 16)] - [CustomEnumerator] - IEnumerator NetRuntimeSystem.Collections.IEnumerable.GetEnumerator() - { - int count = Count; - object[] enumeratorObjects = new object[count]; - for (int i = 0; i < count; i++) - enumeratorObjects[i] = this[i + 1]; - - foreach (object item in enumeratorObjects) - yield return item; - } - - #endregion - - #pragma warning restore - } -} \ No newline at end of file diff --git a/Source/Publisher/DispatchInterfaces/AdvancedPrintOptions.cs b/Source/Publisher/DispatchInterfaces/AdvancedPrintOptions.cs deleted file mode 100644 index e27e969481..0000000000 --- a/Source/Publisher/DispatchInterfaces/AdvancedPrintOptions.cs +++ /dev/null @@ -1,562 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface AdvancedPrintOptions - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class AdvancedPrintOptions : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(AdvancedPrintOptions); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public AdvancedPrintOptions(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public AdvancedPrintOptions(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public AdvancedPrintOptions(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public AdvancedPrintOptions(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public AdvancedPrintOptions(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public AdvancedPrintOptions(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public AdvancedPrintOptions() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public AdvancedPrintOptions(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool VerticalFlip - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "VerticalFlip"); - } - set - { - Factory.ExecuteValuePropertySet(this, "VerticalFlip", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool HorizontalFlip - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "HorizontalFlip"); - } - set - { - Factory.ExecuteValuePropertySet(this, "HorizontalFlip", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool NegativeImage - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "NegativeImage"); - } - set - { - Factory.ExecuteValuePropertySet(this, "NegativeImage", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool UseOnlyPublicationFonts - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "UseOnlyPublicationFonts"); - } - set - { - Factory.ExecuteValuePropertySet(this, "UseOnlyPublicationFonts", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool PrintCropMarks - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "PrintCropMarks"); - } - set - { - Factory.ExecuteValuePropertySet(this, "PrintCropMarks", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool PrintRegistrationMarks - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "PrintRegistrationMarks"); - } - set - { - Factory.ExecuteValuePropertySet(this, "PrintRegistrationMarks", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool PrintJobInformation - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "PrintJobInformation"); - } - set - { - Factory.ExecuteValuePropertySet(this, "PrintJobInformation", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool PrintDensityBars - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "PrintDensityBars"); - } - set - { - Factory.ExecuteValuePropertySet(this, "PrintDensityBars", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool PrintColorBars - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "PrintColorBars"); - } - set - { - Factory.ExecuteValuePropertySet(this, "PrintColorBars", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool AllowBleeds - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "AllowBleeds"); - } - set - { - Factory.ExecuteValuePropertySet(this, "AllowBleeds", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool PrintBleedMarks - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "PrintBleedMarks"); - } - set - { - Factory.ExecuteValuePropertySet(this, "PrintBleedMarks", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool PrintBlankPlates - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "PrintBlankPlates"); - } - set - { - Factory.ExecuteValuePropertySet(this, "PrintBlankPlates", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbPrintGraphics GraphicsResolution - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "GraphicsResolution"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "GraphicsResolution", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Resolution - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Resolution"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Resolution", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public NetOffice.PublisherApi.PrintableRect PrintableRect - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "PrintableRect", NetOffice.PublisherApi.PrintableRect.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbInksToPrint InksToPrint - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "InksToPrint"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "InksToPrint", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public NetOffice.PublisherApi.Enums.PbPrintMode PrintMode - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "PrintMode"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "PrintMode", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.PrintablePlates PrintablePlates - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "PrintablePlates", NetOffice.PublisherApi.PrintablePlates.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool IsPostscriptPrinter - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "IsPostscriptPrinter"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public bool UseCustomHalftone - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "UseCustomHalftone"); - } - set - { - Factory.ExecuteValuePropertySet(this, "UseCustomHalftone", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public bool PrintCMYKByDefault - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "PrintCMYKByDefault"); - } - set - { - Factory.ExecuteValuePropertySet(this, "PrintCMYKByDefault", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool BackSideInsertFaceUp - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "BackSideInsertFaceUp"); - } - set - { - Factory.ExecuteValuePropertySet(this, "BackSideInsertFaceUp", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbPlacementType ManualFeedAlign - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "ManualFeedAlign"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "ManualFeedAlign", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbOrientationType ManualFeedDirection - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "ManualFeedDirection"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "ManualFeedDirection", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool PageRotated - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "PageRotated"); - } - set - { - Factory.ExecuteValuePropertySet(this, "PageRotated", value); - } - } - - #endregion - - #region Methods - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/Attachment.cs b/Source/Publisher/DispatchInterfaces/Attachment.cs deleted file mode 100644 index b0488b75bd..0000000000 --- a/Source/Publisher/DispatchInterfaces/Attachment.cs +++ /dev/null @@ -1,140 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface Attachment - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class Attachment : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(Attachment); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public Attachment(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public Attachment(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Attachment(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Attachment(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Attachment(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Attachment(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Attachment() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Attachment(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Name - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Name"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Delete() - { - Factory.ExecuteMethod(this, "Delete"); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/Attachments.cs b/Source/Publisher/DispatchInterfaces/Attachments.cs deleted file mode 100644 index 132868c909..0000000000 --- a/Source/Publisher/DispatchInterfaces/Attachments.cs +++ /dev/null @@ -1,237 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; -using NetOffice.CollectionsGeneric; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface Attachments - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface), Enumerator(Enumerator.Reference, EnumeratorInvoke.Property), HasIndexProperty(IndexInvoke.Property, "Item")] - public class Attachments : COMObject, NetOffice.CollectionsGeneric.IEnumerableProvider - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(Attachments); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public Attachments(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public Attachments(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Attachments(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Attachments(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Attachments(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Attachments(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Attachments() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Attachments(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - /// Int32 item - [SupportByVersion("Publisher", 14,15,16)] - [NetRuntimeSystem.Runtime.CompilerServices.IndexerName("Item"), IndexProperty] - public NetOffice.PublisherApi.Attachment this[Int32 item] - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Item", NetOffice.PublisherApi.Attachment.LateBindingApiWrapperType, item); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Count - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Count"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string filename - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Attachment Add(string filename) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Add", NetOffice.PublisherApi.Attachment.LateBindingApiWrapperType, filename); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void ClearAll() - { - Factory.ExecuteMethod(this, "ClearAll"); - } - - #endregion - - #region IEnumerableProvider - - ICOMObject IEnumerableProvider.GetComObjectEnumerator(ICOMObject parent) - { - return NetOffice.Utils.GetComObjectEnumeratorAsProperty(parent, this, false); - } - - IEnumerable IEnumerableProvider.FetchVariantComObjectEnumerator(ICOMObject parent, ICOMObject enumerator) - { - return NetOffice.Utils.FetchVariantComObjectEnumerator(parent, enumerator, false); - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public IEnumerator GetEnumerator() - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (NetOffice.PublisherApi.Attachment item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - IEnumerator NetRuntimeSystem.Collections.IEnumerable.GetEnumerator() - { - return NetOffice.Utils.GetProxyEnumeratorAsProperty(this, false); - } - - #endregion - - #pragma warning restore - } -} \ No newline at end of file diff --git a/Source/Publisher/DispatchInterfaces/BorderArt.cs b/Source/Publisher/DispatchInterfaces/BorderArt.cs deleted file mode 100644 index e3e33ed039..0000000000 --- a/Source/Publisher/DispatchInterfaces/BorderArt.cs +++ /dev/null @@ -1,158 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface BorderArt - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class BorderArt : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(BorderArt); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public BorderArt(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public BorderArt(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public BorderArt(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public BorderArt(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public BorderArt(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public BorderArt(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public BorderArt() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public BorderArt(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Name - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Name"); - } - } - - #endregion - - #region Methods - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/BorderArtFormat.cs b/Source/Publisher/DispatchInterfaces/BorderArtFormat.cs deleted file mode 100644 index c73bc48b00..0000000000 --- a/Source/Publisher/DispatchInterfaces/BorderArtFormat.cs +++ /dev/null @@ -1,263 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface BorderArtFormat - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class BorderArtFormat : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(BorderArtFormat); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public BorderArtFormat(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public BorderArtFormat(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public BorderArtFormat(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public BorderArtFormat(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public BorderArtFormat(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public BorderArtFormat(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public BorderArtFormat() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public BorderArtFormat(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Name - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Name"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Name", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool StretchPictures - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "StretchPictures"); - } - set - { - Factory.ExecuteValuePropertySet(this, "StretchPictures", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object Weight - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "Weight"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "Weight", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ColorFormat Color - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Color", NetOffice.PublisherApi.ColorFormat.LateBindingApiWrapperType); - } - set - { - Factory.ExecuteReferencePropertySet(this, "Color", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool Exists - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "Exists"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void RevertToDefaultWeight() - { - Factory.ExecuteMethod(this, "RevertToDefaultWeight"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Delete() - { - Factory.ExecuteMethod(this, "Delete"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// object borderArtName - [SupportByVersion("Publisher", 14,15,16)] - public void Set(object borderArtName) - { - Factory.ExecuteMethod(this, "Set", borderArtName); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void RevertToOriginalColor() - { - Factory.ExecuteMethod(this, "RevertToOriginalColor"); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/BorderArts.cs b/Source/Publisher/DispatchInterfaces/BorderArts.cs deleted file mode 100644 index 1b396d8e4a..0000000000 --- a/Source/Publisher/DispatchInterfaces/BorderArts.cs +++ /dev/null @@ -1,217 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; -using NetOffice.CollectionsGeneric; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface BorderArts - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface), Enumerator(Enumerator.Reference, EnumeratorInvoke.Property), HasIndexProperty(IndexInvoke.Method, "Item")] - public class BorderArts : COMObject, NetOffice.CollectionsGeneric.IEnumerableProvider - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(BorderArts); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public BorderArts(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public BorderArts(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public BorderArts(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public BorderArts(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public BorderArts(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public BorderArts(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public BorderArts() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public BorderArts(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Count - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Count"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// object index - [SupportByVersion("Publisher", 14,15,16)] - [NetRuntimeSystem.Runtime.CompilerServices.IndexerName("Item"), IndexProperty] - public NetOffice.PublisherApi.BorderArt this[object index] - { - get - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Item", NetOffice.PublisherApi.BorderArt.LateBindingApiWrapperType, index); - } - } - - #endregion - - #region IEnumerableProvider - - ICOMObject IEnumerableProvider.GetComObjectEnumerator(ICOMObject parent) - { - return NetOffice.Utils.GetComObjectEnumeratorAsProperty(parent, this, false); - } - - IEnumerable IEnumerableProvider.FetchVariantComObjectEnumerator(ICOMObject parent, ICOMObject enumerator) - { - return NetOffice.Utils.FetchVariantComObjectEnumerator(parent, enumerator, false); - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public IEnumerator GetEnumerator() - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (NetOffice.PublisherApi.BorderArt item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - IEnumerator NetRuntimeSystem.Collections.IEnumerable.GetEnumerator() - { - return NetOffice.Utils.GetProxyEnumeratorAsProperty(this, false); - } - - #endregion - - #pragma warning restore - } -} \ No newline at end of file diff --git a/Source/Publisher/DispatchInterfaces/BuildingBlock.cs b/Source/Publisher/DispatchInterfaces/BuildingBlock.cs deleted file mode 100644 index 9e960f0a1f..0000000000 --- a/Source/Publisher/DispatchInterfaces/BuildingBlock.cs +++ /dev/null @@ -1,242 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface BuildingBlock - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class BuildingBlock : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(BuildingBlock); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public BuildingBlock(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public BuildingBlock(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public BuildingBlock(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public BuildingBlock(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public BuildingBlock(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public BuildingBlock(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public BuildingBlock() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public BuildingBlock(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbBuildingBlockType Type - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Type"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Name - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Name"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Name", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Description - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Description"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Description", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbBuildingBlockGallery Gallery - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Gallery"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Gallery", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool ShowInGallery - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "ShowInGallery"); - } - set - { - Factory.ExecuteValuePropertySet(this, "ShowInGallery", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Category - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Category"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Category", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Keywords - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Keywords"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Keywords", value); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Delete() - { - Factory.ExecuteMethod(this, "Delete"); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/BuildingBlocks.cs b/Source/Publisher/DispatchInterfaces/BuildingBlocks.cs deleted file mode 100644 index 1cece398e6..0000000000 --- a/Source/Publisher/DispatchInterfaces/BuildingBlocks.cs +++ /dev/null @@ -1,218 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; -using NetOffice.CollectionsGeneric; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface BuildingBlocks - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface), Enumerator(Enumerator.Reference, EnumeratorInvoke.Property), HasIndexProperty(IndexInvoke.Property, "Item")] - public class BuildingBlocks : COMObject, NetOffice.CollectionsGeneric.IEnumerableProvider - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(BuildingBlocks); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public BuildingBlocks(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public BuildingBlocks(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public BuildingBlocks(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public BuildingBlocks(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public BuildingBlocks(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public BuildingBlocks(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public BuildingBlocks() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public BuildingBlocks(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - /// Int32 item - [SupportByVersion("Publisher", 14,15,16)] - [NetRuntimeSystem.Runtime.CompilerServices.IndexerName("Item"), IndexProperty] - public NetOffice.PublisherApi.BuildingBlock this[Int32 item] - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Item", NetOffice.PublisherApi.BuildingBlock.LateBindingApiWrapperType, item); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Count - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Count"); - } - } - - #endregion - - #region Methods - - #endregion - - #region IEnumerableProvider - - ICOMObject IEnumerableProvider.GetComObjectEnumerator(ICOMObject parent) - { - return NetOffice.Utils.GetComObjectEnumeratorAsProperty(parent, this, false); - } - - IEnumerable IEnumerableProvider.FetchVariantComObjectEnumerator(ICOMObject parent, ICOMObject enumerator) - { - return NetOffice.Utils.FetchVariantComObjectEnumerator(parent, enumerator, false); - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public IEnumerator GetEnumerator() - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (NetOffice.PublisherApi.BuildingBlock item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - IEnumerator NetRuntimeSystem.Collections.IEnumerable.GetEnumerator() - { - return NetOffice.Utils.GetProxyEnumeratorAsProperty(this, false); - } - - #endregion - - #pragma warning restore - } -} \ No newline at end of file diff --git a/Source/Publisher/DispatchInterfaces/CalloutFormat.cs b/Source/Publisher/DispatchInterfaces/CalloutFormat.cs deleted file mode 100644 index 3503bf7c2b..0000000000 --- a/Source/Publisher/DispatchInterfaces/CalloutFormat.cs +++ /dev/null @@ -1,338 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface CalloutFormat - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class CalloutFormat : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(CalloutFormat); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public CalloutFormat(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public CalloutFormat(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public CalloutFormat(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public CalloutFormat(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public CalloutFormat(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public CalloutFormat(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public CalloutFormat() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public CalloutFormat(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState Accent - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Accent"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Accent", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoCalloutAngleType Angle - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Angle"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Angle", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState AutoAttach - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "AutoAttach"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "AutoAttach", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState AutoLength - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "AutoLength"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState Border - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Border"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Border", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public object Drop - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "Drop"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoCalloutDropType DropType - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "DropType"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object Gap - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "Gap"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "Gap", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public object Length - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "Length"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoCalloutType Type - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Type"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Type", value); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void AutomaticLength() - { - Factory.ExecuteMethod(this, "AutomaticLength"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// object drop - [SupportByVersion("Publisher", 14,15,16)] - public void CustomDrop(object drop) - { - Factory.ExecuteMethod(this, "CustomDrop", drop); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// object length - [SupportByVersion("Publisher", 14,15,16)] - public void CustomLength(object length) - { - Factory.ExecuteMethod(this, "CustomLength", length); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.OfficeApi.Enums.MsoCalloutDropType dropType - [SupportByVersion("Publisher", 14,15,16)] - public void PresetDrop(NetOffice.OfficeApi.Enums.MsoCalloutDropType dropType) - { - Factory.ExecuteMethod(this, "PresetDrop", dropType); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/CaptionStyle.cs b/Source/Publisher/DispatchInterfaces/CaptionStyle.cs deleted file mode 100644 index 75b1ecb272..0000000000 --- a/Source/Publisher/DispatchInterfaces/CaptionStyle.cs +++ /dev/null @@ -1,158 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface CaptionStyle - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class CaptionStyle : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(CaptionStyle); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public CaptionStyle(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public CaptionStyle(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public CaptionStyle(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public CaptionStyle(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public CaptionStyle(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public CaptionStyle(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public CaptionStyle() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public CaptionStyle(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Name - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Name"); - } - } - - #endregion - - #region Methods - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/CaptionStyles.cs b/Source/Publisher/DispatchInterfaces/CaptionStyles.cs deleted file mode 100644 index 10eb29dd91..0000000000 --- a/Source/Publisher/DispatchInterfaces/CaptionStyles.cs +++ /dev/null @@ -1,217 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; -using NetOffice.CollectionsGeneric; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface CaptionStyles - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface), Enumerator(Enumerator.Reference, EnumeratorInvoke.Property), HasIndexProperty(IndexInvoke.Method, "Item")] - public class CaptionStyles : COMObject, NetOffice.CollectionsGeneric.IEnumerableProvider - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(CaptionStyles); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public CaptionStyles(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public CaptionStyles(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public CaptionStyles(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public CaptionStyles(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public CaptionStyles(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public CaptionStyles(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public CaptionStyles() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public CaptionStyles(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Count - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Count"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 index - [SupportByVersion("Publisher", 14,15,16)] - [NetRuntimeSystem.Runtime.CompilerServices.IndexerName("Item"), IndexProperty] - public NetOffice.PublisherApi.CaptionStyle this[Int32 index] - { - get - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Item", NetOffice.PublisherApi.CaptionStyle.LateBindingApiWrapperType, index); - } - } - - #endregion - - #region IEnumerableProvider - - ICOMObject IEnumerableProvider.GetComObjectEnumerator(ICOMObject parent) - { - return NetOffice.Utils.GetComObjectEnumeratorAsProperty(parent, this, false); - } - - IEnumerable IEnumerableProvider.FetchVariantComObjectEnumerator(ICOMObject parent, ICOMObject enumerator) - { - return NetOffice.Utils.FetchVariantComObjectEnumerator(parent, enumerator, false); - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public IEnumerator GetEnumerator() - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (NetOffice.PublisherApi.CaptionStyle item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - IEnumerator NetRuntimeSystem.Collections.IEnumerable.GetEnumerator() - { - return NetOffice.Utils.GetProxyEnumeratorAsProperty(this, false); - } - - #endregion - - #pragma warning restore - } -} \ No newline at end of file diff --git a/Source/Publisher/DispatchInterfaces/CatalogMergeShapes.cs b/Source/Publisher/DispatchInterfaces/CatalogMergeShapes.cs deleted file mode 100644 index 44b63c63c5..0000000000 --- a/Source/Publisher/DispatchInterfaces/CatalogMergeShapes.cs +++ /dev/null @@ -1,253 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; -using NetOffice.CollectionsGeneric; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface CatalogMergeShapes - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface), Enumerator(Enumerator.Reference, EnumeratorInvoke.Property), HasIndexProperty(IndexInvoke.Method, "Item")] - public class CatalogMergeShapes : COMObject, NetOffice.CollectionsGeneric.IEnumerableProvider - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(CatalogMergeShapes); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public CatalogMergeShapes(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public CatalogMergeShapes(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public CatalogMergeShapes(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public CatalogMergeShapes(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public CatalogMergeShapes(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public CatalogMergeShapes(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public CatalogMergeShapes() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public CatalogMergeShapes(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Count - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Count"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 HorizontalRepeat - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "HorizontalRepeat"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 VerticalRepeat - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "VerticalRepeat"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// object index - [SupportByVersion("Publisher", 14,15,16)] - [NetRuntimeSystem.Runtime.CompilerServices.IndexerName("Item"), IndexProperty] - public NetOffice.PublisherApi.Shape this[object index] - { - get - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Item", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType, index); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// object index - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ShapeRange Range(object index) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Range", NetOffice.PublisherApi.ShapeRange.LateBindingApiWrapperType, index); - } - - #endregion - - #region IEnumerableProvider - - ICOMObject IEnumerableProvider.GetComObjectEnumerator(ICOMObject parent) - { - return NetOffice.Utils.GetComObjectEnumeratorAsProperty(parent, this, false); - } - - IEnumerable IEnumerableProvider.FetchVariantComObjectEnumerator(ICOMObject parent, ICOMObject enumerator) - { - return NetOffice.Utils.FetchVariantComObjectEnumerator(parent, enumerator, false); - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public IEnumerator GetEnumerator() - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (NetOffice.PublisherApi.Shape item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - IEnumerator NetRuntimeSystem.Collections.IEnumerable.GetEnumerator() - { - return NetOffice.Utils.GetProxyEnumeratorAsProperty(this, false); - } - - #endregion - - #pragma warning restore - } -} \ No newline at end of file diff --git a/Source/Publisher/DispatchInterfaces/Cell.cs b/Source/Publisher/DispatchInterfaces/Cell.cs deleted file mode 100644 index adaa386e90..0000000000 --- a/Source/Publisher/DispatchInterfaces/Cell.cs +++ /dev/null @@ -1,461 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface Cell - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class Cell : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(Cell); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public Cell(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public Cell(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Cell(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Cell(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Cell(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Cell(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Cell() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Cell(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.CellBorder BorderDiagonal - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "BorderDiagonal", NetOffice.PublisherApi.CellBorder.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.CellBorder BorderBottom - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "BorderBottom", NetOffice.PublisherApi.CellBorder.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.CellBorder BorderLeft - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "BorderLeft", NetOffice.PublisherApi.CellBorder.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.CellBorder BorderRight - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "BorderRight", NetOffice.PublisherApi.CellBorder.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.CellBorder BorderTop - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "BorderTop", NetOffice.PublisherApi.CellBorder.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Column - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Column"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbCellDiagonalType Diagonal - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Diagonal"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Diagonal", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.FillFormat Fill - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Fill", NetOffice.PublisherApi.FillFormat.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool HasText - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "HasText"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Height - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Height"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object MarginBottom - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "MarginBottom"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "MarginBottom", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object MarginLeft - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "MarginLeft"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "MarginLeft", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object MarginRight - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "MarginRight"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "MarginRight", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object MarginTop - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "MarginTop"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "MarginTop", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Row - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Row"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool Selected - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "Selected"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.TextRange TextRange - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "TextRange", NetOffice.PublisherApi.TextRange.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbVerticalTextAlignmentType VerticalTextAlignment - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "VerticalTextAlignment"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "VerticalTextAlignment", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Width - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Width"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbTextOrientation CellTextOrientation - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "CellTextOrientation"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "CellTextOrientation", value); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Cell mergeTo - [SupportByVersion("Publisher", 14,15,16)] - public void Merge(NetOffice.PublisherApi.Cell mergeTo) - { - Factory.ExecuteMethod(this, "Merge", mergeTo); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Select() - { - Factory.ExecuteMethod(this, "Select"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.CellRange Split() - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Split", NetOffice.PublisherApi.CellRange.LateBindingApiWrapperType); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/CellBorder.cs b/Source/Publisher/DispatchInterfaces/CellBorder.cs deleted file mode 100644 index cea68b83b8..0000000000 --- a/Source/Publisher/DispatchInterfaces/CellBorder.cs +++ /dev/null @@ -1,175 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface CellBorder - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class CellBorder : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(CellBorder); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public CellBorder(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public CellBorder(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public CellBorder(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public CellBorder(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public CellBorder(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public CellBorder(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public CellBorder() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public CellBorder(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ColorFormat Color - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Color", NetOffice.PublisherApi.ColorFormat.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object Weight - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "Weight"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "Weight", value); - } - } - - #endregion - - #region Methods - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/CellRange.cs b/Source/Publisher/DispatchInterfaces/CellRange.cs deleted file mode 100644 index 62429869d0..0000000000 --- a/Source/Publisher/DispatchInterfaces/CellRange.cs +++ /dev/null @@ -1,287 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; -using NetOffice.CollectionsGeneric; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface CellRange - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface), Enumerator(Enumerator.Reference, EnumeratorInvoke.Property), HasIndexProperty(IndexInvoke.Method, "Item")] - public class CellRange : COMObject, NetOffice.CollectionsGeneric.IEnumerableProvider - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(CellRange); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public CellRange(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public CellRange(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public CellRange(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public CellRange(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public CellRange(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public CellRange(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public CellRange() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public CellRange(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Column - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Column"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Count - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Count"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Height - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Height"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Row - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Row"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Width - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Width"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 index - [SupportByVersion("Publisher", 14,15,16)] - [NetRuntimeSystem.Runtime.CompilerServices.IndexerName("Item"), IndexProperty] - public NetOffice.PublisherApi.Cell this[Int32 index] - { - get - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Item", NetOffice.PublisherApi.Cell.LateBindingApiWrapperType, index); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Merge() - { - Factory.ExecuteMethod(this, "Merge"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Select() - { - Factory.ExecuteMethod(this, "Select"); - } - - #endregion - - #region IEnumerableProvider - - ICOMObject IEnumerableProvider.GetComObjectEnumerator(ICOMObject parent) - { - return NetOffice.Utils.GetComObjectEnumeratorAsProperty(parent, this, false); - } - - IEnumerable IEnumerableProvider.FetchVariantComObjectEnumerator(ICOMObject parent, ICOMObject enumerator) - { - return NetOffice.Utils.FetchVariantComObjectEnumerator(parent, enumerator, false); - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public IEnumerator GetEnumerator() - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (NetOffice.PublisherApi.Cell item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable Members - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - IEnumerator NetRuntimeSystem.Collections.IEnumerable.GetEnumerator() - { - return NetOffice.Utils.GetProxyEnumeratorAsProperty(this, false); - } - - #endregion - - #pragma warning restore - } -} \ No newline at end of file diff --git a/Source/Publisher/DispatchInterfaces/ColorCMYK.cs b/Source/Publisher/DispatchInterfaces/ColorCMYK.cs deleted file mode 100644 index 9edd04d2f6..0000000000 --- a/Source/Publisher/DispatchInterfaces/ColorCMYK.cs +++ /dev/null @@ -1,226 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface ColorCMYK - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class ColorCMYK : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(ColorCMYK); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public ColorCMYK(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public ColorCMYK(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ColorCMYK(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ColorCMYK(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ColorCMYK(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ColorCMYK(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ColorCMYK() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ColorCMYK(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Black - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Black"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Black", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Cyan - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Cyan"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Cyan", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Magenta - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Magenta"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Magenta", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Yellow - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Yellow"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Yellow", value); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 cyan - /// Int32 magenta - /// Int32 yellow - /// Int32 black - [SupportByVersion("Publisher", 14,15,16)] - public void SetCMYK(Int32 cyan, Int32 magenta, Int32 yellow, Int32 black) - { - Factory.ExecuteMethod(this, "SetCMYK", cyan, magenta, yellow, black); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/ColorFormat.cs b/Source/Publisher/DispatchInterfaces/ColorFormat.cs deleted file mode 100644 index 9aa00ddba7..0000000000 --- a/Source/Publisher/DispatchInterfaces/ColorFormat.cs +++ /dev/null @@ -1,286 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface ColorFormat - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class ColorFormat : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(ColorFormat); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public ColorFormat(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public ColorFormat(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ColorFormat(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ColorFormat(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ColorFormat(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ColorFormat(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ColorFormat() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ColorFormat(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 BaseRGB - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "BaseRGB"); - } - set - { - Factory.ExecuteValuePropertySet(this, "BaseRGB", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ColorCMYK CMYK - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "CMYK", NetOffice.PublisherApi.ColorCMYK.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 RGB - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "RGB"); - } - set - { - Factory.ExecuteValuePropertySet(this, "RGB", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbSchemeColorIndex SchemeColor - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "SchemeColor"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "SchemeColor", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Ink - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Ink"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Ink", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Single TintAndShade - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "TintAndShade"); - } - set - { - Factory.ExecuteValuePropertySet(this, "TintAndShade", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbColorType Type - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Type"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Single Transparency - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "Transparency"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Transparency", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ColorCMYK BaseCMYK - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "BaseCMYK", NetOffice.PublisherApi.ColorCMYK.LateBindingApiWrapperType); - } - } - - #endregion - - #region Methods - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/ColorScheme.cs b/Source/Publisher/DispatchInterfaces/ColorScheme.cs deleted file mode 100644 index 737af0e6c0..0000000000 --- a/Source/Publisher/DispatchInterfaces/ColorScheme.cs +++ /dev/null @@ -1,181 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface ColorScheme - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class ColorScheme : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(ColorScheme); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public ColorScheme(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public ColorScheme(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ColorScheme(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ColorScheme(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ColorScheme(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ColorScheme(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ColorScheme() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ColorScheme(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - /// NetOffice.PublisherApi.Enums.PbSchemeColorIndex colorIndex - [SupportByVersion("Publisher", 14,15,16)] - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public NetOffice.PublisherApi.ColorFormat get_Colors(NetOffice.PublisherApi.Enums.PbSchemeColorIndex colorIndex) - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Colors", NetOffice.PublisherApi.ColorFormat.LateBindingApiWrapperType, colorIndex); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Alias for get_Colors - /// - /// NetOffice.PublisherApi.Enums.PbSchemeColorIndex colorIndex - [SupportByVersion("Publisher", 14,15,16), Redirect("get_Colors")] - public NetOffice.PublisherApi.ColorFormat Colors(NetOffice.PublisherApi.Enums.PbSchemeColorIndex colorIndex) - { - return get_Colors(colorIndex); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Name - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Name"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - #endregion - - #region Methods - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/ColorSchemes.cs b/Source/Publisher/DispatchInterfaces/ColorSchemes.cs deleted file mode 100644 index ca7ef81b2b..0000000000 --- a/Source/Publisher/DispatchInterfaces/ColorSchemes.cs +++ /dev/null @@ -1,218 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; -using NetOffice.CollectionsGeneric; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface ColorSchemes - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface), Enumerator(Enumerator.Reference, EnumeratorInvoke.Property), HasIndexProperty(IndexInvoke.Property, "Item")] - public class ColorSchemes : COMObject, NetOffice.CollectionsGeneric.IEnumerableProvider - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(ColorSchemes); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public ColorSchemes(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public ColorSchemes(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ColorSchemes(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ColorSchemes(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ColorSchemes(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ColorSchemes(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ColorSchemes() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ColorSchemes(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Count - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Count"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - /// object index - [SupportByVersion("Publisher", 14,15,16)] - [NetRuntimeSystem.Runtime.CompilerServices.IndexerName("Item"), IndexProperty] - public NetOffice.PublisherApi.ColorScheme this[object index] - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Item", NetOffice.PublisherApi.ColorScheme.LateBindingApiWrapperType, index); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - #endregion - - #region Methods - - #endregion - - #region IEnumerableProvider - - ICOMObject IEnumerableProvider.GetComObjectEnumerator(ICOMObject parent) - { - return NetOffice.Utils.GetComObjectEnumeratorAsProperty(parent, this, false); - } - - IEnumerable IEnumerableProvider.FetchVariantComObjectEnumerator(ICOMObject parent, ICOMObject enumerator) - { - return NetOffice.Utils.FetchVariantComObjectEnumerator(parent, enumerator, false); - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public IEnumerator GetEnumerator() - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (NetOffice.PublisherApi.ColorScheme item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - IEnumerator NetRuntimeSystem.Collections.IEnumerable.GetEnumerator() - { - return NetOffice.Utils.GetProxyEnumeratorAsProperty(this, false); - } - - #endregion - - #pragma warning restore - } -} \ No newline at end of file diff --git a/Source/Publisher/DispatchInterfaces/ColorsInUse.cs b/Source/Publisher/DispatchInterfaces/ColorsInUse.cs deleted file mode 100644 index 284d35695d..0000000000 --- a/Source/Publisher/DispatchInterfaces/ColorsInUse.cs +++ /dev/null @@ -1,218 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; -using NetOffice.CollectionsGeneric; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface ColorsInUse - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface), Enumerator(Enumerator.Reference, EnumeratorInvoke.Property), HasIndexProperty(IndexInvoke.Property, "Item")] - public class ColorsInUse : COMObject, NetOffice.CollectionsGeneric.IEnumerableProvider - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(ColorsInUse); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public ColorsInUse(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public ColorsInUse(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ColorsInUse(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ColorsInUse(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ColorsInUse(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ColorsInUse(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ColorsInUse() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ColorsInUse(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Count - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Count"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - /// Int32 index - [SupportByVersion("Publisher", 14,15,16)] - [NetRuntimeSystem.Runtime.CompilerServices.IndexerName("Item"), IndexProperty] - public NetOffice.PublisherApi.ColorFormat this[Int32 index] - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Item", NetOffice.PublisherApi.ColorFormat.LateBindingApiWrapperType, index); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - #endregion - - #region Methods - - #endregion - - #region IEnumerableProvider - - ICOMObject IEnumerableProvider.GetComObjectEnumerator(ICOMObject parent) - { - return NetOffice.Utils.GetComObjectEnumeratorAsProperty(parent, this, false); - } - - IEnumerable IEnumerableProvider.FetchVariantComObjectEnumerator(ICOMObject parent, ICOMObject enumerator) - { - return NetOffice.Utils.FetchVariantComObjectEnumerator(parent, enumerator, false); - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public IEnumerator GetEnumerator() - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (NetOffice.PublisherApi.ColorFormat item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - IEnumerator NetRuntimeSystem.Collections.IEnumerable.GetEnumerator() - { - return NetOffice.Utils.GetProxyEnumeratorAsProperty(this, false); - } - - #endregion - - #pragma warning restore - } -} \ No newline at end of file diff --git a/Source/Publisher/DispatchInterfaces/Column.cs b/Source/Publisher/DispatchInterfaces/Column.cs deleted file mode 100644 index 973dd462fd..0000000000 --- a/Source/Publisher/DispatchInterfaces/Column.cs +++ /dev/null @@ -1,184 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface Column - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class Column : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(Column); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public Column(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public Column(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Column(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Column(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Column(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Column(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Column() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Column(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.CellRange Cells - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Cells", NetOffice.PublisherApi.CellRange.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object Width - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "Width"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "Width", value); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Delete() - { - Factory.ExecuteMethod(this, "Delete"); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/Columns.cs b/Source/Publisher/DispatchInterfaces/Columns.cs deleted file mode 100644 index cf5a5801fa..0000000000 --- a/Source/Publisher/DispatchInterfaces/Columns.cs +++ /dev/null @@ -1,237 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; -using NetOffice.CollectionsGeneric; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface Columns - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface), Enumerator(Enumerator.Reference, EnumeratorInvoke.Property), HasIndexProperty(IndexInvoke.Method, "Item")] - public class Columns : COMObject, NetOffice.CollectionsGeneric.IEnumerableProvider - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(Columns); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public Columns(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public Columns(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Columns(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Columns(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Columns(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Columns(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Columns() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Columns(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Count - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Count"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 index - [SupportByVersion("Publisher", 14,15,16)] - [NetRuntimeSystem.Runtime.CompilerServices.IndexerName("Item"), IndexProperty] - public NetOffice.PublisherApi.Column this[Int32 index] - { - get - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Item", NetOffice.PublisherApi.Column.LateBindingApiWrapperType, index); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional Int32 BeforeColumn = -1 - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Column Add(object beforeColumn) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Add", NetOffice.PublisherApi.Column.LateBindingApiWrapperType, beforeColumn); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Column Add() - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Add", NetOffice.PublisherApi.Column.LateBindingApiWrapperType); - } - - #endregion - - #region IEnumerableProvider - - ICOMObject IEnumerableProvider.GetComObjectEnumerator(ICOMObject parent) - { - return NetOffice.Utils.GetComObjectEnumeratorAsProperty(parent, this, false); - } - - IEnumerable IEnumerableProvider.FetchVariantComObjectEnumerator(ICOMObject parent, ICOMObject enumerator) - { - return NetOffice.Utils.FetchVariantComObjectEnumerator(parent, enumerator, false); - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public IEnumerator GetEnumerator() - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (NetOffice.PublisherApi.Column item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - IEnumerator NetRuntimeSystem.Collections.IEnumerable.GetEnumerator() - { - return NetOffice.Utils.GetProxyEnumeratorAsProperty(this, false); - } - - #endregion - - #pragma warning restore - } -} \ No newline at end of file diff --git a/Source/Publisher/DispatchInterfaces/ConnectorFormat.cs b/Source/Publisher/DispatchInterfaces/ConnectorFormat.cs deleted file mode 100644 index 1095f4c5b4..0000000000 --- a/Source/Publisher/DispatchInterfaces/ConnectorFormat.cs +++ /dev/null @@ -1,280 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface ConnectorFormat - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class ConnectorFormat : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(ConnectorFormat); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public ConnectorFormat(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public ConnectorFormat(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ConnectorFormat(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ConnectorFormat(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ConnectorFormat(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ConnectorFormat(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ConnectorFormat() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ConnectorFormat(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState BeginConnected - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "BeginConnected"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape BeginConnectedShape - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "BeginConnectedShape", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 BeginConnectionSite - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "BeginConnectionSite"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState EndConnected - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "EndConnected"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape EndConnectedShape - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "EndConnectedShape", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 EndConnectionSite - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "EndConnectionSite"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoConnectorType Type - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Type"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Type", value); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Shape connectedShape - /// Int32 connectionSite - [SupportByVersion("Publisher", 14,15,16)] - public void BeginConnect(NetOffice.PublisherApi.Shape connectedShape, Int32 connectionSite) - { - Factory.ExecuteMethod(this, "BeginConnect", connectedShape, connectionSite); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void BeginDisconnect() - { - Factory.ExecuteMethod(this, "BeginDisconnect"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Shape connectedShape - /// Int32 connectionSite - [SupportByVersion("Publisher", 14,15,16)] - public void EndConnect(NetOffice.PublisherApi.Shape connectedShape, Int32 connectionSite) - { - Factory.ExecuteMethod(this, "EndConnect", connectedShape, connectionSite); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void EndDisconnect() - { - Factory.ExecuteMethod(this, "EndDisconnect"); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/Documents.cs b/Source/Publisher/DispatchInterfaces/Documents.cs deleted file mode 100644 index 816ecd8a3d..0000000000 --- a/Source/Publisher/DispatchInterfaces/Documents.cs +++ /dev/null @@ -1,250 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; -using NetOffice.CollectionsGeneric; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface Documents - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface), Enumerator(Enumerator.Reference, EnumeratorInvoke.Property), HasIndexProperty(IndexInvoke.Property, "Item")] - public class Documents : COMObject, NetOffice.CollectionsGeneric.IEnumerableProvider - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(Documents); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public Documents(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public Documents(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Documents(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Documents(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Documents(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Documents(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Documents() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Documents(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - /// object varDocument - [SupportByVersion("Publisher", 14,15,16)] - [NetRuntimeSystem.Runtime.CompilerServices.IndexerName("Item"), IndexProperty] - public NetOffice.PublisherApi.Document this[object varDocument] - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Item", NetOffice.PublisherApi.Document.LateBindingApiWrapperType, varDocument); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Count - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Count"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional NetOffice.PublisherApi.Enums.PbWizard PbWizard = 0 - /// optional Int32 desid = -1 - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Document Add(object pbWizard, object desid) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Add", NetOffice.PublisherApi.Document.LateBindingApiWrapperType, pbWizard, desid); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Document Add() - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Add", NetOffice.PublisherApi.Document.LateBindingApiWrapperType); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional NetOffice.PublisherApi.Enums.PbWizard PbWizard = 0 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Document Add(object pbWizard) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Add", NetOffice.PublisherApi.Document.LateBindingApiWrapperType, pbWizard); - } - - #endregion - - #region IEnumerableProvider - - ICOMObject IEnumerableProvider.GetComObjectEnumerator(ICOMObject parent) - { - return NetOffice.Utils.GetComObjectEnumeratorAsProperty(parent, this, false); - } - - IEnumerable IEnumerableProvider.FetchVariantComObjectEnumerator(ICOMObject parent, ICOMObject enumerator) - { - return NetOffice.Utils.FetchVariantComObjectEnumerator(parent, enumerator, false); - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public IEnumerator GetEnumerator() - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (NetOffice.PublisherApi.Document item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - IEnumerator NetRuntimeSystem.Collections.IEnumerable.GetEnumerator() - { - return NetOffice.Utils.GetProxyEnumeratorAsProperty(this, false); - } - - #endregion - - #pragma warning restore - } -} \ No newline at end of file diff --git a/Source/Publisher/DispatchInterfaces/DropCap.cs b/Source/Publisher/DispatchInterfaces/DropCap.cs deleted file mode 100644 index 97d09d535b..0000000000 --- a/Source/Publisher/DispatchInterfaces/DropCap.cs +++ /dev/null @@ -1,359 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface DropCap - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class DropCap : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(DropCap); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public DropCap(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public DropCap(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public DropCap(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public DropCap(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public DropCap(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public DropCap(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public DropCap() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public DropCap(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string FontName - { - get - { - return Factory.ExecuteStringPropertyGet(this, "FontName"); - } - set - { - Factory.ExecuteValuePropertySet(this, "FontName", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ColorFormat FontColor - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "FontColor", NetOffice.PublisherApi.ColorFormat.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState FontBold - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "FontBold"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "FontBold", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState FontItalic - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "FontItalic"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "FontItalic", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 LinesUp - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "LinesUp"); - } - set - { - Factory.ExecuteValuePropertySet(this, "LinesUp", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Size - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Size"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Size", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Span - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Span"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Span", value); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional Int32 LinesUp = 0 - /// optional Int32 Size = 5 - /// optional Int32 Span = 1 - /// optional string FontName = - /// optional bool Bold = false - /// optional bool Italic = false - [SupportByVersion("Publisher", 14,15,16)] - public void ApplyCustomDropCap(object linesUp, object size, object span, object fontName, object bold, object italic) - { - Factory.ExecuteMethod(this, "ApplyCustomDropCap", new object[]{ linesUp, size, span, fontName, bold, italic }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ApplyCustomDropCap() - { - Factory.ExecuteMethod(this, "ApplyCustomDropCap"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional Int32 LinesUp = 0 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ApplyCustomDropCap(object linesUp) - { - Factory.ExecuteMethod(this, "ApplyCustomDropCap", linesUp); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional Int32 LinesUp = 0 - /// optional Int32 Size = 5 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ApplyCustomDropCap(object linesUp, object size) - { - Factory.ExecuteMethod(this, "ApplyCustomDropCap", linesUp, size); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional Int32 LinesUp = 0 - /// optional Int32 Size = 5 - /// optional Int32 Span = 1 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ApplyCustomDropCap(object linesUp, object size, object span) - { - Factory.ExecuteMethod(this, "ApplyCustomDropCap", linesUp, size, span); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional Int32 LinesUp = 0 - /// optional Int32 Size = 5 - /// optional Int32 Span = 1 - /// optional string FontName = - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ApplyCustomDropCap(object linesUp, object size, object span, object fontName) - { - Factory.ExecuteMethod(this, "ApplyCustomDropCap", linesUp, size, span, fontName); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional Int32 LinesUp = 0 - /// optional Int32 Size = 5 - /// optional Int32 Span = 1 - /// optional string FontName = - /// optional bool Bold = false - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ApplyCustomDropCap(object linesUp, object size, object span, object fontName, object bold) - { - Factory.ExecuteMethod(this, "ApplyCustomDropCap", new object[]{ linesUp, size, span, fontName, bold }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Clear() - { - Factory.ExecuteMethod(this, "Clear"); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/EmailMergeEnvelope.cs b/Source/Publisher/DispatchInterfaces/EmailMergeEnvelope.cs deleted file mode 100644 index a3d445b0b2..0000000000 --- a/Source/Publisher/DispatchInterfaces/EmailMergeEnvelope.cs +++ /dev/null @@ -1,243 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface EmailMergeEnvelope - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class EmailMergeEnvelope : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(EmailMergeEnvelope); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public EmailMergeEnvelope(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public EmailMergeEnvelope(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public EmailMergeEnvelope(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public EmailMergeEnvelope(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public EmailMergeEnvelope(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public EmailMergeEnvelope(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public EmailMergeEnvelope() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public EmailMergeEnvelope(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.MailMergeDataField To - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "To", NetOffice.PublisherApi.MailMergeDataField.LateBindingApiWrapperType); - } - set - { - Factory.ExecuteReferencePropertySet(this, "To", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.MailMergeDataField Cc - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Cc", NetOffice.PublisherApi.MailMergeDataField.LateBindingApiWrapperType); - } - set - { - Factory.ExecuteReferencePropertySet(this, "Cc", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Subject - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Subject"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Subject", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Bcc - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Bcc"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Bcc", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Attachments Attachemts - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Attachemts", NetOffice.PublisherApi.Attachments.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.pbEmailMergePriority Priority - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Priority"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Priority", value); - } - } - - #endregion - - #region Methods - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/Field.cs b/Source/Publisher/DispatchInterfaces/Field.cs deleted file mode 100644 index 86d703613c..0000000000 --- a/Source/Publisher/DispatchInterfaces/Field.cs +++ /dev/null @@ -1,232 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface Field - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class Field : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(Field); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public Field(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public Field(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Field(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Field(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Field(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Field(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Field() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Field(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Code - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Code"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.TextRange TextRange - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "TextRange", NetOffice.PublisherApi.TextRange.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbFieldType Type - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Type"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Field Next - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Next", NetOffice.PublisherApi.Field.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Result - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Result"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.PhoneticGuide PhoneticGuide - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "PhoneticGuide", NetOffice.PublisherApi.PhoneticGuide.LateBindingApiWrapperType); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Unlink() - { - Factory.ExecuteMethod(this, "Unlink"); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/Fields.cs b/Source/Publisher/DispatchInterfaces/Fields.cs deleted file mode 100644 index ddf6cc6c3e..0000000000 --- a/Source/Publisher/DispatchInterfaces/Fields.cs +++ /dev/null @@ -1,318 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; -using NetOffice.CollectionsGeneric; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface Fields - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface), Enumerator(Enumerator.Reference, EnumeratorInvoke.Custom), HasIndexProperty(IndexInvoke.Method, "Item")] - public class Fields : COMObject , NetOffice.CollectionsGeneric.IEnumerableProvider - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(Fields); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public Fields(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public Fields(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Fields(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Fields(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Fields(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Fields(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Fields() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Fields(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Count - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Count"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 index - [SupportByVersion("Publisher", 14,15,16)] - [NetRuntimeSystem.Runtime.CompilerServices.IndexerName("Item"), IndexProperty] - public NetOffice.PublisherApi.Field this[Int32 index] - { - get - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Item", NetOffice.PublisherApi.Field.LateBindingApiWrapperType, index); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Unlink() - { - Factory.ExecuteMethod(this, "Unlink"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.TextRange range - /// string text - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Field AddHorizontalInVertical(NetOffice.PublisherApi.TextRange range, string text) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddHorizontalInVertical", NetOffice.PublisherApi.Field.LateBindingApiWrapperType, range, text); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.TextRange range - /// string text - /// optional NetOffice.PublisherApi.Enums.PbPhoneticGuideAlignmentType Alignment = 0 - /// optional object Raise = 0 - /// optional string FontName = - /// optional object FontSize = 10 - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Field AddPhoneticGuide(NetOffice.PublisherApi.TextRange range, string text, object alignment, object raise, object fontName, object fontSize) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddPhoneticGuide", NetOffice.PublisherApi.Field.LateBindingApiWrapperType, new object[]{ range, text, alignment, raise, fontName, fontSize }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.TextRange range - /// string text - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Field AddPhoneticGuide(NetOffice.PublisherApi.TextRange range, string text) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddPhoneticGuide", NetOffice.PublisherApi.Field.LateBindingApiWrapperType, range, text); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.TextRange range - /// string text - /// optional NetOffice.PublisherApi.Enums.PbPhoneticGuideAlignmentType Alignment = 0 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Field AddPhoneticGuide(NetOffice.PublisherApi.TextRange range, string text, object alignment) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddPhoneticGuide", NetOffice.PublisherApi.Field.LateBindingApiWrapperType, range, text, alignment); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.TextRange range - /// string text - /// optional NetOffice.PublisherApi.Enums.PbPhoneticGuideAlignmentType Alignment = 0 - /// optional object Raise = 0 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Field AddPhoneticGuide(NetOffice.PublisherApi.TextRange range, string text, object alignment, object raise) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddPhoneticGuide", NetOffice.PublisherApi.Field.LateBindingApiWrapperType, range, text, alignment, raise); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.TextRange range - /// string text - /// optional NetOffice.PublisherApi.Enums.PbPhoneticGuideAlignmentType Alignment = 0 - /// optional object Raise = 0 - /// optional string FontName = - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Field AddPhoneticGuide(NetOffice.PublisherApi.TextRange range, string text, object alignment, object raise, object fontName) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddPhoneticGuide", NetOffice.PublisherApi.Field.LateBindingApiWrapperType, new object[]{ range, text, alignment, raise, fontName }); - } - - #endregion - - #region IEnumerableProvider - - ICOMObject IEnumerableProvider.GetComObjectEnumerator(ICOMObject parent) - { - return this; - } - - IEnumerable IEnumerableProvider.FetchVariantComObjectEnumerator(ICOMObject parent, ICOMObject enumerator) - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (NetOffice.PublisherApi.Field item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable Member - - /// - /// SupportByVersion Publisher, 14,15,16 - /// This is a custom enumerator from NetOffice - /// - [SupportByVersion("Publisher", 14, 15, 16)] - [CustomEnumerator] - public IEnumerator GetEnumerator() - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (NetOffice.PublisherApi.Field item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable Members - - /// - /// SupportByVersion Publisher, 14,15,16 - /// This is a custom enumerator from NetOffice - /// - [SupportByVersion("Publisher", 14, 15, 16)] - [CustomEnumerator] - IEnumerator NetRuntimeSystem.Collections.IEnumerable.GetEnumerator() - { - int count = Count; - object[] enumeratorObjects = new object[count]; - for (int i = 0; i < count; i++) - enumeratorObjects[i] = this[i + 1]; - - foreach (object item in enumeratorObjects) - yield return item; - } - - #endregion - - #pragma warning restore - } -} \ No newline at end of file diff --git a/Source/Publisher/DispatchInterfaces/FillFormat.cs b/Source/Publisher/DispatchInterfaces/FillFormat.cs deleted file mode 100644 index baee2f060d..0000000000 --- a/Source/Publisher/DispatchInterfaces/FillFormat.cs +++ /dev/null @@ -1,547 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface FillFormat - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class FillFormat : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(FillFormat); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public FillFormat(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public FillFormat(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public FillFormat(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public FillFormat(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public FillFormat(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public FillFormat(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public FillFormat() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public FillFormat(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ColorFormat BackColor - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "BackColor", NetOffice.PublisherApi.ColorFormat.LateBindingApiWrapperType); - } - set - { - Factory.ExecuteReferencePropertySet(this, "BackColor", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ColorFormat ForeColor - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "ForeColor", NetOffice.PublisherApi.ColorFormat.LateBindingApiWrapperType); - } - set - { - Factory.ExecuteReferencePropertySet(this, "ForeColor", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoGradientColorType GradientColorType - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "GradientColorType"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Single GradientDegree - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "GradientDegree"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoGradientStyle GradientStyle - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "GradientStyle"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 GradientVariant - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "GradientVariant"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoPatternType Pattern - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Pattern"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoPresetGradientType PresetGradientType - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "PresetGradientType"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoPresetTexture PresetTexture - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "PresetTexture"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string TextureName - { - get - { - return Factory.ExecuteStringPropertyGet(this, "TextureName"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTextureType TextureType - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "TextureType"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Single Transparency - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "Transparency"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Transparency", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoFillType Type - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Type"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState Visible - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Visible"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Visible", value); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 15,16)] - public Single TextureOffsetX - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "TextureOffsetX"); - } - set - { - Factory.ExecuteValuePropertySet(this, "TextureOffsetX", value); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 15,16)] - public Single TextureOffsetY - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "TextureOffsetY"); - } - set - { - Factory.ExecuteValuePropertySet(this, "TextureOffsetY", value); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 15,16)] - public NetOffice.OfficeApi.Enums.MsoTextureAlignment TextureAlignment - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "TextureAlignment"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "TextureAlignment", value); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 15,16)] - public Single TextureHorizontalScale - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "TextureHorizontalScale"); - } - set - { - Factory.ExecuteValuePropertySet(this, "TextureHorizontalScale", value); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 15,16)] - public Single TextureVerticalScale - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "TextureVerticalScale"); - } - set - { - Factory.ExecuteValuePropertySet(this, "TextureVerticalScale", value); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState RotateWithObject - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "RotateWithObject"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "RotateWithObject", value); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 15,16)] - public Single GradientAngle - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "GradientAngle"); - } - set - { - Factory.ExecuteValuePropertySet(this, "GradientAngle", value); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.OfficeApi.Enums.MsoGradientStyle style - /// Int32 variant - /// Single degree - [SupportByVersion("Publisher", 14,15,16)] - public void OneColorGradient(NetOffice.OfficeApi.Enums.MsoGradientStyle style, Int32 variant, Single degree) - { - Factory.ExecuteMethod(this, "OneColorGradient", style, variant, degree); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.OfficeApi.Enums.MsoPatternType pattern - [SupportByVersion("Publisher", 14,15,16)] - public void Patterned(NetOffice.OfficeApi.Enums.MsoPatternType pattern) - { - Factory.ExecuteMethod(this, "Patterned", pattern); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.OfficeApi.Enums.MsoGradientStyle style - /// Int32 variant - /// NetOffice.OfficeApi.Enums.MsoPresetGradientType presetGradientType - [SupportByVersion("Publisher", 14,15,16)] - public void PresetGradient(NetOffice.OfficeApi.Enums.MsoGradientStyle style, Int32 variant, NetOffice.OfficeApi.Enums.MsoPresetGradientType presetGradientType) - { - Factory.ExecuteMethod(this, "PresetGradient", style, variant, presetGradientType); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.OfficeApi.Enums.MsoPresetTexture presetTexture - [SupportByVersion("Publisher", 14,15,16)] - public void PresetTextured(NetOffice.OfficeApi.Enums.MsoPresetTexture presetTexture) - { - Factory.ExecuteMethod(this, "PresetTextured", presetTexture); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Solid() - { - Factory.ExecuteMethod(this, "Solid"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.OfficeApi.Enums.MsoGradientStyle style - /// Int32 variant - [SupportByVersion("Publisher", 14,15,16)] - public void TwoColorGradient(NetOffice.OfficeApi.Enums.MsoGradientStyle style, Int32 variant) - { - Factory.ExecuteMethod(this, "TwoColorGradient", style, variant); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string pictureFile - [SupportByVersion("Publisher", 14,15,16)] - public void UserPicture(string pictureFile) - { - Factory.ExecuteMethod(this, "UserPicture", pictureFile); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string textureFile - [SupportByVersion("Publisher", 14,15,16)] - public void UserTextured(string textureFile) - { - Factory.ExecuteMethod(this, "UserTextured", textureFile); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/FindReplace.cs b/Source/Publisher/DispatchInterfaces/FindReplace.cs deleted file mode 100644 index ae63826cd4..0000000000 --- a/Source/Publisher/DispatchInterfaces/FindReplace.cs +++ /dev/null @@ -1,346 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface FindReplace - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class FindReplace : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(FindReplace); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public FindReplace(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public FindReplace(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public FindReplace(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public FindReplace(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public FindReplace(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public FindReplace(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public FindReplace() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public FindReplace(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.TextRange FoundTextRange - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "FoundTextRange", NetOffice.PublisherApi.TextRange.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string FindText - { - get - { - return Factory.ExecuteStringPropertyGet(this, "FindText"); - } - set - { - Factory.ExecuteValuePropertySet(this, "FindText", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string ReplaceWithText - { - get - { - return Factory.ExecuteStringPropertyGet(this, "ReplaceWithText"); - } - set - { - Factory.ExecuteValuePropertySet(this, "ReplaceWithText", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool Forward - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "Forward"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Forward", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool MatchAlefHamza - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "MatchAlefHamza"); - } - set - { - Factory.ExecuteValuePropertySet(this, "MatchAlefHamza", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool MatchCase - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "MatchCase"); - } - set - { - Factory.ExecuteValuePropertySet(this, "MatchCase", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool MatchDiacritics - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "MatchDiacritics"); - } - set - { - Factory.ExecuteValuePropertySet(this, "MatchDiacritics", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool MatchKashida - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "MatchKashida"); - } - set - { - Factory.ExecuteValuePropertySet(this, "MatchKashida", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool MatchWholeWord - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "MatchWholeWord"); - } - set - { - Factory.ExecuteValuePropertySet(this, "MatchWholeWord", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool MatchWidth - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "MatchWidth"); - } - set - { - Factory.ExecuteValuePropertySet(this, "MatchWidth", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbReplaceScope ReplaceScope - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "ReplaceScope"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "ReplaceScope", value); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool Execute() - { - return Factory.ExecuteBoolMethodGet(this, "Execute"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Clear() - { - Factory.ExecuteMethod(this, "Clear"); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/Font.cs b/Source/Publisher/DispatchInterfaces/Font.cs deleted file mode 100644 index b533f63e97..0000000000 --- a/Source/Publisher/DispatchInterfaces/Font.cs +++ /dev/null @@ -1,846 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface Font - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class Font : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(Font); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public Font(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public Font(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Font(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Font(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Font(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Font(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Font() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Font(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Name - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Name"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Name", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState Bold - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Bold"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Bold", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState BoldBi - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "BoldBi"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "BoldBi", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object Size - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "Size"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "Size", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object SizeBi - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "SizeBi"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "SizeBi", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState AllCaps - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "AllCaps"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "AllCaps", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState Emboss - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Emboss"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Emboss", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState Engrave - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Engrave"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Engrave", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState Italic - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Italic"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Italic", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState ItalicBi - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "ItalicBi"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "ItalicBi", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState Outline - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Outline"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Outline", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState SmallCaps - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "SmallCaps"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "SmallCaps", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState SuperScript - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "SuperScript"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "SuperScript", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState SubScript - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "SubScript"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "SubScript", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState Shadow - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Shadow"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Shadow", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object AutomaticPairKerningThreshold - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "AutomaticPairKerningThreshold"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "AutomaticPairKerningThreshold", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object Kerning - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "Kerning"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "Kerning", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object Scaling - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "Scaling"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "Scaling", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object Tracking - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "Tracking"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "Tracking", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ColorFormat Color - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Color", NetOffice.PublisherApi.ColorFormat.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbTrackingPresetType TrackingPreset - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "TrackingPreset"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "TrackingPreset", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbUnderlineType Underline - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Underline"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Underline", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object Position - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "Position"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "Position", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool AttachedToText - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "AttachedToText"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState UseDiacriticColor - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "UseDiacriticColor"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "UseDiacriticColor", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ColorFormat DiacriticColor - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "DiacriticColor", NetOffice.PublisherApi.ColorFormat.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState ExpandUsingKashida - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "ExpandUsingKashida"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "ExpandUsingKashida", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState Swash - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Swash"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Swash", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbNumberStylesType NumberStyle - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "NumberStyle"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "NumberStyle", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbLigaturePresetType Ligature - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Ligature"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Ligature", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object StylisticAlternates - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "StylisticAlternates"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "StylisticAlternates", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState ContextualAlternates - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "ContextualAlternates"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "ContextualAlternates", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object StylisticSets - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "StylisticSets"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "StylisticSets", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState StrikeThrough - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "StrikeThrough"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "StrikeThrough", value); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 15,16)] - public NetOffice.PublisherApi.FillFormat Fill - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Fill", NetOffice.PublisherApi.FillFormat.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 15,16)] - public NetOffice.PublisherApi.LineFormat Line - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Line", NetOffice.PublisherApi.LineFormat.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 15,16)] - public NetOffice.PublisherApi.GlowFormat Glow - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Glow", NetOffice.PublisherApi.GlowFormat.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 15,16)] - public NetOffice.PublisherApi.ReflectionFormat Reflection - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Reflection", NetOffice.PublisherApi.ReflectionFormat.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 15,16)] - public NetOffice.PublisherApi.ShadowFormat TextShadow - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "TextShadow", NetOffice.PublisherApi.ShadowFormat.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 15,16)] - public NetOffice.PublisherApi.ThreeDFormat ThreeD - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "ThreeD", NetOffice.PublisherApi.ThreeDFormat.LateBindingApiWrapperType); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Grow() - { - Factory.ExecuteMethod(this, "Grow"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Shrink() - { - Factory.ExecuteMethod(this, "Shrink"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Font Duplicate() - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Duplicate", NetOffice.PublisherApi.Font.LateBindingApiWrapperType); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Reset() - { - Factory.ExecuteMethod(this, "Reset"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbFontScriptType script - [SupportByVersion("Publisher", 14,15,16)] - public string GetScriptName(NetOffice.PublisherApi.Enums.PbFontScriptType script) - { - return Factory.ExecuteStringMethodGet(this, "GetScriptName", script); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbFontScriptType script - /// string fontName - [SupportByVersion("Publisher", 14,15,16)] - public void SetScriptName(NetOffice.PublisherApi.Enums.PbFontScriptType script, string fontName) - { - Factory.ExecuteMethod(this, "SetScriptName", script, fontName); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/FreeformBuilder.cs b/Source/Publisher/DispatchInterfaces/FreeformBuilder.cs deleted file mode 100644 index 20f1ddf762..0000000000 --- a/Source/Publisher/DispatchInterfaces/FreeformBuilder.cs +++ /dev/null @@ -1,233 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface FreeformBuilder - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class FreeformBuilder : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(FreeformBuilder); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public FreeformBuilder(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public FreeformBuilder(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public FreeformBuilder(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public FreeformBuilder(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public FreeformBuilder(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public FreeformBuilder(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public FreeformBuilder() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public FreeformBuilder(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.OfficeApi.Enums.MsoSegmentType segmentType - /// NetOffice.OfficeApi.Enums.MsoEditingType editingType - /// object x1 - /// object y1 - /// optional object x2 - /// optional object y2 - /// optional object x3 - /// optional object y3 - [SupportByVersion("Publisher", 14,15,16)] - public void AddNodes(NetOffice.OfficeApi.Enums.MsoSegmentType segmentType, NetOffice.OfficeApi.Enums.MsoEditingType editingType, object x1, object y1, object x2, object y2, object x3, object y3) - { - Factory.ExecuteMethod(this, "AddNodes", new object[]{ segmentType, editingType, x1, y1, x2, y2, x3, y3 }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.OfficeApi.Enums.MsoSegmentType segmentType - /// NetOffice.OfficeApi.Enums.MsoEditingType editingType - /// object x1 - /// object y1 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void AddNodes(NetOffice.OfficeApi.Enums.MsoSegmentType segmentType, NetOffice.OfficeApi.Enums.MsoEditingType editingType, object x1, object y1) - { - Factory.ExecuteMethod(this, "AddNodes", segmentType, editingType, x1, y1); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.OfficeApi.Enums.MsoSegmentType segmentType - /// NetOffice.OfficeApi.Enums.MsoEditingType editingType - /// object x1 - /// object y1 - /// optional object x2 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void AddNodes(NetOffice.OfficeApi.Enums.MsoSegmentType segmentType, NetOffice.OfficeApi.Enums.MsoEditingType editingType, object x1, object y1, object x2) - { - Factory.ExecuteMethod(this, "AddNodes", new object[]{ segmentType, editingType, x1, y1, x2 }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.OfficeApi.Enums.MsoSegmentType segmentType - /// NetOffice.OfficeApi.Enums.MsoEditingType editingType - /// object x1 - /// object y1 - /// optional object x2 - /// optional object y2 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void AddNodes(NetOffice.OfficeApi.Enums.MsoSegmentType segmentType, NetOffice.OfficeApi.Enums.MsoEditingType editingType, object x1, object y1, object x2, object y2) - { - Factory.ExecuteMethod(this, "AddNodes", new object[]{ segmentType, editingType, x1, y1, x2, y2 }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.OfficeApi.Enums.MsoSegmentType segmentType - /// NetOffice.OfficeApi.Enums.MsoEditingType editingType - /// object x1 - /// object y1 - /// optional object x2 - /// optional object y2 - /// optional object x3 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void AddNodes(NetOffice.OfficeApi.Enums.MsoSegmentType segmentType, NetOffice.OfficeApi.Enums.MsoEditingType editingType, object x1, object y1, object x2, object y2, object x3) - { - Factory.ExecuteMethod(this, "AddNodes", new object[]{ segmentType, editingType, x1, y1, x2, y2, x3 }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape ConvertToShape() - { - return Factory.ExecuteKnownReferenceMethodGet(this, "ConvertToShape", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/GlowFormat.cs b/Source/Publisher/DispatchInterfaces/GlowFormat.cs deleted file mode 100644 index 7dcc577e12..0000000000 --- a/Source/Publisher/DispatchInterfaces/GlowFormat.cs +++ /dev/null @@ -1,182 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface GlowFormat - /// SupportByVersion Publisher, 15,16 - /// - [SupportByVersion("Publisher", 15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class GlowFormat : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(GlowFormat); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public GlowFormat(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public GlowFormat(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public GlowFormat(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public GlowFormat(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public GlowFormat(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public GlowFormat(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public GlowFormat() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public GlowFormat(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 15,16)] - public Single Radius - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "Radius"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Radius", value); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 15,16)] - public NetOffice.PublisherApi.ColorFormat Color - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Color", NetOffice.PublisherApi.ColorFormat.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 15,16)] - public Single Transparency - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "Transparency"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Transparency", value); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState Visible - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Visible"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Visible", value); - } - } - - #endregion - - #region Methods - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/GroupShapes.cs b/Source/Publisher/DispatchInterfaces/GroupShapes.cs deleted file mode 100644 index eaba9a8fc9..0000000000 --- a/Source/Publisher/DispatchInterfaces/GroupShapes.cs +++ /dev/null @@ -1,217 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; -using NetOffice.CollectionsGeneric; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface GroupShapes - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface), Enumerator(Enumerator.Reference, EnumeratorInvoke.Property), HasIndexProperty(IndexInvoke.Method, "Item")] - public class GroupShapes : COMObject, NetOffice.CollectionsGeneric.IEnumerableProvider - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(GroupShapes); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public GroupShapes(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public GroupShapes(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public GroupShapes(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public GroupShapes(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public GroupShapes(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public GroupShapes(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public GroupShapes() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public GroupShapes(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Count - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Count"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// object index - [SupportByVersion("Publisher", 14,15,16)] - [NetRuntimeSystem.Runtime.CompilerServices.IndexerName("Item"), IndexProperty] - public NetOffice.PublisherApi.Shape this[object index] - { - get - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Item", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType, index); - } - } - - #endregion - - #region IEnumerableProvider - - ICOMObject IEnumerableProvider.GetComObjectEnumerator(ICOMObject parent) - { - return NetOffice.Utils.GetComObjectEnumeratorAsProperty(parent, this, false); - } - - IEnumerable IEnumerableProvider.FetchVariantComObjectEnumerator(ICOMObject parent, ICOMObject enumerator) - { - return NetOffice.Utils.FetchVariantComObjectEnumerator(parent, enumerator, false); - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public IEnumerator GetEnumerator() - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (NetOffice.PublisherApi.Shape item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - IEnumerator NetRuntimeSystem.Collections.IEnumerable.GetEnumerator() - { - return NetOffice.Utils.GetProxyEnumeratorAsProperty(this, false); - } - - #endregion - - #pragma warning restore - } -} \ No newline at end of file diff --git a/Source/Publisher/DispatchInterfaces/HeaderFooter.cs b/Source/Publisher/DispatchInterfaces/HeaderFooter.cs deleted file mode 100644 index 15b9b9c8e3..0000000000 --- a/Source/Publisher/DispatchInterfaces/HeaderFooter.cs +++ /dev/null @@ -1,180 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface HeaderFooter - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class HeaderFooter : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(HeaderFooter); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public HeaderFooter(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public HeaderFooter(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public HeaderFooter(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public HeaderFooter(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public HeaderFooter(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public HeaderFooter(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public HeaderFooter() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public HeaderFooter(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.TextRange TextRange - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "TextRange", NetOffice.PublisherApi.TextRange.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool IsHeader - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "IsHeader"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Delete() - { - Factory.ExecuteMethod(this, "Delete"); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/Hyperlink.cs b/Source/Publisher/DispatchInterfaces/Hyperlink.cs deleted file mode 100644 index d011de0b53..0000000000 --- a/Source/Publisher/DispatchInterfaces/Hyperlink.cs +++ /dev/null @@ -1,295 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface Hyperlink - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class Hyperlink : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(Hyperlink); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public Hyperlink(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public Hyperlink(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Hyperlink(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Hyperlink(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Hyperlink(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Hyperlink(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Hyperlink() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Hyperlink(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Address - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Address"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Address", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string EmailSubject - { - get - { - return Factory.ExecuteStringPropertyGet(this, "EmailSubject"); - } - set - { - Factory.ExecuteValuePropertySet(this, "EmailSubject", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 PageID - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "PageID"); - } - set - { - Factory.ExecuteValuePropertySet(this, "PageID", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.TextRange Range - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Range", NetOffice.PublisherApi.TextRange.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape Shape - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Shape", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbHlinkTargetType TargetType - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "TargetType"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string TextToDisplay - { - get - { - return Factory.ExecuteStringPropertyGet(this, "TextToDisplay"); - } - set - { - Factory.ExecuteValuePropertySet(this, "TextToDisplay", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoHyperlinkType Type - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Type"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Delete() - { - Factory.ExecuteMethod(this, "Delete"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbHlinkTargetType relativePage - [SupportByVersion("Publisher", 14,15,16)] - public void SetPageRelative(NetOffice.PublisherApi.Enums.PbHlinkTargetType relativePage) - { - Factory.ExecuteMethod(this, "SetPageRelative", relativePage); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 newIndex - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - [SupportByVersion("Publisher", 14,15,16)] - public void Move(Int32 newIndex) - { - Factory.ExecuteMethod(this, "Move", newIndex); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/Hyperlinks.cs b/Source/Publisher/DispatchInterfaces/Hyperlinks.cs deleted file mode 100644 index ab4e512baf..0000000000 --- a/Source/Publisher/DispatchInterfaces/Hyperlinks.cs +++ /dev/null @@ -1,282 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; -using NetOffice.CollectionsGeneric; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface Hyperlinks - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface), Enumerator(Enumerator.Reference, EnumeratorInvoke.Property), HasIndexProperty(IndexInvoke.Property, "Item")] - public class Hyperlinks : COMObject, NetOffice.CollectionsGeneric.IEnumerableProvider - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(Hyperlinks); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public Hyperlinks(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public Hyperlinks(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Hyperlinks(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Hyperlinks(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Hyperlinks(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Hyperlinks(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Hyperlinks() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Hyperlinks(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - /// Int32 index - [SupportByVersion("Publisher", 14,15,16)] - [NetRuntimeSystem.Runtime.CompilerServices.IndexerName("Item"), IndexProperty] - public NetOffice.PublisherApi.Hyperlink this[Int32 index] - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Item", NetOffice.PublisherApi.Hyperlink.LateBindingApiWrapperType, index); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Count - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Count"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.TextRange text - /// optional string Address = - /// optional NetOffice.PublisherApi.Enums.PbHlinkTargetType RelativePage = 1 - /// optional Int32 PageID = 0 - /// optional string TextToDisplay = - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Hyperlink Add(NetOffice.PublisherApi.TextRange text, object address, object relativePage, object pageID, object textToDisplay) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Add", NetOffice.PublisherApi.Hyperlink.LateBindingApiWrapperType, new object[]{ text, address, relativePage, pageID, textToDisplay }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.TextRange text - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Hyperlink Add(NetOffice.PublisherApi.TextRange text) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Add", NetOffice.PublisherApi.Hyperlink.LateBindingApiWrapperType, text); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.TextRange text - /// optional string Address = - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Hyperlink Add(NetOffice.PublisherApi.TextRange text, object address) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Add", NetOffice.PublisherApi.Hyperlink.LateBindingApiWrapperType, text, address); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.TextRange text - /// optional string Address = - /// optional NetOffice.PublisherApi.Enums.PbHlinkTargetType RelativePage = 1 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Hyperlink Add(NetOffice.PublisherApi.TextRange text, object address, object relativePage) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Add", NetOffice.PublisherApi.Hyperlink.LateBindingApiWrapperType, text, address, relativePage); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.TextRange text - /// optional string Address = - /// optional NetOffice.PublisherApi.Enums.PbHlinkTargetType RelativePage = 1 - /// optional Int32 PageID = 0 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Hyperlink Add(NetOffice.PublisherApi.TextRange text, object address, object relativePage, object pageID) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Add", NetOffice.PublisherApi.Hyperlink.LateBindingApiWrapperType, text, address, relativePage, pageID); - } - - #endregion - - #region IEnumerableProvider - - ICOMObject IEnumerableProvider.GetComObjectEnumerator(ICOMObject parent) - { - return NetOffice.Utils.GetComObjectEnumeratorAsProperty(parent, this, false); - } - - IEnumerable IEnumerableProvider.FetchVariantComObjectEnumerator(ICOMObject parent, ICOMObject enumerator) - { - return NetOffice.Utils.FetchVariantComObjectEnumerator(parent, enumerator, false); - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public IEnumerator GetEnumerator() - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (NetOffice.PublisherApi.Hyperlink item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - IEnumerator NetRuntimeSystem.Collections.IEnumerable.GetEnumerator() - { - return NetOffice.Utils.GetProxyEnumeratorAsProperty(this, false); - } - - #endregion - - #pragma warning restore - } -} \ No newline at end of file diff --git a/Source/Publisher/DispatchInterfaces/IApplicationEvents.cs b/Source/Publisher/DispatchInterfaces/IApplicationEvents.cs deleted file mode 100644 index 173d0a4c3a..0000000000 --- a/Source/Publisher/DispatchInterfaces/IApplicationEvents.cs +++ /dev/null @@ -1,356 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface IApplicationEvents - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class IApplicationEvents : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(IApplicationEvents); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public IApplicationEvents(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public IApplicationEvents(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public IApplicationEvents(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public IApplicationEvents(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public IApplicationEvents(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public IApplicationEvents(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public IApplicationEvents() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public IApplicationEvents(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Window wn - [SupportByVersion("Publisher", 14,15,16)] - public void WindowActivate(NetOffice.PublisherApi.Window wn) - { - Factory.ExecuteMethod(this, "WindowActivate", wn); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Window wn - [SupportByVersion("Publisher", 14,15,16)] - public void WindowDeactivate(NetOffice.PublisherApi.Window wn) - { - Factory.ExecuteMethod(this, "WindowDeactivate", wn); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.View vw - [SupportByVersion("Publisher", 14,15,16)] - public void WindowPageChange(NetOffice.PublisherApi.View vw) - { - Factory.ExecuteMethod(this, "WindowPageChange", vw); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Quit() - { - Factory.ExecuteMethod(this, "Quit"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi._Document doc - [SupportByVersion("Publisher", 14,15,16)] - public void NewDocument(NetOffice.PublisherApi._Document doc) - { - Factory.ExecuteMethod(this, "NewDocument", doc); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi._Document doc - [SupportByVersion("Publisher", 14,15,16)] - public void DocumentOpen(NetOffice.PublisherApi._Document doc) - { - Factory.ExecuteMethod(this, "DocumentOpen", doc); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi._Document doc - /// bool cancel - [SupportByVersion("Publisher", 14,15,16)] - public void DocumentBeforeClose(NetOffice.PublisherApi._Document doc, bool cancel) - { - Factory.ExecuteMethod(this, "DocumentBeforeClose", doc, cancel); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi._Document doc - [SupportByVersion("Publisher", 14,15,16)] - public void MailMergeAfterMerge(NetOffice.PublisherApi._Document doc) - { - Factory.ExecuteMethod(this, "MailMergeAfterMerge", doc); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi._Document doc - [SupportByVersion("Publisher", 14,15,16)] - public void MailMergeAfterRecordMerge(NetOffice.PublisherApi._Document doc) - { - Factory.ExecuteMethod(this, "MailMergeAfterRecordMerge", doc); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi._Document doc - /// Int32 startRecord - /// Int32 endRecord - /// bool cancel - [SupportByVersion("Publisher", 14,15,16)] - public void MailMergeBeforeMerge(NetOffice.PublisherApi._Document doc, Int32 startRecord, Int32 endRecord, bool cancel) - { - Factory.ExecuteMethod(this, "MailMergeBeforeMerge", doc, startRecord, endRecord, cancel); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi._Document doc - /// bool cancel - [SupportByVersion("Publisher", 14,15,16)] - public void MailMergeBeforeRecordMerge(NetOffice.PublisherApi._Document doc, bool cancel) - { - Factory.ExecuteMethod(this, "MailMergeBeforeRecordMerge", doc, cancel); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi._Document doc - [SupportByVersion("Publisher", 14,15,16)] - public void MailMergeDataSourceLoad(NetOffice.PublisherApi._Document doc) - { - Factory.ExecuteMethod(this, "MailMergeDataSourceLoad", doc); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi._Document doc - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - [SupportByVersion("Publisher", 14,15,16)] - public void MailMergeWizardSendToCustom(NetOffice.PublisherApi._Document doc) - { - Factory.ExecuteMethod(this, "MailMergeWizardSendToCustom", doc); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi._Document doc - /// Int32 fromState - [SupportByVersion("Publisher", 14,15,16)] - public void MailMergeWizardStateChange(NetOffice.PublisherApi._Document doc, Int32 fromState) - { - Factory.ExecuteMethod(this, "MailMergeWizardStateChange", doc, fromState); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi._Document doc - /// bool handled - [SupportByVersion("Publisher", 14,15,16)] - public void MailMergeDataSourceValidate(NetOffice.PublisherApi._Document doc, bool handled) - { - Factory.ExecuteMethod(this, "MailMergeDataSourceValidate", doc, handled); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi._Document doc - /// bool okToInsert - [SupportByVersion("Publisher", 14,15,16)] - public void MailMergeInsertBarcode(NetOffice.PublisherApi._Document doc, bool okToInsert) - { - Factory.ExecuteMethod(this, "MailMergeInsertBarcode", doc, okToInsert); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi._Document doc - [SupportByVersion("Publisher", 14,15,16)] - public void MailMergeRecipientListClose(NetOffice.PublisherApi._Document doc) - { - Factory.ExecuteMethod(this, "MailMergeRecipientListClose", doc); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi._Document doc - /// string bstrString - [SupportByVersion("Publisher", 14,15,16)] - public void MailMergeGenerateBarcode(NetOffice.PublisherApi._Document doc, string bstrString) - { - Factory.ExecuteMethod(this, "MailMergeGenerateBarcode", doc, bstrString); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi._Document doc - [SupportByVersion("Publisher", 14,15,16)] - public void MailMergeWizardFollowUpCustom(NetOffice.PublisherApi._Document doc) - { - Factory.ExecuteMethod(this, "MailMergeWizardFollowUpCustom", doc); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi._Document doc - /// bool cancel - [SupportByVersion("Publisher", 14,15,16)] - public void BeforePrint(NetOffice.PublisherApi._Document doc, bool cancel) - { - Factory.ExecuteMethod(this, "BeforePrint", doc, cancel); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi._Document doc - [SupportByVersion("Publisher", 14,15,16)] - public void AfterPrint(NetOffice.PublisherApi._Document doc) - { - Factory.ExecuteMethod(this, "AfterPrint", doc); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void ShowCatalogUI() - { - Factory.ExecuteMethod(this, "ShowCatalogUI"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void HideCatalogUI() - { - Factory.ExecuteMethod(this, "HideCatalogUI"); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/ICagNotifySink.cs b/Source/Publisher/DispatchInterfaces/ICagNotifySink.cs deleted file mode 100644 index c2ea4f4acf..0000000000 --- a/Source/Publisher/DispatchInterfaces/ICagNotifySink.cs +++ /dev/null @@ -1,138 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface ICagNotifySink - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class ICagNotifySink : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(ICagNotifySink); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public ICagNotifySink(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public ICagNotifySink(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ICagNotifySink(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ICagNotifySink(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ICagNotifySink(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ICagNotifySink(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ICagNotifySink() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ICagNotifySink(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// object pClipMoniker - /// object pItemMoniker - [SupportByVersion("Publisher", 14,15,16)] - public object InsertClip(object pClipMoniker, object pItemMoniker) - { - return Factory.ExecuteVariantMethodGet(this, "InsertClip", pClipMoniker, pItemMoniker); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public object WindowIsClosing() - { - return Factory.ExecuteVariantMethodGet(this, "WindowIsClosing"); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/IDocumentEvents.cs b/Source/Publisher/DispatchInterfaces/IDocumentEvents.cs deleted file mode 100644 index 7016ad47f4..0000000000 --- a/Source/Publisher/DispatchInterfaces/IDocumentEvents.cs +++ /dev/null @@ -1,182 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface IDocumentEvents - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class IDocumentEvents : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(IDocumentEvents); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public IDocumentEvents(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public IDocumentEvents(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public IDocumentEvents(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public IDocumentEvents(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public IDocumentEvents(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public IDocumentEvents(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public IDocumentEvents() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public IDocumentEvents(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Open() - { - Factory.ExecuteMethod(this, "Open"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// bool cancel - [SupportByVersion("Publisher", 14,15,16)] - public void BeforeClose(bool cancel) - { - Factory.ExecuteMethod(this, "BeforeClose", cancel); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void ShapesAdded() - { - Factory.ExecuteMethod(this, "ShapesAdded"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void WizardAfterChange() - { - Factory.ExecuteMethod(this, "WizardAfterChange"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void ShapesRemoved() - { - Factory.ExecuteMethod(this, "ShapesRemoved"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Undo() - { - Factory.ExecuteMethod(this, "Undo"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Redo() - { - Factory.ExecuteMethod(this, "Redo"); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/InlineShapes.cs b/Source/Publisher/DispatchInterfaces/InlineShapes.cs deleted file mode 100644 index 54b4ddeb53..0000000000 --- a/Source/Publisher/DispatchInterfaces/InlineShapes.cs +++ /dev/null @@ -1,332 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; -using NetOffice.CollectionsGeneric; - -namespace NetOffice.PublisherApi -{ - /// - /// InlineShapes - /// - [SyntaxBypass] - public class InlineShapes_ : COMObject - { - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public InlineShapes_(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public InlineShapes_(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - /// object there has created the proxy - /// inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public InlineShapes_(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - /// object there has created the proxy - /// inner wrapped COM proxy - /// Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public InlineShapes_(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public InlineShapes_(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - /// object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public InlineShapes_(ICOMObject replacedObject) : base(replacedObject) - { - } - - /// - /// Hidden stub .ctor - /// - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public InlineShapes_() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public InlineShapes_(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - /// optional object index - [SupportByVersion("Publisher", 14,15,16)] - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public NetOffice.PublisherApi.ShapeRange get_Range(object index) - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Range", NetOffice.PublisherApi.ShapeRange.LateBindingApiWrapperType, index); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Alias for get_Range - /// - /// optional object index - [SupportByVersion("Publisher", 14,15,16), Redirect("get_Range")] - public NetOffice.PublisherApi.ShapeRange Range(object index) - { - return get_Range(index); - } - - #endregion - - #region Methods - - #endregion - } - - /// - /// DispatchInterface InlineShapes - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface), Enumerator(Enumerator.Reference, EnumeratorInvoke.Property), HasIndexProperty(IndexInvoke.Method, "Item")] - public class InlineShapes : InlineShapes_, NetOffice.CollectionsGeneric.IEnumerableProvider - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(InlineShapes); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public InlineShapes(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public InlineShapes(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public InlineShapes(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public InlineShapes(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public InlineShapes(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public InlineShapes(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public InlineShapes() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public InlineShapes(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Count - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Count"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ShapeRange Range - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Range", NetOffice.PublisherApi.ShapeRange.LateBindingApiWrapperType); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// object var - [SupportByVersion("Publisher", 14,15,16)] - [NetRuntimeSystem.Runtime.CompilerServices.IndexerName("Item"), IndexProperty] - public NetOffice.PublisherApi.Shape this[object var] - { - get - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Item", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType, var); - } - } - - #endregion - - #region IEnumerableProvider - - ICOMObject IEnumerableProvider.GetComObjectEnumerator(ICOMObject parent) - { - return NetOffice.Utils.GetComObjectEnumeratorAsProperty(parent, this, false); - } - - IEnumerable IEnumerableProvider.FetchVariantComObjectEnumerator(ICOMObject parent, ICOMObject enumerator) - { - return NetOffice.Utils.FetchVariantComObjectEnumerator(parent, enumerator, false); - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public IEnumerator GetEnumerator() - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (NetOffice.PublisherApi.Shape item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - IEnumerator NetRuntimeSystem.Collections.IEnumerable.GetEnumerator() - { - return NetOffice.Utils.GetProxyEnumeratorAsProperty(this, false); - } - - #endregion - - #pragma warning restore - } -} \ No newline at end of file diff --git a/Source/Publisher/DispatchInterfaces/InstalledPrinters.cs b/Source/Publisher/DispatchInterfaces/InstalledPrinters.cs deleted file mode 100644 index c836db4326..0000000000 --- a/Source/Publisher/DispatchInterfaces/InstalledPrinters.cs +++ /dev/null @@ -1,218 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; -using NetOffice.CollectionsGeneric; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface InstalledPrinters - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface), Enumerator(Enumerator.Reference, EnumeratorInvoke.Property), HasIndexProperty(IndexInvoke.Property, "Item")] - public class InstalledPrinters : COMObject, NetOffice.CollectionsGeneric.IEnumerableProvider - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(InstalledPrinters); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public InstalledPrinters(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public InstalledPrinters(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public InstalledPrinters(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public InstalledPrinters(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public InstalledPrinters(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public InstalledPrinters(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public InstalledPrinters() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public InstalledPrinters(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - /// object index - [SupportByVersion("Publisher", 14,15,16)] - [NetRuntimeSystem.Runtime.CompilerServices.IndexerName("Item"), IndexProperty] - public NetOffice.PublisherApi.Printer this[object index] - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Item", NetOffice.PublisherApi.Printer.LateBindingApiWrapperType, index); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Count - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Count"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - #endregion - - #region Methods - - #endregion - - #region IEnumerableProvider - - ICOMObject IEnumerableProvider.GetComObjectEnumerator(ICOMObject parent) - { - return NetOffice.Utils.GetComObjectEnumeratorAsProperty(parent, this, false); - } - - IEnumerable IEnumerableProvider.FetchVariantComObjectEnumerator(ICOMObject parent, ICOMObject enumerator) - { - return NetOffice.Utils.FetchVariantComObjectEnumerator(parent, enumerator, false); - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public IEnumerator GetEnumerator() - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (NetOffice.PublisherApi.Printer item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - IEnumerator NetRuntimeSystem.Collections.IEnumerable.GetEnumerator() - { - return NetOffice.Utils.GetProxyEnumeratorAsProperty(this, false); - } - - #endregion - - #pragma warning restore - } -} \ No newline at end of file diff --git a/Source/Publisher/DispatchInterfaces/Label.cs b/Source/Publisher/DispatchInterfaces/Label.cs deleted file mode 100644 index eb0bc727eb..0000000000 --- a/Source/Publisher/DispatchInterfaces/Label.cs +++ /dev/null @@ -1,252 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface Label - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class Label : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(Label); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public Label(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public Label(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Label(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Label(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Label(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Label(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Label() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Label(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Name - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Name"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public object Width - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "Width"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public object Height - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "Height"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object LeftMargin - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "LeftMargin"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "LeftMargin", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object TopMargin - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "TopMargin"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "TopMargin", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object HorizontalGap - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "HorizontalGap"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "HorizontalGap", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object VerticalGap - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "VerticalGap"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "VerticalGap", value); - } - } - - #endregion - - #region Methods - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/Labels.cs b/Source/Publisher/DispatchInterfaces/Labels.cs deleted file mode 100644 index a9c896de88..0000000000 --- a/Source/Publisher/DispatchInterfaces/Labels.cs +++ /dev/null @@ -1,218 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; -using NetOffice.CollectionsGeneric; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface Labels - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface), Enumerator(Enumerator.Reference, EnumeratorInvoke.Property), HasIndexProperty(IndexInvoke.Property, "Item")] - public class Labels : COMObject, NetOffice.CollectionsGeneric.IEnumerableProvider - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(Labels); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public Labels(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public Labels(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Labels(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Labels(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Labels(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Labels(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Labels() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Labels(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - /// object index - [SupportByVersion("Publisher", 14,15,16)] - [NetRuntimeSystem.Runtime.CompilerServices.IndexerName("Item"), IndexProperty] - public NetOffice.PublisherApi.Label this[object index] - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Item", NetOffice.PublisherApi.Label.LateBindingApiWrapperType, index); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Count - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Count"); - } - } - - #endregion - - #region Methods - - #endregion - - #region IEnumerableProvider - - ICOMObject IEnumerableProvider.GetComObjectEnumerator(ICOMObject parent) - { - return NetOffice.Utils.GetComObjectEnumeratorAsProperty(parent, this, false); - } - - IEnumerable IEnumerableProvider.FetchVariantComObjectEnumerator(ICOMObject parent, ICOMObject enumerator) - { - return NetOffice.Utils.FetchVariantComObjectEnumerator(parent, enumerator, false); - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public IEnumerator GetEnumerator() - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (NetOffice.PublisherApi.Label item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - IEnumerator NetRuntimeSystem.Collections.IEnumerable.GetEnumerator() - { - return NetOffice.Utils.GetProxyEnumeratorAsProperty(this, false); - } - - #endregion - - #pragma warning restore - } -} \ No newline at end of file diff --git a/Source/Publisher/DispatchInterfaces/LayoutGuides.cs b/Source/Publisher/DispatchInterfaces/LayoutGuides.cs deleted file mode 100644 index 1cd63d0bd1..0000000000 --- a/Source/Publisher/DispatchInterfaces/LayoutGuides.cs +++ /dev/null @@ -1,383 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface LayoutGuides - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class LayoutGuides : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(LayoutGuides); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public LayoutGuides(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public LayoutGuides(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public LayoutGuides(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public LayoutGuides(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public LayoutGuides(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public LayoutGuides(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public LayoutGuides() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public LayoutGuides(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Columns - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Columns"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Columns", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object MarginBottom - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "MarginBottom"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "MarginBottom", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object MarginLeft - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "MarginLeft"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "MarginLeft", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object MarginRight - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "MarginRight"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "MarginRight", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object MarginTop - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "MarginTop"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "MarginTop", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool MirrorGuides - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "MirrorGuides"); - } - set - { - Factory.ExecuteValuePropertySet(this, "MirrorGuides", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Rows - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Rows"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Rows", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Single ColumnGutterWidth - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "ColumnGutterWidth"); - } - set - { - Factory.ExecuteValuePropertySet(this, "ColumnGutterWidth", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Single RowGutterWidth - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "RowGutterWidth"); - } - set - { - Factory.ExecuteValuePropertySet(this, "RowGutterWidth", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool GutterCenterlines - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "GutterCenterlines"); - } - set - { - Factory.ExecuteValuePropertySet(this, "GutterCenterlines", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Single HorizontalBaseLineOffset - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "HorizontalBaseLineOffset"); - } - set - { - Factory.ExecuteValuePropertySet(this, "HorizontalBaseLineOffset", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Single HorizontalBaseLineSpacing - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "HorizontalBaseLineSpacing"); - } - set - { - Factory.ExecuteValuePropertySet(this, "HorizontalBaseLineSpacing", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Single VerticalBaseLineOffset - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "VerticalBaseLineOffset"); - } - set - { - Factory.ExecuteValuePropertySet(this, "VerticalBaseLineOffset", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Single VerticalBaseLineSpacing - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "VerticalBaseLineSpacing"); - } - set - { - Factory.ExecuteValuePropertySet(this, "VerticalBaseLineSpacing", value); - } - } - - #endregion - - #region Methods - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/LineFormat.cs b/Source/Publisher/DispatchInterfaces/LineFormat.cs deleted file mode 100644 index f1216f8421..0000000000 --- a/Source/Publisher/DispatchInterfaces/LineFormat.cs +++ /dev/null @@ -1,529 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface LineFormat - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class LineFormat : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(LineFormat); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public LineFormat(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public LineFormat(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public LineFormat(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public LineFormat(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public LineFormat(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public LineFormat(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public LineFormat() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public LineFormat(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ColorFormat BackColor - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "BackColor", NetOffice.PublisherApi.ColorFormat.LateBindingApiWrapperType); - } - set - { - Factory.ExecuteReferencePropertySet(this, "BackColor", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoArrowheadLength BeginArrowheadLength - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "BeginArrowheadLength"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "BeginArrowheadLength", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoArrowheadStyle BeginArrowheadStyle - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "BeginArrowheadStyle"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "BeginArrowheadStyle", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoArrowheadWidth BeginArrowheadWidth - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "BeginArrowheadWidth"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "BeginArrowheadWidth", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoLineDashStyle DashStyle - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "DashStyle"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "DashStyle", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoArrowheadLength EndArrowheadLength - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "EndArrowheadLength"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "EndArrowheadLength", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoArrowheadStyle EndArrowheadStyle - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "EndArrowheadStyle"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "EndArrowheadStyle", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoArrowheadWidth EndArrowheadWidth - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "EndArrowheadWidth"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "EndArrowheadWidth", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ColorFormat ForeColor - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "ForeColor", NetOffice.PublisherApi.ColorFormat.LateBindingApiWrapperType); - } - set - { - Factory.ExecuteReferencePropertySet(this, "ForeColor", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoPatternType Pattern - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Pattern"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Pattern", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoLineStyle Style - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Style"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Style", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Single Transparency - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "Transparency"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Transparency", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState Visible - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Visible"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Visible", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object Weight - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "Weight"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "Weight", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState InsetPen - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "InsetPen"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "InsetPen", value); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 15,16)] - public Single GradientAngle - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "GradientAngle"); - } - set - { - Factory.ExecuteValuePropertySet(this, "GradientAngle", value); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 15,16)] - public NetOffice.OfficeApi.Enums.MsoGradientColorType GradientColorType - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "GradientColorType"); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 15,16)] - public NetOffice.OfficeApi.Enums.MsoGradientStyle GradientStyle - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "GradientStyle"); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 15,16)] - public Int32 GradientVariant - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "GradientVariant"); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 15,16)] - public NetOffice.OfficeApi.Enums.MsoPresetGradientType PresetGradientType - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "PresetGradientType"); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 15,16)] - public NetOffice.OfficeApi.Enums.MsoLineCapStyle CapStyle - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "CapStyle"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "CapStyle", value); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 15,16)] - public NetOffice.OfficeApi.Enums.MsoLineJoinStyle JoinStyle - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "JoinStyle"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "JoinStyle", value); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 15,16)] - public NetOffice.OfficeApi.Enums.MsoLineFillType Type - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Type"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 15, 16 - /// - /// NetOffice.OfficeApi.Enums.MsoGradientStyle style - /// Int32 variant - /// NetOffice.OfficeApi.Enums.MsoPresetGradientType presetGradientType - [SupportByVersion("Publisher", 15,16)] - public void PresetGradient(NetOffice.OfficeApi.Enums.MsoGradientStyle style, Int32 variant, NetOffice.OfficeApi.Enums.MsoPresetGradientType presetGradientType) - { - Factory.ExecuteMethod(this, "PresetGradient", style, variant, presetGradientType); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/LinkFormat.cs b/Source/Publisher/DispatchInterfaces/LinkFormat.cs deleted file mode 100644 index e74ce11beb..0000000000 --- a/Source/Publisher/DispatchInterfaces/LinkFormat.cs +++ /dev/null @@ -1,167 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface LinkFormat - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class LinkFormat : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(LinkFormat); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public LinkFormat(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public LinkFormat(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public LinkFormat(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public LinkFormat(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public LinkFormat(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public LinkFormat(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public LinkFormat() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public LinkFormat(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string SourceFullName - { - get - { - return Factory.ExecuteStringPropertyGet(this, "SourceFullName"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Update() - { - Factory.ExecuteMethod(this, "Update"); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/MailMerge.cs b/Source/Publisher/DispatchInterfaces/MailMerge.cs deleted file mode 100644 index e1e12b1bf7..0000000000 --- a/Source/Publisher/DispatchInterfaces/MailMerge.cs +++ /dev/null @@ -1,675 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface MailMerge - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class MailMerge : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(MailMerge); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public MailMerge(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public MailMerge(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMerge(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMerge(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMerge(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMerge(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMerge() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMerge(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.MailMergeDataSource DataSource - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "DataSource", NetOffice.PublisherApi.MailMergeDataSource.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Int32 Destination - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Destination"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool DocumentUpdating - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "DocumentUpdating"); - } - set - { - Factory.ExecuteValuePropertySet(this, "DocumentUpdating", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public string ShowSendToCustom - { - get - { - return Factory.ExecuteStringPropertyGet(this, "ShowSendToCustom"); - } - set - { - Factory.ExecuteValuePropertySet(this, "ShowSendToCustom", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool SuppressBlankLines - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "SuppressBlankLines"); - } - set - { - Factory.ExecuteValuePropertySet(this, "SuppressBlankLines", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool ViewMailMergeFieldCodes - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "ViewMailMergeFieldCodes"); - } - set - { - Factory.ExecuteValuePropertySet(this, "ViewMailMergeFieldCodes", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 WizardState - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "WizardState"); - } - set - { - Factory.ExecuteValuePropertySet(this, "WizardState", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.EmailMergeEnvelope EmailMergeEnvelope - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "EmailMergeEnvelope", NetOffice.PublisherApi.EmailMergeEnvelope.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbMergeType Type - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Type"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Type", value); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// bool pause - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - [SupportByVersion("Publisher", 14,15,16)] - public void Execute10(bool pause) - { - Factory.ExecuteMethod(this, "Execute10", pause); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional string bstrDataSource = - /// optional string bstrConnect = - /// optional string bstrTable = - /// optional Int32 fOpenExclusive = 0 - /// optional Int32 fNeverPrompt = 1 - [SupportByVersion("Publisher", 14,15,16)] - public void OpenDataSource(object bstrDataSource, object bstrConnect, object bstrTable, object fOpenExclusive, object fNeverPrompt) - { - Factory.ExecuteMethod(this, "OpenDataSource", new object[]{ bstrDataSource, bstrConnect, bstrTable, fOpenExclusive, fNeverPrompt }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void OpenDataSource() - { - Factory.ExecuteMethod(this, "OpenDataSource"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional string bstrDataSource = - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void OpenDataSource(object bstrDataSource) - { - Factory.ExecuteMethod(this, "OpenDataSource", bstrDataSource); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional string bstrDataSource = - /// optional string bstrConnect = - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void OpenDataSource(object bstrDataSource, object bstrConnect) - { - Factory.ExecuteMethod(this, "OpenDataSource", bstrDataSource, bstrConnect); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional string bstrDataSource = - /// optional string bstrConnect = - /// optional string bstrTable = - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void OpenDataSource(object bstrDataSource, object bstrConnect, object bstrTable) - { - Factory.ExecuteMethod(this, "OpenDataSource", bstrDataSource, bstrConnect, bstrTable); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional string bstrDataSource = - /// optional string bstrConnect = - /// optional string bstrTable = - /// optional Int32 fOpenExclusive = 0 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void OpenDataSource(object bstrDataSource, object bstrConnect, object bstrTable, object fOpenExclusive) - { - Factory.ExecuteMethod(this, "OpenDataSource", bstrDataSource, bstrConnect, bstrTable, fOpenExclusive); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional bool ShowDocumentStep = true - /// optional bool ShowTemplateStep = false - /// optional bool ShowDataStep = true - /// optional bool ShowWriteStep = true - /// optional bool ShowPreviewStep = true - /// optional bool ShowMergeStep = true - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - [SupportByVersion("Publisher", 14,15,16)] - public void ShowWizard(object showDocumentStep, object showTemplateStep, object showDataStep, object showWriteStep, object showPreviewStep, object showMergeStep) - { - Factory.ExecuteMethod(this, "ShowWizard", new object[]{ showDocumentStep, showTemplateStep, showDataStep, showWriteStep, showPreviewStep, showMergeStep }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ShowWizard() - { - Factory.ExecuteMethod(this, "ShowWizard"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional bool ShowDocumentStep = true - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ShowWizard(object showDocumentStep) - { - Factory.ExecuteMethod(this, "ShowWizard", showDocumentStep); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional bool ShowDocumentStep = true - /// optional bool ShowTemplateStep = false - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ShowWizard(object showDocumentStep, object showTemplateStep) - { - Factory.ExecuteMethod(this, "ShowWizard", showDocumentStep, showTemplateStep); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional bool ShowDocumentStep = true - /// optional bool ShowTemplateStep = false - /// optional bool ShowDataStep = true - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ShowWizard(object showDocumentStep, object showTemplateStep, object showDataStep) - { - Factory.ExecuteMethod(this, "ShowWizard", showDocumentStep, showTemplateStep, showDataStep); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional bool ShowDocumentStep = true - /// optional bool ShowTemplateStep = false - /// optional bool ShowDataStep = true - /// optional bool ShowWriteStep = true - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ShowWizard(object showDocumentStep, object showTemplateStep, object showDataStep, object showWriteStep) - { - Factory.ExecuteMethod(this, "ShowWizard", showDocumentStep, showTemplateStep, showDataStep, showWriteStep); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional bool ShowDocumentStep = true - /// optional bool ShowTemplateStep = false - /// optional bool ShowDataStep = true - /// optional bool ShowWriteStep = true - /// optional bool ShowPreviewStep = true - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ShowWizard(object showDocumentStep, object showTemplateStep, object showDataStep, object showWriteStep, object showPreviewStep) - { - Factory.ExecuteMethod(this, "ShowWizard", new object[]{ showDocumentStep, showTemplateStep, showDataStep, showWriteStep, showPreviewStep }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// bool pause - /// optional NetOffice.PublisherApi.Enums.PbMailMergeDestination Destination = 1 - /// optional string Filename = - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Document Execute(bool pause, object destination, object filename) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Execute", NetOffice.PublisherApi.Document.LateBindingApiWrapperType, pause, destination, filename); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// bool pause - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Document Execute(bool pause) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Execute", NetOffice.PublisherApi.Document.LateBindingApiWrapperType, pause); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// bool pause - /// optional NetOffice.PublisherApi.Enums.PbMailMergeDestination Destination = 1 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Document Execute(bool pause, object destination) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Execute", NetOffice.PublisherApi.Document.LateBindingApiWrapperType, pause, destination); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string filename - /// optional NetOffice.PublisherApi.Enums.PbRecipientListFileType FileType = 0 - /// optional bool IncludedOnly = true - [SupportByVersion("Publisher", 14,15,16)] - public void ExportRecipientList(string filename, object fileType, object includedOnly) - { - Factory.ExecuteMethod(this, "ExportRecipientList", filename, fileType, includedOnly); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string filename - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ExportRecipientList(string filename) - { - Factory.ExecuteMethod(this, "ExportRecipientList", filename); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string filename - /// optional NetOffice.PublisherApi.Enums.PbRecipientListFileType FileType = 0 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ExportRecipientList(string filename, object fileType) - { - Factory.ExecuteMethod(this, "ExportRecipientList", filename, fileType); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string filename - [SupportByVersion("Publisher", 14,15,16)] - public void CreateShortcut(string filename) - { - Factory.ExecuteMethod(this, "CreateShortcut", filename); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional bool ShowDocumentStep = true - /// optional bool ShowTemplateStep = false - /// optional bool ShowDataStep = true - /// optional bool ShowWriteStep = true - /// optional bool ShowPreviewStep = true - /// optional bool ShowMergeStep = true - /// optional NetOffice.PublisherApi.Enums.PbMergeType MergeType = 0 - /// optional Int32 iStep = 1 - [SupportByVersion("Publisher", 14,15,16)] - public void ShowWizardEx(object showDocumentStep, object showTemplateStep, object showDataStep, object showWriteStep, object showPreviewStep, object showMergeStep, object mergeType, object iStep) - { - Factory.ExecuteMethod(this, "ShowWizardEx", new object[]{ showDocumentStep, showTemplateStep, showDataStep, showWriteStep, showPreviewStep, showMergeStep, mergeType, iStep }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ShowWizardEx() - { - Factory.ExecuteMethod(this, "ShowWizardEx"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional bool ShowDocumentStep = true - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ShowWizardEx(object showDocumentStep) - { - Factory.ExecuteMethod(this, "ShowWizardEx", showDocumentStep); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional bool ShowDocumentStep = true - /// optional bool ShowTemplateStep = false - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ShowWizardEx(object showDocumentStep, object showTemplateStep) - { - Factory.ExecuteMethod(this, "ShowWizardEx", showDocumentStep, showTemplateStep); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional bool ShowDocumentStep = true - /// optional bool ShowTemplateStep = false - /// optional bool ShowDataStep = true - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ShowWizardEx(object showDocumentStep, object showTemplateStep, object showDataStep) - { - Factory.ExecuteMethod(this, "ShowWizardEx", showDocumentStep, showTemplateStep, showDataStep); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional bool ShowDocumentStep = true - /// optional bool ShowTemplateStep = false - /// optional bool ShowDataStep = true - /// optional bool ShowWriteStep = true - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ShowWizardEx(object showDocumentStep, object showTemplateStep, object showDataStep, object showWriteStep) - { - Factory.ExecuteMethod(this, "ShowWizardEx", showDocumentStep, showTemplateStep, showDataStep, showWriteStep); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional bool ShowDocumentStep = true - /// optional bool ShowTemplateStep = false - /// optional bool ShowDataStep = true - /// optional bool ShowWriteStep = true - /// optional bool ShowPreviewStep = true - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ShowWizardEx(object showDocumentStep, object showTemplateStep, object showDataStep, object showWriteStep, object showPreviewStep) - { - Factory.ExecuteMethod(this, "ShowWizardEx", new object[]{ showDocumentStep, showTemplateStep, showDataStep, showWriteStep, showPreviewStep }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional bool ShowDocumentStep = true - /// optional bool ShowTemplateStep = false - /// optional bool ShowDataStep = true - /// optional bool ShowWriteStep = true - /// optional bool ShowPreviewStep = true - /// optional bool ShowMergeStep = true - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ShowWizardEx(object showDocumentStep, object showTemplateStep, object showDataStep, object showWriteStep, object showPreviewStep, object showMergeStep) - { - Factory.ExecuteMethod(this, "ShowWizardEx", new object[]{ showDocumentStep, showTemplateStep, showDataStep, showWriteStep, showPreviewStep, showMergeStep }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional bool ShowDocumentStep = true - /// optional bool ShowTemplateStep = false - /// optional bool ShowDataStep = true - /// optional bool ShowWriteStep = true - /// optional bool ShowPreviewStep = true - /// optional bool ShowMergeStep = true - /// optional NetOffice.PublisherApi.Enums.PbMergeType MergeType = 0 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ShowWizardEx(object showDocumentStep, object showTemplateStep, object showDataStep, object showWriteStep, object showPreviewStep, object showMergeStep, object mergeType) - { - Factory.ExecuteMethod(this, "ShowWizardEx", new object[]{ showDocumentStep, showTemplateStep, showDataStep, showWriteStep, showPreviewStep, showMergeStep, mergeType }); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/MailMergeDataField.cs b/Source/Publisher/DispatchInterfaces/MailMergeDataField.cs deleted file mode 100644 index 4966ede38e..0000000000 --- a/Source/Publisher/DispatchInterfaces/MailMergeDataField.cs +++ /dev/null @@ -1,272 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface MailMergeDataField - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class MailMergeDataField : NetOffice.OfficeApi._IMsoDispObj - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(MailMergeDataField); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public MailMergeDataField(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public MailMergeDataField(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeDataField(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeDataField(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeDataField(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeDataField(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeDataField() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeDataField(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Index - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Index"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Name - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Name"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Value - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Value"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbMailMergeDataFieldType FieldType - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "FieldType"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "FieldType", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool IsMapped - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "IsMapped"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string MappedTo - { - get - { - return Factory.ExecuteStringPropertyGet(this, "MappedTo"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional NetOffice.PublisherApi.TextRange range - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape Insert(object range) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Insert", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType, range); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape Insert() - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Insert", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void AddToRecipientFields() - { - Factory.ExecuteMethod(this, "AddToRecipientFields"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional string bstrValue - [SupportByVersion("Publisher", 14,15,16)] - public void MapToRecipientField(object bstrValue) - { - Factory.ExecuteMethod(this, "MapToRecipientField", bstrValue); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void MapToRecipientField() - { - Factory.ExecuteMethod(this, "MapToRecipientField"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void UnMapRecipientField() - { - Factory.ExecuteMethod(this, "UnMapRecipientField"); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/MailMergeDataFields.cs b/Source/Publisher/DispatchInterfaces/MailMergeDataFields.cs deleted file mode 100644 index 417ace2f8d..0000000000 --- a/Source/Publisher/DispatchInterfaces/MailMergeDataFields.cs +++ /dev/null @@ -1,216 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; -using NetOffice.CollectionsGeneric; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface MailMergeDataFields - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface), Enumerator(Enumerator.Reference, EnumeratorInvoke.Custom), HasIndexProperty(IndexInvoke.Method, "Item")] - public class MailMergeDataFields : NetOffice.OfficeApi._IMsoDispObj, NetOffice.CollectionsGeneric.IEnumerableProvider - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(MailMergeDataFields); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public MailMergeDataFields(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public MailMergeDataFields(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeDataFields(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeDataFields(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeDataFields(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeDataFields(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeDataFields() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeDataFields(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Count - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Count"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// object varIndex - [SupportByVersion("Publisher", 14,15,16)] - [NetRuntimeSystem.Runtime.CompilerServices.IndexerName("Item"), IndexProperty] - public NetOffice.PublisherApi.MailMergeDataField this[object varIndex] - { - get - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Item", NetOffice.PublisherApi.MailMergeDataField.LateBindingApiWrapperType, varIndex); - } - } - - #endregion - - #region IEnumerableProvider - - ICOMObject IEnumerableProvider.GetComObjectEnumerator(ICOMObject parent) - { - return this; - } - - IEnumerable IEnumerableProvider.FetchVariantComObjectEnumerator(ICOMObject parent, ICOMObject enumerator) - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (NetOffice.PublisherApi.MailMergeDataField item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable Member - - /// - /// SupportByVersion Publisher, 14,15,16 - /// This is a custom enumerator from NetOffice - /// - [SupportByVersion("Publisher", 14, 15, 16)] - [CustomEnumerator] - public IEnumerator GetEnumerator() - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (NetOffice.PublisherApi.MailMergeDataField item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable Members - - /// - /// SupportByVersion Publisher, 14,15,16 - /// This is a custom enumerator from NetOffice - /// - [SupportByVersion("Publisher", 14, 15, 16)] - [CustomEnumerator] - IEnumerator NetRuntimeSystem.Collections.IEnumerable.GetEnumerator() - { - int count = Count; - object[] enumeratorObjects = new object[count]; - for (int i = 0; i < count; i++) - enumeratorObjects[i] = this[i + 1]; - - foreach (object item in enumeratorObjects) - yield return item; - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/MailMergeDataSource.cs b/Source/Publisher/DispatchInterfaces/MailMergeDataSource.cs deleted file mode 100644 index 8723d6b65e..0000000000 --- a/Source/Publisher/DispatchInterfaces/MailMergeDataSource.cs +++ /dev/null @@ -1,594 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface MailMergeDataSource - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class MailMergeDataSource : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(MailMergeDataSource); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public MailMergeDataSource(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public MailMergeDataSource(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeDataSource(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeDataSource(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeDataSource(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeDataSource(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeDataSource() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeDataSource(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 ActiveRecord - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "ActiveRecord"); - } - set - { - Factory.ExecuteValuePropertySet(this, "ActiveRecord", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string ConnectString - { - get - { - return Factory.ExecuteStringPropertyGet(this, "ConnectString"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.MailMergeDataFields DataFields - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "DataFields", NetOffice.PublisherApi.MailMergeDataFields.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.MailMergeFilters Filters - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Filters", NetOffice.PublisherApi.MailMergeFilters.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 FirstRecord - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "FirstRecord"); - } - set - { - Factory.ExecuteValuePropertySet(this, "FirstRecord", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool Included - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "Included"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Included", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool InvalidAddress - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "InvalidAddress"); - } - set - { - Factory.ExecuteValuePropertySet(this, "InvalidAddress", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string InvalidComments - { - get - { - return Factory.ExecuteStringPropertyGet(this, "InvalidComments"); - } - set - { - Factory.ExecuteValuePropertySet(this, "InvalidComments", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 LastRecord - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "LastRecord"); - } - set - { - Factory.ExecuteValuePropertySet(this, "LastRecord", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.MailMergeMappedDataFields MappedDataFields - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "MappedDataFields", NetOffice.PublisherApi.MailMergeMappedDataFields.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Name - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Name"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 RecordCount - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "RecordCount"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Type - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Type"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string TableName - { - get - { - return Factory.ExecuteStringPropertyGet(this, "TableName"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.MailMergeDataSources DataSources - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "DataSources", NetOffice.PublisherApi.MailMergeDataSources.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool IsMaster - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "IsMaster"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool EverValidated - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "EverValidated"); - } - set - { - Factory.ExecuteValuePropertySet(this, "EverValidated", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool ValidatedClean - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "ValidatedClean"); - } - set - { - Factory.ExecuteValuePropertySet(this, "ValidatedClean", value); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string findText - /// optional string Field = - [SupportByVersion("Publisher", 14,15,16)] - public bool FindRecord(string findText, object field) - { - return Factory.ExecuteBoolMethodGet(this, "FindRecord", findText, field); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string findText - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public bool FindRecord(string findText) - { - return Factory.ExecuteBoolMethodGet(this, "FindRecord", findText); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// bool included - [SupportByVersion("Publisher", 14,15,16)] - public void SetAllIncludedFlags(bool included) - { - Factory.ExecuteMethod(this, "SetAllIncludedFlags", included); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// bool invalid - /// optional string InvalidComment = - [SupportByVersion("Publisher", 14,15,16)] - public void SetAllErrorFlags(bool invalid, object invalidComment) - { - Factory.ExecuteMethod(this, "SetAllErrorFlags", invalid, invalidComment); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// bool invalid - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void SetAllErrorFlags(bool invalid) - { - Factory.ExecuteMethod(this, "SetAllErrorFlags", invalid); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional string SortField1 = - /// optional bool SortAscending1 = true - /// optional string SortField2 = - /// optional bool SortAscending2 = true - /// optional string SortField3 = - /// optional bool SortAscending3 = true - [SupportByVersion("Publisher", 14,15,16)] - public void SetSortOrder(object sortField1, object sortAscending1, object sortField2, object sortAscending2, object sortField3, object sortAscending3) - { - Factory.ExecuteMethod(this, "SetSortOrder", new object[]{ sortField1, sortAscending1, sortField2, sortAscending2, sortField3, sortAscending3 }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void SetSortOrder() - { - Factory.ExecuteMethod(this, "SetSortOrder"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional string SortField1 = - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void SetSortOrder(object sortField1) - { - Factory.ExecuteMethod(this, "SetSortOrder", sortField1); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional string SortField1 = - /// optional bool SortAscending1 = true - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void SetSortOrder(object sortField1, object sortAscending1) - { - Factory.ExecuteMethod(this, "SetSortOrder", sortField1, sortAscending1); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional string SortField1 = - /// optional bool SortAscending1 = true - /// optional string SortField2 = - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void SetSortOrder(object sortField1, object sortAscending1, object sortField2) - { - Factory.ExecuteMethod(this, "SetSortOrder", sortField1, sortAscending1, sortField2); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional string SortField1 = - /// optional bool SortAscending1 = true - /// optional string SortField2 = - /// optional bool SortAscending2 = true - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void SetSortOrder(object sortField1, object sortAscending1, object sortField2, object sortAscending2) - { - Factory.ExecuteMethod(this, "SetSortOrder", sortField1, sortAscending1, sortField2, sortAscending2); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional string SortField1 = - /// optional bool SortAscending1 = true - /// optional string SortField2 = - /// optional bool SortAscending2 = true - /// optional string SortField3 = - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void SetSortOrder(object sortField1, object sortAscending1, object sortField2, object sortAscending2, object sortField3) - { - Factory.ExecuteMethod(this, "SetSortOrder", new object[]{ sortField1, sortAscending1, sortField2, sortAscending2, sortField3 }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void OpenRecipientsDialog() - { - Factory.ExecuteMethod(this, "OpenRecipientsDialog"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void ApplyFilter() - { - Factory.ExecuteMethod(this, "ApplyFilter"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Close() - { - Factory.ExecuteMethod(this, "Close"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 lRec - /// object varField - /// object value - [SupportByVersion("Publisher", 14,15,16)] - public void EditRecord(Int32 lRec, object varField, object value) - { - Factory.ExecuteMethod(this, "EditRecord", lRec, varField, value); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/MailMergeDataSources.cs b/Source/Publisher/DispatchInterfaces/MailMergeDataSources.cs deleted file mode 100644 index c1848062cd..0000000000 --- a/Source/Publisher/DispatchInterfaces/MailMergeDataSources.cs +++ /dev/null @@ -1,216 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; -using NetOffice.CollectionsGeneric; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface MailMergeDataSources - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface), Enumerator(Enumerator.Reference, EnumeratorInvoke.Custom), HasIndexProperty(IndexInvoke.Method, "Item")] - public class MailMergeDataSources : NetOffice.OfficeApi._IMsoDispObj, NetOffice.CollectionsGeneric.IEnumerableProvider - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(MailMergeDataSources); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public MailMergeDataSources(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public MailMergeDataSources(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeDataSources(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeDataSources(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeDataSources(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeDataSources(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeDataSources() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeDataSources(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Count - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Count"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// object varIndex - [SupportByVersion("Publisher", 14,15,16)] - [NetRuntimeSystem.Runtime.CompilerServices.IndexerName("Item"), IndexProperty] - public NetOffice.PublisherApi.MailMergeDataSource this[object varIndex] - { - get - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Item", NetOffice.PublisherApi.MailMergeDataSource.LateBindingApiWrapperType, varIndex); - } - } - - #endregion - - #region IEnumerableProvider - - ICOMObject IEnumerableProvider.GetComObjectEnumerator(ICOMObject parent) - { - return this; - } - - IEnumerable IEnumerableProvider.FetchVariantComObjectEnumerator(ICOMObject parent, ICOMObject enumerator) - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (NetOffice.PublisherApi.MailMergeDataSource item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable Member - - /// - /// SupportByVersion Publisher, 14,15,16 - /// This is a custom enumerator from NetOffice - /// - [SupportByVersion("Publisher", 14, 15, 16)] - [CustomEnumerator] - public IEnumerator GetEnumerator() - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (NetOffice.PublisherApi.MailMergeDataSource item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable Members - - /// - /// SupportByVersion Publisher, 14,15,16 - /// This is a custom enumerator from NetOffice - /// - [SupportByVersion("Publisher", 14, 15, 16)] - [CustomEnumerator] - IEnumerator NetRuntimeSystem.Collections.IEnumerable.GetEnumerator() - { - int count = Count; - object[] enumeratorObjects = new object[count]; - for (int i = 0; i < count; i++) - enumeratorObjects[i] = this[i + 1]; - - foreach (object item in enumeratorObjects) - yield return item; - } - - #endregion - - #pragma warning restore - } -} \ No newline at end of file diff --git a/Source/Publisher/DispatchInterfaces/MailMergeFilterCriterion.cs b/Source/Publisher/DispatchInterfaces/MailMergeFilterCriterion.cs deleted file mode 100644 index 96aa4a8d0c..0000000000 --- a/Source/Publisher/DispatchInterfaces/MailMergeFilterCriterion.cs +++ /dev/null @@ -1,213 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface MailMergeFilterCriterion - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class MailMergeFilterCriterion : NetOffice.OfficeApi._IMsoDispObj - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(MailMergeFilterCriterion); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public MailMergeFilterCriterion(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public MailMergeFilterCriterion(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeFilterCriterion(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeFilterCriterion(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeFilterCriterion(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeFilterCriterion(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeFilterCriterion() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeFilterCriterion(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Index - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Index"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Column - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Column"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Column", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoFilterComparison Comparison - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Comparison"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Comparison", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string CompareTo - { - get - { - return Factory.ExecuteStringPropertyGet(this, "CompareTo"); - } - set - { - Factory.ExecuteValuePropertySet(this, "CompareTo", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoFilterConjunction Conjunction - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Conjunction"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Conjunction", value); - } - } - - #endregion - - #region Methods - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/MailMergeFilters.cs b/Source/Publisher/DispatchInterfaces/MailMergeFilters.cs deleted file mode 100644 index a00e92067b..0000000000 --- a/Source/Publisher/DispatchInterfaces/MailMergeFilters.cs +++ /dev/null @@ -1,279 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; -using NetOffice.CollectionsGeneric; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface MailMergeFilters - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface), Enumerator(Enumerator.Variant, EnumeratorInvoke.Custom), HasIndexProperty(IndexInvoke.Method, "Item")] - public class MailMergeFilters : NetOffice.OfficeApi._IMsoDispObj, NetOffice.CollectionsGeneric.IEnumerableProvider - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(MailMergeFilters); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public MailMergeFilters(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public MailMergeFilters(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeFilters(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeFilters(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeFilters(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeFilters(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeFilters() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeFilters(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Count - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Count"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 index - [SupportByVersion("Publisher", 14,15,16)] - [NetRuntimeSystem.Runtime.CompilerServices.IndexerName("Item"), IndexProperty] - public object this[Int32 index] - { - get - { - return Factory.ExecuteVariantMethodGet(this, "Item", index); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string column - /// NetOffice.OfficeApi.Enums.MsoFilterComparison comparison - /// NetOffice.OfficeApi.Enums.MsoFilterConjunction conjunction - /// optional string bstrCompareTo = - /// optional bool DeferUpdate = false - [SupportByVersion("Publisher", 14,15,16)] - public void Add(string column, NetOffice.OfficeApi.Enums.MsoFilterComparison comparison, NetOffice.OfficeApi.Enums.MsoFilterConjunction conjunction, object bstrCompareTo, object deferUpdate) - { - Factory.ExecuteMethod(this, "Add", new object[]{ column, comparison, conjunction, bstrCompareTo, deferUpdate }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string column - /// NetOffice.OfficeApi.Enums.MsoFilterComparison comparison - /// NetOffice.OfficeApi.Enums.MsoFilterConjunction conjunction - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void Add(string column, NetOffice.OfficeApi.Enums.MsoFilterComparison comparison, NetOffice.OfficeApi.Enums.MsoFilterConjunction conjunction) - { - Factory.ExecuteMethod(this, "Add", column, comparison, conjunction); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string column - /// NetOffice.OfficeApi.Enums.MsoFilterComparison comparison - /// NetOffice.OfficeApi.Enums.MsoFilterConjunction conjunction - /// optional string bstrCompareTo = - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void Add(string column, NetOffice.OfficeApi.Enums.MsoFilterComparison comparison, NetOffice.OfficeApi.Enums.MsoFilterConjunction conjunction, object bstrCompareTo) - { - Factory.ExecuteMethod(this, "Add", column, comparison, conjunction, bstrCompareTo); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 index - /// optional bool DeferUpdate = false - [SupportByVersion("Publisher", 14,15,16)] - public void Delete(Int32 index, object deferUpdate) - { - Factory.ExecuteMethod(this, "Delete", index, deferUpdate); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 index - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void Delete(Int32 index) - { - Factory.ExecuteMethod(this, "Delete", index); - } - - #endregion - - #region IEnumerableProvider - - ICOMObject IEnumerableProvider.GetComObjectEnumerator(ICOMObject parent) - { - return this; - } - - IEnumerable IEnumerableProvider.FetchVariantComObjectEnumerator(ICOMObject parent, ICOMObject enumerator) - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (object item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// This is a custom enumerator from NetOffice - /// - [SupportByVersion("Publisher", 14, 15, 16)] - [CustomEnumerator] - public IEnumerator GetEnumerator() - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (object item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// This is a custom enumerator from NetOffice - /// - [SupportByVersion("Publisher", 14, 15, 16)] - [CustomEnumerator] - IEnumerator NetRuntimeSystem.Collections.IEnumerable.GetEnumerator() - { - int count = Count; - object[] enumeratorObjects = new object[count]; - for (int i = 0; i < count; i++) - enumeratorObjects[i] = this[i + 1]; - - foreach (object item in enumeratorObjects) - yield return item; - } - - #endregion - - #pragma warning restore - } -} \ No newline at end of file diff --git a/Source/Publisher/DispatchInterfaces/MailMergeMappedDataField.cs b/Source/Publisher/DispatchInterfaces/MailMergeMappedDataField.cs deleted file mode 100644 index 7fd7a2297e..0000000000 --- a/Source/Publisher/DispatchInterfaces/MailMergeMappedDataField.cs +++ /dev/null @@ -1,197 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface MailMergeMappedDataField - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class MailMergeMappedDataField : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(MailMergeMappedDataField); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public MailMergeMappedDataField(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public MailMergeMappedDataField(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeMappedDataField(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeMappedDataField(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeMappedDataField(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeMappedDataField(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeMappedDataField() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeMappedDataField(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string DataFieldName - { - get - { - return Factory.ExecuteStringPropertyGet(this, "DataFieldName"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Index - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Index"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Name - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Name"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Value - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Value"); - } - } - - #endregion - - #region Methods - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/MailMergeMappedDataFields.cs b/Source/Publisher/DispatchInterfaces/MailMergeMappedDataFields.cs deleted file mode 100644 index b53852c316..0000000000 --- a/Source/Publisher/DispatchInterfaces/MailMergeMappedDataFields.cs +++ /dev/null @@ -1,229 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; -using NetOffice.CollectionsGeneric; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface MailMergeMappedDataFields - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface), Enumerator(Enumerator.Reference, EnumeratorInvoke.Custom), HasIndexProperty(IndexInvoke.Method, "Item")] - public class MailMergeMappedDataFields : COMObject, NetOffice.CollectionsGeneric.IEnumerableProvider - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(MailMergeMappedDataFields); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public MailMergeMappedDataFields(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public MailMergeMappedDataFields(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeMappedDataFields(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeMappedDataFields(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeMappedDataFields(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeMappedDataFields(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeMappedDataFields() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MailMergeMappedDataFields(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Count - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Count"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// object index - [SupportByVersion("Publisher", 14,15,16)] - [NetRuntimeSystem.Runtime.CompilerServices.IndexerName("Item"), IndexProperty] - public NetOffice.PublisherApi.MailMergeMappedDataField this[object index] - { - get - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Item", NetOffice.PublisherApi.MailMergeMappedDataField.LateBindingApiWrapperType, index); - } - } - - #endregion - - #region IEnumerableProvider - - ICOMObject IEnumerableProvider.GetComObjectEnumerator(ICOMObject parent) - { - return this; - } - - IEnumerable IEnumerableProvider.FetchVariantComObjectEnumerator(ICOMObject parent, ICOMObject enumerator) - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (NetOffice.PublisherApi.MailMergeMappedDataField item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// This is a custom enumerator from NetOffice - /// - [SupportByVersion("Publisher", 14, 15, 16)] - [CustomEnumerator] - public IEnumerator GetEnumerator() - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (NetOffice.PublisherApi.MailMergeMappedDataField item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// This is a custom enumerator from NetOffice - /// - [SupportByVersion("Publisher", 14, 15, 16)] - [CustomEnumerator] - IEnumerator NetRuntimeSystem.Collections.IEnumerable.GetEnumerator() - { - int count = Count; - object[] enumeratorObjects = new object[count]; - for (int i = 0; i < count; i++) - enumeratorObjects[i] = this[i + 1]; - - foreach (object item in enumeratorObjects) - yield return item; - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/MasterPages.cs b/Source/Publisher/DispatchInterfaces/MasterPages.cs deleted file mode 100644 index 413fa3fb45..0000000000 --- a/Source/Publisher/DispatchInterfaces/MasterPages.cs +++ /dev/null @@ -1,275 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; -using NetOffice.CollectionsGeneric; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface MasterPages - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface), Enumerator(Enumerator.Reference, EnumeratorInvoke.Property), HasIndexProperty(IndexInvoke.Property, "Item")] - public class MasterPages : COMObject, NetOffice.CollectionsGeneric.IEnumerableProvider - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(MasterPages); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public MasterPages(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public MasterPages(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MasterPages(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MasterPages(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MasterPages(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MasterPages(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MasterPages() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public MasterPages(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - /// Int32 item - [SupportByVersion("Publisher", 14,15,16)] - [NetRuntimeSystem.Runtime.CompilerServices.IndexerName("Item"), IndexProperty] - public NetOffice.PublisherApi.Page this[Int32 item] - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Item", NetOffice.PublisherApi.Page.LateBindingApiWrapperType, item); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Count - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Count"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional bool IsTwoPageMaster = false - /// optional string Abbreviation = - /// optional string Description = - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Page Add(object isTwoPageMaster, object abbreviation, object description) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Add", NetOffice.PublisherApi.Page.LateBindingApiWrapperType, isTwoPageMaster, abbreviation, description); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Page Add() - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Add", NetOffice.PublisherApi.Page.LateBindingApiWrapperType); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional bool IsTwoPageMaster = false - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Page Add(object isTwoPageMaster) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Add", NetOffice.PublisherApi.Page.LateBindingApiWrapperType, isTwoPageMaster); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional bool IsTwoPageMaster = false - /// optional string Abbreviation = - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Page Add(object isTwoPageMaster, object abbreviation) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Add", NetOffice.PublisherApi.Page.LateBindingApiWrapperType, isTwoPageMaster, abbreviation); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 pageID - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Page FindByPageID(Int32 pageID) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "FindByPageID", NetOffice.PublisherApi.Page.LateBindingApiWrapperType, pageID); - } - - #endregion - - #region IEnumerableProvider - - ICOMObject IEnumerableProvider.GetComObjectEnumerator(ICOMObject parent) - { - return this; - } - - IEnumerable IEnumerableProvider.FetchVariantComObjectEnumerator(ICOMObject parent, ICOMObject enumerator) - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (NetOffice.PublisherApi.MailMergeMappedDataField item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public IEnumerator GetEnumerator() - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (NetOffice.PublisherApi.Page item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - IEnumerator NetRuntimeSystem.Collections.IEnumerable.GetEnumerator() - { - return NetOffice.Utils.GetProxyEnumeratorAsProperty(this, false); - } - - #endregion - - #pragma warning restore - } -} \ No newline at end of file diff --git a/Source/Publisher/DispatchInterfaces/ModalBrowser.cs b/Source/Publisher/DispatchInterfaces/ModalBrowser.cs deleted file mode 100644 index b282159640..0000000000 --- a/Source/Publisher/DispatchInterfaces/ModalBrowser.cs +++ /dev/null @@ -1,149 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface ModalBrowser - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class ModalBrowser : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(ModalBrowser); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public ModalBrowser(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public ModalBrowser(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ModalBrowser(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ModalBrowser(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ModalBrowser(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ModalBrowser(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ModalBrowser() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ModalBrowser(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void TaskCompleted() - { - Factory.ExecuteMethod(this, "TaskCompleted"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 lWidth - /// Int32 lHeight - [SupportByVersion("Publisher", 14,15,16)] - public void ResizeTo(Int32 lWidth, Int32 lHeight) - { - Factory.ExecuteMethod(this, "ResizeTo", lWidth, lHeight); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 lx - /// Int32 ly - [SupportByVersion("Publisher", 14,15,16)] - public void MoveTo(Int32 lx, Int32 ly) - { - Factory.ExecuteMethod(this, "MoveTo", lx, ly); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/OLEFormat.cs b/Source/Publisher/DispatchInterfaces/OLEFormat.cs deleted file mode 100644 index 2de75f523f..0000000000 --- a/Source/Publisher/DispatchInterfaces/OLEFormat.cs +++ /dev/null @@ -1,204 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface OLEFormat - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class OLEFormat : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(OLEFormat); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public OLEFormat(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public OLEFormat(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public OLEFormat(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public OLEFormat(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public OLEFormat(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public OLEFormat(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public OLEFormat() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public OLEFormat(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Object - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Object"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string ProgId - { - get - { - return Factory.ExecuteStringPropertyGet(this, "ProgId"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ObjectVerbs ObjectVerbs - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "ObjectVerbs", NetOffice.PublisherApi.ObjectVerbs.LateBindingApiWrapperType); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Activate() - { - Factory.ExecuteMethod(this, "Activate"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 iVerb - [SupportByVersion("Publisher", 14,15,16)] - public void DoVerb(Int32 iVerb) - { - Factory.ExecuteMethod(this, "DoVerb", iVerb); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/ObjectVerbs.cs b/Source/Publisher/DispatchInterfaces/ObjectVerbs.cs deleted file mode 100644 index f80cf972fe..0000000000 --- a/Source/Publisher/DispatchInterfaces/ObjectVerbs.cs +++ /dev/null @@ -1,229 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; -using NetOffice.CollectionsGeneric; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface ObjectVerbs - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface), Enumerator(Enumerator.Value, EnumeratorInvoke.Custom), HasIndexProperty(IndexInvoke.Method, "Item")] - public class ObjectVerbs : COMObject , NetOffice.CollectionsGeneric.IEnumerableProvider - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(ObjectVerbs); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public ObjectVerbs(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public ObjectVerbs(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ObjectVerbs(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ObjectVerbs(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ObjectVerbs(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ObjectVerbs(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ObjectVerbs() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ObjectVerbs(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Count - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Count"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 index - [SupportByVersion("Publisher", 14,15,16)] - [NetRuntimeSystem.Runtime.CompilerServices.IndexerName("Item"), IndexProperty] - public string this[Int32 index] - { - get - { - return Factory.ExecuteStringMethodGet(this, "Item", index); - } - } - - #endregion - - #region IEnumerableProvider - - ICOMObject IEnumerableProvider.GetComObjectEnumerator(ICOMObject parent) - { - return this; - } - - IEnumerable IEnumerableProvider.FetchVariantComObjectEnumerator(ICOMObject parent, ICOMObject enumerator) - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (string item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// This is a custom enumerator from NetOffice - /// - [SupportByVersion("Publisher", 14, 15, 16)] - [CustomEnumerator] - public IEnumerator GetEnumerator() - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (string item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// This is a custom enumerator from NetOffice - /// - [SupportByVersion("Publisher", 14, 15, 16)] - [CustomEnumerator] - IEnumerator NetRuntimeSystem.Collections.IEnumerable.GetEnumerator() - { - int count = Count; - string[] enumeratorObjects = new string[count]; - for (int i = 0; i < count; i++) - enumeratorObjects[i] = this[i + 1]; - - foreach (string item in enumeratorObjects) - yield return item; - } - - #endregion - - #pragma warning restore - } -} \ No newline at end of file diff --git a/Source/Publisher/DispatchInterfaces/Options.cs b/Source/Publisher/DispatchInterfaces/Options.cs deleted file mode 100644 index 9efd7c607a..0000000000 --- a/Source/Publisher/DispatchInterfaces/Options.cs +++ /dev/null @@ -1,698 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface Options - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class Options : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(Options); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public Options(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public Options(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Options(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Options(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Options(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Options(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Options() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Options(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool AllowBackgroundSave - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "AllowBackgroundSave"); - } - set - { - Factory.ExecuteValuePropertySet(this, "AllowBackgroundSave", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool AutoFormatWord - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "AutoFormatWord"); - } - set - { - Factory.ExecuteValuePropertySet(this, "AutoFormatWord", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool AutoHyphenate - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "AutoHyphenate"); - } - set - { - Factory.ExecuteValuePropertySet(this, "AutoHyphenate", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool AutoSelectWord - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "AutoSelectWord"); - } - set - { - Factory.ExecuteValuePropertySet(this, "AutoSelectWord", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public bool DisplayPrintTroubleshooter - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "DisplayPrintTroubleshooter"); - } - set - { - Factory.ExecuteValuePropertySet(this, "DisplayPrintTroubleshooter", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool DisplayStatusBar - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "DisplayStatusBar"); - } - set - { - Factory.ExecuteValuePropertySet(this, "DisplayStatusBar", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool DragAndDropText - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "DragAndDropText"); - } - set - { - Factory.ExecuteValuePropertySet(this, "DragAndDropText", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public NetOffice.PublisherApi.Enums.PbPlacementType EnvelopePrintPlacement - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "EnvelopePrintPlacement"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "EnvelopePrintPlacement", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public NetOffice.PublisherApi.Enums.PbOrientationType EnvelopePrintOrientation - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "EnvelopePrintOrientation"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "EnvelopePrintOrientation", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object HyphenationZone - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "HyphenationZone"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "HyphenationZone", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbUnitType MeasurementUnit - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "MeasurementUnit"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "MeasurementUnit", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string PathForPictures - { - get - { - return Factory.ExecuteStringPropertyGet(this, "PathForPictures"); - } - set - { - Factory.ExecuteValuePropertySet(this, "PathForPictures", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string PathForPublications - { - get - { - return Factory.ExecuteStringPropertyGet(this, "PathForPublications"); - } - set - { - Factory.ExecuteValuePropertySet(this, "PathForPublications", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public bool PrintLineByLine - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "PrintLineByLine"); - } - set - { - Factory.ExecuteValuePropertySet(this, "PrintLineByLine", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool SaveAutoRecoverInfo - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "SaveAutoRecoverInfo"); - } - set - { - Factory.ExecuteValuePropertySet(this, "SaveAutoRecoverInfo", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 SaveAutoRecoverInfoInterval - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "SaveAutoRecoverInfoInterval"); - } - set - { - Factory.ExecuteValuePropertySet(this, "SaveAutoRecoverInfoInterval", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool ShowBasicColors - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "ShowBasicColors"); - } - set - { - Factory.ExecuteValuePropertySet(this, "ShowBasicColors", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool ShowScreenTipsOnObjects - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "ShowScreenTipsOnObjects"); - } - set - { - Factory.ExecuteValuePropertySet(this, "ShowScreenTipsOnObjects", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool ShowTipPages - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "ShowTipPages"); - } - set - { - Factory.ExecuteValuePropertySet(this, "ShowTipPages", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public bool UpdatePersonalInfoOnSave - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "UpdatePersonalInfoOnSave"); - } - set - { - Factory.ExecuteValuePropertySet(this, "UpdatePersonalInfoOnSave", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool UseCatalogAtStartup - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "UseCatalogAtStartup"); - } - set - { - Factory.ExecuteValuePropertySet(this, "UseCatalogAtStartup", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public bool UseEnvelopePaperSizes - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "UseEnvelopePaperSizes"); - } - set - { - Factory.ExecuteValuePropertySet(this, "UseEnvelopePaperSizes", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public bool UseEnvelopePrintOptions - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "UseEnvelopePrintOptions"); - } - set - { - Factory.ExecuteValuePropertySet(this, "UseEnvelopePrintOptions", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public bool UseHelpfulMousePointers - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "UseHelpfulMousePointers"); - } - set - { - Factory.ExecuteValuePropertySet(this, "UseHelpfulMousePointers", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbDirectionType DefaultPubDirection - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "DefaultPubDirection"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "DefaultPubDirection", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool SequenceCheck - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "SequenceCheck"); - } - set - { - Factory.ExecuteValuePropertySet(this, "SequenceCheck", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool TypeNReplace - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "TypeNReplace"); - } - set - { - Factory.ExecuteValuePropertySet(this, "TypeNReplace", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool AutoKeyboardSwitching - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "AutoKeyboardSwitching"); - } - set - { - Factory.ExecuteValuePropertySet(this, "AutoKeyboardSwitching", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbDirectionType DefaultTextFlowDirection - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "DefaultTextFlowDirection"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "DefaultTextFlowDirection", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool AddHebDoubleQuote - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "AddHebDoubleQuote"); - } - set - { - Factory.ExecuteValuePropertySet(this, "AddHebDoubleQuote", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool UseWizardForBlankPublication - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "UseWizardForBlankPublication"); - } - set - { - Factory.ExecuteValuePropertySet(this, "UseWizardForBlankPublication", value); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void ResetTips() - { - Factory.ExecuteMethod(this, "ResetTips"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void ResetWizardSynchronizing() - { - Factory.ExecuteMethod(this, "ResetWizardSynchronizing"); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/Page.cs b/Source/Publisher/DispatchInterfaces/Page.cs deleted file mode 100644 index 9fb4257e26..0000000000 --- a/Source/Publisher/DispatchInterfaces/Page.cs +++ /dev/null @@ -1,596 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface Page - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class Page : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(Page); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public Page(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public Page(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Page(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Page(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Page(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Page(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Page() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Page(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shapes Shapes - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Shapes", NetOffice.PublisherApi.Shapes.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string PageNumber - { - get - { - return Factory.ExecuteStringPropertyGet(this, "PageNumber"); - } - set - { - Factory.ExecuteValuePropertySet(this, "PageNumber", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbPageType PageType - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "PageType"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Page Master - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Master", NetOffice.PublisherApi.Page.LateBindingApiWrapperType); - } - set - { - Factory.ExecuteReferencePropertySet(this, "Master", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 PageID - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "PageID"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 PageIndex - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "PageIndex"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.RulerGuides RulerGuides - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "RulerGuides", NetOffice.PublisherApi.RulerGuides.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool IgnoreMaster - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "IgnoreMaster"); - } - set - { - Factory.ExecuteValuePropertySet(this, "IgnoreMaster", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Wizard Wizard - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Wizard", NetOffice.PublisherApi.Wizard.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Tags Tags - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Tags", NetOffice.PublisherApi.Tags.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Single XOffsetWithinReaderSpread - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "XOffsetWithinReaderSpread"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Single YOffsetWithinReaderSpread - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "YOffsetWithinReaderSpread"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ReaderSpread ReaderSpread - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "ReaderSpread", NetOffice.PublisherApi.ReaderSpread.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Width - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Width"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Height - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Height"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Name - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Name"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Name", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool IsTwoPageMaster - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "IsTwoPageMaster"); - } - set - { - Factory.ExecuteValuePropertySet(this, "IsTwoPageMaster", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool IsTrailing - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "IsTrailing"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool IsLeading - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "IsLeading"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.HeaderFooter Header - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Header", NetOffice.PublisherApi.HeaderFooter.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.HeaderFooter Footer - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Footer", NetOffice.PublisherApi.HeaderFooter.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.PageBackground Background - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Background", NetOffice.PublisherApi.PageBackground.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.WebPageOptions WebPageOptions - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "WebPageOptions", NetOffice.PublisherApi.WebPageOptions.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.LayoutGuides LayoutGuides - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "LayoutGuides", NetOffice.PublisherApi.LayoutGuides.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool IsWizardPage - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "IsWizardPage"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Delete() - { - Factory.ExecuteMethod(this, "Delete"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string filename - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - [SupportByVersion("Publisher", 14,15,16)] - public void SaveAsPicture10(string filename) - { - Factory.ExecuteMethod(this, "SaveAsPicture10", filename); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional string NewAbbreviation = - /// optional string NewName = - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Page Duplicate(object newAbbreviation, object newName) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Duplicate", NetOffice.PublisherApi.Page.LateBindingApiWrapperType, newAbbreviation, newName); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Page Duplicate() - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Duplicate", NetOffice.PublisherApi.Page.LateBindingApiWrapperType); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional string NewAbbreviation = - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Page Duplicate(object newAbbreviation) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Duplicate", NetOffice.PublisherApi.Page.LateBindingApiWrapperType, newAbbreviation); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 page - /// optional bool After = true - [SupportByVersion("Publisher", 14,15,16)] - public void Move(Int32 page, object after) - { - Factory.ExecuteMethod(this, "Move", page, after); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 page - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void Move(Int32 page) - { - Factory.ExecuteMethod(this, "Move", page); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string filename - /// optional NetOffice.PublisherApi.Enums.PbPictureResolution pbResolution = 0 - [SupportByVersion("Publisher", 14,15,16)] - public void SaveAsPicture(string filename, object pbResolution) - { - Factory.ExecuteMethod(this, "SaveAsPicture", filename, pbResolution); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string filename - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void SaveAsPicture(string filename) - { - Factory.ExecuteMethod(this, "SaveAsPicture", filename); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string filename - [SupportByVersion("Publisher", 14,15,16)] - public void ExportEmailHTML(string filename) - { - Factory.ExecuteMethod(this, "ExportEmailHTML", filename); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/PageBackground.cs b/Source/Publisher/DispatchInterfaces/PageBackground.cs deleted file mode 100644 index ac2d4808b6..0000000000 --- a/Source/Publisher/DispatchInterfaces/PageBackground.cs +++ /dev/null @@ -1,189 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface PageBackground - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class PageBackground : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(PageBackground); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public PageBackground(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public PageBackground(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PageBackground(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PageBackground(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PageBackground(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PageBackground(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PageBackground() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PageBackground(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.FillFormat Fill - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Fill", NetOffice.PublisherApi.FillFormat.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool Exists - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "Exists"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Create() - { - Factory.ExecuteMethod(this, "Create"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Delete() - { - Factory.ExecuteMethod(this, "Delete"); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/PageSetup.cs b/Source/Publisher/DispatchInterfaces/PageSetup.cs deleted file mode 100644 index 7817d4aa5a..0000000000 --- a/Source/Publisher/DispatchInterfaces/PageSetup.cs +++ /dev/null @@ -1,362 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface PageSetup - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class PageSetup : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(PageSetup); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public PageSetup(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public PageSetup(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PageSetup(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PageSetup(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PageSetup(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PageSetup(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PageSetup() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PageSetup(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object HorizontalGap - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "HorizontalGap"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "HorizontalGap", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object LeftMargin - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "LeftMargin"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "LeftMargin", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public bool MultiplePagesPerSheet - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "MultiplePagesPerSheet"); - } - set - { - Factory.ExecuteValuePropertySet(this, "MultiplePagesPerSheet", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object PageHeight - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "PageHeight"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "PageHeight", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object PageWidth - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "PageWidth"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "PageWidth", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object TopMargin - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "TopMargin"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "TopMargin", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object VerticalGap - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "VerticalGap"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "VerticalGap", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbPublicationLayout PublicationLayout - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "PublicationLayout"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "PublicationLayout", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public NetOffice.PublisherApi.Label Label - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Label", NetOffice.PublisherApi.Label.LateBindingApiWrapperType); - } - set - { - Factory.ExecuteReferencePropertySet(this, "Label", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public NetOffice.PublisherApi.Labels AvailableLabels - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "AvailableLabels", NetOffice.PublisherApi.Labels.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public NetOffice.PublisherApi.Enums.PbOrientationType Orientation - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Orientation"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Orientation", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.PageSizes AvailablePageSizes - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "AvailablePageSizes", NetOffice.PublisherApi.PageSizes.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.PageSize PageSize - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "PageSize", NetOffice.PublisherApi.PageSize.LateBindingApiWrapperType); - } - set - { - Factory.ExecuteReferencePropertySet(this, "PageSize", value); - } - } - - #endregion - - #region Methods - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/PageSize.cs b/Source/Publisher/DispatchInterfaces/PageSize.cs deleted file mode 100644 index 6ff60abe45..0000000000 --- a/Source/Publisher/DispatchInterfaces/PageSize.cs +++ /dev/null @@ -1,257 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface PageSize - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class PageSize : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(PageSize); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public PageSize(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public PageSize(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PageSize(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PageSize(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PageSize(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PageSize(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PageSize() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PageSize(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object PageWidth - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "PageWidth"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "PageWidth", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object PageHeight - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "PageHeight"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "PageHeight", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public object LeftMargin - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "LeftMargin"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public object TopMargin - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "TopMargin"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public object HorizontalGap - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "HorizontalGap"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public object VerticalGap - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "VerticalGap"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool HasBackgroundImage - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "HasBackgroundImage"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Name - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Name"); - } - } - - #endregion - - #region Methods - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/PageSizes.cs b/Source/Publisher/DispatchInterfaces/PageSizes.cs deleted file mode 100644 index 3c83923537..0000000000 --- a/Source/Publisher/DispatchInterfaces/PageSizes.cs +++ /dev/null @@ -1,218 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; -using NetOffice.CollectionsGeneric; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface PageSizes - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface), Enumerator(Enumerator.Reference, EnumeratorInvoke.Property), HasIndexProperty(IndexInvoke.Property, "Item")] - public class PageSizes : COMObject, NetOffice.CollectionsGeneric.IEnumerableProvider - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(PageSizes); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public PageSizes(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public PageSizes(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PageSizes(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PageSizes(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PageSizes(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PageSizes(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PageSizes() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PageSizes(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - /// object index - [SupportByVersion("Publisher", 14,15,16)] - [NetRuntimeSystem.Runtime.CompilerServices.IndexerName("Item"), IndexProperty] - public NetOffice.PublisherApi.PageSize this[object index] - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Item", NetOffice.PublisherApi.PageSize.LateBindingApiWrapperType, index); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Count - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Count"); - } - } - - #endregion - - #region Methods - - #endregion - - #region IEnumerableProvider - - ICOMObject IEnumerableProvider.GetComObjectEnumerator(ICOMObject parent) - { - return NetOffice.Utils.GetComObjectEnumeratorAsProperty(parent, this, false); - } - - IEnumerable IEnumerableProvider.FetchVariantComObjectEnumerator(ICOMObject parent, ICOMObject enumerator) - { - return NetOffice.Utils.FetchVariantComObjectEnumerator(parent, enumerator, false); - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public IEnumerator GetEnumerator() - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (NetOffice.PublisherApi.PageSize item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - IEnumerator NetRuntimeSystem.Collections.IEnumerable.GetEnumerator() - { - return NetOffice.Utils.GetProxyEnumeratorAsProperty(this, false); - } - - #endregion - - #pragma warning restore - } -} \ No newline at end of file diff --git a/Source/Publisher/DispatchInterfaces/Pages.cs b/Source/Publisher/DispatchInterfaces/Pages.cs deleted file mode 100644 index 68a6b34042..0000000000 --- a/Source/Publisher/DispatchInterfaces/Pages.cs +++ /dev/null @@ -1,351 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; -using NetOffice.CollectionsGeneric; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface Pages - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface), Enumerator(Enumerator.Reference, EnumeratorInvoke.Property), HasIndexProperty(IndexInvoke.Property, "Item")] - public class Pages : COMObject, NetOffice.CollectionsGeneric.IEnumerableProvider - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(Pages); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public Pages(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public Pages(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Pages(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Pages(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Pages(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Pages(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Pages() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Pages(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - /// Int32 item - [SupportByVersion("Publisher", 14,15,16)] - [NetRuntimeSystem.Runtime.CompilerServices.IndexerName("Item"), IndexProperty] - public NetOffice.PublisherApi.Page this[Int32 item] - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Item", NetOffice.PublisherApi.Page.LateBindingApiWrapperType, item); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Count - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Count"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 count - /// Int32 after - /// optional Int32 DuplicateObjectsOnPage = -1 - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Page Add10(Int32 count, Int32 after, object duplicateObjectsOnPage) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Add10", NetOffice.PublisherApi.Page.LateBindingApiWrapperType, count, after, duplicateObjectsOnPage); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 count - /// Int32 after - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Page Add10(Int32 count, Int32 after) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Add10", NetOffice.PublisherApi.Page.LateBindingApiWrapperType, count, after); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 after - /// optional NetOffice.PublisherApi.Enums.PbWizardPageType PageType = -1 - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - [SupportByVersion("Publisher", 14,15,16)] - public void AddWizardPage10(Int32 after, object pageType) - { - Factory.ExecuteMethod(this, "AddWizardPage10", after, pageType); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 after - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void AddWizardPage10(Int32 after) - { - Factory.ExecuteMethod(this, "AddWizardPage10", after); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 pageID - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Page FindByPageID(Int32 pageID) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "FindByPageID", NetOffice.PublisherApi.Page.LateBindingApiWrapperType, pageID); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 count - /// Int32 after - /// optional Int32 DuplicateObjectsOnPage = -1 - /// optional bool AddHyperlinkToWebNavBar = false - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Page Add(Int32 count, Int32 after, object duplicateObjectsOnPage, object addHyperlinkToWebNavBar) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Add", NetOffice.PublisherApi.Page.LateBindingApiWrapperType, count, after, duplicateObjectsOnPage, addHyperlinkToWebNavBar); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 count - /// Int32 after - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Page Add(Int32 count, Int32 after) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Add", NetOffice.PublisherApi.Page.LateBindingApiWrapperType, count, after); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 count - /// Int32 after - /// optional Int32 DuplicateObjectsOnPage = -1 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Page Add(Int32 count, Int32 after, object duplicateObjectsOnPage) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Add", NetOffice.PublisherApi.Page.LateBindingApiWrapperType, count, after, duplicateObjectsOnPage); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 after - /// optional NetOffice.PublisherApi.Enums.PbWizardPageType PageType = -1 - /// optional bool AddHyperlinkToWebNavBar = false - [SupportByVersion("Publisher", 14,15,16)] - public void AddWizardPage(Int32 after, object pageType, object addHyperlinkToWebNavBar) - { - Factory.ExecuteMethod(this, "AddWizardPage", after, pageType, addHyperlinkToWebNavBar); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 after - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void AddWizardPage(Int32 after) - { - Factory.ExecuteMethod(this, "AddWizardPage", after); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 after - /// optional NetOffice.PublisherApi.Enums.PbWizardPageType PageType = -1 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void AddWizardPage(Int32 after, object pageType) - { - Factory.ExecuteMethod(this, "AddWizardPage", after, pageType); - } - - #endregion - - #region IEnumerableProvider - - ICOMObject IEnumerableProvider.GetComObjectEnumerator(ICOMObject parent) - { - return NetOffice.Utils.GetComObjectEnumeratorAsProperty(parent, this, false); - } - - IEnumerable IEnumerableProvider.FetchVariantComObjectEnumerator(ICOMObject parent, ICOMObject enumerator) - { - return NetOffice.Utils.FetchVariantComObjectEnumerator(parent, enumerator, false); - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public IEnumerator GetEnumerator() - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (NetOffice.PublisherApi.Page item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - IEnumerator NetRuntimeSystem.Collections.IEnumerable.GetEnumerator() - { - return NetOffice.Utils.GetProxyEnumeratorAsProperty(this, false); - } - - #endregion - - #pragma warning restore - } -} \ No newline at end of file diff --git a/Source/Publisher/DispatchInterfaces/ParagraphFormat.cs b/Source/Publisher/DispatchInterfaces/ParagraphFormat.cs deleted file mode 100644 index 5e584bd637..0000000000 --- a/Source/Publisher/DispatchInterfaces/ParagraphFormat.cs +++ /dev/null @@ -1,650 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface ParagraphFormat - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class ParagraphFormat : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(ParagraphFormat); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public ParagraphFormat(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public ParagraphFormat(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ParagraphFormat(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ParagraphFormat(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ParagraphFormat(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ParagraphFormat(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ParagraphFormat() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ParagraphFormat(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbParagraphAlignmentType Alignment - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Alignment"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Alignment", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object FirstLineIndent - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "FirstLineIndent"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "FirstLineIndent", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object LeftIndent - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "LeftIndent"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "LeftIndent", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object RightIndent - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "RightIndent"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "RightIndent", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object SpaceAfter - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "SpaceAfter"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "SpaceAfter", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object SpaceBefore - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "SpaceBefore"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "SpaceBefore", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object LineSpacing - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "LineSpacing"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "LineSpacing", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbLineSpacingRule LineSpacingRule - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "LineSpacingRule"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "LineSpacingRule", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.TabStops Tabs - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Tabs", NetOffice.PublisherApi.TabStops.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbTextDirection TextDirection - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "TextDirection"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "TextDirection", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object TextStyle - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "TextStyle"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "TextStyle", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool AttachedToText - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "AttachedToText"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 KashidaPercentage - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "KashidaPercentage"); - } - set - { - Factory.ExecuteValuePropertySet(this, "KashidaPercentage", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbListType ListType - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "ListType"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Single ListIndent - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "ListIndent"); - } - set - { - Factory.ExecuteValuePropertySet(this, "ListIndent", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string ListBulletText - { - get - { - return Factory.ExecuteStringPropertyGet(this, "ListBulletText"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Single ListBulletFontSize - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "ListBulletFontSize"); - } - set - { - Factory.ExecuteValuePropertySet(this, "ListBulletFontSize", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string ListBulletFontName - { - get - { - return Factory.ExecuteStringPropertyGet(this, "ListBulletFontName"); - } - set - { - Factory.ExecuteValuePropertySet(this, "ListBulletFontName", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbListSeparator ListNumberSeparator - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "ListNumberSeparator"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "ListNumberSeparator", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 ListNumberStart - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "ListNumberStart"); - } - set - { - Factory.ExecuteValuePropertySet(this, "ListNumberStart", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 CharBasedFirstLineIndent - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "CharBasedFirstLineIndent"); - } - set - { - Factory.ExecuteValuePropertySet(this, "CharBasedFirstLineIndent", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState UseCharBasedFirstLineIndent - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "UseCharBasedFirstLineIndent"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "UseCharBasedFirstLineIndent", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState WidowControl - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "WidowControl"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "WidowControl", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState KeepLinesTogether - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "KeepLinesTogether"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "KeepLinesTogether", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState KeepWithNext - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "KeepWithNext"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "KeepWithNext", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState StartInNextTextBox - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "StartInNextTextBox"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "StartInNextTextBox", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState LockToBaseLine - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "LockToBaseLine"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "LockToBaseLine", value); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Reset() - { - Factory.ExecuteMethod(this, "Reset"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ParagraphFormat Duplicate() - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Duplicate", NetOffice.PublisherApi.ParagraphFormat.LateBindingApiWrapperType); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbLineSpacingRule rule - /// optional object spacing - [SupportByVersion("Publisher", 14,15,16)] - public void SetLineSpacing(NetOffice.PublisherApi.Enums.PbLineSpacingRule rule, object spacing) - { - Factory.ExecuteMethod(this, "SetLineSpacing", rule, spacing); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbLineSpacingRule rule - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void SetLineSpacing(NetOffice.PublisherApi.Enums.PbLineSpacingRule rule) - { - Factory.ExecuteMethod(this, "SetLineSpacing", rule); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbListType value - /// optional string BulletText = - [SupportByVersion("Publisher", 14,15,16)] - public void SetListType(NetOffice.PublisherApi.Enums.PbListType value, object bulletText) - { - Factory.ExecuteMethod(this, "SetListType", value, bulletText); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbListType value - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void SetListType(NetOffice.PublisherApi.Enums.PbListType value) - { - Factory.ExecuteMethod(this, "SetListType", value); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/PhoneticGuide.cs b/Source/Publisher/DispatchInterfaces/PhoneticGuide.cs deleted file mode 100644 index 7d0efd0632..0000000000 --- a/Source/Publisher/DispatchInterfaces/PhoneticGuide.cs +++ /dev/null @@ -1,232 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface PhoneticGuide - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class PhoneticGuide : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(PhoneticGuide); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public PhoneticGuide(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public PhoneticGuide(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PhoneticGuide(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PhoneticGuide(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PhoneticGuide(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PhoneticGuide(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PhoneticGuide() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PhoneticGuide(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string FontName - { - get - { - return Factory.ExecuteStringPropertyGet(this, "FontName"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public object FontSize - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "FontSize"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public object Raise - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "Raise"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbPhoneticGuideAlignmentType Alignment - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Alignment"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string BaseText - { - get - { - return Factory.ExecuteStringPropertyGet(this, "BaseText"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Text - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Text"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Clear() - { - Factory.ExecuteMethod(this, "Clear"); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/PictureFormat.cs b/Source/Publisher/DispatchInterfaces/PictureFormat.cs deleted file mode 100644 index 9b5321bb34..0000000000 --- a/Source/Publisher/DispatchInterfaces/PictureFormat.cs +++ /dev/null @@ -1,816 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface PictureFormat - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class PictureFormat : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(PictureFormat); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public PictureFormat(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public PictureFormat(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PictureFormat(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PictureFormat(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PictureFormat(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PictureFormat(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PictureFormat() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PictureFormat(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Single Brightness - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "Brightness"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Brightness", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoPictureColorType ColorType - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "ColorType"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "ColorType", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Single Contrast - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "Contrast"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Contrast", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object CropBottom - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "CropBottom"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "CropBottom", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object CropLeft - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "CropLeft"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "CropLeft", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object CropRight - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "CropRight"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "CropRight", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object CropTop - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "CropTop"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "CropTop", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 TransparencyColor - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "TransparencyColor"); - } - set - { - Factory.ExecuteValuePropertySet(this, "TransparencyColor", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState TransparentBackground - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "TransparentBackground"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "TransparentBackground", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbVerticalPictureLocking VerticalPictureLocking - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "VerticalPictureLocking"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "VerticalPictureLocking", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbHorizontalPictureLocking HorizontalPictureLocking - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "HorizontalPictureLocking"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "HorizontalPictureLocking", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbColorModel ColorModel - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "ColorModel"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 ColorsInPalette - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "ColorsInPalette"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 EffectiveResolution - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "EffectiveResolution"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Filename - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Filename"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 FileSize - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "FileSize"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState HasAlphaChannel - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "HasAlphaChannel"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public object Height - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "Height"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 HorizontalScale - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "HorizontalScale"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbImageFormat ImageFormat - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "ImageFormat"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState IsGreyScale - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "IsGreyScale"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState IsLinked - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "IsLinked"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState IsTrueColor - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "IsTrueColor"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 OriginalColorsInPalette - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "OriginalColorsInPalette"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 OriginalFileSize - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "OriginalFileSize"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState OriginalHasAlphaChannel - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "OriginalHasAlphaChannel"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public object OriginalHeight - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "OriginalHeight"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState OriginalIsTrueColor - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "OriginalIsTrueColor"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 OriginalResolution - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "OriginalResolution"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public object OriginalWidth - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "OriginalWidth"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 VerticalScale - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "VerticalScale"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public object Width - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "Width"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbLinkedFileStatus LinkedFileStatus - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "LinkedFileStatus"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState IsEmpty - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "IsEmpty"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool HasTransparencyColor - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "HasTransparencyColor"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ColorFormat RecoloredPictureColor - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "RecoloredPictureColor", NetOffice.PublisherApi.ColorFormat.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState IsRecolored - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "IsRecolored"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState LeaveBlackAsBlack - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "LeaveBlackAsBlack"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single increment - [SupportByVersion("Publisher", 14,15,16)] - public void IncrementBrightness(Single increment) - { - Factory.ExecuteMethod(this, "IncrementBrightness", increment); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single increment - [SupportByVersion("Publisher", 14,15,16)] - public void IncrementContrast(Single increment) - { - Factory.ExecuteMethod(this, "IncrementContrast", increment); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string pathname - /// optional NetOffice.PublisherApi.Enums.PbPictureInsertAs InsertAs = 3 - [SupportByVersion("Publisher", 14,15,16)] - public void Replace(string pathname, object insertAs) - { - Factory.ExecuteMethod(this, "Replace", pathname, insertAs); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string pathname - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void Replace(string pathname) - { - Factory.ExecuteMethod(this, "Replace", pathname); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.ColorFormat color - /// NetOffice.OfficeApi.Enums.MsoTriState leaveBlackPartsBlack - [SupportByVersion("Publisher", 14,15,16)] - public void Recolor(NetOffice.PublisherApi.ColorFormat color, NetOffice.OfficeApi.Enums.MsoTriState leaveBlackPartsBlack) - { - Factory.ExecuteMethod(this, "Recolor", color, leaveBlackPartsBlack); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void RestoreOriginalColors() - { - Factory.ExecuteMethod(this, "RestoreOriginalColors"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void FillFrame() - { - Factory.ExecuteMethod(this, "FillFrame"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void FitFrame() - { - Factory.ExecuteMethod(this, "FitFrame"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void ClearCrop() - { - Factory.ExecuteMethod(this, "ClearCrop"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Remove() - { - Factory.ExecuteMethod(this, "Remove"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string pathname - /// optional NetOffice.PublisherApi.Enums.PbPictureInsertAs InsertAs = 3 - /// optional NetOffice.PublisherApi.Enums.pbPictureInsertFit Fit = 1 - [SupportByVersion("Publisher", 14,15,16)] - public void ReplaceEx(string pathname, object insertAs, object fit) - { - Factory.ExecuteMethod(this, "ReplaceEx", pathname, insertAs, fit); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string pathname - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ReplaceEx(string pathname) - { - Factory.ExecuteMethod(this, "ReplaceEx", pathname); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string pathname - /// optional NetOffice.PublisherApi.Enums.PbPictureInsertAs InsertAs = 3 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ReplaceEx(string pathname, object insertAs) - { - Factory.ExecuteMethod(this, "ReplaceEx", pathname, insertAs); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/Plate.cs b/Source/Publisher/DispatchInterfaces/Plate.cs deleted file mode 100644 index 33a3fd9d56..0000000000 --- a/Source/Publisher/DispatchInterfaces/Plate.cs +++ /dev/null @@ -1,314 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface Plate - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class Plate : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(Plate); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public Plate(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public Plate(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Plate(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Plate(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Plate(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Plate(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Plate() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Plate(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Int32 Angle - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Angle"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Angle", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ColorFormat Color - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Color", NetOffice.PublisherApi.ColorFormat.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Int32 Frequency - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Frequency"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Frequency", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Index - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Index"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Luminance - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Luminance"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Luminance", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Name - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Name"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool InUse - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "InUse"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbInkName InkName - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "InkName"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - [SupportByVersion("Publisher", 14,15,16)] - public void Delete10() - { - Factory.ExecuteMethod(this, "Delete10"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional object plateReplaceWith - /// optional NetOffice.PublisherApi.Enums.PbReplaceTint ReplaceTint = 0 - [SupportByVersion("Publisher", 14,15,16)] - public void Delete(object plateReplaceWith, object replaceTint) - { - Factory.ExecuteMethod(this, "Delete", plateReplaceWith, replaceTint); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void Delete() - { - Factory.ExecuteMethod(this, "Delete"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional object plateReplaceWith - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void Delete(object plateReplaceWith) - { - Factory.ExecuteMethod(this, "Delete", plateReplaceWith); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void ConvertToProcess() - { - Factory.ExecuteMethod(this, "ConvertToProcess"); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/Plates.cs b/Source/Publisher/DispatchInterfaces/Plates.cs deleted file mode 100644 index 897694c08a..0000000000 --- a/Source/Publisher/DispatchInterfaces/Plates.cs +++ /dev/null @@ -1,248 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; -using NetOffice.CollectionsGeneric; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface Plates - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface), Enumerator(Enumerator.Reference, EnumeratorInvoke.Property), HasIndexProperty(IndexInvoke.Property, "Item")] - public class Plates : COMObject, NetOffice.CollectionsGeneric.IEnumerableProvider - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(Plates); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public Plates(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public Plates(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Plates(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Plates(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Plates(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Plates(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Plates() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Plates(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Count - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Count"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - /// Int32 index - [SupportByVersion("Publisher", 14,15,16)] - [NetRuntimeSystem.Runtime.CompilerServices.IndexerName("Item"), IndexProperty] - public NetOffice.PublisherApi.Plate this[Int32 index] - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Item", NetOffice.PublisherApi.Plate.LateBindingApiWrapperType, index); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional NetOffice.PublisherApi.ColorFormat PlateColor = 0 - [SupportByVersion("Publisher", 14,15,16)] - public void Add(object plateColor) - { - Factory.ExecuteMethod(this, "Add", plateColor); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void Add() - { - Factory.ExecuteMethod(this, "Add"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbInkName inkName - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Plate FindPlateByInkName(NetOffice.PublisherApi.Enums.PbInkName inkName) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "FindPlateByInkName", NetOffice.PublisherApi.Plate.LateBindingApiWrapperType, inkName); - } - - #endregion - - #region IEnumerableProvider - - ICOMObject IEnumerableProvider.GetComObjectEnumerator(ICOMObject parent) - { - return NetOffice.Utils.GetComObjectEnumeratorAsProperty(parent, this, false); - } - - IEnumerable IEnumerableProvider.FetchVariantComObjectEnumerator(ICOMObject parent, ICOMObject enumerator) - { - return NetOffice.Utils.FetchVariantComObjectEnumerator(parent, enumerator, false); - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public IEnumerator GetEnumerator() - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (NetOffice.PublisherApi.Plate item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - IEnumerator NetRuntimeSystem.Collections.IEnumerable.GetEnumerator() - { - return NetOffice.Utils.GetProxyEnumeratorAsProperty(this, false); - } - - #endregion - - #pragma warning restore - } -} \ No newline at end of file diff --git a/Source/Publisher/DispatchInterfaces/PrintablePlate.cs b/Source/Publisher/DispatchInterfaces/PrintablePlate.cs deleted file mode 100644 index 0f6d65c950..0000000000 --- a/Source/Publisher/DispatchInterfaces/PrintablePlate.cs +++ /dev/null @@ -1,235 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface PrintablePlate - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class PrintablePlate : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(PrintablePlate); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public PrintablePlate(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public PrintablePlate(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PrintablePlate(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PrintablePlate(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PrintablePlate(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PrintablePlate(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PrintablePlate() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PrintablePlate(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Angle - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Angle"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Angle", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Frequency - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Frequency"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Frequency", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Index - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Index"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbInkName InkName - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "InkName"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Name - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Name"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool PrintPlate - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "PrintPlate"); - } - set - { - Factory.ExecuteValuePropertySet(this, "PrintPlate", value); - } - } - - #endregion - - #region Methods - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/PrintablePlates.cs b/Source/Publisher/DispatchInterfaces/PrintablePlates.cs deleted file mode 100644 index 2ebc48292d..0000000000 --- a/Source/Publisher/DispatchInterfaces/PrintablePlates.cs +++ /dev/null @@ -1,228 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; -using NetOffice.CollectionsGeneric; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface PrintablePlates - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface), Enumerator(Enumerator.Reference, EnumeratorInvoke.Property), HasIndexProperty(IndexInvoke.Property, "Item")] - public class PrintablePlates : COMObject, NetOffice.CollectionsGeneric.IEnumerableProvider - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(PrintablePlates); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public PrintablePlates(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public PrintablePlates(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PrintablePlates(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PrintablePlates(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PrintablePlates(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PrintablePlates(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PrintablePlates() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PrintablePlates(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Count - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Count"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - /// Int32 index - [SupportByVersion("Publisher", 14,15,16)] - [NetRuntimeSystem.Runtime.CompilerServices.IndexerName("Item"), IndexProperty] - public NetOffice.PublisherApi.PrintablePlate this[Int32 index] - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Item", NetOffice.PublisherApi.PrintablePlate.LateBindingApiWrapperType, index); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbInkName inkName - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.PrintablePlate FindPlateByInkName(NetOffice.PublisherApi.Enums.PbInkName inkName) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "FindPlateByInkName", NetOffice.PublisherApi.PrintablePlate.LateBindingApiWrapperType, inkName); - } - - #endregion - - #region IEnumerableProvider - - ICOMObject IEnumerableProvider.GetComObjectEnumerator(ICOMObject parent) - { - return NetOffice.Utils.GetComObjectEnumeratorAsProperty(parent, this, false); - } - - IEnumerable IEnumerableProvider.FetchVariantComObjectEnumerator(ICOMObject parent, ICOMObject enumerator) - { - return NetOffice.Utils.FetchVariantComObjectEnumerator(parent, enumerator, false); - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public IEnumerator GetEnumerator() - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (NetOffice.PublisherApi.PrintablePlate item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - IEnumerator NetRuntimeSystem.Collections.IEnumerable.GetEnumerator() - { - return NetOffice.Utils.GetProxyEnumeratorAsProperty(this, false); - } - - #endregion - - #pragma warning restore - } -} \ No newline at end of file diff --git a/Source/Publisher/DispatchInterfaces/PrintableRect.cs b/Source/Publisher/DispatchInterfaces/PrintableRect.cs deleted file mode 100644 index 729a53c520..0000000000 --- a/Source/Publisher/DispatchInterfaces/PrintableRect.cs +++ /dev/null @@ -1,197 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface PrintableRect - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class PrintableRect : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(PrintableRect); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public PrintableRect(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public PrintableRect(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PrintableRect(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PrintableRect(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PrintableRect(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PrintableRect(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PrintableRect() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public PrintableRect(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Single Left - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "Left"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Single Top - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "Top"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Single Width - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "Width"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Single Height - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "Height"); - } - } - - #endregion - - #region Methods - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/Printer.cs b/Source/Publisher/DispatchInterfaces/Printer.cs deleted file mode 100644 index 0f82e4b4e4..0000000000 --- a/Source/Publisher/DispatchInterfaces/Printer.cs +++ /dev/null @@ -1,334 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface Printer - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class Printer : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(Printer); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public Printer(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public Printer(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Printer(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Printer(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Printer(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Printer(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Printer() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Printer(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Index - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Index"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbDriverType DriverType - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "DriverType"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool IsActivePrinter - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "IsActivePrinter"); - } - set - { - Factory.ExecuteValuePropertySet(this, "IsActivePrinter", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool IsColor - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "IsColor"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool IsDuplex - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "IsDuplex"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string PaperSize - { - get - { - return Factory.ExecuteStringPropertyGet(this, "PaperSize"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbOrientationType PaperOrientation - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "PaperOrientation"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "PaperOrientation", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 PaperHeight - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "PaperHeight"); - } - set - { - Factory.ExecuteValuePropertySet(this, "PaperHeight", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 PaperWidth - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "PaperWidth"); - } - set - { - Factory.ExecuteValuePropertySet(this, "PaperWidth", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string PaperSource - { - get - { - return Factory.ExecuteStringPropertyGet(this, "PaperSource"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.PrintableRect PrintableRect - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "PrintableRect", NetOffice.PublisherApi.PrintableRect.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string PrinterName - { - get - { - return Factory.ExecuteStringPropertyGet(this, "PrinterName"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbPrintMode PrintMode - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "PrintMode"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "PrintMode", value); - } - } - - #endregion - - #region Methods - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/ReaderSpread.cs b/Source/Publisher/DispatchInterfaces/ReaderSpread.cs deleted file mode 100644 index d5258e9d05..0000000000 --- a/Source/Publisher/DispatchInterfaces/ReaderSpread.cs +++ /dev/null @@ -1,233 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface ReaderSpread - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class ReaderSpread : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(ReaderSpread); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public ReaderSpread(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public ReaderSpread(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ReaderSpread(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ReaderSpread(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ReaderSpread(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ReaderSpread(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ReaderSpread() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ReaderSpread(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Single Left - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "Left"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Single Top - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "Top"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - /// Int32 index - [SupportByVersion("Publisher", 14,15,16)] - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public NetOffice.PublisherApi.Page get_Pages(Int32 index) - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Pages", NetOffice.PublisherApi.Page.LateBindingApiWrapperType, index); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Alias for get_Pages - /// - /// Int32 index - [SupportByVersion("Publisher", 14,15,16), Redirect("get_Pages")] - public NetOffice.PublisherApi.Page Pages(Int32 index) - { - return get_Pages(index); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 PageCount - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "PageCount"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Single Width - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "Width"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Single Height - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "Height"); - } - } - - #endregion - - #region Methods - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/ReflectionFormat.cs b/Source/Publisher/DispatchInterfaces/ReflectionFormat.cs deleted file mode 100644 index 6cb7bf18f7..0000000000 --- a/Source/Publisher/DispatchInterfaces/ReflectionFormat.cs +++ /dev/null @@ -1,220 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface ReflectionFormat - /// SupportByVersion Publisher, 15,16 - /// - [SupportByVersion("Publisher", 15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class ReflectionFormat : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(ReflectionFormat); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public ReflectionFormat(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public ReflectionFormat(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ReflectionFormat(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ReflectionFormat(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ReflectionFormat(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ReflectionFormat(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ReflectionFormat() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ReflectionFormat(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 15,16)] - public NetOffice.OfficeApi.Enums.MsoReflectionType Type - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Type"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Type", value); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 15,16)] - public Single Transparency - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "Transparency"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Transparency", value); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 15,16)] - public Single Size - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "Size"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Size", value); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 15,16)] - public Single Offset - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "Offset"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Offset", value); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 15,16)] - public Single Blur - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "Blur"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Blur", value); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState Visible - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Visible"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Visible", value); - } - } - - #endregion - - #region Methods - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/Row.cs b/Source/Publisher/DispatchInterfaces/Row.cs deleted file mode 100644 index 17ce39af48..0000000000 --- a/Source/Publisher/DispatchInterfaces/Row.cs +++ /dev/null @@ -1,184 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface Row - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class Row : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(Row); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public Row(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public Row(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Row(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Row(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Row(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Row(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Row() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Row(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.CellRange Cells - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Cells", NetOffice.PublisherApi.CellRange.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object Height - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "Height"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "Height", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Delete() - { - Factory.ExecuteMethod(this, "Delete"); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/Rows.cs b/Source/Publisher/DispatchInterfaces/Rows.cs deleted file mode 100644 index b25effd3ba..0000000000 --- a/Source/Publisher/DispatchInterfaces/Rows.cs +++ /dev/null @@ -1,237 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; -using NetOffice.CollectionsGeneric; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface Rows - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface), Enumerator(Enumerator.Reference, EnumeratorInvoke.Property), HasIndexProperty(IndexInvoke.Method, "Item")] - public class Rows : COMObject, NetOffice.CollectionsGeneric.IEnumerableProvider - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(Rows); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public Rows(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public Rows(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Rows(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Rows(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Rows(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Rows(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Rows() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Rows(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Count - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Count"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 index - [SupportByVersion("Publisher", 14,15,16)] - [NetRuntimeSystem.Runtime.CompilerServices.IndexerName("Item"), IndexProperty] - public NetOffice.PublisherApi.Row this[Int32 index] - { - get - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Item", NetOffice.PublisherApi.Row.LateBindingApiWrapperType, index); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional Int32 BeforeRow = -1 - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Row Add(object beforeRow) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Add", NetOffice.PublisherApi.Row.LateBindingApiWrapperType, beforeRow); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Row Add() - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Add", NetOffice.PublisherApi.Row.LateBindingApiWrapperType); - } - - #endregion - - #region IEnumerableProvider - - ICOMObject IEnumerableProvider.GetComObjectEnumerator(ICOMObject parent) - { - return NetOffice.Utils.GetComObjectEnumeratorAsProperty(parent, this, false); - } - - IEnumerable IEnumerableProvider.FetchVariantComObjectEnumerator(ICOMObject parent, ICOMObject enumerator) - { - return NetOffice.Utils.FetchVariantComObjectEnumerator(parent, enumerator, false); - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public IEnumerator GetEnumerator() - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (NetOffice.PublisherApi.Row item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - IEnumerator NetRuntimeSystem.Collections.IEnumerable.GetEnumerator() - { - return NetOffice.Utils.GetProxyEnumeratorAsProperty(this, false); - } - - #endregion - - #pragma warning restore - } -} \ No newline at end of file diff --git a/Source/Publisher/DispatchInterfaces/RulerGuide.cs b/Source/Publisher/DispatchInterfaces/RulerGuide.cs deleted file mode 100644 index a70442c58f..0000000000 --- a/Source/Publisher/DispatchInterfaces/RulerGuide.cs +++ /dev/null @@ -1,188 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface RulerGuide - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class RulerGuide : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(RulerGuide); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public RulerGuide(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public RulerGuide(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public RulerGuide(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public RulerGuide(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public RulerGuide(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public RulerGuide(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public RulerGuide() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public RulerGuide(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbRulerGuideType Type - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Type"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Type", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object Position - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "Position"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "Position", value); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Delete() - { - Factory.ExecuteMethod(this, "Delete"); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/RulerGuides.cs b/Source/Publisher/DispatchInterfaces/RulerGuides.cs deleted file mode 100644 index 1aac604037..0000000000 --- a/Source/Publisher/DispatchInterfaces/RulerGuides.cs +++ /dev/null @@ -1,229 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; -using NetOffice.CollectionsGeneric; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface RulerGuides - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface), Enumerator(Enumerator.Reference, EnumeratorInvoke.Property), HasIndexProperty(IndexInvoke.Property, "Item")] - public class RulerGuides : COMObject, NetOffice.CollectionsGeneric.IEnumerableProvider - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(RulerGuides); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public RulerGuides(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public RulerGuides(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public RulerGuides(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public RulerGuides(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public RulerGuides(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public RulerGuides(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public RulerGuides() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public RulerGuides(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - /// Int32 item - [SupportByVersion("Publisher", 14,15,16)] - [NetRuntimeSystem.Runtime.CompilerServices.IndexerName("Item"), IndexProperty] - public NetOffice.PublisherApi.RulerGuide this[Int32 item] - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Item", NetOffice.PublisherApi.RulerGuide.LateBindingApiWrapperType, item); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Count - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Count"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// object position - /// NetOffice.PublisherApi.Enums.PbRulerGuideType type - [SupportByVersion("Publisher", 14,15,16)] - public void Add(object position, NetOffice.PublisherApi.Enums.PbRulerGuideType type) - { - Factory.ExecuteMethod(this, "Add", position, type); - } - - #endregion - - #region IEnumerableProvider - - ICOMObject IEnumerableProvider.GetComObjectEnumerator(ICOMObject parent) - { - return NetOffice.Utils.GetComObjectEnumeratorAsProperty(parent, this, false); - } - - IEnumerable IEnumerableProvider.FetchVariantComObjectEnumerator(ICOMObject parent, ICOMObject enumerator) - { - return NetOffice.Utils.FetchVariantComObjectEnumerator(parent, enumerator, false); - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public IEnumerator GetEnumerator() - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (NetOffice.PublisherApi.RulerGuide item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - IEnumerator NetRuntimeSystem.Collections.IEnumerable.GetEnumerator() - { - return NetOffice.Utils.GetProxyEnumeratorAsProperty(this, false); - } - - #endregion - - #pragma warning restore - } -} \ No newline at end of file diff --git a/Source/Publisher/DispatchInterfaces/ScratchArea.cs b/Source/Publisher/DispatchInterfaces/ScratchArea.cs deleted file mode 100644 index 8276a1638b..0000000000 --- a/Source/Publisher/DispatchInterfaces/ScratchArea.cs +++ /dev/null @@ -1,158 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface ScratchArea - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class ScratchArea : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(ScratchArea); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public ScratchArea(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public ScratchArea(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ScratchArea(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ScratchArea(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ScratchArea(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ScratchArea(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ScratchArea() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ScratchArea(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shapes Shapes - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Shapes", NetOffice.PublisherApi.Shapes.LateBindingApiWrapperType); - } - } - - #endregion - - #region Methods - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/Section.cs b/Source/Publisher/DispatchInterfaces/Section.cs deleted file mode 100644 index 673a7a0604..0000000000 --- a/Source/Publisher/DispatchInterfaces/Section.cs +++ /dev/null @@ -1,235 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface Section - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class Section : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(Section); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public Section(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public Section(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Section(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Section(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Section(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Section(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Section() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Section(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 StartPageIndex - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "StartPageIndex"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 PageNumberStart - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "PageNumberStart"); - } - set - { - Factory.ExecuteValuePropertySet(this, "PageNumberStart", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbPageNumberFormat PageNumberFormat - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "PageNumberFormat"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "PageNumberFormat", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool ShowHeaderFooterOnFirstPage - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "ShowHeaderFooterOnFirstPage"); - } - set - { - Factory.ExecuteValuePropertySet(this, "ShowHeaderFooterOnFirstPage", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool ContinueNumbersFromPreviousSection - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "ContinueNumbersFromPreviousSection"); - } - set - { - Factory.ExecuteValuePropertySet(this, "ContinueNumbersFromPreviousSection", value); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Delete() - { - Factory.ExecuteMethod(this, "Delete"); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/Sections.cs b/Source/Publisher/DispatchInterfaces/Sections.cs deleted file mode 100644 index 528866e84b..0000000000 --- a/Source/Publisher/DispatchInterfaces/Sections.cs +++ /dev/null @@ -1,228 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; -using NetOffice.CollectionsGeneric; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface Sections - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface), Enumerator(Enumerator.Reference, EnumeratorInvoke.Property), HasIndexProperty(IndexInvoke.Property, "Item")] - public class Sections : COMObject, NetOffice.CollectionsGeneric.IEnumerableProvider - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(Sections); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public Sections(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public Sections(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Sections(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Sections(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Sections(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Sections(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Sections() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Sections(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Count - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Count"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - /// Int32 index - [SupportByVersion("Publisher", 14,15,16)] - [NetRuntimeSystem.Runtime.CompilerServices.IndexerName("Item"), IndexProperty] - public NetOffice.PublisherApi.Section this[Int32 index] - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Item", NetOffice.PublisherApi.Section.LateBindingApiWrapperType, index); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 startPageIndex - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Section Add(Int32 startPageIndex) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Add", NetOffice.PublisherApi.Section.LateBindingApiWrapperType, startPageIndex); - } - - #endregion - - #region IEnumerableProvider - - ICOMObject IEnumerableProvider.GetComObjectEnumerator(ICOMObject parent) - { - return NetOffice.Utils.GetComObjectEnumeratorAsProperty(parent, this, false); - } - - IEnumerable IEnumerableProvider.FetchVariantComObjectEnumerator(ICOMObject parent, ICOMObject enumerator) - { - return NetOffice.Utils.FetchVariantComObjectEnumerator(parent, enumerator, false); - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public IEnumerator GetEnumerator() - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (NetOffice.PublisherApi.Section item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - IEnumerator NetRuntimeSystem.Collections.IEnumerable.GetEnumerator() - { - return NetOffice.Utils.GetProxyEnumeratorAsProperty(this, false); - } - - #endregion - - #pragma warning restore - } -} \ No newline at end of file diff --git a/Source/Publisher/DispatchInterfaces/Selection.cs b/Source/Publisher/DispatchInterfaces/Selection.cs deleted file mode 100644 index 3d7b35f6c3..0000000000 --- a/Source/Publisher/DispatchInterfaces/Selection.cs +++ /dev/null @@ -1,219 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface Selection - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class Selection : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(Selection); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public Selection(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public Selection(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Selection(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Selection(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Selection(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Selection(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Selection() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Selection(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbSelectionType Type - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Type"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ShapeRange ShapeRange - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "ShapeRange", NetOffice.PublisherApi.ShapeRange.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ShapeRange ChildShapeRange - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "ChildShapeRange", NetOffice.PublisherApi.ShapeRange.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.TextRange TextRange - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "TextRange", NetOffice.PublisherApi.TextRange.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.CellRange TableCellRange - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "TableCellRange", NetOffice.PublisherApi.CellRange.LateBindingApiWrapperType); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Unselect() - { - Factory.ExecuteMethod(this, "Unselect"); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/ShadowFormat.cs b/Source/Publisher/DispatchInterfaces/ShadowFormat.cs deleted file mode 100644 index 7b23b71e69..0000000000 --- a/Source/Publisher/DispatchInterfaces/ShadowFormat.cs +++ /dev/null @@ -1,336 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface ShadowFormat - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class ShadowFormat : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(ShadowFormat); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public ShadowFormat(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public ShadowFormat(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ShadowFormat(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ShadowFormat(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ShadowFormat(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ShadowFormat(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ShadowFormat() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ShadowFormat(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ColorFormat ForeColor - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "ForeColor", NetOffice.PublisherApi.ColorFormat.LateBindingApiWrapperType); - } - set - { - Factory.ExecuteReferencePropertySet(this, "ForeColor", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState Obscured - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Obscured"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Obscured", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object OffsetX - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "OffsetX"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "OffsetX", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object OffsetY - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "OffsetY"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "OffsetY", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Single Transparency - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "Transparency"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Transparency", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoShadowType Type - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Type"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Type", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState Visible - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Visible"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Visible", value); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 15,16)] - public Single Blur - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "Blur"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Blur", value); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 15,16)] - public Single Size - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "Size"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Size", value); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState RotateWithShape - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "RotateWithShape"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "RotateWithShape", value); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// object increment - [SupportByVersion("Publisher", 14,15,16)] - public void IncrementOffsetX(object increment) - { - Factory.ExecuteMethod(this, "IncrementOffsetX", increment); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// object increment - [SupportByVersion("Publisher", 14,15,16)] - public void IncrementOffsetY(object increment) - { - Factory.ExecuteMethod(this, "IncrementOffsetY", increment); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/Shape.cs b/Source/Publisher/DispatchInterfaces/Shape.cs deleted file mode 100644 index ba51ebad95..0000000000 --- a/Source/Publisher/DispatchInterfaces/Shape.cs +++ /dev/null @@ -1,1326 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface Shape - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class Shape : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(Shape); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public Shape(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public Shape(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Shape(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Shape(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Shape(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Shape(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Shape() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Shape(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Adjustments Adjustments - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Adjustments", NetOffice.PublisherApi.Adjustments.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoAutoShapeType AutoShapeType - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "AutoShapeType"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "AutoShapeType", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.CalloutFormat Callout - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Callout", NetOffice.PublisherApi.CalloutFormat.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 ConnectionSiteCount - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "ConnectionSiteCount"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState Connector - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Connector"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ConnectorFormat ConnectorFormat - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "ConnectorFormat", NetOffice.PublisherApi.ConnectorFormat.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.FillFormat Fill - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Fill", NetOffice.PublisherApi.FillFormat.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.GroupShapes GroupItems - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "GroupItems", NetOffice.PublisherApi.GroupShapes.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object Height - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "Height"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "Height", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState HorizontalFlip - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "HorizontalFlip"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object Left - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "Left"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "Left", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.LineFormat Line - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Line", NetOffice.PublisherApi.LineFormat.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState LockAspectRatio - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "LockAspectRatio"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "LockAspectRatio", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Name - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Name"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Name", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ShapeNodes Nodes - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Nodes", NetOffice.PublisherApi.ShapeNodes.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Single Rotation - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "Rotation"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Rotation", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.PictureFormat PictureFormat - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "PictureFormat", NetOffice.PublisherApi.PictureFormat.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ShadowFormat Shadow - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Shadow", NetOffice.PublisherApi.ShadowFormat.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.TextEffectFormat TextEffect - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "TextEffect", NetOffice.PublisherApi.TextEffectFormat.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.TextFrame TextFrame - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "TextFrame", NetOffice.PublisherApi.TextFrame.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ThreeDFormat ThreeD - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "ThreeD", NetOffice.PublisherApi.ThreeDFormat.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object Top - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "Top"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "Top", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbShapeType Type - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Type"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState VerticalFlip - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "VerticalFlip"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public object Vertices - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "Vertices"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object Width - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "Width"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "Width", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 ZOrderPosition - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "ZOrderPosition"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string AlternativeText - { - get - { - return Factory.ExecuteStringPropertyGet(this, "AlternativeText"); - } - set - { - Factory.ExecuteValuePropertySet(this, "AlternativeText", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState HasTable - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "HasTable"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState HasTextFrame - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "HasTextFrame"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Hyperlink Hyperlink - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Hyperlink", NetOffice.PublisherApi.Hyperlink.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbWizardTag WizardTag - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "WizardTag"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "WizardTag", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 ID - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "ID"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.LinkFormat LinkFormat - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "LinkFormat", NetOffice.PublisherApi.LinkFormat.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.OLEFormat OLEFormat - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "OLEFormat", NetOffice.PublisherApi.OLEFormat.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Table Table - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Table", NetOffice.PublisherApi.Table.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Tags Tags - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Tags", NetOffice.PublisherApi.Tags.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoBlackWhiteMode BlackWhiteMode - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "BlackWhiteMode"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "BlackWhiteMode", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool IsGroupMember - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "IsGroupMember"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape ParentGroupShape - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "ParentGroupShape", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 WizardTagInstance - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "WizardTagInstance"); - } - set - { - Factory.ExecuteValuePropertySet(this, "WizardTagInstance", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.WebCommandButton WebCommandButton - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "WebCommandButton", NetOffice.PublisherApi.WebCommandButton.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.WebListBox WebListBox - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "WebListBox", NetOffice.PublisherApi.WebListBox.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.WebTextBox WebTextBox - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "WebTextBox", NetOffice.PublisherApi.WebTextBox.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.WebOptionButton WebOptionButton - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "WebOptionButton", NetOffice.PublisherApi.WebOptionButton.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.WebCheckBox WebCheckBox - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "WebCheckBox", NetOffice.PublisherApi.WebCheckBox.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Wizard Wizard - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Wizard", NetOffice.PublisherApi.Wizard.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.WrapFormat TextWrap - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "TextWrap", NetOffice.PublisherApi.WrapFormat.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.WebComponentFormat WebComponentFormat - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "WebComponentFormat", NetOffice.OfficeApi.WebComponentFormat.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.BorderArtFormat BorderArt - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "BorderArt", NetOffice.PublisherApi.BorderArtFormat.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string WebNavigationBarSetName - { - get - { - return Factory.ExecuteStringPropertyGet(this, "WebNavigationBarSetName"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.CatalogMergeShapes CatalogMergeItems - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "CatalogMergeItems", NetOffice.PublisherApi.CatalogMergeShapes.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState IsInline - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "IsInline"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.TextRange InlineTextRange - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "InlineTextRange", NetOffice.PublisherApi.TextRange.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbInlineAlignment InlineAlignment - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "InlineAlignment"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "InlineAlignment", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState IsExcess - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "IsExcess"); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 15,16)] - public NetOffice.PublisherApi.SoftEdgeFormat SoftEdge - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "SoftEdge", NetOffice.PublisherApi.SoftEdgeFormat.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 15,16)] - public NetOffice.PublisherApi.GlowFormat Glow - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Glow", NetOffice.PublisherApi.GlowFormat.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 15,16)] - public NetOffice.PublisherApi.ReflectionFormat Reflection - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Reflection", NetOffice.PublisherApi.ReflectionFormat.LateBindingApiWrapperType); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Apply() - { - Factory.ExecuteMethod(this, "Apply"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Cut() - { - Factory.ExecuteMethod(this, "Cut"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Copy() - { - Factory.ExecuteMethod(this, "Copy"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Delete() - { - Factory.ExecuteMethod(this, "Delete"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape Duplicate() - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Duplicate", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.OfficeApi.Enums.MsoFlipCmd flipCmd - [SupportByVersion("Publisher", 14,15,16)] - public void Flip(NetOffice.OfficeApi.Enums.MsoFlipCmd flipCmd) - { - Factory.ExecuteMethod(this, "Flip", flipCmd); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbUnitType unit - [SupportByVersion("Publisher", 14,15,16)] - public Single GetLeft(NetOffice.PublisherApi.Enums.PbUnitType unit) - { - return Factory.ExecuteSingleMethodGet(this, "GetLeft", unit); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbUnitType unit - [SupportByVersion("Publisher", 14,15,16)] - public Single GetTop(NetOffice.PublisherApi.Enums.PbUnitType unit) - { - return Factory.ExecuteSingleMethodGet(this, "GetTop", unit); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbUnitType unit - [SupportByVersion("Publisher", 14,15,16)] - public Single GetHeight(NetOffice.PublisherApi.Enums.PbUnitType unit) - { - return Factory.ExecuteSingleMethodGet(this, "GetHeight", unit); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbUnitType unit - [SupportByVersion("Publisher", 14,15,16)] - public Single GetWidth(NetOffice.PublisherApi.Enums.PbUnitType unit) - { - return Factory.ExecuteSingleMethodGet(this, "GetWidth", unit); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// object increment - [SupportByVersion("Publisher", 14,15,16)] - public void IncrementLeft(object increment) - { - Factory.ExecuteMethod(this, "IncrementLeft", increment); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single increment - [SupportByVersion("Publisher", 14,15,16)] - public void IncrementRotation(Single increment) - { - Factory.ExecuteMethod(this, "IncrementRotation", increment); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// object increment - [SupportByVersion("Publisher", 14,15,16)] - public void IncrementTop(object increment) - { - Factory.ExecuteMethod(this, "IncrementTop", increment); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void PickUp() - { - Factory.ExecuteMethod(this, "PickUp"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void RerouteConnections() - { - Factory.ExecuteMethod(this, "RerouteConnections"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single factor - /// NetOffice.OfficeApi.Enums.MsoTriState relativeToOriginalSize - /// optional NetOffice.OfficeApi.Enums.MsoScaleFrom fScale - [SupportByVersion("Publisher", 14,15,16)] - public void ScaleHeight(Single factor, NetOffice.OfficeApi.Enums.MsoTriState relativeToOriginalSize, object fScale) - { - Factory.ExecuteMethod(this, "ScaleHeight", factor, relativeToOriginalSize, fScale); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single factor - /// NetOffice.OfficeApi.Enums.MsoTriState relativeToOriginalSize - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ScaleHeight(Single factor, NetOffice.OfficeApi.Enums.MsoTriState relativeToOriginalSize) - { - Factory.ExecuteMethod(this, "ScaleHeight", factor, relativeToOriginalSize); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single factor - /// NetOffice.OfficeApi.Enums.MsoTriState relativeToOriginalSize - /// optional NetOffice.OfficeApi.Enums.MsoScaleFrom fScale - [SupportByVersion("Publisher", 14,15,16)] - public void ScaleWidth(Single factor, NetOffice.OfficeApi.Enums.MsoTriState relativeToOriginalSize, object fScale) - { - Factory.ExecuteMethod(this, "ScaleWidth", factor, relativeToOriginalSize, fScale); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single factor - /// NetOffice.OfficeApi.Enums.MsoTriState relativeToOriginalSize - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ScaleWidth(Single factor, NetOffice.OfficeApi.Enums.MsoTriState relativeToOriginalSize) - { - Factory.ExecuteMethod(this, "ScaleWidth", factor, relativeToOriginalSize); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional object replace - [SupportByVersion("Publisher", 14,15,16)] - public void Select(object replace) - { - Factory.ExecuteMethod(this, "Select", replace); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void Select() - { - Factory.ExecuteMethod(this, "Select"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void SetShapesDefaultProperties() - { - Factory.ExecuteMethod(this, "SetShapesDefaultProperties"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ShapeRange Ungroup() - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Ungroup", NetOffice.PublisherApi.ShapeRange.LateBindingApiWrapperType); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.OfficeApi.Enums.MsoZOrderCmd zOrderCmd - [SupportByVersion("Publisher", 14,15,16)] - public void ZOrder(NetOffice.OfficeApi.Enums.MsoZOrderCmd zOrderCmd) - { - Factory.ExecuteMethod(this, "ZOrder", zOrderCmd); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void AddToCatalogMergeArea() - { - Factory.ExecuteMethod(this, "AddToCatalogMergeArea"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void RemoveFromCatalogMergeArea() - { - Factory.ExecuteMethod(this, "RemoveFromCatalogMergeArea"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void RemoveCatalogMergeArea() - { - Factory.ExecuteMethod(this, "RemoveCatalogMergeArea"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.TextRange range - [SupportByVersion("Publisher", 14,15,16)] - public void MoveIntoTextFlow(NetOffice.PublisherApi.TextRange range) - { - Factory.ExecuteMethod(this, "MoveIntoTextFlow", range); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void MoveOutOfTextFlow() - { - Factory.ExecuteMethod(this, "MoveOutOfTextFlow"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string filename - /// optional NetOffice.PublisherApi.Enums.PbPictureResolution pbResolution = 0 - [SupportByVersion("Publisher", 14,15,16)] - public void SaveAsPicture(string filename, object pbResolution) - { - Factory.ExecuteMethod(this, "SaveAsPicture", filename, pbResolution); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string filename - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void SaveAsPicture(string filename) - { - Factory.ExecuteMethod(this, "SaveAsPicture", filename); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 page - /// optional object left - /// optional object top - [SupportByVersion("Publisher", 14,15,16)] - public void MoveToPage(Int32 page, object left, object top) - { - Factory.ExecuteMethod(this, "MoveToPage", page, left, top); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 page - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void MoveToPage(Int32 page) - { - Factory.ExecuteMethod(this, "MoveToPage", page); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 page - /// optional object left - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void MoveToPage(Int32 page, object left) - { - Factory.ExecuteMethod(this, "MoveToPage", page, left); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.CaptionStyle style - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape SetCaption(NetOffice.PublisherApi.CaptionStyle style) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "SetCaption", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType, style); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string name - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.BuildingBlock SaveAsBuildingBlock(string name) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "SaveAsBuildingBlock", NetOffice.PublisherApi.BuildingBlock.LateBindingApiWrapperType, name); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/ShapeNode.cs b/Source/Publisher/DispatchInterfaces/ShapeNode.cs deleted file mode 100644 index 4408ea3063..0000000000 --- a/Source/Publisher/DispatchInterfaces/ShapeNode.cs +++ /dev/null @@ -1,184 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface ShapeNode - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class ShapeNode : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(ShapeNode); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public ShapeNode(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public ShapeNode(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ShapeNode(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ShapeNode(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ShapeNode(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ShapeNode(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ShapeNode() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ShapeNode(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoEditingType EditingType - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "EditingType"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public object Points - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "Points"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoSegmentType SegmentType - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "SegmentType"); - } - } - - #endregion - - #region Methods - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/ShapeNodes.cs b/Source/Publisher/DispatchInterfaces/ShapeNodes.cs deleted file mode 100644 index e87f86e060..0000000000 --- a/Source/Publisher/DispatchInterfaces/ShapeNodes.cs +++ /dev/null @@ -1,345 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; -using NetOffice.CollectionsGeneric; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface ShapeNodes - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface), Enumerator(Enumerator.Reference, EnumeratorInvoke.Property), HasIndexProperty(IndexInvoke.Method, "Item")] - public class ShapeNodes : COMObject, NetOffice.CollectionsGeneric.IEnumerableProvider - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(ShapeNodes); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public ShapeNodes(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public ShapeNodes(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ShapeNodes(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ShapeNodes(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ShapeNodes(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ShapeNodes(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ShapeNodes() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ShapeNodes(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Count - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Count"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// object index - [SupportByVersion("Publisher", 14,15,16)] - [NetRuntimeSystem.Runtime.CompilerServices.IndexerName("Item"), IndexProperty] - public NetOffice.PublisherApi.ShapeNode this[object index] - { - get - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Item", NetOffice.PublisherApi.ShapeNode.LateBindingApiWrapperType, index); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 index - [SupportByVersion("Publisher", 14,15,16)] - public void Delete(Int32 index) - { - Factory.ExecuteMethod(this, "Delete", index); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 index - /// NetOffice.OfficeApi.Enums.MsoSegmentType segmentType - /// NetOffice.OfficeApi.Enums.MsoEditingType editingType - /// object x1 - /// object y1 - /// optional object x2 - /// optional object y2 - /// optional object x3 - /// optional object y3 - [SupportByVersion("Publisher", 14,15,16)] - public void Insert(Int32 index, NetOffice.OfficeApi.Enums.MsoSegmentType segmentType, NetOffice.OfficeApi.Enums.MsoEditingType editingType, object x1, object y1, object x2, object y2, object x3, object y3) - { - Factory.ExecuteMethod(this, "Insert", new object[]{ index, segmentType, editingType, x1, y1, x2, y2, x3, y3 }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 index - /// NetOffice.OfficeApi.Enums.MsoSegmentType segmentType - /// NetOffice.OfficeApi.Enums.MsoEditingType editingType - /// object x1 - /// object y1 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void Insert(Int32 index, NetOffice.OfficeApi.Enums.MsoSegmentType segmentType, NetOffice.OfficeApi.Enums.MsoEditingType editingType, object x1, object y1) - { - Factory.ExecuteMethod(this, "Insert", new object[]{ index, segmentType, editingType, x1, y1 }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 index - /// NetOffice.OfficeApi.Enums.MsoSegmentType segmentType - /// NetOffice.OfficeApi.Enums.MsoEditingType editingType - /// object x1 - /// object y1 - /// optional object x2 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void Insert(Int32 index, NetOffice.OfficeApi.Enums.MsoSegmentType segmentType, NetOffice.OfficeApi.Enums.MsoEditingType editingType, object x1, object y1, object x2) - { - Factory.ExecuteMethod(this, "Insert", new object[]{ index, segmentType, editingType, x1, y1, x2 }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 index - /// NetOffice.OfficeApi.Enums.MsoSegmentType segmentType - /// NetOffice.OfficeApi.Enums.MsoEditingType editingType - /// object x1 - /// object y1 - /// optional object x2 - /// optional object y2 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void Insert(Int32 index, NetOffice.OfficeApi.Enums.MsoSegmentType segmentType, NetOffice.OfficeApi.Enums.MsoEditingType editingType, object x1, object y1, object x2, object y2) - { - Factory.ExecuteMethod(this, "Insert", new object[]{ index, segmentType, editingType, x1, y1, x2, y2 }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 index - /// NetOffice.OfficeApi.Enums.MsoSegmentType segmentType - /// NetOffice.OfficeApi.Enums.MsoEditingType editingType - /// object x1 - /// object y1 - /// optional object x2 - /// optional object y2 - /// optional object x3 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void Insert(Int32 index, NetOffice.OfficeApi.Enums.MsoSegmentType segmentType, NetOffice.OfficeApi.Enums.MsoEditingType editingType, object x1, object y1, object x2, object y2, object x3) - { - Factory.ExecuteMethod(this, "Insert", new object[]{ index, segmentType, editingType, x1, y1, x2, y2, x3 }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 index - /// NetOffice.OfficeApi.Enums.MsoEditingType editingType - [SupportByVersion("Publisher", 14,15,16)] - public void SetEditingType(Int32 index, NetOffice.OfficeApi.Enums.MsoEditingType editingType) - { - Factory.ExecuteMethod(this, "SetEditingType", index, editingType); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 index - /// object x1 - /// object y1 - [SupportByVersion("Publisher", 14,15,16)] - public void SetPosition(Int32 index, object x1, object y1) - { - Factory.ExecuteMethod(this, "SetPosition", index, x1, y1); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 index - /// NetOffice.OfficeApi.Enums.MsoSegmentType segmentType - [SupportByVersion("Publisher", 14,15,16)] - public void SetSegmentType(Int32 index, NetOffice.OfficeApi.Enums.MsoSegmentType segmentType) - { - Factory.ExecuteMethod(this, "SetSegmentType", index, segmentType); - } - - #endregion - - #region IEnumerableProvider - - ICOMObject IEnumerableProvider.GetComObjectEnumerator(ICOMObject parent) - { - return NetOffice.Utils.GetComObjectEnumeratorAsProperty(parent, this, false); - } - - IEnumerable IEnumerableProvider.FetchVariantComObjectEnumerator(ICOMObject parent, ICOMObject enumerator) - { - return NetOffice.Utils.FetchVariantComObjectEnumerator(parent, enumerator, false); - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public IEnumerator GetEnumerator() - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (NetOffice.PublisherApi.ShapeNode item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - IEnumerator NetRuntimeSystem.Collections.IEnumerable.GetEnumerator() - { - return NetOffice.Utils.GetProxyEnumeratorAsProperty(this, false); - } - - #endregion - - #pragma warning restore - } -} \ No newline at end of file diff --git a/Source/Publisher/DispatchInterfaces/ShapeRange.cs b/Source/Publisher/DispatchInterfaces/ShapeRange.cs deleted file mode 100644 index 7435b66391..0000000000 --- a/Source/Publisher/DispatchInterfaces/ShapeRange.cs +++ /dev/null @@ -1,1212 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; -using NetOffice.CollectionsGeneric; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface ShapeRange - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface), Enumerator(Enumerator.Reference, EnumeratorInvoke.Property), HasIndexProperty(IndexInvoke.Method, "Item")] - public class ShapeRange : COMObject, NetOffice.CollectionsGeneric.IEnumerableProvider - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(ShapeRange); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public ShapeRange(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public ShapeRange(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ShapeRange(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ShapeRange(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ShapeRange(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ShapeRange(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ShapeRange() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ShapeRange(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Count - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Count"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Adjustments Adjustments - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Adjustments", NetOffice.PublisherApi.Adjustments.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoAutoShapeType AutoShapeType - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "AutoShapeType"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "AutoShapeType", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.CalloutFormat Callout - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Callout", NetOffice.PublisherApi.CalloutFormat.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 ConnectionSiteCount - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "ConnectionSiteCount"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState Connector - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Connector"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ConnectorFormat ConnectorFormat - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "ConnectorFormat", NetOffice.PublisherApi.ConnectorFormat.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.FillFormat Fill - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Fill", NetOffice.PublisherApi.FillFormat.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.GroupShapes GroupItems - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "GroupItems", NetOffice.PublisherApi.GroupShapes.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public object Height - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "Height"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState HorizontalFlip - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "HorizontalFlip"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public object Left - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "Left"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.LineFormat Line - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Line", NetOffice.PublisherApi.LineFormat.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState LockAspectRatio - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "LockAspectRatio"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "LockAspectRatio", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Name - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Name"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Name", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ShapeNodes Nodes - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Nodes", NetOffice.PublisherApi.ShapeNodes.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Single Rotation - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "Rotation"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Rotation", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.PictureFormat PictureFormat - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "PictureFormat", NetOffice.PublisherApi.PictureFormat.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ShadowFormat Shadow - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Shadow", NetOffice.PublisherApi.ShadowFormat.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.TextEffectFormat TextEffect - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "TextEffect", NetOffice.PublisherApi.TextEffectFormat.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.TextFrame TextFrame - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "TextFrame", NetOffice.PublisherApi.TextFrame.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ThreeDFormat ThreeD - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "ThreeD", NetOffice.PublisherApi.ThreeDFormat.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public object Top - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "Top"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbShapeType Type - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Type"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState VerticalFlip - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "VerticalFlip"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public object Vertices - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "Vertices"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public object Width - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "Width"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 ZOrderPosition - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "ZOrderPosition"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string AlternativeText - { - get - { - return Factory.ExecuteStringPropertyGet(this, "AlternativeText"); - } - set - { - Factory.ExecuteValuePropertySet(this, "AlternativeText", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState HasTable - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "HasTable"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState HasTextFrame - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "HasTextFrame"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Hyperlink Hyperlink - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Hyperlink", NetOffice.PublisherApi.Hyperlink.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbWizardTag WizardTag - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "WizardTag"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "WizardTag", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 ID - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "ID"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.LinkFormat LinkFormat - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "LinkFormat", NetOffice.PublisherApi.LinkFormat.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.OLEFormat OLEFormat - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "OLEFormat", NetOffice.PublisherApi.OLEFormat.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Table Table - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Table", NetOffice.PublisherApi.Table.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Tags Tags - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Tags", NetOffice.PublisherApi.Tags.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoBlackWhiteMode BlackWhiteMode - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "BlackWhiteMode"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "BlackWhiteMode", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 WizardTagInstance - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "WizardTagInstance"); - } - set - { - Factory.ExecuteValuePropertySet(this, "WizardTagInstance", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.WrapFormat TextWrap - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "TextWrap", NetOffice.PublisherApi.WrapFormat.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Wizard Wizard - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Wizard", NetOffice.PublisherApi.Wizard.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState IsInline - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "IsInline"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbInlineAlignment InlineAlignment - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "InlineAlignment"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "InlineAlignment", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.TextRange InlineTextRange - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "InlineTextRange", NetOffice.PublisherApi.TextRange.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 15,16)] - public NetOffice.PublisherApi.SoftEdgeFormat SoftEdge - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "SoftEdge", NetOffice.PublisherApi.SoftEdgeFormat.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 15,16)] - public NetOffice.PublisherApi.GlowFormat Glow - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Glow", NetOffice.PublisherApi.GlowFormat.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 15,16)] - public NetOffice.PublisherApi.ReflectionFormat Reflection - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Reflection", NetOffice.PublisherApi.ReflectionFormat.LateBindingApiWrapperType); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// object index - [SupportByVersion("Publisher", 14,15,16)] - [NetRuntimeSystem.Runtime.CompilerServices.IndexerName("Item"), IndexProperty] - public NetOffice.PublisherApi.Shape this[object index] - { - get - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Item", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType, index); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Apply() - { - Factory.ExecuteMethod(this, "Apply"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Cut() - { - Factory.ExecuteMethod(this, "Cut"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Copy() - { - Factory.ExecuteMethod(this, "Copy"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Delete() - { - Factory.ExecuteMethod(this, "Delete"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ShapeRange Duplicate() - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Duplicate", NetOffice.PublisherApi.ShapeRange.LateBindingApiWrapperType); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.OfficeApi.Enums.MsoFlipCmd flipCmd - [SupportByVersion("Publisher", 14,15,16)] - public void Flip(NetOffice.OfficeApi.Enums.MsoFlipCmd flipCmd) - { - Factory.ExecuteMethod(this, "Flip", flipCmd); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbUnitType unit - [SupportByVersion("Publisher", 14,15,16)] - public Single GetLeft(NetOffice.PublisherApi.Enums.PbUnitType unit) - { - return Factory.ExecuteSingleMethodGet(this, "GetLeft", unit); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbUnitType unit - [SupportByVersion("Publisher", 14,15,16)] - public Single GetTop(NetOffice.PublisherApi.Enums.PbUnitType unit) - { - return Factory.ExecuteSingleMethodGet(this, "GetTop", unit); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbUnitType unit - [SupportByVersion("Publisher", 14,15,16)] - public Single GetHeight(NetOffice.PublisherApi.Enums.PbUnitType unit) - { - return Factory.ExecuteSingleMethodGet(this, "GetHeight", unit); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbUnitType unit - [SupportByVersion("Publisher", 14,15,16)] - public Single GetWidth(NetOffice.PublisherApi.Enums.PbUnitType unit) - { - return Factory.ExecuteSingleMethodGet(this, "GetWidth", unit); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// object increment - [SupportByVersion("Publisher", 14,15,16)] - public void IncrementLeft(object increment) - { - Factory.ExecuteMethod(this, "IncrementLeft", increment); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single increment - [SupportByVersion("Publisher", 14,15,16)] - public void IncrementRotation(Single increment) - { - Factory.ExecuteMethod(this, "IncrementRotation", increment); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// object increment - [SupportByVersion("Publisher", 14,15,16)] - public void IncrementTop(object increment) - { - Factory.ExecuteMethod(this, "IncrementTop", increment); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void PickUp() - { - Factory.ExecuteMethod(this, "PickUp"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void RerouteConnections() - { - Factory.ExecuteMethod(this, "RerouteConnections"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single factor - /// NetOffice.OfficeApi.Enums.MsoTriState relativeToOriginalSize - /// optional NetOffice.OfficeApi.Enums.MsoScaleFrom fScale - [SupportByVersion("Publisher", 14,15,16)] - public void ScaleHeight(Single factor, NetOffice.OfficeApi.Enums.MsoTriState relativeToOriginalSize, object fScale) - { - Factory.ExecuteMethod(this, "ScaleHeight", factor, relativeToOriginalSize, fScale); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single factor - /// NetOffice.OfficeApi.Enums.MsoTriState relativeToOriginalSize - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ScaleHeight(Single factor, NetOffice.OfficeApi.Enums.MsoTriState relativeToOriginalSize) - { - Factory.ExecuteMethod(this, "ScaleHeight", factor, relativeToOriginalSize); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single factor - /// NetOffice.OfficeApi.Enums.MsoTriState relativeToOriginalSize - /// optional NetOffice.OfficeApi.Enums.MsoScaleFrom fScale - [SupportByVersion("Publisher", 14,15,16)] - public void ScaleWidth(Single factor, NetOffice.OfficeApi.Enums.MsoTriState relativeToOriginalSize, object fScale) - { - Factory.ExecuteMethod(this, "ScaleWidth", factor, relativeToOriginalSize, fScale); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single factor - /// NetOffice.OfficeApi.Enums.MsoTriState relativeToOriginalSize - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ScaleWidth(Single factor, NetOffice.OfficeApi.Enums.MsoTriState relativeToOriginalSize) - { - Factory.ExecuteMethod(this, "ScaleWidth", factor, relativeToOriginalSize); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional object replace - [SupportByVersion("Publisher", 14,15,16)] - public void Select(object replace) - { - Factory.ExecuteMethod(this, "Select", replace); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void Select() - { - Factory.ExecuteMethod(this, "Select"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void SetShapesDefaultProperties() - { - Factory.ExecuteMethod(this, "SetShapesDefaultProperties"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ShapeRange Ungroup() - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Ungroup", NetOffice.PublisherApi.ShapeRange.LateBindingApiWrapperType); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.OfficeApi.Enums.MsoZOrderCmd zOrderCmd - [SupportByVersion("Publisher", 14,15,16)] - public void ZOrder(NetOffice.OfficeApi.Enums.MsoZOrderCmd zOrderCmd) - { - Factory.ExecuteMethod(this, "ZOrder", zOrderCmd); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.OfficeApi.Enums.MsoAlignCmd alignCmd - /// NetOffice.OfficeApi.Enums.MsoTriState relativeTo - [SupportByVersion("Publisher", 14,15,16)] - public void Align(NetOffice.OfficeApi.Enums.MsoAlignCmd alignCmd, NetOffice.OfficeApi.Enums.MsoTriState relativeTo) - { - Factory.ExecuteMethod(this, "Align", alignCmd, relativeTo); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.OfficeApi.Enums.MsoDistributeCmd distributeCmd - /// NetOffice.OfficeApi.Enums.MsoTriState relativeTo - [SupportByVersion("Publisher", 14,15,16)] - public void Distribute(NetOffice.OfficeApi.Enums.MsoDistributeCmd distributeCmd, NetOffice.OfficeApi.Enums.MsoTriState relativeTo) - { - Factory.ExecuteMethod(this, "Distribute", distributeCmd, relativeTo); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape Group() - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Group", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape Regroup() - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Regroup", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.TextRange range - [SupportByVersion("Publisher", 14,15,16)] - public void MoveIntoTextFlow(NetOffice.PublisherApi.TextRange range) - { - Factory.ExecuteMethod(this, "MoveIntoTextFlow", range); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void MoveOutOfTextFlow() - { - Factory.ExecuteMethod(this, "MoveOutOfTextFlow"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void AddToCatalogMergeArea() - { - Factory.ExecuteMethod(this, "AddToCatalogMergeArea"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void RemoveFromCatalogMergeArea() - { - Factory.ExecuteMethod(this, "RemoveFromCatalogMergeArea"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string filename - /// optional NetOffice.PublisherApi.Enums.PbPictureResolution pbResolution = 0 - [SupportByVersion("Publisher", 14,15,16)] - public void SaveAsPicture(string filename, object pbResolution) - { - Factory.ExecuteMethod(this, "SaveAsPicture", filename, pbResolution); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string filename - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void SaveAsPicture(string filename) - { - Factory.ExecuteMethod(this, "SaveAsPicture", filename); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string name - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.BuildingBlock SaveAsBuildingBlock(string name) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "SaveAsBuildingBlock", NetOffice.PublisherApi.BuildingBlock.LateBindingApiWrapperType, name); - } - - #endregion - - #region IEnumerableProvider - - ICOMObject IEnumerableProvider.GetComObjectEnumerator(ICOMObject parent) - { - return NetOffice.Utils.GetComObjectEnumeratorAsProperty(parent, this, false); - } - - IEnumerable IEnumerableProvider.FetchVariantComObjectEnumerator(ICOMObject parent, ICOMObject enumerator) - { - return NetOffice.Utils.FetchVariantComObjectEnumerator(parent, enumerator, false); - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public IEnumerator GetEnumerator() - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (NetOffice.PublisherApi.Shape item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - IEnumerator NetRuntimeSystem.Collections.IEnumerable.GetEnumerator() - { - return NetOffice.Utils.GetProxyEnumeratorAsProperty(this, false); - } - - #endregion - - #pragma warning restore - } -} \ No newline at end of file diff --git a/Source/Publisher/DispatchInterfaces/Shapes.cs b/Source/Publisher/DispatchInterfaces/Shapes.cs deleted file mode 100644 index b8d297abec..0000000000 --- a/Source/Publisher/DispatchInterfaces/Shapes.cs +++ /dev/null @@ -1,823 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; -using NetOffice.CollectionsGeneric; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface Shapes - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface), Enumerator(Enumerator.Reference, EnumeratorInvoke.Property), HasIndexProperty(IndexInvoke.Method, "Item")] - public class Shapes : COMObject, NetOffice.CollectionsGeneric.IEnumerableProvider - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(Shapes); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public Shapes(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public Shapes(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Shapes(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Shapes(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Shapes(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Shapes(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Shapes() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Shapes(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Count - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Count"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.pbCanvasArrangementType CanvasArrangementType - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "CanvasArrangementType"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "CanvasArrangementType", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 CanvasesCount - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "CanvasesCount"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// object index - [SupportByVersion("Publisher", 14,15,16)] - [NetRuntimeSystem.Runtime.CompilerServices.IndexerName("Item"), IndexProperty] - public NetOffice.PublisherApi.Shape this[object index] - { - get - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Item", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType, index); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.OfficeApi.Enums.MsoCalloutType type - /// object left - /// object top - /// object width - /// object height - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape AddCallout(NetOffice.OfficeApi.Enums.MsoCalloutType type, object left, object top, object width, object height) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddCallout", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType, new object[]{ type, left, top, width, height }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.OfficeApi.Enums.MsoConnectorType type - /// object beginX - /// object beginY - /// object endX - /// object endY - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape AddConnector(NetOffice.OfficeApi.Enums.MsoConnectorType type, object beginX, object beginY, object endX, object endY) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddConnector", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType, new object[]{ type, beginX, beginY, endX, endY }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// object safeArrayOfPoints - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape AddCurve(object safeArrayOfPoints) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddCurve", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType, safeArrayOfPoints); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbTextOrientation orientation - /// object left - /// object top - /// object width - /// object height - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape AddLabel(NetOffice.PublisherApi.Enums.PbTextOrientation orientation, object left, object top, object width, object height) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddLabel", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType, new object[]{ orientation, left, top, width, height }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// object beginX - /// object beginY - /// object endX - /// object endY - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape AddLine(object beginX, object beginY, object endX, object endY) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddLine", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType, beginX, beginY, endX, endY); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// object left - /// object top - /// optional object Width = -1 - /// optional object Height = -1 - /// optional string ClassName = - /// optional string Filename = - /// optional NetOffice.OfficeApi.Enums.MsoTriState Link = -1 - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape AddOLEObject(object left, object top, object width, object height, object className, object filename, object link) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddOLEObject", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType, new object[]{ left, top, width, height, className, filename, link }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// object left - /// object top - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape AddOLEObject(object left, object top) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddOLEObject", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType, left, top); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// object left - /// object top - /// optional object Width = -1 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape AddOLEObject(object left, object top, object width) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddOLEObject", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType, left, top, width); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// object left - /// object top - /// optional object Width = -1 - /// optional object Height = -1 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape AddOLEObject(object left, object top, object width, object height) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddOLEObject", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType, left, top, width, height); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// object left - /// object top - /// optional object Width = -1 - /// optional object Height = -1 - /// optional string ClassName = - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape AddOLEObject(object left, object top, object width, object height, object className) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddOLEObject", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType, new object[]{ left, top, width, height, className }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// object left - /// object top - /// optional object Width = -1 - /// optional object Height = -1 - /// optional string ClassName = - /// optional string Filename = - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape AddOLEObject(object left, object top, object width, object height, object className, object filename) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddOLEObject", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType, new object[]{ left, top, width, height, className, filename }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string filename - /// NetOffice.OfficeApi.Enums.MsoTriState linkToFile - /// NetOffice.OfficeApi.Enums.MsoTriState saveWithDocument - /// object left - /// object top - /// optional object Width = -1 - /// optional object Height = -1 - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape AddPicture(string filename, NetOffice.OfficeApi.Enums.MsoTriState linkToFile, NetOffice.OfficeApi.Enums.MsoTriState saveWithDocument, object left, object top, object width, object height) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddPicture", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType, new object[]{ filename, linkToFile, saveWithDocument, left, top, width, height }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string filename - /// NetOffice.OfficeApi.Enums.MsoTriState linkToFile - /// NetOffice.OfficeApi.Enums.MsoTriState saveWithDocument - /// object left - /// object top - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape AddPicture(string filename, NetOffice.OfficeApi.Enums.MsoTriState linkToFile, NetOffice.OfficeApi.Enums.MsoTriState saveWithDocument, object left, object top) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddPicture", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType, new object[]{ filename, linkToFile, saveWithDocument, left, top }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string filename - /// NetOffice.OfficeApi.Enums.MsoTriState linkToFile - /// NetOffice.OfficeApi.Enums.MsoTriState saveWithDocument - /// object left - /// object top - /// optional object Width = -1 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape AddPicture(string filename, NetOffice.OfficeApi.Enums.MsoTriState linkToFile, NetOffice.OfficeApi.Enums.MsoTriState saveWithDocument, object left, object top, object width) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddPicture", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType, new object[]{ filename, linkToFile, saveWithDocument, left, top, width }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// object safeArrayOfPoints - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape AddPolyline(object safeArrayOfPoints) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddPolyline", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType, safeArrayOfPoints); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.OfficeApi.Enums.MsoAutoShapeType type - /// object left - /// object top - /// object width - /// object height - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape AddShape(NetOffice.OfficeApi.Enums.MsoAutoShapeType type, object left, object top, object width, object height) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddShape", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType, new object[]{ type, left, top, width, height }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 numRows - /// Int32 numColumns - /// object left - /// object top - /// object width - /// object height - /// optional bool FixedSize = false - /// optional NetOffice.PublisherApi.Enums.PbTableDirectionType Direction = -1 - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape AddTable(Int32 numRows, Int32 numColumns, object left, object top, object width, object height, object fixedSize, object direction) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddTable", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType, new object[]{ numRows, numColumns, left, top, width, height, fixedSize, direction }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 numRows - /// Int32 numColumns - /// object left - /// object top - /// object width - /// object height - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape AddTable(Int32 numRows, Int32 numColumns, object left, object top, object width, object height) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddTable", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType, new object[]{ numRows, numColumns, left, top, width, height }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 numRows - /// Int32 numColumns - /// object left - /// object top - /// object width - /// object height - /// optional bool FixedSize = false - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape AddTable(Int32 numRows, Int32 numColumns, object left, object top, object width, object height, object fixedSize) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddTable", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType, new object[]{ numRows, numColumns, left, top, width, height, fixedSize }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbTextOrientation orientation - /// object left - /// object top - /// object width - /// object height - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape AddTextbox(NetOffice.PublisherApi.Enums.PbTextOrientation orientation, object left, object top, object width, object height) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddTextbox", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType, new object[]{ orientation, left, top, width, height }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.OfficeApi.Enums.MsoPresetTextEffect presetTextEffect - /// string text - /// string fontName - /// object fontSize - /// NetOffice.OfficeApi.Enums.MsoTriState fontBold - /// NetOffice.OfficeApi.Enums.MsoTriState fontItalic - /// object left - /// object top - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape AddTextEffect(NetOffice.OfficeApi.Enums.MsoPresetTextEffect presetTextEffect, string text, string fontName, object fontSize, NetOffice.OfficeApi.Enums.MsoTriState fontBold, NetOffice.OfficeApi.Enums.MsoTriState fontItalic, object left, object top) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddTextEffect", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType, new object[]{ presetTextEffect, text, fontName, fontSize, fontBold, fontItalic, left, top }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbWebControlType type - /// object left - /// object top - /// object width - /// object height - /// optional bool LaunchPropertiesWindow = false - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape AddWebControl(NetOffice.PublisherApi.Enums.PbWebControlType type, object left, object top, object width, object height, object launchPropertiesWindow) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddWebControl", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType, new object[]{ type, left, top, width, height, launchPropertiesWindow }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbWebControlType type - /// object left - /// object top - /// object width - /// object height - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape AddWebControl(NetOffice.PublisherApi.Enums.PbWebControlType type, object left, object top, object width, object height) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddWebControl", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType, new object[]{ type, left, top, width, height }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.OfficeApi.Enums.MsoEditingType editingType - /// object x1 - /// object y1 - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.FreeformBuilder BuildFreeform(NetOffice.OfficeApi.Enums.MsoEditingType editingType, object x1, object y1) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "BuildFreeform", NetOffice.PublisherApi.FreeformBuilder.LateBindingApiWrapperType, editingType, x1, y1); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ShapeRange Paste() - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Paste", NetOffice.PublisherApi.ShapeRange.LateBindingApiWrapperType); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional object index - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ShapeRange Range(object index) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Range", NetOffice.PublisherApi.ShapeRange.LateBindingApiWrapperType, index); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ShapeRange Range() - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Range", NetOffice.PublisherApi.ShapeRange.LateBindingApiWrapperType); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void SelectAll() - { - Factory.ExecuteMethod(this, "SelectAll"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbWizardGroup wizard - /// object left - /// object top - /// optional object Width = -1 - /// optional object Height = -1 - /// optional Int32 Design = -1 - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape AddGroupWizard(NetOffice.PublisherApi.Enums.PbWizardGroup wizard, object left, object top, object width, object height, object design) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddGroupWizard", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType, new object[]{ wizard, left, top, width, height, design }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbWizardGroup wizard - /// object left - /// object top - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape AddGroupWizard(NetOffice.PublisherApi.Enums.PbWizardGroup wizard, object left, object top) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddGroupWizard", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType, wizard, left, top); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbWizardGroup wizard - /// object left - /// object top - /// optional object Width = -1 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape AddGroupWizard(NetOffice.PublisherApi.Enums.PbWizardGroup wizard, object left, object top, object width) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddGroupWizard", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType, wizard, left, top, width); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbWizardGroup wizard - /// object left - /// object top - /// optional object Width = -1 - /// optional object Height = -1 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape AddGroupWizard(NetOffice.PublisherApi.Enums.PbWizardGroup wizard, object left, object top, object width, object height) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddGroupWizard", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType, new object[]{ wizard, left, top, width, height }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbWizardTag wizardTag - /// optional Int32 Instance = -1 - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ShapeRange FindShapeByWizardTag(NetOffice.PublisherApi.Enums.PbWizardTag wizardTag, object instance) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "FindShapeByWizardTag", NetOffice.PublisherApi.ShapeRange.LateBindingApiWrapperType, wizardTag, instance); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbWizardTag wizardTag - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ShapeRange FindShapeByWizardTag(NetOffice.PublisherApi.Enums.PbWizardTag wizardTag) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "FindShapeByWizardTag", NetOffice.PublisherApi.ShapeRange.LateBindingApiWrapperType, wizardTag); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string name - /// object left - /// object top - /// optional object width - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape AddWebNavigationBar(string name, object left, object top, object width) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddWebNavigationBar", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType, name, left, top, width); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string name - /// object left - /// object top - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape AddWebNavigationBar(string name, object left, object top) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddWebNavigationBar", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType, name, left, top); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape AddCatalogMergeArea() - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddCatalogMergeArea", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// object left - /// object top - /// optional object Width = -1 - /// optional object Height = -1 - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape AddEmptyPictureFrame(object left, object top, object width, object height) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddEmptyPictureFrame", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType, left, top, width, height); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// object left - /// object top - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape AddEmptyPictureFrame(object left, object top) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddEmptyPictureFrame", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType, left, top); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// object left - /// object top - /// optional object Width = -1 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape AddEmptyPictureFrame(object left, object top, object width) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddEmptyPictureFrame", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType, left, top, width); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 canvasId - /// NetOffice.PublisherApi.Enums.pbCatalogMergeFieldType catalogMergeFieldType - /// Int32 dbCol - [SupportByVersion("Publisher", 14,15,16)] - public void AddCatalogMergeFieldToCanvas(Int32 canvasId, NetOffice.PublisherApi.Enums.pbCatalogMergeFieldType catalogMergeFieldType, Int32 dbCol) - { - Factory.ExecuteMethod(this, "AddCatalogMergeFieldToCanvas", canvasId, catalogMergeFieldType, dbCol); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.pbPresetWordArt presetWordArt - /// string text - /// string fontName - /// object fontSize - /// NetOffice.OfficeApi.Enums.MsoTriState fontBold - /// NetOffice.OfficeApi.Enums.MsoTriState fontItalic - /// object left - /// object top - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape AddWordArt(NetOffice.PublisherApi.Enums.pbPresetWordArt presetWordArt, string text, string fontName, object fontSize, NetOffice.OfficeApi.Enums.MsoTriState fontBold, NetOffice.OfficeApi.Enums.MsoTriState fontItalic, object left, object top) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddWordArt", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType, new object[]{ presetWordArt, text, fontName, fontSize, fontBold, fontItalic, left, top }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.BuildingBlock bBlockIn - /// object left - /// object top - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Shape AddBuildingBlock(NetOffice.PublisherApi.BuildingBlock bBlockIn, object left, object top) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddBuildingBlock", NetOffice.PublisherApi.Shape.LateBindingApiWrapperType, bBlockIn, left, top); - } - - #endregion - - #region IEnumerableProvider - - ICOMObject IEnumerableProvider.GetComObjectEnumerator(ICOMObject parent) - { - return NetOffice.Utils.GetComObjectEnumeratorAsProperty(parent, this, false); - } - - IEnumerable IEnumerableProvider.FetchVariantComObjectEnumerator(ICOMObject parent, ICOMObject enumerator) - { - return NetOffice.Utils.FetchVariantComObjectEnumerator(parent, enumerator, false); - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public IEnumerator GetEnumerator() - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (NetOffice.PublisherApi.Shape item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - IEnumerator NetRuntimeSystem.Collections.IEnumerable.GetEnumerator() - { - return NetOffice.Utils.GetProxyEnumeratorAsProperty(this, false); - } - - #endregion - - #pragma warning restore - } -} \ No newline at end of file diff --git a/Source/Publisher/DispatchInterfaces/SoftEdgeFormat.cs b/Source/Publisher/DispatchInterfaces/SoftEdgeFormat.cs deleted file mode 100644 index c62cee6a6e..0000000000 --- a/Source/Publisher/DispatchInterfaces/SoftEdgeFormat.cs +++ /dev/null @@ -1,169 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface SoftEdgeFormat - /// SupportByVersion Publisher, 15,16 - /// - [SupportByVersion("Publisher", 15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class SoftEdgeFormat : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(SoftEdgeFormat); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public SoftEdgeFormat(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public SoftEdgeFormat(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public SoftEdgeFormat(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public SoftEdgeFormat(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public SoftEdgeFormat(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public SoftEdgeFormat(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public SoftEdgeFormat() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public SoftEdgeFormat(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 15,16)] - public NetOffice.OfficeApi.Enums.MsoSoftEdgeType Type - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Type"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Type", value); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 15,16)] - public Single Radius - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "Radius"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Radius", value); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState Visible - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Visible"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Visible", value); - } - } - - #endregion - - #region Methods - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/Stories.cs b/Source/Publisher/DispatchInterfaces/Stories.cs deleted file mode 100644 index d4d03d7ac8..0000000000 --- a/Source/Publisher/DispatchInterfaces/Stories.cs +++ /dev/null @@ -1,217 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; -using NetOffice.CollectionsGeneric; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface Stories - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface), Enumerator(Enumerator.Reference, EnumeratorInvoke.Property), HasIndexProperty(IndexInvoke.Method, "Item")] - public class Stories : COMObject, NetOffice.CollectionsGeneric.IEnumerableProvider - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(Stories); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public Stories(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public Stories(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Stories(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Stories(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Stories(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Stories(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Stories() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Stories(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Count - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Count"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 index - [SupportByVersion("Publisher", 14,15,16)] - [NetRuntimeSystem.Runtime.CompilerServices.IndexerName("Item"), IndexProperty] - public NetOffice.PublisherApi.Story this[Int32 index] - { - get - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Item", NetOffice.PublisherApi.Story.LateBindingApiWrapperType, index); - } - } - - #endregion - - #region IEnumerableProvider - - ICOMObject IEnumerableProvider.GetComObjectEnumerator(ICOMObject parent) - { - return NetOffice.Utils.GetComObjectEnumeratorAsProperty(parent, this, false); - } - - IEnumerable IEnumerableProvider.FetchVariantComObjectEnumerator(ICOMObject parent, ICOMObject enumerator) - { - return NetOffice.Utils.FetchVariantComObjectEnumerator(parent, enumerator, false); - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public IEnumerator GetEnumerator() - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (NetOffice.PublisherApi.Story item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - IEnumerator NetRuntimeSystem.Collections.IEnumerable.GetEnumerator() - { - return NetOffice.Utils.GetProxyEnumeratorAsProperty(this, false); - } - - #endregion - - #pragma warning restore - } -} \ No newline at end of file diff --git a/Source/Publisher/DispatchInterfaces/Story.cs b/Source/Publisher/DispatchInterfaces/Story.cs deleted file mode 100644 index 7acfd62bbc..0000000000 --- a/Source/Publisher/DispatchInterfaces/Story.cs +++ /dev/null @@ -1,223 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface Story - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class Story : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(Story); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public Story(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public Story(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Story(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Story(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Story(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Story(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Story() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Story(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState HasTable - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "HasTable"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState HasTextFrame - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "HasTextFrame"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.TextFrame TextFrame - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "TextFrame", NetOffice.PublisherApi.TextFrame.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Table Table - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Table", NetOffice.PublisherApi.Table.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbStoryType Type - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Type"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.TextRange TextRange - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "TextRange", NetOffice.PublisherApi.TextRange.LateBindingApiWrapperType); - } - } - - #endregion - - #region Methods - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/TabStop.cs b/Source/Publisher/DispatchInterfaces/TabStop.cs deleted file mode 100644 index 04c4de522e..0000000000 --- a/Source/Publisher/DispatchInterfaces/TabStop.cs +++ /dev/null @@ -1,205 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface TabStop - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class TabStop : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(TabStop); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public TabStop(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public TabStop(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public TabStop(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public TabStop(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public TabStop(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public TabStop(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public TabStop() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public TabStop(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object Position - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "Position"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "Position", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbTabAlignmentType Alignment - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Alignment"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Alignment", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbTabLeaderType Leader - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Leader"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Leader", value); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Clear() - { - Factory.ExecuteMethod(this, "Clear"); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/TabStops.cs b/Source/Publisher/DispatchInterfaces/TabStops.cs deleted file mode 100644 index b4311ac833..0000000000 --- a/Source/Publisher/DispatchInterfaces/TabStops.cs +++ /dev/null @@ -1,250 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; -using NetOffice.CollectionsGeneric; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface TabStops - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface), Enumerator(Enumerator.Reference, EnumeratorInvoke.Custom), HasIndexProperty(IndexInvoke.Method, "Item")] - public class TabStops : COMObject, NetOffice.CollectionsGeneric.IEnumerableProvider - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(TabStops); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public TabStops(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public TabStops(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public TabStops(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public TabStops(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public TabStops(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public TabStops(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public TabStops() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public TabStops(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Count - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Count"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 index - [SupportByVersion("Publisher", 14,15,16)] - [NetRuntimeSystem.Runtime.CompilerServices.IndexerName("Item"), IndexProperty] - public NetOffice.PublisherApi.TabStop this[Int32 index] - { - get - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Item", NetOffice.PublisherApi.TabStop.LateBindingApiWrapperType, index); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void ClearAll() - { - Factory.ExecuteMethod(this, "ClearAll"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// object position - /// NetOffice.PublisherApi.Enums.PbTabAlignmentType alignment - /// NetOffice.PublisherApi.Enums.PbTabLeaderType leader - [SupportByVersion("Publisher", 14,15,16)] - public void Add(object position, NetOffice.PublisherApi.Enums.PbTabAlignmentType alignment, NetOffice.PublisherApi.Enums.PbTabLeaderType leader) - { - Factory.ExecuteMethod(this, "Add", position, alignment, leader); - } - - #endregion - - #region IEnumerableProvider - - ICOMObject IEnumerableProvider.GetComObjectEnumerator(ICOMObject parent) - { - return this; - } - - IEnumerable IEnumerableProvider.FetchVariantComObjectEnumerator(ICOMObject parent, ICOMObject enumerator) - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (NetOffice.PublisherApi.TabStop item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// This is a custom enumerator from NetOffice - /// - [SupportByVersion("Publisher", 14, 15, 16)] - [CustomEnumerator] - public IEnumerator GetEnumerator() - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (NetOffice.PublisherApi.TabStop item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// This is a custom enumerator from NetOffice - /// - [SupportByVersion("Publisher", 14, 15, 16)] - [CustomEnumerator] - IEnumerator NetRuntimeSystem.Collections.IEnumerable.GetEnumerator() - { - int count = Count; - object[] enumeratorObjects = new object[count]; - for (int i = 0; i < count; i++) - enumeratorObjects[i] = this[i + 1]; - - foreach (object item in enumeratorObjects) - yield return item; - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/Table.cs b/Source/Publisher/DispatchInterfaces/Table.cs deleted file mode 100644 index 77605a7c52..0000000000 --- a/Source/Publisher/DispatchInterfaces/Table.cs +++ /dev/null @@ -1,465 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// Table - /// - [SyntaxBypass] - public class Table_ : COMObject - { - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public Table_(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public Table_(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - /// object there has created the proxy - /// inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Table_(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - /// object there has created the proxy - /// inner wrapped COM proxy - /// Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Table_(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Table_(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - /// object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Table_(ICOMObject replacedObject) : base(replacedObject) - { - } - - /// - /// Hidden stub .ctor - /// - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Table_() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Table_(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - /// optional Int32 startRow - /// optional Int32 startColumn - /// optional Int32 endRow - /// optional Int32 endColumn - [SupportByVersion("Publisher", 14,15,16)] - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public NetOffice.PublisherApi.CellRange get_Cells(object startRow, object startColumn, object endRow, object endColumn) - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Cells", NetOffice.PublisherApi.CellRange.LateBindingApiWrapperType, startRow, startColumn, endRow, endColumn); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Alias for get_Cells - /// - /// optional Int32 startRow - /// optional Int32 startColumn - /// optional Int32 endRow - /// optional Int32 endColumn - [SupportByVersion("Publisher", 14,15,16), Redirect("get_Cells")] - public NetOffice.PublisherApi.CellRange Cells(object startRow, object startColumn, object endRow, object endColumn) - { - return get_Cells(startRow, startColumn, endRow, endColumn); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - /// optional Int32 startRow - [SupportByVersion("Publisher", 14,15,16)] - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public NetOffice.PublisherApi.CellRange get_Cells(object startRow) - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Cells", NetOffice.PublisherApi.CellRange.LateBindingApiWrapperType, startRow); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Alias for get_Cells - /// - /// optional Int32 startRow - [SupportByVersion("Publisher", 14,15,16), Redirect("get_Cells")] - public NetOffice.PublisherApi.CellRange Cells(object startRow) - { - return get_Cells(startRow); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - /// optional Int32 startRow - /// optional Int32 startColumn - [SupportByVersion("Publisher", 14,15,16)] - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public NetOffice.PublisherApi.CellRange get_Cells(object startRow, object startColumn) - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Cells", NetOffice.PublisherApi.CellRange.LateBindingApiWrapperType, startRow, startColumn); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Alias for get_Cells - /// - /// optional Int32 startRow - /// optional Int32 startColumn - [SupportByVersion("Publisher", 14,15,16), Redirect("get_Cells")] - public NetOffice.PublisherApi.CellRange Cells(object startRow, object startColumn) - { - return get_Cells(startRow, startColumn); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - /// optional Int32 startRow - /// optional Int32 startColumn - /// optional Int32 endRow - [SupportByVersion("Publisher", 14,15,16)] - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public NetOffice.PublisherApi.CellRange get_Cells(object startRow, object startColumn, object endRow) - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Cells", NetOffice.PublisherApi.CellRange.LateBindingApiWrapperType, startRow, startColumn, endRow); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Alias for get_Cells - /// - /// optional Int32 startRow - /// optional Int32 startColumn - /// optional Int32 endRow - [SupportByVersion("Publisher", 14,15,16), Redirect("get_Cells")] - public NetOffice.PublisherApi.CellRange Cells(object startRow, object startColumn, object endRow) - { - return get_Cells(startRow, startColumn, endRow); - } - - #endregion - - #region Methods - - #endregion - } - - /// - /// DispatchInterface Table - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class Table : Table_ - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(Table); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public Table(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public Table(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Table(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Table(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Table(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Table(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Table() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Table(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Columns Columns - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Columns", NetOffice.PublisherApi.Columns.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool GrowToFitText - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "GrowToFitText"); - } - set - { - Factory.ExecuteValuePropertySet(this, "GrowToFitText", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Rows Rows - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Rows", NetOffice.PublisherApi.Rows.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbTableDirectionType TableDirection - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "TableDirection"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "TableDirection", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.CellRange Cells - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Cells", NetOffice.PublisherApi.CellRange.LateBindingApiWrapperType); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbTableAutoFormatType autoFormat - /// optional bool TextFormatting = true - /// optional bool TextAlignment = true - /// optional bool Fill = true - /// optional bool Borders = true - [SupportByVersion("Publisher", 14,15,16)] - public void ApplyAutoFormat(NetOffice.PublisherApi.Enums.PbTableAutoFormatType autoFormat, object textFormatting, object textAlignment, object fill, object borders) - { - Factory.ExecuteMethod(this, "ApplyAutoFormat", new object[]{ autoFormat, textFormatting, textAlignment, fill, borders }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbTableAutoFormatType autoFormat - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ApplyAutoFormat(NetOffice.PublisherApi.Enums.PbTableAutoFormatType autoFormat) - { - Factory.ExecuteMethod(this, "ApplyAutoFormat", autoFormat); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbTableAutoFormatType autoFormat - /// optional bool TextFormatting = true - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ApplyAutoFormat(NetOffice.PublisherApi.Enums.PbTableAutoFormatType autoFormat, object textFormatting) - { - Factory.ExecuteMethod(this, "ApplyAutoFormat", autoFormat, textFormatting); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbTableAutoFormatType autoFormat - /// optional bool TextFormatting = true - /// optional bool TextAlignment = true - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ApplyAutoFormat(NetOffice.PublisherApi.Enums.PbTableAutoFormatType autoFormat, object textFormatting, object textAlignment) - { - Factory.ExecuteMethod(this, "ApplyAutoFormat", autoFormat, textFormatting, textAlignment); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbTableAutoFormatType autoFormat - /// optional bool TextFormatting = true - /// optional bool TextAlignment = true - /// optional bool Fill = true - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ApplyAutoFormat(NetOffice.PublisherApi.Enums.PbTableAutoFormatType autoFormat, object textFormatting, object textAlignment, object fill) - { - Factory.ExecuteMethod(this, "ApplyAutoFormat", autoFormat, textFormatting, textAlignment, fill); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/Tag.cs b/Source/Publisher/DispatchInterfaces/Tag.cs deleted file mode 100644 index 5183d9af5e..0000000000 --- a/Source/Publisher/DispatchInterfaces/Tag.cs +++ /dev/null @@ -1,184 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface Tag - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class Tag : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(Tag); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public Tag(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public Tag(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Tag(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Tag(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Tag(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Tag(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Tag() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Tag(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Name - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Name"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object Value - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "Value"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "Value", value); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Delete() - { - Factory.ExecuteMethod(this, "Delete"); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/Tags.cs b/Source/Publisher/DispatchInterfaces/Tags.cs deleted file mode 100644 index 793ef6327f..0000000000 --- a/Source/Publisher/DispatchInterfaces/Tags.cs +++ /dev/null @@ -1,228 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; -using NetOffice.CollectionsGeneric; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface Tags - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface), Enumerator(Enumerator.Reference, EnumeratorInvoke.Property), HasIndexProperty(IndexInvoke.Method, "Item")] - public class Tags : COMObject, NetOffice.CollectionsGeneric.IEnumerableProvider - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(Tags); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public Tags(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public Tags(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Tags(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Tags(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Tags(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Tags(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Tags() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Tags(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Count - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Count"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// object index - [SupportByVersion("Publisher", 14,15,16)] - [NetRuntimeSystem.Runtime.CompilerServices.IndexerName("Item"), IndexProperty] - public NetOffice.PublisherApi.Tag this[object index] - { - get - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Item", NetOffice.PublisherApi.Tag.LateBindingApiWrapperType, index); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string name - /// object value - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Tag Add(string name, object value) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Add", NetOffice.PublisherApi.Tag.LateBindingApiWrapperType, name, value); - } - - #endregion - - #region IEnumerableProvider - - ICOMObject IEnumerableProvider.GetComObjectEnumerator(ICOMObject parent) - { - return NetOffice.Utils.GetComObjectEnumeratorAsProperty(parent, this, false); - } - - IEnumerable IEnumerableProvider.FetchVariantComObjectEnumerator(ICOMObject parent, ICOMObject enumerator) - { - return NetOffice.Utils.FetchVariantComObjectEnumerator(parent, enumerator, false); - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public IEnumerator GetEnumerator() - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (NetOffice.PublisherApi.Tag item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - IEnumerator NetRuntimeSystem.Collections.IEnumerable.GetEnumerator() - { - return NetOffice.Utils.GetProxyEnumeratorAsProperty(this, false); - } - - #endregion - - #pragma warning restore - } -} \ No newline at end of file diff --git a/Source/Publisher/DispatchInterfaces/TextEffectFormat.cs b/Source/Publisher/DispatchInterfaces/TextEffectFormat.cs deleted file mode 100644 index c5a3543f9f..0000000000 --- a/Source/Publisher/DispatchInterfaces/TextEffectFormat.cs +++ /dev/null @@ -1,375 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface TextEffectFormat - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class TextEffectFormat : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(TextEffectFormat); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public TextEffectFormat(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public TextEffectFormat(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public TextEffectFormat(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public TextEffectFormat(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public TextEffectFormat(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public TextEffectFormat(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public TextEffectFormat() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public TextEffectFormat(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTextEffectAlignment Alignment - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Alignment"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Alignment", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState FontBold - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "FontBold"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "FontBold", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState FontItalic - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "FontItalic"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "FontItalic", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string FontName - { - get - { - return Factory.ExecuteStringPropertyGet(this, "FontName"); - } - set - { - Factory.ExecuteValuePropertySet(this, "FontName", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object FontSize - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "FontSize"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "FontSize", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState KernedPairs - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "KernedPairs"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "KernedPairs", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState NormalizedHeight - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "NormalizedHeight"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "NormalizedHeight", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoPresetTextEffectShape PresetShape - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "PresetShape"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "PresetShape", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoPresetTextEffect PresetTextEffect - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "PresetTextEffect"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "PresetTextEffect", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState RotatedChars - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "RotatedChars"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "RotatedChars", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Text - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Text"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Text", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object Tracking - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "Tracking"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "Tracking", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.pbPresetWordArt PresetWordArt - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "PresetWordArt"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "PresetWordArt", value); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void ToggleVerticalText() - { - Factory.ExecuteMethod(this, "ToggleVerticalText"); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/TextFrame.cs b/Source/Publisher/DispatchInterfaces/TextFrame.cs deleted file mode 100644 index 0fcda7bcff..0000000000 --- a/Source/Publisher/DispatchInterfaces/TextFrame.cs +++ /dev/null @@ -1,459 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface TextFrame - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class TextFrame : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(TextFrame); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public TextFrame(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public TextFrame(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public TextFrame(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public TextFrame(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public TextFrame(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public TextFrame(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public TextFrame() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public TextFrame(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.TextRange TextRange - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "TextRange", NetOffice.PublisherApi.TextRange.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbTextAutoFitType AutoFitText - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "AutoFitText"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "AutoFitText", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Columns - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Columns"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Columns", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object ColumnSpacing - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "ColumnSpacing"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "ColumnSpacing", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState HasNextLink - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "HasNextLink"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState HasPreviousLink - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "HasPreviousLink"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState HasText - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "HasText"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object MarginLeft - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "MarginLeft"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "MarginLeft", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object MarginTop - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "MarginTop"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "MarginTop", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object MarginRight - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "MarginRight"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "MarginRight", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object MarginBottom - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "MarginBottom"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "MarginBottom", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.TextFrame NextLinkedTextFrame - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "NextLinkedTextFrame", NetOffice.PublisherApi.TextFrame.LateBindingApiWrapperType); - } - set - { - Factory.ExecuteReferencePropertySet(this, "NextLinkedTextFrame", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState Overflowing - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Overflowing"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.TextFrame PreviousLinkedTextFrame - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "PreviousLinkedTextFrame", NetOffice.PublisherApi.TextFrame.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbTextOrientation Orientation - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Orientation"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Orientation", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbVerticalTextAlignmentType VerticalTextAlignment - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "VerticalTextAlignment"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "VerticalTextAlignment", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Story Story - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Story", NetOffice.PublisherApi.Story.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState IncludeContinuedOnPage - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "IncludeContinuedOnPage"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "IncludeContinuedOnPage", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState IncludeContinuedFromPage - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "IncludeContinuedFromPage"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "IncludeContinuedFromPage", value); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void BreakForwardLink() - { - Factory.ExecuteMethod(this, "BreakForwardLink"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Shape linkTarget - [SupportByVersion("Publisher", 14,15,16)] - public bool ValidLinkTarget(NetOffice.PublisherApi.Shape linkTarget) - { - return Factory.ExecuteBoolMethodGet(this, "ValidLinkTarget", linkTarget); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/TextRange.cs b/Source/Publisher/DispatchInterfaces/TextRange.cs deleted file mode 100644 index 23c3695771..0000000000 --- a/Source/Publisher/DispatchInterfaces/TextRange.cs +++ /dev/null @@ -1,815 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface TextRange - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class TextRange : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(TextRange); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public TextRange(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public TextRange(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public TextRange(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public TextRange(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public TextRange(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public TextRange(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public TextRange() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public TextRange(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Text - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Text"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Text", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Font Font - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Font", NetOffice.PublisherApi.Font.LateBindingApiWrapperType); - } - set - { - Factory.ExecuteReferencePropertySet(this, "Font", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Length - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Length"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Start - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Start"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Start", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 End - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "End"); - } - set - { - Factory.ExecuteValuePropertySet(this, "End", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Single BoundLeft - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "BoundLeft"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Single BoundHeight - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "BoundHeight"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Single BoundTop - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "BoundTop"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Single BoundWidth - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "BoundWidth"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ParagraphFormat ParagraphFormat - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "ParagraphFormat", NetOffice.PublisherApi.ParagraphFormat.LateBindingApiWrapperType); - } - set - { - Factory.ExecuteReferencePropertySet(this, "ParagraphFormat", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object ContainingObject - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "ContainingObject"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.TextRange Duplicate - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Duplicate", NetOffice.PublisherApi.TextRange.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Font MajorityFont - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "MajorityFont", NetOffice.PublisherApi.Font.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ParagraphFormat MajorityParagraphFormat - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "MajorityParagraphFormat", NetOffice.PublisherApi.ParagraphFormat.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Fields Fields - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Fields", NetOffice.PublisherApi.Fields.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Story Story - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Story", NetOffice.PublisherApi.Story.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoLanguageID LanguageID - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "LanguageID"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "LanguageID", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.DropCap DropCap - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "DropCap", NetOffice.PublisherApi.DropCap.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbFontScriptType Script - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Script"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Hyperlinks Hyperlinks - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Hyperlinks", NetOffice.PublisherApi.Hyperlinks.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.FindReplace Find - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Find", NetOffice.PublisherApi.FindReplace.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.InlineShapes InlineShapes - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "InlineShapes", NetOffice.PublisherApi.InlineShapes.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 WordsCount - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "WordsCount"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 LinesCount - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "LinesCount"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 ParagraphsCount - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "ParagraphsCount"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbCollapseDirection direction - [SupportByVersion("Publisher", 14,15,16)] - public void Collapse(NetOffice.PublisherApi.Enums.PbCollapseDirection direction) - { - Factory.ExecuteMethod(this, "Collapse", direction); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbTextUnit unit - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Expand(NetOffice.PublisherApi.Enums.PbTextUnit unit) - { - return Factory.ExecuteInt32MethodGet(this, "Expand", unit); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbTextUnit unit - /// Int32 size - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Move(NetOffice.PublisherApi.Enums.PbTextUnit unit, Int32 size) - { - return Factory.ExecuteInt32MethodGet(this, "Move", unit, size); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbTextUnit unit - /// Int32 size - [SupportByVersion("Publisher", 14,15,16)] - public Int32 MoveStart(NetOffice.PublisherApi.Enums.PbTextUnit unit, Int32 size) - { - return Factory.ExecuteInt32MethodGet(this, "MoveStart", unit, size); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbTextUnit unit - /// Int32 size - [SupportByVersion("Publisher", 14,15,16)] - public Int32 MoveEnd(NetOffice.PublisherApi.Enums.PbTextUnit unit, Int32 size) - { - return Factory.ExecuteInt32MethodGet(this, "MoveEnd", unit, size); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 start - /// optional Int32 Length = 1 - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.TextRange Characters(Int32 start, object length) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Characters", NetOffice.PublisherApi.TextRange.LateBindingApiWrapperType, start, length); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 start - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.TextRange Characters(Int32 start) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Characters", NetOffice.PublisherApi.TextRange.LateBindingApiWrapperType, start); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string newText - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.TextRange InsertAfter(string newText) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "InsertAfter", NetOffice.PublisherApi.TextRange.LateBindingApiWrapperType, newText); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string newText - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.TextRange InsertBefore(string newText) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "InsertBefore", NetOffice.PublisherApi.TextRange.LateBindingApiWrapperType, newText); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string fontName - /// Int32 charIndex - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.TextRange InsertSymbol(string fontName, Int32 charIndex) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "InsertSymbol", NetOffice.PublisherApi.TextRange.LateBindingApiWrapperType, fontName, charIndex); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbDateTimeFormat format - /// optional bool InsertAsField = false - /// optional bool InsertAsFullWidth = false - /// optional NetOffice.OfficeApi.Enums.MsoLanguageID Language = 0 - /// optional NetOffice.PublisherApi.Enums.PbCalendarType Calendar = 0 - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.TextRange InsertDateTime(NetOffice.PublisherApi.Enums.PbDateTimeFormat format, object insertAsField, object insertAsFullWidth, object language, object calendar) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "InsertDateTime", NetOffice.PublisherApi.TextRange.LateBindingApiWrapperType, new object[]{ format, insertAsField, insertAsFullWidth, language, calendar }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbDateTimeFormat format - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.TextRange InsertDateTime(NetOffice.PublisherApi.Enums.PbDateTimeFormat format) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "InsertDateTime", NetOffice.PublisherApi.TextRange.LateBindingApiWrapperType, format); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbDateTimeFormat format - /// optional bool InsertAsField = false - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.TextRange InsertDateTime(NetOffice.PublisherApi.Enums.PbDateTimeFormat format, object insertAsField) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "InsertDateTime", NetOffice.PublisherApi.TextRange.LateBindingApiWrapperType, format, insertAsField); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbDateTimeFormat format - /// optional bool InsertAsField = false - /// optional bool InsertAsFullWidth = false - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.TextRange InsertDateTime(NetOffice.PublisherApi.Enums.PbDateTimeFormat format, object insertAsField, object insertAsFullWidth) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "InsertDateTime", NetOffice.PublisherApi.TextRange.LateBindingApiWrapperType, format, insertAsField, insertAsFullWidth); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbDateTimeFormat format - /// optional bool InsertAsField = false - /// optional bool InsertAsFullWidth = false - /// optional NetOffice.OfficeApi.Enums.MsoLanguageID Language = 0 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.TextRange InsertDateTime(NetOffice.PublisherApi.Enums.PbDateTimeFormat format, object insertAsField, object insertAsFullWidth, object language) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "InsertDateTime", NetOffice.PublisherApi.TextRange.LateBindingApiWrapperType, format, insertAsField, insertAsFullWidth, language); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 start - /// optional Int32 Length = 1 - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.TextRange Paragraphs(Int32 start, object length) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Paragraphs", NetOffice.PublisherApi.TextRange.LateBindingApiWrapperType, start, length); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 start - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.TextRange Paragraphs(Int32 start) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Paragraphs", NetOffice.PublisherApi.TextRange.LateBindingApiWrapperType, start); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 start - /// optional Int32 Length = 1 - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.TextRange Lines(Int32 start, object length) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Lines", NetOffice.PublisherApi.TextRange.LateBindingApiWrapperType, start, length); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 start - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.TextRange Lines(Int32 start) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Lines", NetOffice.PublisherApi.TextRange.LateBindingApiWrapperType, start); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 start - /// optional Int32 Length = 1 - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.TextRange Words(Int32 start, object length) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Words", NetOffice.PublisherApi.TextRange.LateBindingApiWrapperType, start, length); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 start - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.TextRange Words(Int32 start) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Words", NetOffice.PublisherApi.TextRange.LateBindingApiWrapperType, start); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Select() - { - Factory.ExecuteMethod(this, "Select"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Cut() - { - Factory.ExecuteMethod(this, "Cut"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Copy() - { - Factory.ExecuteMethod(this, "Copy"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Delete() - { - Factory.ExecuteMethod(this, "Delete"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.TextRange Paste() - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Paste", NetOffice.PublisherApi.TextRange.LateBindingApiWrapperType); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// object varIndex - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.TextRange InsertMailMergeField(object varIndex) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "InsertMailMergeField", NetOffice.PublisherApi.TextRange.LateBindingApiWrapperType, varIndex); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional NetOffice.PublisherApi.Enums.PbPageNumberType Type = 1 - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.TextRange InsertPageNumber(object type) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "InsertPageNumber", NetOffice.PublisherApi.TextRange.LateBindingApiWrapperType, type); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.TextRange InsertPageNumber() - { - return Factory.ExecuteKnownReferenceMethodGet(this, "InsertPageNumber", NetOffice.PublisherApi.TextRange.LateBindingApiWrapperType); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.TextRange InsertBarcode() - { - return Factory.ExecuteKnownReferenceMethodGet(this, "InsertBarcode", NetOffice.PublisherApi.TextRange.LateBindingApiWrapperType); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/TextStyle.cs b/Source/Publisher/DispatchInterfaces/TextStyle.cs deleted file mode 100644 index 5a5a708e95..0000000000 --- a/Source/Publisher/DispatchInterfaces/TextStyle.cs +++ /dev/null @@ -1,248 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface TextStyle - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class TextStyle : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(TextStyle); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public TextStyle(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public TextStyle(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public TextStyle(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public TextStyle(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public TextStyle(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public TextStyle(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public TextStyle() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public TextStyle(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Description - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Description"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Font Font - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Font", NetOffice.PublisherApi.Font.LateBindingApiWrapperType); - } - set - { - Factory.ExecuteReferencePropertySet(this, "Font", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ParagraphFormat ParagraphFormat - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "ParagraphFormat", NetOffice.PublisherApi.ParagraphFormat.LateBindingApiWrapperType); - } - set - { - Factory.ExecuteReferencePropertySet(this, "ParagraphFormat", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Name - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Name"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string BaseStyle - { - get - { - return Factory.ExecuteStringPropertyGet(this, "BaseStyle"); - } - set - { - Factory.ExecuteValuePropertySet(this, "BaseStyle", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string NextParagraphStyle - { - get - { - return Factory.ExecuteStringPropertyGet(this, "NextParagraphStyle"); - } - set - { - Factory.ExecuteValuePropertySet(this, "NextParagraphStyle", value); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Delete() - { - Factory.ExecuteMethod(this, "Delete"); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/TextStyles.cs b/Source/Publisher/DispatchInterfaces/TextStyles.cs deleted file mode 100644 index 539fe4ca39..0000000000 --- a/Source/Publisher/DispatchInterfaces/TextStyles.cs +++ /dev/null @@ -1,266 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; -using NetOffice.CollectionsGeneric; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface TextStyles - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface), Enumerator(Enumerator.Reference, EnumeratorInvoke.Property), HasIndexProperty(IndexInvoke.Method, "Item")] - public class TextStyles : COMObject, NetOffice.CollectionsGeneric.IEnumerableProvider - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(TextStyles); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public TextStyles(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public TextStyles(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public TextStyles(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public TextStyles(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public TextStyles(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public TextStyles(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public TextStyles() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public TextStyles(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Count - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Count"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// object index - [SupportByVersion("Publisher", 14,15,16)] - [NetRuntimeSystem.Runtime.CompilerServices.IndexerName("Item"), IndexProperty] - public NetOffice.PublisherApi.TextStyle this[object index] - { - get - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Item", NetOffice.PublisherApi.TextStyle.LateBindingApiWrapperType, index); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string styleName - /// optional string BasedOn = - /// optional NetOffice.PublisherApi.Font font - /// optional NetOffice.PublisherApi.ParagraphFormat paragraphFormat - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.TextStyle Add(string styleName, object basedOn, object font, object paragraphFormat) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Add", NetOffice.PublisherApi.TextStyle.LateBindingApiWrapperType, styleName, basedOn, font, paragraphFormat); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string styleName - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.TextStyle Add(string styleName) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Add", NetOffice.PublisherApi.TextStyle.LateBindingApiWrapperType, styleName); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string styleName - /// optional string BasedOn = - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.TextStyle Add(string styleName, object basedOn) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Add", NetOffice.PublisherApi.TextStyle.LateBindingApiWrapperType, styleName, basedOn); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string styleName - /// optional string BasedOn = - /// optional NetOffice.PublisherApi.Font font - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.TextStyle Add(string styleName, object basedOn, object font) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Add", NetOffice.PublisherApi.TextStyle.LateBindingApiWrapperType, styleName, basedOn, font); - } - - #endregion - - #region IEnumerableProvider - - ICOMObject IEnumerableProvider.GetComObjectEnumerator(ICOMObject parent) - { - return NetOffice.Utils.GetComObjectEnumeratorAsProperty(parent, this, false); - } - - IEnumerable IEnumerableProvider.FetchVariantComObjectEnumerator(ICOMObject parent, ICOMObject enumerator) - { - return NetOffice.Utils.FetchVariantComObjectEnumerator(parent, enumerator, false); - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public IEnumerator GetEnumerator() - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (NetOffice.PublisherApi.TextStyle item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - IEnumerator NetRuntimeSystem.Collections.IEnumerable.GetEnumerator() - { - return NetOffice.Utils.GetProxyEnumeratorAsProperty(this, false); - } - - #endregion - - #pragma warning restore - } -} \ No newline at end of file diff --git a/Source/Publisher/DispatchInterfaces/ThreeDFormat.cs b/Source/Publisher/DispatchInterfaces/ThreeDFormat.cs deleted file mode 100644 index 8ac9ed75d1..0000000000 --- a/Source/Publisher/DispatchInterfaces/ThreeDFormat.cs +++ /dev/null @@ -1,535 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface ThreeDFormat - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class ThreeDFormat : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(ThreeDFormat); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public ThreeDFormat(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public ThreeDFormat(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ThreeDFormat(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ThreeDFormat(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ThreeDFormat(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ThreeDFormat(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ThreeDFormat() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public ThreeDFormat(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object Depth - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "Depth"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "Depth", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ColorFormat ExtrusionColor - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "ExtrusionColor", NetOffice.PublisherApi.ColorFormat.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoExtrusionColorType ExtrusionColorType - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "ExtrusionColorType"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "ExtrusionColorType", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState Perspective - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Perspective"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Perspective", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoPresetExtrusionDirection PresetExtrusionDirection - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "PresetExtrusionDirection"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoPresetLightingDirection PresetLightingDirection - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "PresetLightingDirection"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "PresetLightingDirection", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoPresetLightingSoftness PresetLightingSoftness - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "PresetLightingSoftness"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "PresetLightingSoftness", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoPresetMaterial PresetMaterial - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "PresetMaterial"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "PresetMaterial", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoPresetThreeDFormat PresetThreeDFormat - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "PresetThreeDFormat"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Single RotationX - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "RotationX"); - } - set - { - Factory.ExecuteValuePropertySet(this, "RotationX", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Single RotationY - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "RotationY"); - } - set - { - Factory.ExecuteValuePropertySet(this, "RotationY", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState Visible - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Visible"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Visible", value); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 15,16)] - public NetOffice.OfficeApi.Enums.MsoBevelType BevelTopType - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "BevelTopType"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "BevelTopType", value); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 15,16)] - public Single BevelTopInset - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "BevelTopInset"); - } - set - { - Factory.ExecuteValuePropertySet(this, "BevelTopInset", value); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 15,16)] - public Single BevelTopDepth - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "BevelTopDepth"); - } - set - { - Factory.ExecuteValuePropertySet(this, "BevelTopDepth", value); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 15,16)] - public NetOffice.OfficeApi.Enums.MsoBevelType BevelBottomType - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "BevelBottomType"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "BevelBottomType", value); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 15,16)] - public Single BevelBottomInset - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "BevelBottomInset"); - } - set - { - Factory.ExecuteValuePropertySet(this, "BevelBottomInset", value); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 15,16)] - public Single BevelBottomDepth - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "BevelBottomDepth"); - } - set - { - Factory.ExecuteValuePropertySet(this, "BevelBottomDepth", value); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 15,16)] - public Single ContourWidth - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "ContourWidth"); - } - set - { - Factory.ExecuteValuePropertySet(this, "ContourWidth", value); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 15,16)] - public NetOffice.PublisherApi.ColorFormat ContourColor - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "ContourColor", NetOffice.PublisherApi.ColorFormat.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 15,16)] - public Single FieldOfView - { - get - { - return Factory.ExecuteSinglePropertyGet(this, "FieldOfView"); - } - set - { - Factory.ExecuteValuePropertySet(this, "FieldOfView", value); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single increment - [SupportByVersion("Publisher", 14,15,16)] - public void IncrementRotationX(Single increment) - { - Factory.ExecuteMethod(this, "IncrementRotationX", increment); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single increment - [SupportByVersion("Publisher", 14,15,16)] - public void IncrementRotationY(Single increment) - { - Factory.ExecuteMethod(this, "IncrementRotationY", increment); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void ResetRotation() - { - Factory.ExecuteMethod(this, "ResetRotation"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.OfficeApi.Enums.MsoPresetThreeDFormat presetThreeDFormat - [SupportByVersion("Publisher", 14,15,16)] - public void SetThreeDFormat(NetOffice.OfficeApi.Enums.MsoPresetThreeDFormat presetThreeDFormat) - { - Factory.ExecuteMethod(this, "SetThreeDFormat", presetThreeDFormat); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.OfficeApi.Enums.MsoPresetExtrusionDirection presetExtrusionDirection - [SupportByVersion("Publisher", 14,15,16)] - public void SetExtrusionDirection(NetOffice.OfficeApi.Enums.MsoPresetExtrusionDirection presetExtrusionDirection) - { - Factory.ExecuteMethod(this, "SetExtrusionDirection", presetExtrusionDirection); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/View.cs b/Source/Publisher/DispatchInterfaces/View.cs deleted file mode 100644 index 3265132015..0000000000 --- a/Source/Publisher/DispatchInterfaces/View.cs +++ /dev/null @@ -1,207 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface View - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class View : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(View); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public View(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public View(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public View(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public View(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public View(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public View(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public View() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public View(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Page ActivePage - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "ActivePage", NetOffice.PublisherApi.Page.LateBindingApiWrapperType); - } - set - { - Factory.ExecuteReferencePropertySet(this, "ActivePage", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbZoom Zoom - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Zoom"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Zoom", value); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Shape shape - [SupportByVersion("Publisher", 14,15,16)] - public void ScrollShapeIntoView(NetOffice.PublisherApi.Shape shape) - { - Factory.ExecuteMethod(this, "ScrollShapeIntoView", shape); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void ZoomIn() - { - Factory.ExecuteMethod(this, "ZoomIn"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void ZoomOut() - { - Factory.ExecuteMethod(this, "ZoomOut"); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/WebCheckBox.cs b/Source/Publisher/DispatchInterfaces/WebCheckBox.cs deleted file mode 100644 index 98349a58f0..0000000000 --- a/Source/Publisher/DispatchInterfaces/WebCheckBox.cs +++ /dev/null @@ -1,196 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface WebCheckBox - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class WebCheckBox : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(WebCheckBox); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public WebCheckBox(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public WebCheckBox(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebCheckBox(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebCheckBox(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebCheckBox(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebCheckBox(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebCheckBox() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebCheckBox(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string ReturnDataLabel - { - get - { - return Factory.ExecuteStringPropertyGet(this, "ReturnDataLabel"); - } - set - { - Factory.ExecuteValuePropertySet(this, "ReturnDataLabel", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState Selected - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Selected"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Selected", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Value - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Value"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Value", value); - } - } - - #endregion - - #region Methods - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/WebCommandButton.cs b/Source/Publisher/DispatchInterfaces/WebCommandButton.cs deleted file mode 100644 index f472535de9..0000000000 --- a/Source/Publisher/DispatchInterfaces/WebCommandButton.cs +++ /dev/null @@ -1,311 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface WebCommandButton - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class WebCommandButton : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(WebCommandButton); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public WebCommandButton(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public WebCommandButton(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebCommandButton(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebCommandButton(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebCommandButton(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebCommandButton(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebCommandButton() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebCommandButton(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string ActionURL - { - get - { - return Factory.ExecuteStringPropertyGet(this, "ActionURL"); - } - set - { - Factory.ExecuteValuePropertySet(this, "ActionURL", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string ButtonText - { - get - { - return Factory.ExecuteStringPropertyGet(this, "ButtonText"); - } - set - { - Factory.ExecuteValuePropertySet(this, "ButtonText", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string DataFileName - { - get - { - return Factory.ExecuteStringPropertyGet(this, "DataFileName"); - } - set - { - Factory.ExecuteValuePropertySet(this, "DataFileName", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbSubmitDataRetrievalMethodType DataRetrievalMethod - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "DataRetrievalMethod"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "DataRetrievalMethod", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string EmailAddress - { - get - { - return Factory.ExecuteStringPropertyGet(this, "EmailAddress"); - } - set - { - Factory.ExecuteValuePropertySet(this, "EmailAddress", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string EmailSubject - { - get - { - return Factory.ExecuteStringPropertyGet(this, "EmailSubject"); - } - set - { - Factory.ExecuteValuePropertySet(this, "EmailSubject", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbSubmitDataFormatType DataFileFormat - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "DataFileFormat"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "DataFileFormat", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState PostFormData - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "PostFormData"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "PostFormData", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.WebHiddenFields HiddenFields - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "HiddenFields", NetOffice.PublisherApi.WebHiddenFields.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbCommandButtonType ButtonType - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "ButtonType"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "ButtonType", value); - } - } - - #endregion - - #region Methods - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/WebHiddenFields.cs b/Source/Publisher/DispatchInterfaces/WebHiddenFields.cs deleted file mode 100644 index 2b2b4a5501..0000000000 --- a/Source/Publisher/DispatchInterfaces/WebHiddenFields.cs +++ /dev/null @@ -1,260 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; -using NetOffice.CollectionsGeneric; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface WebHiddenFields - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface), Enumerator(Enumerator.Value, EnumeratorInvoke.Custom), HasIndexProperty(IndexInvoke.Method, "Item")] - public class WebHiddenFields : COMObject, NetOffice.CollectionsGeneric.IEnumerableProvider - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(WebHiddenFields); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public WebHiddenFields(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public WebHiddenFields(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebHiddenFields(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebHiddenFields(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebHiddenFields(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebHiddenFields(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebHiddenFields() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebHiddenFields(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Count - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Count"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string name - /// string value - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Add(string name, string value) - { - return Factory.ExecuteInt32MethodGet(this, "Add", name, value); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 index - [SupportByVersion("Publisher", 14,15,16)] - public void Delete(Int32 index) - { - Factory.ExecuteMethod(this, "Delete", index); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// object index - [SupportByVersion("Publisher", 14,15,16)] - [NetRuntimeSystem.Runtime.CompilerServices.IndexerName("Item"), IndexProperty] - public string this[object index] - { - get - { - return Factory.ExecuteStringMethodGet(this, "Item", index); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 index - [SupportByVersion("Publisher", 14,15,16)] - public string Name(Int32 index) - { - return Factory.ExecuteStringMethodGet(this, "Name", index); - } - - #endregion - - #region IEnumerableProvider - - ICOMObject IEnumerableProvider.GetComObjectEnumerator(ICOMObject parent) - { - return this; - } - - IEnumerable IEnumerableProvider.FetchVariantComObjectEnumerator(ICOMObject parent, ICOMObject enumerator) - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (string item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// This is a custom enumerator from NetOffice - /// - [SupportByVersion("Publisher", 14, 15, 16)] - [CustomEnumerator] - public IEnumerator GetEnumerator() - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (string item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// This is a custom enumerator from NetOffice - /// - [SupportByVersion("Publisher", 14, 15, 16)] - [CustomEnumerator] - IEnumerator NetRuntimeSystem.Collections.IEnumerable.GetEnumerator() - { - int count = Count; - string[] enumeratorObjects = new string[count]; - for (int i = 0; i < count; i++) - enumeratorObjects[i] = this[i + 1]; - - foreach (string item in enumeratorObjects) - yield return item; - } - - #endregion - - #pragma warning restore - } -} \ No newline at end of file diff --git a/Source/Publisher/DispatchInterfaces/WebListBox.cs b/Source/Publisher/DispatchInterfaces/WebListBox.cs deleted file mode 100644 index 63cfca0e3f..0000000000 --- a/Source/Publisher/DispatchInterfaces/WebListBox.cs +++ /dev/null @@ -1,192 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface WebListBox - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class WebListBox : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(WebListBox); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public WebListBox(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public WebListBox(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebListBox(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebListBox(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebListBox(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebListBox(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebListBox() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebListBox(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.WebListBoxItems ListBoxItems - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "ListBoxItems", NetOffice.PublisherApi.WebListBoxItems.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState MultiSelect - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "MultiSelect"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "MultiSelect", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string ReturnDataLabel - { - get - { - return Factory.ExecuteStringPropertyGet(this, "ReturnDataLabel"); - } - set - { - Factory.ExecuteValuePropertySet(this, "ReturnDataLabel", value); - } - } - - #endregion - - #region Methods - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/WebListBoxItems.cs b/Source/Publisher/DispatchInterfaces/WebListBoxItems.cs deleted file mode 100644 index f79d1922b2..0000000000 --- a/Source/Publisher/DispatchInterfaces/WebListBoxItems.cs +++ /dev/null @@ -1,299 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; -using NetOffice.CollectionsGeneric; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface WebListBoxItems - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface), Enumerator(Enumerator.Value, EnumeratorInvoke.Custom), HasIndexProperty(IndexInvoke.Method, "Item")] - public class WebListBoxItems : COMObject, NetOffice.CollectionsGeneric.IEnumerableProvider - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(WebListBoxItems); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public WebListBoxItems(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public WebListBoxItems(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebListBoxItems(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebListBoxItems(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebListBoxItems(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebListBoxItems(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebListBoxItems() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebListBoxItems(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Count - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Count"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string item - /// optional Int32 Index = -1 - /// optional bool SelectState = false - /// optional string itemValue - [SupportByVersion("Publisher", 14,15,16)] - public void AddItem(string item, object index, object selectState, object itemValue) - { - Factory.ExecuteMethod(this, "AddItem", item, index, selectState, itemValue); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string item - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void AddItem(string item) - { - Factory.ExecuteMethod(this, "AddItem", item); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string item - /// optional Int32 Index = -1 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void AddItem(string item, object index) - { - Factory.ExecuteMethod(this, "AddItem", item, index); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string item - /// optional Int32 Index = -1 - /// optional bool SelectState = false - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void AddItem(string item, object index, object selectState) - { - Factory.ExecuteMethod(this, "AddItem", item, index, selectState); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 index - [SupportByVersion("Publisher", 14,15,16)] - public void Delete(Int32 index) - { - Factory.ExecuteMethod(this, "Delete", index); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// object index - [SupportByVersion("Publisher", 14,15,16)] - [NetRuntimeSystem.Runtime.CompilerServices.IndexerName("Item"), IndexProperty] - public string this[object index] - { - get - { - return Factory.ExecuteStringMethodGet(this, "Item", index); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 index - /// bool selectState - [SupportByVersion("Publisher", 14,15,16)] - public void Selected(Int32 index, bool selectState) - { - Factory.ExecuteMethod(this, "Selected", index, selectState); - } - - #endregion - - #region IEnumerableProvider - - ICOMObject IEnumerableProvider.GetComObjectEnumerator(ICOMObject parent) - { - return this; - } - - IEnumerable IEnumerableProvider.FetchVariantComObjectEnumerator(ICOMObject parent, ICOMObject enumerator) - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (string item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable Member - - /// - /// SupportByVersion Publisher, 14,15,16 - /// This is a custom enumerator from NetOffice - /// - [SupportByVersion("Publisher", 14, 15, 16)] - [CustomEnumerator] - public IEnumerator GetEnumerator() - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (string item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable Members - - /// - /// SupportByVersion Publisher, 14,15,16 - /// This is a custom enumerator from NetOffice - /// - [SupportByVersion("Publisher", 14, 15, 16)] - [CustomEnumerator] - IEnumerator NetRuntimeSystem.Collections.IEnumerable.GetEnumerator() - { - int count = Count; - string[] enumeratorObjects = new string[count]; - for (int i = 0; i < count; i++) - enumeratorObjects[i] = this[i + 1]; - - foreach (string item in enumeratorObjects) - yield return item; - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/WebNavigationBarHyperlinks.cs b/Source/Publisher/DispatchInterfaces/WebNavigationBarHyperlinks.cs deleted file mode 100644 index 83076a9d24..0000000000 --- a/Source/Publisher/DispatchInterfaces/WebNavigationBarHyperlinks.cs +++ /dev/null @@ -1,291 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; -using NetOffice.CollectionsGeneric; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface WebNavigationBarHyperlinks - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface), Enumerator(Enumerator.Reference, EnumeratorInvoke.Property), HasIndexProperty(IndexInvoke.Method, "Item")] - public class WebNavigationBarHyperlinks : COMObject, NetOffice.CollectionsGeneric.IEnumerableProvider - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(WebNavigationBarHyperlinks); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public WebNavigationBarHyperlinks(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public WebNavigationBarHyperlinks(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebNavigationBarHyperlinks(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebNavigationBarHyperlinks(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebNavigationBarHyperlinks(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebNavigationBarHyperlinks(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebNavigationBarHyperlinks() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebNavigationBarHyperlinks(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Count - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Count"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 index - [SupportByVersion("Publisher", 14,15,16)] - [NetRuntimeSystem.Runtime.CompilerServices.IndexerName("Item"), IndexProperty] - public NetOffice.PublisherApi.Hyperlink this[Int32 index] - { - get - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Item", NetOffice.PublisherApi.Hyperlink.LateBindingApiWrapperType, index); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional string Address = - /// optional NetOffice.PublisherApi.Enums.PbHlinkTargetType RelativePage = 0 - /// optional Int32 PageID = 0 - /// optional string TextToDisplay = - /// optional Int32 Index = -1 - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Hyperlink Add(object address, object relativePage, object pageID, object textToDisplay, object index) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Add", NetOffice.PublisherApi.Hyperlink.LateBindingApiWrapperType, new object[]{ address, relativePage, pageID, textToDisplay, index }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Hyperlink Add() - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Add", NetOffice.PublisherApi.Hyperlink.LateBindingApiWrapperType); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional string Address = - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Hyperlink Add(object address) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Add", NetOffice.PublisherApi.Hyperlink.LateBindingApiWrapperType, address); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional string Address = - /// optional NetOffice.PublisherApi.Enums.PbHlinkTargetType RelativePage = 0 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Hyperlink Add(object address, object relativePage) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Add", NetOffice.PublisherApi.Hyperlink.LateBindingApiWrapperType, address, relativePage); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional string Address = - /// optional NetOffice.PublisherApi.Enums.PbHlinkTargetType RelativePage = 0 - /// optional Int32 PageID = 0 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Hyperlink Add(object address, object relativePage, object pageID) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Add", NetOffice.PublisherApi.Hyperlink.LateBindingApiWrapperType, address, relativePage, pageID); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional string Address = - /// optional NetOffice.PublisherApi.Enums.PbHlinkTargetType RelativePage = 0 - /// optional Int32 PageID = 0 - /// optional string TextToDisplay = - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Hyperlink Add(object address, object relativePage, object pageID, object textToDisplay) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Add", NetOffice.PublisherApi.Hyperlink.LateBindingApiWrapperType, address, relativePage, pageID, textToDisplay); - } - - #endregion - - #region IEnumerableProvider - - ICOMObject IEnumerableProvider.GetComObjectEnumerator(ICOMObject parent) - { - return NetOffice.Utils.GetComObjectEnumeratorAsProperty(parent, this, false); - } - - IEnumerable IEnumerableProvider.FetchVariantComObjectEnumerator(ICOMObject parent, ICOMObject enumerator) - { - return NetOffice.Utils.FetchVariantComObjectEnumerator(parent, enumerator, false); - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public IEnumerator GetEnumerator() - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (NetOffice.PublisherApi.Hyperlink item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - IEnumerator NetRuntimeSystem.Collections.IEnumerable.GetEnumerator() - { - return NetOffice.Utils.GetProxyEnumeratorAsProperty(this, false); - } - - #endregion - - #pragma warning restore - } -} \ No newline at end of file diff --git a/Source/Publisher/DispatchInterfaces/WebNavigationBarSet.cs b/Source/Publisher/DispatchInterfaces/WebNavigationBarSet.cs deleted file mode 100644 index e6e44c5f9a..0000000000 --- a/Source/Publisher/DispatchInterfaces/WebNavigationBarSet.cs +++ /dev/null @@ -1,337 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface WebNavigationBarSet - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class WebNavigationBarSet : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(WebNavigationBarSet); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public WebNavigationBarSet(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public WebNavigationBarSet(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebNavigationBarSet(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebNavigationBarSet(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebNavigationBarSet(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebNavigationBarSet(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebNavigationBarSet() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebNavigationBarSet(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Name - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Name"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Name", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbWizardNavBarDesign Design - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Design"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Design", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbWizardNavBarButtonStyle ButtonStyle - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "ButtonStyle"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "ButtonStyle", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool IsHorizontal - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "IsHorizontal"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 HorizontalButtonCount - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "HorizontalButtonCount"); - } - set - { - Factory.ExecuteValuePropertySet(this, "HorizontalButtonCount", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbWizardNavBarAlignment HorizontalAlignment - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "HorizontalAlignment"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "HorizontalAlignment", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool AutoUpdate - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "AutoUpdate"); - } - set - { - Factory.ExecuteValuePropertySet(this, "AutoUpdate", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool ShowSelected - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "ShowSelected"); - } - set - { - Factory.ExecuteValuePropertySet(this, "ShowSelected", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.WebNavigationBarHyperlinks Links - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Links", NetOffice.PublisherApi.WebNavigationBarHyperlinks.LateBindingApiWrapperType); - } - set - { - Factory.ExecuteReferencePropertySet(this, "Links", value); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void DeleteSetAndInstances() - { - Factory.ExecuteMethod(this, "DeleteSetAndInstances"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// object left - /// object top - /// optional object width - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ShapeRange AddToEveryPage(object left, object top, object width) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddToEveryPage", NetOffice.PublisherApi.ShapeRange.LateBindingApiWrapperType, left, top, width); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// object left - /// object top - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ShapeRange AddToEveryPage(object left, object top) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddToEveryPage", NetOffice.PublisherApi.ShapeRange.LateBindingApiWrapperType, left, top); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbNavBarOrientation orientation - [SupportByVersion("Publisher", 14,15,16)] - public void ChangeOrientation(NetOffice.PublisherApi.Enums.PbNavBarOrientation orientation) - { - Factory.ExecuteMethod(this, "ChangeOrientation", orientation); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/WebNavigationBarSets.cs b/Source/Publisher/DispatchInterfaces/WebNavigationBarSets.cs deleted file mode 100644 index 7661b82fc9..0000000000 --- a/Source/Publisher/DispatchInterfaces/WebNavigationBarSets.cs +++ /dev/null @@ -1,252 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; -using NetOffice.CollectionsGeneric; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface WebNavigationBarSets - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface), Enumerator(Enumerator.Reference, EnumeratorInvoke.Property), HasIndexProperty(IndexInvoke.Method, "Item")] - public class WebNavigationBarSets : COMObject, NetOffice.CollectionsGeneric.IEnumerableProvider - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(WebNavigationBarSets); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public WebNavigationBarSets(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public WebNavigationBarSets(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebNavigationBarSets(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebNavigationBarSets(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebNavigationBarSets(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebNavigationBarSets(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebNavigationBarSets() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebNavigationBarSets(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Count - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Count"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// object index - [SupportByVersion("Publisher", 14,15,16)] - [NetRuntimeSystem.Runtime.CompilerServices.IndexerName("Item"), IndexProperty] - public NetOffice.PublisherApi.WebNavigationBarSet this[object index] - { - get - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Item", NetOffice.PublisherApi.WebNavigationBarSet.LateBindingApiWrapperType, index); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string name - /// optional NetOffice.PublisherApi.Enums.PbWizardNavBarDesign Design = 1 - /// optional bool AutoUpdate = true - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.WebNavigationBarSet AddSet(string name, object design, object autoUpdate) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddSet", NetOffice.PublisherApi.WebNavigationBarSet.LateBindingApiWrapperType, name, design, autoUpdate); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string name - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.WebNavigationBarSet AddSet(string name) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddSet", NetOffice.PublisherApi.WebNavigationBarSet.LateBindingApiWrapperType, name); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string name - /// optional NetOffice.PublisherApi.Enums.PbWizardNavBarDesign Design = 1 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.WebNavigationBarSet AddSet(string name, object design) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "AddSet", NetOffice.PublisherApi.WebNavigationBarSet.LateBindingApiWrapperType, name, design); - } - - #endregion - - #region IEnumerableProvider - - ICOMObject IEnumerableProvider.GetComObjectEnumerator(ICOMObject parent) - { - return NetOffice.Utils.GetComObjectEnumeratorAsProperty(parent, this, false); - } - - IEnumerable IEnumerableProvider.FetchVariantComObjectEnumerator(ICOMObject parent, ICOMObject enumerator) - { - return NetOffice.Utils.FetchVariantComObjectEnumerator(parent, enumerator, false); - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public IEnumerator GetEnumerator() - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (NetOffice.PublisherApi.WebNavigationBarSet item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - IEnumerator NetRuntimeSystem.Collections.IEnumerable.GetEnumerator() - { - return NetOffice.Utils.GetProxyEnumeratorAsProperty(this, false); - } - - #endregion - - #pragma warning restore - } -} \ No newline at end of file diff --git a/Source/Publisher/DispatchInterfaces/WebOptionButton.cs b/Source/Publisher/DispatchInterfaces/WebOptionButton.cs deleted file mode 100644 index 36477a5545..0000000000 --- a/Source/Publisher/DispatchInterfaces/WebOptionButton.cs +++ /dev/null @@ -1,196 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface WebOptionButton - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class WebOptionButton : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(WebOptionButton); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public WebOptionButton(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public WebOptionButton(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebOptionButton(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebOptionButton(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebOptionButton(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebOptionButton(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebOptionButton() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebOptionButton(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string ReturnDataLabel - { - get - { - return Factory.ExecuteStringPropertyGet(this, "ReturnDataLabel"); - } - set - { - Factory.ExecuteValuePropertySet(this, "ReturnDataLabel", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState Selected - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Selected"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Selected", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Value - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Value"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Value", value); - } - } - - #endregion - - #region Methods - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/WebOptions.cs b/Source/Publisher/DispatchInterfaces/WebOptions.cs deleted file mode 100644 index 5f1d2caef1..0000000000 --- a/Source/Publisher/DispatchInterfaces/WebOptions.cs +++ /dev/null @@ -1,264 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface WebOptions - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class WebOptions : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(WebOptions); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public WebOptions(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public WebOptions(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebOptions(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebOptions(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebOptions(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebOptions(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebOptions() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebOptions(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool AlwaysSaveInDefaultEncoding - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "AlwaysSaveInDefaultEncoding"); - } - set - { - Factory.ExecuteValuePropertySet(this, "AlwaysSaveInDefaultEncoding", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoEncoding Encoding - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Encoding"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Encoding", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool EnableIncrementalUpload - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "EnableIncrementalUpload"); - } - set - { - Factory.ExecuteValuePropertySet(this, "EnableIncrementalUpload", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool OrganizeInFolder - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "OrganizeInFolder"); - } - set - { - Factory.ExecuteValuePropertySet(this, "OrganizeInFolder", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool RelyOnVML - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "RelyOnVML"); - } - set - { - Factory.ExecuteValuePropertySet(this, "RelyOnVML", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool ShowOnlyWebFonts - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "ShowOnlyWebFonts"); - } - set - { - Factory.ExecuteValuePropertySet(this, "ShowOnlyWebFonts", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool EmailAsImg - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "EmailAsImg"); - } - set - { - Factory.ExecuteValuePropertySet(this, "EmailAsImg", value); - } - } - - #endregion - - #region Methods - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/WebPageOptions.cs b/Source/Publisher/DispatchInterfaces/WebPageOptions.cs deleted file mode 100644 index 72a967bd5c..0000000000 --- a/Source/Publisher/DispatchInterfaces/WebPageOptions.cs +++ /dev/null @@ -1,278 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface WebPageOptions - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class WebPageOptions : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(WebPageOptions); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public WebPageOptions(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public WebPageOptions(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebPageOptions(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebPageOptions(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebPageOptions(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebPageOptions(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebPageOptions() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebPageOptions(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Description - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Description"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Description", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Keywords - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Keywords"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Keywords", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool IncludePageOnNewWebNavigationBars - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "IncludePageOnNewWebNavigationBars"); - } - set - { - Factory.ExecuteValuePropertySet(this, "IncludePageOnNewWebNavigationBars", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string BackgroundSound - { - get - { - return Factory.ExecuteStringPropertyGet(this, "BackgroundSound"); - } - set - { - Factory.ExecuteValuePropertySet(this, "BackgroundSound", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool BackgroundSoundLoopForever - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "BackgroundSoundLoopForever"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 BackgroundSoundLoopCount - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "BackgroundSoundLoopCount"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string PublishFileName - { - get - { - return Factory.ExecuteStringPropertyGet(this, "PublishFileName"); - } - set - { - Factory.ExecuteValuePropertySet(this, "PublishFileName", value); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// bool repeatForever - /// optional Int32 RepeatTimes = -1 - [SupportByVersion("Publisher", 14,15,16)] - public void SetBackgroundSoundRepeat(bool repeatForever, object repeatTimes) - { - Factory.ExecuteMethod(this, "SetBackgroundSoundRepeat", repeatForever, repeatTimes); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// bool repeatForever - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void SetBackgroundSoundRepeat(bool repeatForever) - { - Factory.ExecuteMethod(this, "SetBackgroundSoundRepeat", repeatForever); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/WebTextBox.cs b/Source/Publisher/DispatchInterfaces/WebTextBox.cs deleted file mode 100644 index 0789c308fa..0000000000 --- a/Source/Publisher/DispatchInterfaces/WebTextBox.cs +++ /dev/null @@ -1,230 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface WebTextBox - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class WebTextBox : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(WebTextBox); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public WebTextBox(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public WebTextBox(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebTextBox(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebTextBox(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebTextBox(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebTextBox(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebTextBox() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WebTextBox(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string DefaultText - { - get - { - return Factory.ExecuteStringPropertyGet(this, "DefaultText"); - } - set - { - Factory.ExecuteValuePropertySet(this, "DefaultText", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState EchoAsterisks - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "EchoAsterisks"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "EchoAsterisks", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Limit - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Limit"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Limit", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState RequiredControl - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "RequiredControl"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "RequiredControl", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string ReturnDataLabel - { - get - { - return Factory.ExecuteStringPropertyGet(this, "ReturnDataLabel"); - } - set - { - Factory.ExecuteValuePropertySet(this, "ReturnDataLabel", value); - } - } - - #endregion - - #region Methods - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/Window.cs b/Source/Publisher/DispatchInterfaces/Window.cs deleted file mode 100644 index decff68b89..0000000000 --- a/Source/Publisher/DispatchInterfaces/Window.cs +++ /dev/null @@ -1,308 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface Window - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class Window : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(Window); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public Window(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public Window(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Window(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Window(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Window(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Window(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Window() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Window(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Caption - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Caption"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Caption", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Top - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Top"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Top", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Left - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Left"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Left", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Width - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Width"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Width", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Height - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Height"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Height", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool Visible - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "Visible"); - } - set - { - Factory.ExecuteValuePropertySet(this, "Visible", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbWindowState WindowState - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "WindowState"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "WindowState", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Hwnd - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Hwnd"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Activate() - { - Factory.ExecuteMethod(this, "Activate"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 left - /// Int32 top - [SupportByVersion("Publisher", 14,15,16)] - public void Move(Int32 left, Int32 top) - { - Factory.ExecuteMethod(this, "Move", left, top); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 width - /// Int32 height - [SupportByVersion("Publisher", 14,15,16)] - public void Resize(Int32 width, Int32 height) - { - Factory.ExecuteMethod(this, "Resize", width, height); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/Wizard.cs b/Source/Publisher/DispatchInterfaces/Wizard.cs deleted file mode 100644 index e45cd67d31..0000000000 --- a/Source/Publisher/DispatchInterfaces/Wizard.cs +++ /dev/null @@ -1,194 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface Wizard - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class Wizard : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(Wizard); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public Wizard(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public Wizard(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Wizard(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Wizard(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Wizard(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Wizard(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Wizard() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public Wizard(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 ID - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "ID"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Name - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Name"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.WizardProperties Properties - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Properties", NetOffice.PublisherApi.WizardProperties.LateBindingApiWrapperType); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 iD - [SupportByVersion("Publisher", 14,15,16)] - public void SetId(Int32 iD) - { - Factory.ExecuteMethod(this, "SetId", iD); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/WizardProperties.cs b/Source/Publisher/DispatchInterfaces/WizardProperties.cs deleted file mode 100644 index 62d22f8dd2..0000000000 --- a/Source/Publisher/DispatchInterfaces/WizardProperties.cs +++ /dev/null @@ -1,228 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; -using NetOffice.CollectionsGeneric; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface WizardProperties - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface), Enumerator(Enumerator.Reference, EnumeratorInvoke.Property), HasIndexProperty(IndexInvoke.Property, "Item")] - public class WizardProperties : COMObject, NetOffice.CollectionsGeneric.IEnumerableProvider - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(WizardProperties); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public WizardProperties(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public WizardProperties(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WizardProperties(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WizardProperties(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WizardProperties(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WizardProperties(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WizardProperties() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WizardProperties(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - /// Int32 item - [SupportByVersion("Publisher", 14,15,16)] - [NetRuntimeSystem.Runtime.CompilerServices.IndexerName("Item"), IndexProperty] - public NetOffice.PublisherApi.WizardProperty this[Int32 item] - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Item", NetOffice.PublisherApi.WizardProperty.LateBindingApiWrapperType, item); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Count - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Count"); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 iD - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.WizardProperty FindPropertyById(Int32 iD) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "FindPropertyById", NetOffice.PublisherApi.WizardProperty.LateBindingApiWrapperType, iD); - } - - #endregion - - #region IEnumerableProvider - - ICOMObject IEnumerableProvider.GetComObjectEnumerator(ICOMObject parent) - { - return NetOffice.Utils.GetComObjectEnumeratorAsProperty(parent, this, false); - } - - IEnumerable IEnumerableProvider.FetchVariantComObjectEnumerator(ICOMObject parent, ICOMObject enumerator) - { - return NetOffice.Utils.FetchVariantComObjectEnumerator(parent, enumerator, false); - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public IEnumerator GetEnumerator() - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (NetOffice.PublisherApi.WizardProperty item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - IEnumerator NetRuntimeSystem.Collections.IEnumerable.GetEnumerator() - { - return NetOffice.Utils.GetProxyEnumeratorAsProperty(this, false); - } - - #endregion - - #pragma warning restore - } -} \ No newline at end of file diff --git a/Source/Publisher/DispatchInterfaces/WizardProperty.cs b/Source/Publisher/DispatchInterfaces/WizardProperty.cs deleted file mode 100644 index 82c0ddf864..0000000000 --- a/Source/Publisher/DispatchInterfaces/WizardProperty.cs +++ /dev/null @@ -1,214 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface WizardProperty - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class WizardProperty : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(WizardProperty); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public WizardProperty(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public WizardProperty(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WizardProperty(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WizardProperty(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WizardProperty(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WizardProperty(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WizardProperty() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WizardProperty(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 ID - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "ID"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Name - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Name"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 CurrentValueId - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "CurrentValueId"); - } - set - { - Factory.ExecuteValuePropertySet(this, "CurrentValueId", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool Enabled - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "Enabled"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.WizardValues Values - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Values", NetOffice.PublisherApi.WizardValues.LateBindingApiWrapperType); - } - } - - #endregion - - #region Methods - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/WizardValue.cs b/Source/Publisher/DispatchInterfaces/WizardValue.cs deleted file mode 100644 index d8c444e2a5..0000000000 --- a/Source/Publisher/DispatchInterfaces/WizardValue.cs +++ /dev/null @@ -1,171 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface WizardValue - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class WizardValue : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(WizardValue); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public WizardValue(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public WizardValue(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WizardValue(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WizardValue(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WizardValue(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WizardValue(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WizardValue() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WizardValue(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 ID - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "ID"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Name - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Name"); - } - } - - #endregion - - #region Methods - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/WizardValues.cs b/Source/Publisher/DispatchInterfaces/WizardValues.cs deleted file mode 100644 index 9e78bde509..0000000000 --- a/Source/Publisher/DispatchInterfaces/WizardValues.cs +++ /dev/null @@ -1,218 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; -using NetOffice.CollectionsGeneric; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface WizardValues - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface), Enumerator(Enumerator.Reference, EnumeratorInvoke.Property), HasIndexProperty(IndexInvoke.Property, "Item")] - public class WizardValues : COMObject, NetOffice.CollectionsGeneric.IEnumerableProvider - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(WizardValues); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public WizardValues(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public WizardValues(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WizardValues(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WizardValues(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WizardValues(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WizardValues(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WizardValues() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WizardValues(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - /// Int32 item - [SupportByVersion("Publisher", 14,15,16)] - [NetRuntimeSystem.Runtime.CompilerServices.IndexerName("Item"), IndexProperty] - public NetOffice.PublisherApi.WizardValue this[Int32 item] - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Item", NetOffice.PublisherApi.WizardValue.LateBindingApiWrapperType, item); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Count - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Count"); - } - } - - #endregion - - #region Methods - - #endregion - - #region IEnumerableProvider - - ICOMObject IEnumerableProvider.GetComObjectEnumerator(ICOMObject parent) - { - return NetOffice.Utils.GetComObjectEnumeratorAsProperty(parent, this, false); - } - - IEnumerable IEnumerableProvider.FetchVariantComObjectEnumerator(ICOMObject parent, ICOMObject enumerator) - { - return NetOffice.Utils.FetchVariantComObjectEnumerator(parent, enumerator, false); - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public IEnumerator GetEnumerator() - { - NetRuntimeSystem.Collections.IEnumerable innerEnumerator = (this as NetRuntimeSystem.Collections.IEnumerable); - foreach (NetOffice.PublisherApi.WizardValue item in innerEnumerator) - yield return item; - } - - #endregion - - #region IEnumerable - - /// - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - IEnumerator NetRuntimeSystem.Collections.IEnumerable.GetEnumerator() - { - return NetOffice.Utils.GetProxyEnumeratorAsProperty(this, false); - } - - #endregion - - #pragma warning restore - } -} \ No newline at end of file diff --git a/Source/Publisher/DispatchInterfaces/WrapFormat.cs b/Source/Publisher/DispatchInterfaces/WrapFormat.cs deleted file mode 100644 index aee52e6b41..0000000000 --- a/Source/Publisher/DispatchInterfaces/WrapFormat.cs +++ /dev/null @@ -1,264 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface WrapFormat - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface)] - public class WrapFormat : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(WrapFormat); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public WrapFormat(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public WrapFormat(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WrapFormat(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WrapFormat(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WrapFormat(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WrapFormat(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WrapFormat() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public WrapFormat(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbWrapType Type - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Type"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Type", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbWrapSideType Side - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "Side"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "Side", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoTriState DistanceAuto - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "DistanceAuto"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "DistanceAuto", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object DistanceTop - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "DistanceTop"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "DistanceTop", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object DistanceLeft - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "DistanceLeft"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "DistanceLeft", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object DistanceBottom - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "DistanceBottom"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "DistanceBottom", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object DistanceRight - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "DistanceRight"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "DistanceRight", value); - } - } - - #endregion - - #region Methods - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/_Application.cs b/Source/Publisher/DispatchInterfaces/_Application.cs deleted file mode 100644 index ee18013ba7..0000000000 --- a/Source/Publisher/DispatchInterfaces/_Application.cs +++ /dev/null @@ -1,946 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface _Application - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface), BaseType] - public class _Application : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(_Application); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public _Application(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public _Application(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public _Application(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public _Application(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public _Application(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public _Application(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public _Application() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public _Application(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Document ActiveDocument - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "ActiveDocument", NetOffice.PublisherApi.Document.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Window ActiveWindow - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "ActiveWindow", NetOffice.PublisherApi.Window.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public NetOffice.OfficeApi.Assistant Assistant - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Assistant", NetOffice.OfficeApi.Assistant.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Build - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Build"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ColorSchemes ColorSchemes - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "ColorSchemes", NetOffice.PublisherApi.ColorSchemes.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.COMAddIns COMAddIns - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "COMAddIns", NetOffice.OfficeApi.COMAddIns.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.CommandBars CommandBars - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "CommandBars", NetOffice.OfficeApi.CommandBars.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - /// NetOffice.OfficeApi.Enums.MsoFileDialogType type - [SupportByVersion("Publisher", 14,15,16)] - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public NetOffice.OfficeApi.FileDialog get_FileDialog(NetOffice.OfficeApi.Enums.MsoFileDialogType type) - { - return Factory.ExecuteKnownReferencePropertyGet(this, "FileDialog", NetOffice.OfficeApi.FileDialog.LateBindingApiWrapperType, type); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Alias for get_FileDialog - /// - /// NetOffice.OfficeApi.Enums.MsoFileDialogType type - [SupportByVersion("Publisher", 14,15,16), Redirect("get_FileDialog")] - public NetOffice.OfficeApi.FileDialog FileDialog(NetOffice.OfficeApi.Enums.MsoFileDialogType type) - { - return get_FileDialog(type); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public NetOffice.OfficeApi.FileSearch FileSearch - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "FileSearch", NetOffice.OfficeApi.FileSearch.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 Language - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "Language"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Name - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Name"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Options Options - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Options", NetOffice.PublisherApi.Options.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Path - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Path"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string PathSeparator - { - get - { - return Factory.ExecuteStringPropertyGet(this, "PathSeparator"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string ProductCode - { - get - { - return Factory.ExecuteStringPropertyGet(this, "ProductCode"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool PrintPreview - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "PrintPreview"); - } - set - { - Factory.ExecuteValuePropertySet(this, "PrintPreview", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool ScreenUpdating - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "ScreenUpdating"); - } - set - { - Factory.ExecuteValuePropertySet(this, "ScreenUpdating", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Selection Selection - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Selection", NetOffice.PublisherApi.Selection.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool SnapToGuides - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "SnapToGuides"); - } - set - { - Factory.ExecuteValuePropertySet(this, "SnapToGuides", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool SnapToObjects - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "SnapToObjects"); - } - set - { - Factory.ExecuteValuePropertySet(this, "SnapToObjects", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string TemplateFolderPath - { - get - { - return Factory.ExecuteStringPropertyGet(this, "TemplateFolderPath"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Version - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Version"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.OfficeDataSourceObject OfficeDataSourceObject - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "OfficeDataSourceObject", NetOffice.OfficeApi.OfficeDataSourceObject.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool WizardCatalogVisible - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "WizardCatalogVisible"); - } - set - { - Factory.ExecuteValuePropertySet(this, "WizardCatalogVisible", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Documents Documents - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Documents", NetOffice.PublisherApi.Documents.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.WebOptions WebOptions - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "WebOptions", NetOffice.PublisherApi.WebOptions.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.InstalledPrinters InstalledPrinters - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "InstalledPrinters", NetOffice.PublisherApi.InstalledPrinters.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public NetOffice.OfficeApi.MsoDebugOptions MsoDebugOptions - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "MsoDebugOptions", NetOffice.OfficeApi.MsoDebugOptions.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool ValidateAddressVisible - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "ValidateAddressVisible"); - } - set - { - Factory.ExecuteValuePropertySet(this, "ValidateAddressVisible", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool InsertBarcodeVisible - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "InsertBarcodeVisible"); - } - set - { - Factory.ExecuteValuePropertySet(this, "InsertBarcodeVisible", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public string ShowFollowUpCustom - { - get - { - return Factory.ExecuteStringPropertyGet(this, "ShowFollowUpCustom"); - } - set - { - Factory.ExecuteValuePropertySet(this, "ShowFollowUpCustom", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.Enums.MsoAutomationSecurity AutomationSecurity - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "AutomationSecurity"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "AutomationSecurity", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.IAssistance Assistance - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Assistance", NetOffice.OfficeApi.IAssistance.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.CaptionStyles CaptionStyles - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "CaptionStyles", NetOffice.PublisherApi.CaptionStyles.LateBindingApiWrapperType); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string dir - [SupportByVersion("Publisher", 14,15,16)] - public void ChangeFileOpenDirectory(string dir) - { - Factory.ExecuteMethod(this, "ChangeFileOpenDirectory", dir); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbHelpType helpType - [SupportByVersion("Publisher", 14,15,16)] - public void Help(NetOffice.PublisherApi.Enums.PbHelpType helpType) - { - Factory.ExecuteMethod(this, "Help", helpType); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// object object - [SupportByVersion("Publisher", 14,15,16)] - public bool IsValidObject(object _object) - { - return Factory.ExecuteBoolMethodGet(this, "IsValidObject", _object); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional NetOffice.PublisherApi.Enums.PbWizard Wizard = 0 - /// optional Int32 Design = -1 - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Document NewDocument(object wizard, object design) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "NewDocument", NetOffice.PublisherApi.Document.LateBindingApiWrapperType, wizard, design); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Document NewDocument() - { - return Factory.ExecuteKnownReferenceMethodGet(this, "NewDocument", NetOffice.PublisherApi.Document.LateBindingApiWrapperType); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional NetOffice.PublisherApi.Enums.PbWizard Wizard = 0 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Document NewDocument(object wizard) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "NewDocument", NetOffice.PublisherApi.Document.LateBindingApiWrapperType, wizard); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string filename - /// optional bool ReadOnly = false - /// optional bool AddToRecentFiles = true - /// optional NetOffice.PublisherApi.Enums.PbSaveOptions SaveChanges = 1 - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Document Open(string filename, object readOnly, object addToRecentFiles, object saveChanges) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Open", NetOffice.PublisherApi.Document.LateBindingApiWrapperType, filename, readOnly, addToRecentFiles, saveChanges); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string filename - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Document Open(string filename) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Open", NetOffice.PublisherApi.Document.LateBindingApiWrapperType, filename); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string filename - /// optional bool ReadOnly = false - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Document Open(string filename, object readOnly) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Open", NetOffice.PublisherApi.Document.LateBindingApiWrapperType, filename, readOnly); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string filename - /// optional bool ReadOnly = false - /// optional bool AddToRecentFiles = true - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Document Open(string filename, object readOnly, object addToRecentFiles) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "Open", NetOffice.PublisherApi.Document.LateBindingApiWrapperType, filename, readOnly, addToRecentFiles); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Quit() - { - Factory.ExecuteMethod(this, "Quit"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - [SupportByVersion("Publisher", 14,15,16)] - public void LaunchWebService() - { - Factory.ExecuteMethod(this, "LaunchWebService"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single value - [SupportByVersion("Publisher", 14,15,16)] - public Single CentimetersToPoints(Single value) - { - return Factory.ExecuteSingleMethodGet(this, "CentimetersToPoints", value); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single value - [SupportByVersion("Publisher", 14,15,16)] - public Single EmusToPoints(Single value) - { - return Factory.ExecuteSingleMethodGet(this, "EmusToPoints", value); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single value - [SupportByVersion("Publisher", 14,15,16)] - public Single InchesToPoints(Single value) - { - return Factory.ExecuteSingleMethodGet(this, "InchesToPoints", value); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single value - [SupportByVersion("Publisher", 14,15,16)] - public Single LinesToPoints(Single value) - { - return Factory.ExecuteSingleMethodGet(this, "LinesToPoints", value); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single value - [SupportByVersion("Publisher", 14,15,16)] - public Single MillimetersToPoints(Single value) - { - return Factory.ExecuteSingleMethodGet(this, "MillimetersToPoints", value); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single value - [SupportByVersion("Publisher", 14,15,16)] - public Single PicasToPoints(Single value) - { - return Factory.ExecuteSingleMethodGet(this, "PicasToPoints", value); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single value - [SupportByVersion("Publisher", 14,15,16)] - public Single PixelsToPoints(Single value) - { - return Factory.ExecuteSingleMethodGet(this, "PixelsToPoints", value); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single value - [SupportByVersion("Publisher", 14,15,16)] - public Single TwipsToPoints(Single value) - { - return Factory.ExecuteSingleMethodGet(this, "TwipsToPoints", value); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single value - [SupportByVersion("Publisher", 14,15,16)] - public Single PointsToCentimeters(Single value) - { - return Factory.ExecuteSingleMethodGet(this, "PointsToCentimeters", value); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single value - [SupportByVersion("Publisher", 14,15,16)] - public Single PointsToEmus(Single value) - { - return Factory.ExecuteSingleMethodGet(this, "PointsToEmus", value); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single value - [SupportByVersion("Publisher", 14,15,16)] - public Single PointsToInches(Single value) - { - return Factory.ExecuteSingleMethodGet(this, "PointsToInches", value); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single value - [SupportByVersion("Publisher", 14,15,16)] - public Single PointsToLines(Single value) - { - return Factory.ExecuteSingleMethodGet(this, "PointsToLines", value); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single value - [SupportByVersion("Publisher", 14,15,16)] - public Single PointsToMillimeters(Single value) - { - return Factory.ExecuteSingleMethodGet(this, "PointsToMillimeters", value); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single value - [SupportByVersion("Publisher", 14,15,16)] - public Single PointsToPicas(Single value) - { - return Factory.ExecuteSingleMethodGet(this, "PointsToPicas", value); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single value - [SupportByVersion("Publisher", 14,15,16)] - public Single PointsToPixels(Single value) - { - return Factory.ExecuteSingleMethodGet(this, "PointsToPixels", value); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single value - [SupportByVersion("Publisher", 14,15,16)] - public Single PointsToTwips(Single value) - { - return Factory.ExecuteSingleMethodGet(this, "PointsToTwips", value); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional NetOffice.PublisherApi.Enums.PbWizard Wizard = 0 - [SupportByVersion("Publisher", 14,15,16)] - public void ShowWizardCatalog(object wizard) - { - Factory.ExecuteMethod(this, "ShowWizardCatalog", wizard); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ShowWizardCatalog() - { - Factory.ExecuteMethod(this, "ShowWizardCatalog"); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/DispatchInterfaces/_Document.cs b/Source/Publisher/DispatchInterfaces/_Document.cs deleted file mode 100644 index 53bf245f5b..0000000000 --- a/Source/Publisher/DispatchInterfaces/_Document.cs +++ /dev/null @@ -1,1638 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi -{ - /// - /// DispatchInterface _Document - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsDispatchInterface), BaseType] - public class _Document : COMObject - { - #pragma warning disable - - #region Type Information - - /// - /// Instance Type - /// - [EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden] - public override Type InstanceType - { - get - { - return LateBindingApiWrapperType; - } - } - - private static Type _type; - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static Type LateBindingApiWrapperType - { - get - { - if (null == _type) - _type = typeof(_Document); - return _type; - } - } - - #endregion - - #region Ctor - - /// current used factory core - /// object there has created the proxy - /// proxy share instead if com proxy - public _Document(Core factory, ICOMObject parentObject, COMProxyShare proxyShare) : base(factory, parentObject, proxyShare) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - public _Document(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public _Document(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy) - { - } - - ///current used factory core - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public _Document(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType) - { - - } - - ///object there has created the proxy - ///inner wrapped COM proxy - ///Type of inner wrapped COM proxy" - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public _Document(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType) - { - } - - ///object to replaced. replacedObject are not usable after this action - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public _Document(ICOMObject replacedObject) : base(replacedObject) - { - } - - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public _Document() : base() - { - } - - /// registered progID - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public _Document(string progId) : base(progId) - { - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public string ActivePrinter - { - get - { - return Factory.ExecuteStringPropertyGet(this, "ActivePrinter"); - } - set - { - Factory.ExecuteValuePropertySet(this, "ActivePrinter", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Window ActiveWindow - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "ActiveWindow", NetOffice.PublisherApi.Window.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbColorMode ColorMode - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "ColorMode"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ColorScheme ColorScheme - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "ColorScheme", NetOffice.PublisherApi.ColorScheme.LateBindingApiWrapperType); - } - set - { - Factory.ExecuteReferencePropertySet(this, "ColorScheme", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public object DefaultTabStop - { - get - { - return Factory.ExecuteVariantPropertyGet(this, "DefaultTabStop"); - } - set - { - Factory.ExecuteVariantPropertySet(this, "DefaultTabStop", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool EnvelopeVisible - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "EnvelopeVisible"); - } - set - { - Factory.ExecuteValuePropertySet(this, "EnvelopeVisible", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string FullName - { - get - { - return Factory.ExecuteStringPropertyGet(this, "FullName"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.LayoutGuides LayoutGuides - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "LayoutGuides", NetOffice.PublisherApi.LayoutGuides.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.OfficeApi.MsoEnvelope MailEnvelope - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "MailEnvelope", NetOffice.OfficeApi.MsoEnvelope.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.MailMerge MailMerge - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "MailMerge", NetOffice.PublisherApi.MailMerge.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.MasterPages MasterPages - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "MasterPages", NetOffice.PublisherApi.MasterPages.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Name - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Name"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Pages Pages - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Pages", NetOffice.PublisherApi.Pages.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.PageSetup PageSetup - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "PageSetup", NetOffice.PublisherApi.PageSetup.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14,15,16), ProxyResult] - public object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(this, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public string Path - { - get - { - return Factory.ExecuteStringPropertyGet(this, "Path"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public NetOffice.PublisherApi.Enums.PbPersonalInfoSet PersonalInformationSet - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "PersonalInformationSet"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "PersonalInformationSet", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Plates Plates - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Plates", NetOffice.PublisherApi.Plates.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool ReadOnly - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "ReadOnly"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbDirectionType DocumentDirection - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "DocumentDirection"); - } - set - { - Factory.ExecuteEnumPropertySet(this, "DocumentDirection", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool Saved - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "Saved"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbFileFormat SaveFormat - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "SaveFormat"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ScratchArea ScratchArea - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "ScratchArea", NetOffice.PublisherApi.ScratchArea.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Selection Selection - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Selection", NetOffice.PublisherApi.Selection.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Stories Stories - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Stories", NetOffice.PublisherApi.Stories.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Tags Tags - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Tags", NetOffice.PublisherApi.Tags.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.TextStyles TextStyles - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "TextStyles", NetOffice.PublisherApi.TextStyles.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public bool ViewBoundariesAndGuides - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "ViewBoundariesAndGuides"); - } - set - { - Factory.ExecuteValuePropertySet(this, "ViewBoundariesAndGuides", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool ViewTwoPageSpread - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "ViewTwoPageSpread"); - } - set - { - Factory.ExecuteValuePropertySet(this, "ViewTwoPageSpread", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Wizard Wizard - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Wizard", NetOffice.PublisherApi.Wizard.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.View ActiveView - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "ActiveView", NetOffice.PublisherApi.View.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.AdvancedPrintOptions AdvancedPrintOptions - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "AdvancedPrintOptions", NetOffice.PublisherApi.AdvancedPrintOptions.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.BorderArts BorderArts - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "BorderArts", NetOffice.PublisherApi.BorderArts.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool IsDataSourceConnected - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "IsDataSourceConnected"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.FindReplace Find - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Find", NetOffice.PublisherApi.FindReplace.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 UndoActionsAvailable - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "UndoActionsAvailable"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public Int32 RedoActionsAvailable - { - get - { - return Factory.ExecuteInt32PropertyGet(this, "RedoActionsAvailable"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool ViewHorizontalBaseLineGuides - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "ViewHorizontalBaseLineGuides"); - } - set - { - Factory.ExecuteValuePropertySet(this, "ViewHorizontalBaseLineGuides", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool ViewVerticalBaseLineGuides - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "ViewVerticalBaseLineGuides"); - } - set - { - Factory.ExecuteValuePropertySet(this, "ViewVerticalBaseLineGuides", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbPublicationType PublicationType - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "PublicationType"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Sections Sections - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "Sections", NetOffice.PublisherApi.Sections.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.WebNavigationBarSets WebNavigationBarSets - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "WebNavigationBarSets", NetOffice.PublisherApi.WebNavigationBarSets.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool RemovePersonalInformation - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "RemovePersonalInformation"); - } - set - { - Factory.ExecuteValuePropertySet(this, "RemovePersonalInformation", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool PrintPageBackgrounds - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "PrintPageBackgrounds"); - } - set - { - Factory.ExecuteValuePropertySet(this, "PrintPageBackgrounds", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ColorsInUse ColorsInUse - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "ColorsInUse", NetOffice.PublisherApi.ColorsInUse.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool IsWizard - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "IsWizard"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ShapeRange SurplusShapes - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "SurplusShapes", NetOffice.PublisherApi.ShapeRange.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Enums.PbPrintStyle PrintStyle - { - get - { - return Factory.ExecuteEnumPropertyGet(this, "PrintStyle"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool ViewBoundaries - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "ViewBoundaries"); - } - set - { - Factory.ExecuteValuePropertySet(this, "ViewBoundaries", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14,15,16)] - public bool ViewGuides - { - get - { - return Factory.ExecuteBoolPropertyGet(this, "ViewGuides"); - } - set - { - Factory.ExecuteValuePropertySet(this, "ViewGuides", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.BuildingBlocks AvailableBuildingBlocks - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(this, "AvailableBuildingBlocks", NetOffice.PublisherApi.BuildingBlocks.LateBindingApiWrapperType); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Close() - { - Factory.ExecuteMethod(this, "Close"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbColorMode mode - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.Plates CreatePlateCollection(NetOffice.PublisherApi.Enums.PbColorMode mode) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "CreatePlateCollection", NetOffice.PublisherApi.Plates.LateBindingApiWrapperType, mode); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbColorMode mode - /// optional object plates - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - [SupportByVersion("Publisher", 14,15,16)] - public void EnterColorMode10(NetOffice.PublisherApi.Enums.PbColorMode mode, object plates) - { - Factory.ExecuteMethod(this, "EnterColorMode10", mode, plates); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbColorMode mode - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void EnterColorMode10(NetOffice.PublisherApi.Enums.PbColorMode mode) - { - Factory.ExecuteMethod(this, "EnterColorMode10", mode); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string tagName - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ShapeRange FindShapesByTag(string tagName) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "FindShapesByTag", NetOffice.PublisherApi.ShapeRange.LateBindingApiWrapperType, tagName); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbWizardTag wizardTag - /// optional Int32 Instance = -1 - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ShapeRange FindShapeByWizardTag(NetOffice.PublisherApi.Enums.PbWizardTag wizardTag, object instance) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "FindShapeByWizardTag", NetOffice.PublisherApi.ShapeRange.LateBindingApiWrapperType, wizardTag, instance); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbWizardTag wizardTag - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public NetOffice.PublisherApi.ShapeRange FindShapeByWizardTag(NetOffice.PublisherApi.Enums.PbWizardTag wizardTag) - { - return Factory.ExecuteKnownReferenceMethodGet(this, "FindShapeByWizardTag", NetOffice.PublisherApi.ShapeRange.LateBindingApiWrapperType, wizardTag); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional Int32 From = -1 - /// optional Int32 To = -1 - /// optional string PrintToFile = - /// optional Int32 Copies = -1 - /// optional bool Collate = true - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - [SupportByVersion("Publisher", 14,15,16)] - public void PrintOut(object from, object to, object printToFile, object copies, object collate) - { - Factory.ExecuteMethod(this, "PrintOut", new object[]{ from, to, printToFile, copies, collate }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void PrintOut() - { - Factory.ExecuteMethod(this, "PrintOut"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional Int32 From = -1 - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void PrintOut(object from) - { - Factory.ExecuteMethod(this, "PrintOut", from); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional Int32 From = -1 - /// optional Int32 To = -1 - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void PrintOut(object from, object to) - { - Factory.ExecuteMethod(this, "PrintOut", from, to); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional Int32 From = -1 - /// optional Int32 To = -1 - /// optional string PrintToFile = - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void PrintOut(object from, object to, object printToFile) - { - Factory.ExecuteMethod(this, "PrintOut", from, to, printToFile); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional Int32 From = -1 - /// optional Int32 To = -1 - /// optional string PrintToFile = - /// optional Int32 Copies = -1 - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void PrintOut(object from, object to, object printToFile, object copies) - { - Factory.ExecuteMethod(this, "PrintOut", from, to, printToFile, copies); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void Save() - { - Factory.ExecuteMethod(this, "Save"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional object filename - /// optional NetOffice.PublisherApi.Enums.PbFileFormat Format = 1 - /// optional bool AddToRecentFiles = true - [SupportByVersion("Publisher", 14,15,16)] - public void SaveAs(object filename, object format, object addToRecentFiles) - { - Factory.ExecuteMethod(this, "SaveAs", filename, format, addToRecentFiles); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void SaveAs() - { - Factory.ExecuteMethod(this, "SaveAs"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional object filename - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void SaveAs(object filename) - { - Factory.ExecuteMethod(this, "SaveAs", filename); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional object filename - /// optional NetOffice.PublisherApi.Enums.PbFileFormat Format = 1 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void SaveAs(object filename, object format) - { - Factory.ExecuteMethod(this, "SaveAs", filename, format); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Int32 oh - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - [SupportByVersion("Publisher", 14,15,16)] - public void SelectID(Int32 oh) - { - Factory.ExecuteMethod(this, "SelectID", oh); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void UndoClear() - { - Factory.ExecuteMethod(this, "UndoClear"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void UpdateOLEObjects() - { - Factory.ExecuteMethod(this, "UpdateOLEObjects"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional Int32 Count = 1 - [SupportByVersion("Publisher", 14,15,16)] - public void Undo(object count) - { - Factory.ExecuteMethod(this, "Undo", count); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void Undo() - { - Factory.ExecuteMethod(this, "Undo"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional Int32 Count = 1 - [SupportByVersion("Publisher", 14,15,16)] - public void Redo(object count) - { - Factory.ExecuteMethod(this, "Redo", count); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void Redo() - { - Factory.ExecuteMethod(this, "Redo"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string actionName - [SupportByVersion("Publisher", 14,15,16)] - public void BeginCustomUndoAction(string actionName) - { - Factory.ExecuteMethod(this, "BeginCustomUndoAction", actionName); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void EndCustomUndoAction() - { - Factory.ExecuteMethod(this, "EndCustomUndoAction"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - public void WebPagePreview() - { - Factory.ExecuteMethod(this, "WebPagePreview"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbPublicationType value - [SupportByVersion("Publisher", 14,15,16)] - public void ConvertPublicationType(NetOffice.PublisherApi.Enums.PbPublicationType value) - { - Factory.ExecuteMethod(this, "ConvertPublicationType", value); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbColorMode mode - /// optional object plates - /// optional bool DeleteExcessInks = false - [SupportByVersion("Publisher", 14,15,16)] - public void EnterColorMode(NetOffice.PublisherApi.Enums.PbColorMode mode, object plates, object deleteExcessInks) - { - Factory.ExecuteMethod(this, "EnterColorMode", mode, plates, deleteExcessInks); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbColorMode mode - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void EnterColorMode(NetOffice.PublisherApi.Enums.PbColorMode mode) - { - Factory.ExecuteMethod(this, "EnterColorMode", mode); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbColorMode mode - /// optional object plates - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void EnterColorMode(NetOffice.PublisherApi.Enums.PbColorMode mode, object plates) - { - Factory.ExecuteMethod(this, "EnterColorMode", mode, plates); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional Int32 From = -1 - /// optional Int32 To = -1 - /// optional string PrintToFile = - /// optional Int32 Copies = -1 - /// optional bool Collate = true - /// optional NetOffice.PublisherApi.Enums.PbPrintStyle PrintStyle = 0 - [SupportByVersion("Publisher", 14,15,16)] - public void PrintOutEx(object from, object to, object printToFile, object copies, object collate, object printStyle) - { - Factory.ExecuteMethod(this, "PrintOutEx", new object[]{ from, to, printToFile, copies, collate, printStyle }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void PrintOutEx() - { - Factory.ExecuteMethod(this, "PrintOutEx"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional Int32 From = -1 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void PrintOutEx(object from) - { - Factory.ExecuteMethod(this, "PrintOutEx", from); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional Int32 From = -1 - /// optional Int32 To = -1 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void PrintOutEx(object from, object to) - { - Factory.ExecuteMethod(this, "PrintOutEx", from, to); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional Int32 From = -1 - /// optional Int32 To = -1 - /// optional string PrintToFile = - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void PrintOutEx(object from, object to, object printToFile) - { - Factory.ExecuteMethod(this, "PrintOutEx", from, to, printToFile); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional Int32 From = -1 - /// optional Int32 To = -1 - /// optional string PrintToFile = - /// optional Int32 Copies = -1 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void PrintOutEx(object from, object to, object printToFile, object copies) - { - Factory.ExecuteMethod(this, "PrintOutEx", from, to, printToFile, copies); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional Int32 From = -1 - /// optional Int32 To = -1 - /// optional string PrintToFile = - /// optional Int32 Copies = -1 - /// optional bool Collate = true - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void PrintOutEx(object from, object to, object printToFile, object copies, object collate) - { - Factory.ExecuteMethod(this, "PrintOutEx", new object[]{ from, to, printToFile, copies, collate }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbWizard wizard - /// optional Int32 Design = -1 - [SupportByVersion("Publisher", 14,15,16)] - public void ChangeDocument(NetOffice.PublisherApi.Enums.PbWizard wizard, object design) - { - Factory.ExecuteMethod(this, "ChangeDocument", wizard, design); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbWizard wizard - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ChangeDocument(NetOffice.PublisherApi.Enums.PbWizard wizard) - { - Factory.ExecuteMethod(this, "ChangeDocument", wizard); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string name - [SupportByVersion("Publisher", 14,15,16)] - public void SetBusinessInformation(string name) - { - Factory.ExecuteMethod(this, "SetBusinessInformation", name); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbFixedFormatType format - /// string filename - /// optional NetOffice.PublisherApi.Enums.PbFixedFormatIntent Intent = 3 - /// optional bool IncludeDocumentProperties = true - /// optional Int32 ColorDownsampleTarget = -1 - /// optional Int32 ColorDownsampleThreshold = -1 - /// optional Int32 OneBitDownsampleTarget = -1 - /// optional Int32 OneBitDownsampleThreshold = -1 - /// optional Int32 From = -1 - /// optional Int32 To = -1 - /// optional Int32 Copies = -1 - /// optional bool Collate = true - /// optional NetOffice.PublisherApi.Enums.PbPrintStyle PrintStyle = 0 - /// optional bool DocStructureTags = true - /// optional bool BitmapMissingFonts = true - /// optional bool UseISO19005_1 = false - /// optional object externalExporter - [SupportByVersion("Publisher", 14,15,16)] - public void ExportAsFixedFormat(NetOffice.PublisherApi.Enums.PbFixedFormatType format, string filename, object intent, object includeDocumentProperties, object colorDownsampleTarget, object colorDownsampleThreshold, object oneBitDownsampleTarget, object oneBitDownsampleThreshold, object from, object to, object copies, object collate, object printStyle, object docStructureTags, object bitmapMissingFonts, object useISO19005_1, object externalExporter) - { - Factory.ExecuteMethod(this, "ExportAsFixedFormat", new object[]{ format, filename, intent, includeDocumentProperties, colorDownsampleTarget, colorDownsampleThreshold, oneBitDownsampleTarget, oneBitDownsampleThreshold, from, to, copies, collate, printStyle, docStructureTags, bitmapMissingFonts, useISO19005_1, externalExporter }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbFixedFormatType format - /// string filename - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ExportAsFixedFormat(NetOffice.PublisherApi.Enums.PbFixedFormatType format, string filename) - { - Factory.ExecuteMethod(this, "ExportAsFixedFormat", format, filename); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbFixedFormatType format - /// string filename - /// optional NetOffice.PublisherApi.Enums.PbFixedFormatIntent Intent = 3 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ExportAsFixedFormat(NetOffice.PublisherApi.Enums.PbFixedFormatType format, string filename, object intent) - { - Factory.ExecuteMethod(this, "ExportAsFixedFormat", format, filename, intent); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbFixedFormatType format - /// string filename - /// optional NetOffice.PublisherApi.Enums.PbFixedFormatIntent Intent = 3 - /// optional bool IncludeDocumentProperties = true - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ExportAsFixedFormat(NetOffice.PublisherApi.Enums.PbFixedFormatType format, string filename, object intent, object includeDocumentProperties) - { - Factory.ExecuteMethod(this, "ExportAsFixedFormat", format, filename, intent, includeDocumentProperties); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbFixedFormatType format - /// string filename - /// optional NetOffice.PublisherApi.Enums.PbFixedFormatIntent Intent = 3 - /// optional bool IncludeDocumentProperties = true - /// optional Int32 ColorDownsampleTarget = -1 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ExportAsFixedFormat(NetOffice.PublisherApi.Enums.PbFixedFormatType format, string filename, object intent, object includeDocumentProperties, object colorDownsampleTarget) - { - Factory.ExecuteMethod(this, "ExportAsFixedFormat", new object[]{ format, filename, intent, includeDocumentProperties, colorDownsampleTarget }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbFixedFormatType format - /// string filename - /// optional NetOffice.PublisherApi.Enums.PbFixedFormatIntent Intent = 3 - /// optional bool IncludeDocumentProperties = true - /// optional Int32 ColorDownsampleTarget = -1 - /// optional Int32 ColorDownsampleThreshold = -1 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ExportAsFixedFormat(NetOffice.PublisherApi.Enums.PbFixedFormatType format, string filename, object intent, object includeDocumentProperties, object colorDownsampleTarget, object colorDownsampleThreshold) - { - Factory.ExecuteMethod(this, "ExportAsFixedFormat", new object[]{ format, filename, intent, includeDocumentProperties, colorDownsampleTarget, colorDownsampleThreshold }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbFixedFormatType format - /// string filename - /// optional NetOffice.PublisherApi.Enums.PbFixedFormatIntent Intent = 3 - /// optional bool IncludeDocumentProperties = true - /// optional Int32 ColorDownsampleTarget = -1 - /// optional Int32 ColorDownsampleThreshold = -1 - /// optional Int32 OneBitDownsampleTarget = -1 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ExportAsFixedFormat(NetOffice.PublisherApi.Enums.PbFixedFormatType format, string filename, object intent, object includeDocumentProperties, object colorDownsampleTarget, object colorDownsampleThreshold, object oneBitDownsampleTarget) - { - Factory.ExecuteMethod(this, "ExportAsFixedFormat", new object[]{ format, filename, intent, includeDocumentProperties, colorDownsampleTarget, colorDownsampleThreshold, oneBitDownsampleTarget }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbFixedFormatType format - /// string filename - /// optional NetOffice.PublisherApi.Enums.PbFixedFormatIntent Intent = 3 - /// optional bool IncludeDocumentProperties = true - /// optional Int32 ColorDownsampleTarget = -1 - /// optional Int32 ColorDownsampleThreshold = -1 - /// optional Int32 OneBitDownsampleTarget = -1 - /// optional Int32 OneBitDownsampleThreshold = -1 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ExportAsFixedFormat(NetOffice.PublisherApi.Enums.PbFixedFormatType format, string filename, object intent, object includeDocumentProperties, object colorDownsampleTarget, object colorDownsampleThreshold, object oneBitDownsampleTarget, object oneBitDownsampleThreshold) - { - Factory.ExecuteMethod(this, "ExportAsFixedFormat", new object[]{ format, filename, intent, includeDocumentProperties, colorDownsampleTarget, colorDownsampleThreshold, oneBitDownsampleTarget, oneBitDownsampleThreshold }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbFixedFormatType format - /// string filename - /// optional NetOffice.PublisherApi.Enums.PbFixedFormatIntent Intent = 3 - /// optional bool IncludeDocumentProperties = true - /// optional Int32 ColorDownsampleTarget = -1 - /// optional Int32 ColorDownsampleThreshold = -1 - /// optional Int32 OneBitDownsampleTarget = -1 - /// optional Int32 OneBitDownsampleThreshold = -1 - /// optional Int32 From = -1 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ExportAsFixedFormat(NetOffice.PublisherApi.Enums.PbFixedFormatType format, string filename, object intent, object includeDocumentProperties, object colorDownsampleTarget, object colorDownsampleThreshold, object oneBitDownsampleTarget, object oneBitDownsampleThreshold, object from) - { - Factory.ExecuteMethod(this, "ExportAsFixedFormat", new object[]{ format, filename, intent, includeDocumentProperties, colorDownsampleTarget, colorDownsampleThreshold, oneBitDownsampleTarget, oneBitDownsampleThreshold, from }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbFixedFormatType format - /// string filename - /// optional NetOffice.PublisherApi.Enums.PbFixedFormatIntent Intent = 3 - /// optional bool IncludeDocumentProperties = true - /// optional Int32 ColorDownsampleTarget = -1 - /// optional Int32 ColorDownsampleThreshold = -1 - /// optional Int32 OneBitDownsampleTarget = -1 - /// optional Int32 OneBitDownsampleThreshold = -1 - /// optional Int32 From = -1 - /// optional Int32 To = -1 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ExportAsFixedFormat(NetOffice.PublisherApi.Enums.PbFixedFormatType format, string filename, object intent, object includeDocumentProperties, object colorDownsampleTarget, object colorDownsampleThreshold, object oneBitDownsampleTarget, object oneBitDownsampleThreshold, object from, object to) - { - Factory.ExecuteMethod(this, "ExportAsFixedFormat", new object[]{ format, filename, intent, includeDocumentProperties, colorDownsampleTarget, colorDownsampleThreshold, oneBitDownsampleTarget, oneBitDownsampleThreshold, from, to }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbFixedFormatType format - /// string filename - /// optional NetOffice.PublisherApi.Enums.PbFixedFormatIntent Intent = 3 - /// optional bool IncludeDocumentProperties = true - /// optional Int32 ColorDownsampleTarget = -1 - /// optional Int32 ColorDownsampleThreshold = -1 - /// optional Int32 OneBitDownsampleTarget = -1 - /// optional Int32 OneBitDownsampleThreshold = -1 - /// optional Int32 From = -1 - /// optional Int32 To = -1 - /// optional Int32 Copies = -1 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ExportAsFixedFormat(NetOffice.PublisherApi.Enums.PbFixedFormatType format, string filename, object intent, object includeDocumentProperties, object colorDownsampleTarget, object colorDownsampleThreshold, object oneBitDownsampleTarget, object oneBitDownsampleThreshold, object from, object to, object copies) - { - Factory.ExecuteMethod(this, "ExportAsFixedFormat", new object[]{ format, filename, intent, includeDocumentProperties, colorDownsampleTarget, colorDownsampleThreshold, oneBitDownsampleTarget, oneBitDownsampleThreshold, from, to, copies }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbFixedFormatType format - /// string filename - /// optional NetOffice.PublisherApi.Enums.PbFixedFormatIntent Intent = 3 - /// optional bool IncludeDocumentProperties = true - /// optional Int32 ColorDownsampleTarget = -1 - /// optional Int32 ColorDownsampleThreshold = -1 - /// optional Int32 OneBitDownsampleTarget = -1 - /// optional Int32 OneBitDownsampleThreshold = -1 - /// optional Int32 From = -1 - /// optional Int32 To = -1 - /// optional Int32 Copies = -1 - /// optional bool Collate = true - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ExportAsFixedFormat(NetOffice.PublisherApi.Enums.PbFixedFormatType format, string filename, object intent, object includeDocumentProperties, object colorDownsampleTarget, object colorDownsampleThreshold, object oneBitDownsampleTarget, object oneBitDownsampleThreshold, object from, object to, object copies, object collate) - { - Factory.ExecuteMethod(this, "ExportAsFixedFormat", new object[]{ format, filename, intent, includeDocumentProperties, colorDownsampleTarget, colorDownsampleThreshold, oneBitDownsampleTarget, oneBitDownsampleThreshold, from, to, copies, collate }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbFixedFormatType format - /// string filename - /// optional NetOffice.PublisherApi.Enums.PbFixedFormatIntent Intent = 3 - /// optional bool IncludeDocumentProperties = true - /// optional Int32 ColorDownsampleTarget = -1 - /// optional Int32 ColorDownsampleThreshold = -1 - /// optional Int32 OneBitDownsampleTarget = -1 - /// optional Int32 OneBitDownsampleThreshold = -1 - /// optional Int32 From = -1 - /// optional Int32 To = -1 - /// optional Int32 Copies = -1 - /// optional bool Collate = true - /// optional NetOffice.PublisherApi.Enums.PbPrintStyle PrintStyle = 0 - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ExportAsFixedFormat(NetOffice.PublisherApi.Enums.PbFixedFormatType format, string filename, object intent, object includeDocumentProperties, object colorDownsampleTarget, object colorDownsampleThreshold, object oneBitDownsampleTarget, object oneBitDownsampleThreshold, object from, object to, object copies, object collate, object printStyle) - { - Factory.ExecuteMethod(this, "ExportAsFixedFormat", new object[]{ format, filename, intent, includeDocumentProperties, colorDownsampleTarget, colorDownsampleThreshold, oneBitDownsampleTarget, oneBitDownsampleThreshold, from, to, copies, collate, printStyle }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbFixedFormatType format - /// string filename - /// optional NetOffice.PublisherApi.Enums.PbFixedFormatIntent Intent = 3 - /// optional bool IncludeDocumentProperties = true - /// optional Int32 ColorDownsampleTarget = -1 - /// optional Int32 ColorDownsampleThreshold = -1 - /// optional Int32 OneBitDownsampleTarget = -1 - /// optional Int32 OneBitDownsampleThreshold = -1 - /// optional Int32 From = -1 - /// optional Int32 To = -1 - /// optional Int32 Copies = -1 - /// optional bool Collate = true - /// optional NetOffice.PublisherApi.Enums.PbPrintStyle PrintStyle = 0 - /// optional bool DocStructureTags = true - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ExportAsFixedFormat(NetOffice.PublisherApi.Enums.PbFixedFormatType format, string filename, object intent, object includeDocumentProperties, object colorDownsampleTarget, object colorDownsampleThreshold, object oneBitDownsampleTarget, object oneBitDownsampleThreshold, object from, object to, object copies, object collate, object printStyle, object docStructureTags) - { - Factory.ExecuteMethod(this, "ExportAsFixedFormat", new object[]{ format, filename, intent, includeDocumentProperties, colorDownsampleTarget, colorDownsampleThreshold, oneBitDownsampleTarget, oneBitDownsampleThreshold, from, to, copies, collate, printStyle, docStructureTags }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbFixedFormatType format - /// string filename - /// optional NetOffice.PublisherApi.Enums.PbFixedFormatIntent Intent = 3 - /// optional bool IncludeDocumentProperties = true - /// optional Int32 ColorDownsampleTarget = -1 - /// optional Int32 ColorDownsampleThreshold = -1 - /// optional Int32 OneBitDownsampleTarget = -1 - /// optional Int32 OneBitDownsampleThreshold = -1 - /// optional Int32 From = -1 - /// optional Int32 To = -1 - /// optional Int32 Copies = -1 - /// optional bool Collate = true - /// optional NetOffice.PublisherApi.Enums.PbPrintStyle PrintStyle = 0 - /// optional bool DocStructureTags = true - /// optional bool BitmapMissingFonts = true - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ExportAsFixedFormat(NetOffice.PublisherApi.Enums.PbFixedFormatType format, string filename, object intent, object includeDocumentProperties, object colorDownsampleTarget, object colorDownsampleThreshold, object oneBitDownsampleTarget, object oneBitDownsampleThreshold, object from, object to, object copies, object collate, object printStyle, object docStructureTags, object bitmapMissingFonts) - { - Factory.ExecuteMethod(this, "ExportAsFixedFormat", new object[]{ format, filename, intent, includeDocumentProperties, colorDownsampleTarget, colorDownsampleThreshold, oneBitDownsampleTarget, oneBitDownsampleThreshold, from, to, copies, collate, printStyle, docStructureTags, bitmapMissingFonts }); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbFixedFormatType format - /// string filename - /// optional NetOffice.PublisherApi.Enums.PbFixedFormatIntent Intent = 3 - /// optional bool IncludeDocumentProperties = true - /// optional Int32 ColorDownsampleTarget = -1 - /// optional Int32 ColorDownsampleThreshold = -1 - /// optional Int32 OneBitDownsampleTarget = -1 - /// optional Int32 OneBitDownsampleThreshold = -1 - /// optional Int32 From = -1 - /// optional Int32 To = -1 - /// optional Int32 Copies = -1 - /// optional bool Collate = true - /// optional NetOffice.PublisherApi.Enums.PbPrintStyle PrintStyle = 0 - /// optional bool DocStructureTags = true - /// optional bool BitmapMissingFonts = true - /// optional bool UseISO19005_1 = false - [CustomMethod] - [SupportByVersion("Publisher", 14,15,16)] - public void ExportAsFixedFormat(NetOffice.PublisherApi.Enums.PbFixedFormatType format, string filename, object intent, object includeDocumentProperties, object colorDownsampleTarget, object colorDownsampleThreshold, object oneBitDownsampleTarget, object oneBitDownsampleThreshold, object from, object to, object copies, object collate, object printStyle, object docStructureTags, object bitmapMissingFonts, object useISO19005_1) - { - Factory.ExecuteMethod(this, "ExportAsFixedFormat", new object[]{ format, filename, intent, includeDocumentProperties, colorDownsampleTarget, colorDownsampleThreshold, oneBitDownsampleTarget, oneBitDownsampleThreshold, from, to, copies, collate, printStyle, docStructureTags, bitmapMissingFonts, useISO19005_1 }); - } - - #endregion - - #pragma warning restore - } -} diff --git a/Source/Publisher/Enums/PbBuildingBlockGallery.cs b/Source/Publisher/Enums/PbBuildingBlockGallery.cs deleted file mode 100644 index 7e321d53cd..0000000000 --- a/Source/Publisher/Enums/PbBuildingBlockGallery.cs +++ /dev/null @@ -1,55 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbBuildingBlockGallery - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -1 - [SupportByVersion("Publisher", 14,15,16)] - pbBBGalNone = -1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbBBGalAdvertisements = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbBBGalAccents = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbBBGalCalendars = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbBBGalBusinessInfo = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbBBGalPageParts = 4 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbBuildingBlockType.cs b/Source/Publisher/Enums/PbBuildingBlockType.cs deleted file mode 100644 index 398494ad3f..0000000000 --- a/Source/Publisher/Enums/PbBuildingBlockType.cs +++ /dev/null @@ -1,48 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbBuildingBlockType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbBBNone = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbBBBuiltIn = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbBBDownloaded = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbBBUser = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbBBWorkGroup = 4 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbCalendarType.cs b/Source/Publisher/Enums/PbCalendarType.cs deleted file mode 100644 index 696a88971c..0000000000 --- a/Source/Publisher/Enums/PbCalendarType.cs +++ /dev/null @@ -1,90 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbCalendarType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbCalendarTypeWestern = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbCalendarTypeArabicHijri = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbCalendarTypeHebrewLunar = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbCalendarTypeChineseNational = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbCalendarTypeJapaneseEmperor = 4, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 5 - [SupportByVersion("Publisher", 14,15,16)] - pbCalendarTypeThaiBuddhist = 5, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 6 - [SupportByVersion("Publisher", 14,15,16)] - pbCalendarTypeKoreanDanki = 6, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 7 - [SupportByVersion("Publisher", 14,15,16)] - pbCalendarTypeSakaEra = 7, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 8 - [SupportByVersion("Publisher", 14,15,16)] - pbCalendarTypeTranslitEnglish = 8, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 9 - [SupportByVersion("Publisher", 14,15,16)] - pbCalendarTypeTranslitFrench = 9, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 13 - [SupportByVersion("Publisher", 14,15,16)] - pbCalendarTypeArabicUmalqura = 13 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbCellDiagonalType.cs b/Source/Publisher/Enums/PbCellDiagonalType.cs deleted file mode 100644 index f16b40e28a..0000000000 --- a/Source/Publisher/Enums/PbCellDiagonalType.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbCellDiagonalType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -2 - [SupportByVersion("Publisher", 14,15,16)] - pbTableCellDiagonalMixed = -2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbTableCellDiagonalNone = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbTableCellDiagonalUp = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbTableCellDiagonalDown = 2 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbCollapseDirection.cs b/Source/Publisher/Enums/PbCollapseDirection.cs deleted file mode 100644 index e13c9de82d..0000000000 --- a/Source/Publisher/Enums/PbCollapseDirection.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbCollapseDirection - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbCollapseStart = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbCollapseEnd = 2 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbColorMode.cs b/Source/Publisher/Enums/PbColorMode.cs deleted file mode 100644 index dbf6a4f18e..0000000000 --- a/Source/Publisher/Enums/PbColorMode.cs +++ /dev/null @@ -1,48 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbColorMode - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbColorModeDesktop = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbColorModeProcess = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbColorModeSpot = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbColorModeBW = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbColorModeSpotAndProcess = 4 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbColorModel.cs b/Source/Publisher/Enums/PbColorModel.cs deleted file mode 100644 index f854f244ed..0000000000 --- a/Source/Publisher/Enums/PbColorModel.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbColorModel - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbColorModelRGB = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbColorModelCMYK = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbColorModelGreyScale = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbColorModelUnknown = 4 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbColorScheme.cs b/Source/Publisher/Enums/PbColorScheme.cs deleted file mode 100644 index 3beb95ce3a..0000000000 --- a/Source/Publisher/Enums/PbColorScheme.cs +++ /dev/null @@ -1,496 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbColorScheme - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeCustom = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -1 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeAlpine = -1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -2 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeAqua = -2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -3 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeBerry = -3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -4 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeBlackGray = -4, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -5 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeBrown = -5, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -6 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeBurgundy = -6, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -7 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeCavern = -7, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -8 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeCitrus = -8, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -9 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeClay = -9, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -10 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeCranberry = -10, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -11 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeCrocus = -11, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -12 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeDesert = -12, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -13 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeField = -13, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -14 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeFjord = -14, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -15 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeFloral = -15, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -16 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeGarnet = -16, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -17 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeGlacier = -17, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -18 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeHeather = -18, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -19 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeIris = -19, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -20 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeIsland = -20, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -21 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeIvy = -21, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -22 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeLagoon = -22, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -23 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeLilac = -23, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -24 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeMahogany = -24, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -25 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeMarine = -25, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -26 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeMaroon = -26, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -27 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeMeadow = -27, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -28 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeMist = -28, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -29 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeMistletoe = -29, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -30 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeMoss = -30, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -31 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeMountain = -31, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -32 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeMulberry = -32, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -33 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeNavy = -33, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -34 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeNutmeg = -34, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -35 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeOlive = -35, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -36 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeOrchid = -36, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -37 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeParrot = -37, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -38 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemePebbles = -38, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -39 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemePrairie = -39, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -40 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeRainForest = -40, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -41 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeMonarch = -41, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -42 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeRedwood = -42, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -43 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeReef = -43, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -44 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeSagebrush = -44, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -45 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeSapphire = -45, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -46 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeShamrock = -46, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -47 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeSienna = -47, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -48 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeSpice = -48, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -49 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeSunrise = -49, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -50 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeSunset = -50, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -51 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeTeal = -51, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -52 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeTidepool = -52, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -53 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeTropics = -53, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -54 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeTrout = -54, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -55 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeVineyard = -55, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -56 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeWaterfall = -56, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -57 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeWildflower = -57, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -58 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeBlackWhite = -58, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -59 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeGreen = -59, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -60 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeRed = -60, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -61 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeDarkBlue = -61, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -1000 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeOcean = -1000, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -1001 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemePurple = -1001, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -1002 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeCherry = -1002, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -1003 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeOrange = -1003, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -1004 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeCelebration = -1004, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -1005 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemePeach = -1005, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2000 - [SupportByVersion("Publisher", 14,15,16)] - pbColorSchemeFirstUserDefined = 2000 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbColorType.cs b/Source/Publisher/Enums/PbColorType.cs deleted file mode 100644 index 420dfd0972..0000000000 --- a/Source/Publisher/Enums/PbColorType.cs +++ /dev/null @@ -1,55 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbColorType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -2 - [SupportByVersion("Publisher", 14,15,16)] - pbColorTypeMixed = -2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbColorTypeRGB = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbColorTypeScheme = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbColorTypeCMYK = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbColorTypeCMS = 4, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 5 - [SupportByVersion("Publisher", 14,15,16)] - pbColorTypeInk = 5 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbCommandButtonType.cs b/Source/Publisher/Enums/PbCommandButtonType.cs deleted file mode 100644 index 4d61fc0bce..0000000000 --- a/Source/Publisher/Enums/PbCommandButtonType.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbCommandButtonType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbCommandButtonSubmit = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbCommandButtonReset = 2 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbDateTimeFormat.cs b/Source/Publisher/Enums/PbDateTimeFormat.cs deleted file mode 100644 index 874fb2cdc3..0000000000 --- a/Source/Publisher/Enums/PbDateTimeFormat.cs +++ /dev/null @@ -1,167 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbDateTimeFormat - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbDateShort = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbDateLongDay = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbDateLong = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbDateShortAlt = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbDateISO = 4, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 5 - [SupportByVersion("Publisher", 14,15,16)] - pbDateShortMon = 5, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 6 - [SupportByVersion("Publisher", 14,15,16)] - pbDateShortSlash = 6, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 7 - [SupportByVersion("Publisher", 14,15,16)] - pbDateShortAbb = 7, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 8 - [SupportByVersion("Publisher", 14,15,16)] - pbDateEnglish = 8, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 9 - [SupportByVersion("Publisher", 14,15,16)] - pbDateMonthYr = 9, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 10 - [SupportByVersion("Publisher", 14,15,16)] - pbDateMon_Yr = 10, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 11 - [SupportByVersion("Publisher", 14,15,16)] - pbTimeDatePM = 11, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 12 - [SupportByVersion("Publisher", 14,15,16)] - pbTimeDateSecPM = 12, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 13 - [SupportByVersion("Publisher", 14,15,16)] - pbTimePM = 13, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 14 - [SupportByVersion("Publisher", 14,15,16)] - pbTimeSecPM = 14, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 15 - [SupportByVersion("Publisher", 14,15,16)] - pbTime24 = 15, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 16 - [SupportByVersion("Publisher", 14,15,16)] - pbTimeSec24 = 16, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 17 - [SupportByVersion("Publisher", 14,15,16)] - pbDateTimeEastAsia1 = 17, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 18 - [SupportByVersion("Publisher", 14,15,16)] - pbDateTimeEastAsia2 = 18, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 19 - [SupportByVersion("Publisher", 14,15,16)] - pbDateTimeEastAsia3 = 19, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 20 - [SupportByVersion("Publisher", 14,15,16)] - pbDateTimeEastAsia4 = 20, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 21 - [SupportByVersion("Publisher", 14,15,16)] - pbDateTimeEastAsia5 = 21 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbDirectionType.cs b/Source/Publisher/Enums/PbDirectionType.cs deleted file mode 100644 index afbcea0c5a..0000000000 --- a/Source/Publisher/Enums/PbDirectionType.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbDirectionType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbDirectionLeftToRight = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbDirectionRightToLeft = 2 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbDriverType.cs b/Source/Publisher/Enums/PbDriverType.cs deleted file mode 100644 index 889ea80407..0000000000 --- a/Source/Publisher/Enums/PbDriverType.cs +++ /dev/null @@ -1,48 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbDriverType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbDriverTypeNonPostScript = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbDriverTypePostScript1 = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbDriverTypePostScript2 = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbDriverTypePostScript3 = 4, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 5 - [SupportByVersion("Publisher", 14,15,16)] - pbDriverTypeXPS = 5 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbFieldType.cs b/Source/Publisher/Enums/PbFieldType.cs deleted file mode 100644 index 79583ae355..0000000000 --- a/Source/Publisher/Enums/PbFieldType.cs +++ /dev/null @@ -1,118 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbFieldType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbFieldNone = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbFieldPageNumber = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbFieldPageNumberNext = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbFieldPageNumberPrev = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbFieldDateTime = 4, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 5 - [SupportByVersion("Publisher", 14,15,16)] - pbFieldMailMerge = 5, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 6 - [SupportByVersion("Publisher", 14,15,16)] - pbFieldIHIV = 6, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 7 - [SupportByVersion("Publisher", 14,15,16)] - pbFieldPhoneticGuide = 7, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 8 - [SupportByVersion("Publisher", 14,15,16)] - pbFieldWizardSampleText = 8, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 9 - [SupportByVersion("Publisher", 14,15,16)] - pbFieldHyperlinkURL = 9, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 10 - [SupportByVersion("Publisher", 14,15,16)] - pbFieldHyperlinkRelativePage = 10, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 11 - [SupportByVersion("Publisher", 14,15,16)] - pbFieldHyperlinkAbsolutePage = 11, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 12 - [SupportByVersion("Publisher", 14,15,16)] - pbFieldHyperlinkEmail = 12, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 13 - [SupportByVersion("Publisher", 14,15,16)] - pbFieldHyperlinkFile = 13, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 14 - [SupportByVersion("Publisher", 14,15,16)] - pbFieldPersonalizedHyperlinkURL = 14 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbFileFormat.cs b/Source/Publisher/Enums/PbFileFormat.cs deleted file mode 100644 index a47487c7db..0000000000 --- a/Source/Publisher/Enums/PbFileFormat.cs +++ /dev/null @@ -1,76 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbFileFormat - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbFilePublication = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbFilePublisher98 = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbFilePublisher2000 = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbFilePublicationHTML = 4, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 5 - [SupportByVersion("Publisher", 14,15,16)] - pbFileWebArchive = 5, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 6 - [SupportByVersion("Publisher", 14,15,16)] - pbFileRTF = 6, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 7 - [SupportByVersion("Publisher", 14,15,16)] - pbFileHTMLFiltered = 7, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 8 - [SupportByVersion("Publisher", 14,15,16)] - pbFilePlainText = 8, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 9 - [SupportByVersion("Publisher", 14,15,16)] - pbFileUnicodeText = 9 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbFilterComparison.cs b/Source/Publisher/Enums/PbFilterComparison.cs deleted file mode 100644 index 95c9f2c851..0000000000 --- a/Source/Publisher/Enums/PbFilterComparison.cs +++ /dev/null @@ -1,69 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbFilterComparison - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbComparisonEqual = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbComparisonNotEqual = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbComparisonLessThan = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbComparisonGreaterThan = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbComparisonLessThanEqual = 4, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 5 - [SupportByVersion("Publisher", 14,15,16)] - pbComparisonGreaterThanEqual = 5, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 6 - [SupportByVersion("Publisher", 14,15,16)] - pbComparisonIsBlank = 6, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 7 - [SupportByVersion("Publisher", 14,15,16)] - pbComparisonIsNotBlank = 7 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbFilterConjunction.cs b/Source/Publisher/Enums/PbFilterConjunction.cs deleted file mode 100644 index 97051e5a64..0000000000 --- a/Source/Publisher/Enums/PbFilterConjunction.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbFilterConjunction - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbConjunctionAnd = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbConjunctionOr = 1 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbFixedFormatIntent.cs b/Source/Publisher/Enums/PbFixedFormatIntent.cs deleted file mode 100644 index ad940a13a4..0000000000 --- a/Source/Publisher/Enums/PbFixedFormatIntent.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbFixedFormatIntent - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbIntentMinimum = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbIntentStandard = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbIntentPrinting = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbIntentCommercial = 4 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbFixedFormatType.cs b/Source/Publisher/Enums/PbFixedFormatType.cs deleted file mode 100644 index bcea2bec86..0000000000 --- a/Source/Publisher/Enums/PbFixedFormatType.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbFixedFormatType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbFixedFormatTypeXPS = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbFixedFormatTypePDF = 2 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbFontLicenseLimitations.cs b/Source/Publisher/Enums/PbFontLicenseLimitations.cs deleted file mode 100644 index ade7d34d49..0000000000 --- a/Source/Publisher/Enums/PbFontLicenseLimitations.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbFontLicenseLimitations - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbFontEmbeddable = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbFontPrintPreviewEmbeddable = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbFontNotEmbeddable = 3 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbFontScriptType.cs b/Source/Publisher/Enums/PbFontScriptType.cs deleted file mode 100644 index 1a2398e765..0000000000 --- a/Source/Publisher/Enums/PbFontScriptType.cs +++ /dev/null @@ -1,328 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbFontScriptType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -2 - [SupportByVersion("Publisher", 14,15,16)] - pbFontScriptMixed = -2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbFontScriptDefault = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbFontScriptAsciiLatin = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbFontScriptLatin = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbFontScriptGreek = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbFontScriptCyrillic = 4, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 5 - [SupportByVersion("Publisher", 14,15,16)] - pbFontScriptArmenian = 5, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 6 - [SupportByVersion("Publisher", 14,15,16)] - pbFontScriptHebrew = 6, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 7 - [SupportByVersion("Publisher", 14,15,16)] - pbFontScriptArabic = 7, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 8 - [SupportByVersion("Publisher", 14,15,16)] - pbFontScriptDevanagari = 8, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 9 - [SupportByVersion("Publisher", 14,15,16)] - pbFontScriptBengali = 9, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 10 - [SupportByVersion("Publisher", 14,15,16)] - pbFontScriptGurmukhi = 10, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 11 - [SupportByVersion("Publisher", 14,15,16)] - pbFontScriptGujarati = 11, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 12 - [SupportByVersion("Publisher", 14,15,16)] - pbFontScriptOriya = 12, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 13 - [SupportByVersion("Publisher", 14,15,16)] - pbFontScriptTamil = 13, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 14 - [SupportByVersion("Publisher", 14,15,16)] - pbFontScriptTelugu = 14, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 15 - [SupportByVersion("Publisher", 14,15,16)] - pbFontScriptKannada = 15, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 16 - [SupportByVersion("Publisher", 14,15,16)] - pbFontScriptMalayalam = 16, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 17 - [SupportByVersion("Publisher", 14,15,16)] - pbFontScriptThai = 17, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 18 - [SupportByVersion("Publisher", 14,15,16)] - pbFontScriptLao = 18, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 19 - [SupportByVersion("Publisher", 14,15,16)] - pbFontScriptTibetan = 19, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 20 - [SupportByVersion("Publisher", 14,15,16)] - pbFontScriptGeorgian = 20, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 21 - [SupportByVersion("Publisher", 14,15,16)] - pbFontScriptHangul = 21, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 22 - [SupportByVersion("Publisher", 14,15,16)] - pbFontScriptKana = 22, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 23 - [SupportByVersion("Publisher", 14,15,16)] - pbFontScriptBopomofo = 23, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 24 - [SupportByVersion("Publisher", 14,15,16)] - pbFontScriptHan = 24, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 25 - [SupportByVersion("Publisher", 14,15,16)] - pbFontScriptHalfWidthKana = 25, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 26 - [SupportByVersion("Publisher", 14,15,16)] - pbFontScriptEUDC = 26, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 27 - [SupportByVersion("Publisher", 14,15,16)] - pbFontScriptYi = 27, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 28 - [SupportByVersion("Publisher", 14,15,16)] - pbFontScriptHanSurrogate = 28, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 29 - [SupportByVersion("Publisher", 14,15,16)] - pbFontScriptNonHanSurrogate = 29, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 30 - [SupportByVersion("Publisher", 14,15,16)] - pbFontScriptSyriac = 30, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 31 - [SupportByVersion("Publisher", 14,15,16)] - pbFontScriptThaana = 31, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 32 - [SupportByVersion("Publisher", 14,15,16)] - pbFontScriptMyanmar = 32, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 33 - [SupportByVersion("Publisher", 14,15,16)] - pbFontScriptSinhala = 33, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 34 - [SupportByVersion("Publisher", 14,15,16)] - pbFontScriptEthiopic = 34, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 35 - [SupportByVersion("Publisher", 14,15,16)] - pbFontScriptCherokee = 35, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 36 - [SupportByVersion("Publisher", 14,15,16)] - pbFontScriptCanadianAbor = 36, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 37 - [SupportByVersion("Publisher", 14,15,16)] - pbFontScriptOgham = 37, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 38 - [SupportByVersion("Publisher", 14,15,16)] - pbFontScriptRunic = 38, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 39 - [SupportByVersion("Publisher", 14,15,16)] - pbFontScriptKhmer = 39, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 40 - [SupportByVersion("Publisher", 14,15,16)] - pbFontScriptMongolian = 40, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 41 - [SupportByVersion("Publisher", 14,15,16)] - pbFontScriptBraille = 41, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 42 - [SupportByVersion("Publisher", 14,15,16)] - pbFontScriptCurrency = 42, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 43 - [SupportByVersion("Publisher", 14,15,16)] - pbFontScriptAsciiSym = 43 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbFontSource.cs b/Source/Publisher/Enums/PbFontSource.cs deleted file mode 100644 index ecd7e6fe46..0000000000 --- a/Source/Publisher/Enums/PbFontSource.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbFontSource - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbFontSystem = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbFontDocument = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbFontMissing = 3 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbFontType.cs b/Source/Publisher/Enums/PbFontType.cs deleted file mode 100644 index ecffb98db3..0000000000 --- a/Source/Publisher/Enums/PbFontType.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbFontType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbFontTrueType = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbFontPrinter = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbFontRaster = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbFontUnknown = 4 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbHelpType.cs b/Source/Publisher/Enums/PbHelpType.cs deleted file mode 100644 index fc7ce274b7..0000000000 --- a/Source/Publisher/Enums/PbHelpType.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbHelpType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbHelp = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbHelpActiveWindow = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbHelpPSSHelp = 3 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbHlinkTargetType.cs b/Source/Publisher/Enums/PbHlinkTargetType.cs deleted file mode 100644 index 10e761d3e3..0000000000 --- a/Source/Publisher/Enums/PbHlinkTargetType.cs +++ /dev/null @@ -1,76 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbHlinkTargetType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbHlinkTargetTypeNone = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbHlinkTargetTypeURL = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbHlinkTargetTypeEmail = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbHlinkTargetTypeFirstPage = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbHlinkTargetTypeLastPage = 4, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 5 - [SupportByVersion("Publisher", 14,15,16)] - pbHlinkTargetTypeNextPage = 5, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 6 - [SupportByVersion("Publisher", 14,15,16)] - pbHlinkTargetTypePreviousPage = 6, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 7 - [SupportByVersion("Publisher", 14,15,16)] - pbHlinkTargetTypePageID = 7, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 8 - [SupportByVersion("Publisher", 14,15,16)] - pbHlinkTargetTypePersonalized = 8 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbHorizontalPictureLocking.cs b/Source/Publisher/Enums/PbHorizontalPictureLocking.cs deleted file mode 100644 index adb943a2cf..0000000000 --- a/Source/Publisher/Enums/PbHorizontalPictureLocking.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbHorizontalPictureLocking - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbHorizontalLockingNone = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbHorizontalLockingLeft = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbHorizontalLockingRight = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbHorizontalLockingStretch = 3 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbImageFormat.cs b/Source/Publisher/Enums/PbImageFormat.cs deleted file mode 100644 index 4175a1adf6..0000000000 --- a/Source/Publisher/Enums/PbImageFormat.cs +++ /dev/null @@ -1,83 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbImageFormat - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbImageFormatUNKNOWN = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbImageFormatEMF = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbImageFormatWMF = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbImageFormatPICT = 4, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 5 - [SupportByVersion("Publisher", 14,15,16)] - pbImageFormatJPEG = 5, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 6 - [SupportByVersion("Publisher", 14,15,16)] - pbImageFormatPNG = 6, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 7 - [SupportByVersion("Publisher", 14,15,16)] - pbImageFormatDIB = 7, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 8 - [SupportByVersion("Publisher", 14,15,16)] - pbImageFormatGIF = 8, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 9 - [SupportByVersion("Publisher", 14,15,16)] - pbImageFormatTIFF = 9, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 10 - [SupportByVersion("Publisher", 14,15,16)] - pbImageFormatCMYKJPEG = 10 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbInkName.cs b/Source/Publisher/Enums/PbInkName.cs deleted file mode 100644 index 53d4ddc63f..0000000000 --- a/Source/Publisher/Enums/PbInkName.cs +++ /dev/null @@ -1,125 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbInkName - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbInkNameCyan = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbInkNameMagenta = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbInkNameYellow = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbInkNameBlack = 4, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 257 - [SupportByVersion("Publisher", 14,15,16)] - pbInkNameSpot1 = 257, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 258 - [SupportByVersion("Publisher", 14,15,16)] - pbInkNameSpot2 = 258, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 259 - [SupportByVersion("Publisher", 14,15,16)] - pbInkNameSpot3 = 259, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 260 - [SupportByVersion("Publisher", 14,15,16)] - pbInkNameSpot4 = 260, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 261 - [SupportByVersion("Publisher", 14,15,16)] - pbInkNameSpot5 = 261, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 262 - [SupportByVersion("Publisher", 14,15,16)] - pbInkNameSpot6 = 262, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 263 - [SupportByVersion("Publisher", 14,15,16)] - pbInkNameSpot7 = 263, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 264 - [SupportByVersion("Publisher", 14,15,16)] - pbInkNameSpot8 = 264, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 265 - [SupportByVersion("Publisher", 14,15,16)] - pbInkNameSpot9 = 265, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 266 - [SupportByVersion("Publisher", 14,15,16)] - pbInkNameSpot10 = 266, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 267 - [SupportByVersion("Publisher", 14,15,16)] - pbInkNameSpot11 = 267, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 268 - [SupportByVersion("Publisher", 14,15,16)] - pbInkNameSpot12 = 268 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbInksToPrint.cs b/Source/Publisher/Enums/PbInksToPrint.cs deleted file mode 100644 index 15b614e8d0..0000000000 --- a/Source/Publisher/Enums/PbInksToPrint.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbInksToPrint - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbInksToPrintAll = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbInksToPrintUsed = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbInksToPrintConvertSpotToProcess = 3 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbInlineAlignment.cs b/Source/Publisher/Enums/PbInlineAlignment.cs deleted file mode 100644 index c01dcfcf36..0000000000 --- a/Source/Publisher/Enums/PbInlineAlignment.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbInlineAlignment - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -2 - [SupportByVersion("Publisher", 14,15,16)] - pbInlineAlignmentMixed = -2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbInlineAlignmentCharacter = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbInlineAlignmentLeft = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbInlineAlignmentRight = 2 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbLigaturePresetType.cs b/Source/Publisher/Enums/PbLigaturePresetType.cs deleted file mode 100644 index 5cf4ff6ef9..0000000000 --- a/Source/Publisher/Enums/PbLigaturePresetType.cs +++ /dev/null @@ -1,55 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbLigaturePresetType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -1 - [SupportByVersion("Publisher", 14,15,16)] - pbLigatureMixed = -1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbLigatureStandard = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbLigatureStandardOptional = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbLigatureStandardHistorical = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbLigatureAll = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbLigatureNone = 4 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbLineSpacingRule.cs b/Source/Publisher/Enums/PbLineSpacingRule.cs deleted file mode 100644 index ffb6555bd6..0000000000 --- a/Source/Publisher/Enums/PbLineSpacingRule.cs +++ /dev/null @@ -1,55 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbLineSpacingRule - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -9999999 - [SupportByVersion("Publisher", 14,15,16)] - pbLineSpacingMixed = -9999999, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbLineSpacingSingle = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbLineSpacing1pt5 = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbLineSpacingDouble = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbLineSpacingExactly = 4, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 5 - [SupportByVersion("Publisher", 14,15,16)] - pbLineSpacingMultiple = 5 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbLinkedFileStatus.cs b/Source/Publisher/Enums/PbLinkedFileStatus.cs deleted file mode 100644 index 6d7478e677..0000000000 --- a/Source/Publisher/Enums/PbLinkedFileStatus.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbLinkedFileStatus - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbLinkedFileOK = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbLinkedFileMissing = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbLinkedFileModified = 3 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbListSeparator.cs b/Source/Publisher/Enums/PbListSeparator.cs deleted file mode 100644 index af9018d372..0000000000 --- a/Source/Publisher/Enums/PbListSeparator.cs +++ /dev/null @@ -1,76 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbListSeparator - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbListSeparatorParenthesis = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 65536 - [SupportByVersion("Publisher", 14,15,16)] - pbListSeparatorDoubleParen = 65536, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 131072 - [SupportByVersion("Publisher", 14,15,16)] - pbListSeparatorPeriod = 131072, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 196608 - [SupportByVersion("Publisher", 14,15,16)] - pbListSeparatorPlain = 196608, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 262144 - [SupportByVersion("Publisher", 14,15,16)] - pbListSeparatorSquare = 262144, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 327680 - [SupportByVersion("Publisher", 14,15,16)] - pbListSeparatorColon = 327680, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 393216 - [SupportByVersion("Publisher", 14,15,16)] - pbListSeparatorDoubleSquare = 393216, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 458752 - [SupportByVersion("Publisher", 14,15,16)] - pbListSeparatorDoubleHyphen = 458752, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 524288 - [SupportByVersion("Publisher", 14,15,16)] - pbListSeparatorWideComma = 524288 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbListType.cs b/Source/Publisher/Enums/PbListType.cs deleted file mode 100644 index 317c22e709..0000000000 --- a/Source/Publisher/Enums/PbListType.cs +++ /dev/null @@ -1,342 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbListType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeArabic = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeUpperCaseRoman = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeLowerCaseRoman = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeUpperCaseLetter = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeLowerCaseLetter = 4, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 5 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeOrdinal = 5, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 6 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeCardinalText = 6, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 7 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeOrdinalText = 7, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 10 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeDbNum1 = 10, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 11 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeDbNum2 = 11, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 12 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeAiueo = 12, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 13 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeIroha = 13, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 14 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeDbChar = 14, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 16 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeDbNum3 = 16, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 17 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeDbNum4 = 17, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 18 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeCirclenum = 18, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 20 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeDAiueo = 20, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 21 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeDIroha = 21, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 22 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeArabicLeadingZero = 22, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 23 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeBullet = 23, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 24 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeGanada = 24, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 25 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeChosung = 25, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 30 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeZodiac1 = 30, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 31 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeZodiac2 = 31, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 34 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeTpeDbNum2 = 34, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 35 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeTpeDbNum3 = 35, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 38 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeChnDbNum2 = 38, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 39 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeChnDbNum3 = 39, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 41 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeKorDbNum1 = 41, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 42 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeKorDbNum2 = 42, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 43 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeKorDbNum3 = 43, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 44 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeKorDbNum4 = 44, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 45 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeHebrew1 = 45, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 46 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeArabic1 = 46, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 47 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeHebrew2 = 47, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 48 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeArabic2 = 48, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 49 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeHindi1 = 49, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 50 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeHindi2 = 50, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 51 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeHindi3 = 51, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 52 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeHindi4 = 52, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 53 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeThai1 = 53, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 54 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeThai2 = 54, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 55 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeThai3 = 55, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 56 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeVietnamese1 = 56, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 58 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeLowerCaseRussian = 58, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 59 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeUpperCaseRussian = 59, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 255 - [SupportByVersion("Publisher", 14,15,16)] - pbListTypeNone = 255 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbMailMergeDataFieldType.cs b/Source/Publisher/Enums/PbMailMergeDataFieldType.cs deleted file mode 100644 index a2c4d76a5e..0000000000 --- a/Source/Publisher/Enums/PbMailMergeDataFieldType.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbMailMergeDataFieldType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbMailMergeDataFieldString = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbMailMergeDataFieldPicture = 1 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbMailMergeDataSource.cs b/Source/Publisher/Enums/PbMailMergeDataSource.cs deleted file mode 100644 index 49170d9a56..0000000000 --- a/Source/Publisher/Enums/PbMailMergeDataSource.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbMailMergeDataSource - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 5 - [SupportByVersion("Publisher", 14,15,16)] - pbMergeInfoFromODSO = 5, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 6 - [SupportByVersion("Publisher", 14,15,16)] - pbMergeInfoSubODSO = 6 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbMailMergeDestination.cs b/Source/Publisher/Enums/PbMailMergeDestination.cs deleted file mode 100644 index cb365f8601..0000000000 --- a/Source/Publisher/Enums/PbMailMergeDestination.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbMailMergeDestination - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbSendToPrinter = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbMergeToNewPublication = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbMergeToExistingPublication = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbSendEmail = 4 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbMappedDataFields.cs b/Source/Publisher/Enums/PbMappedDataFields.cs deleted file mode 100644 index 7e60a6e784..0000000000 --- a/Source/Publisher/Enums/PbMappedDataFields.cs +++ /dev/null @@ -1,223 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbMappedDataFields - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbUniqueIdentifier = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbCourtesyTitle = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbFirstName = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbMiddleName = 4, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 5 - [SupportByVersion("Publisher", 14,15,16)] - pbLastName = 5, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 6 - [SupportByVersion("Publisher", 14,15,16)] - pbSuffix = 6, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 7 - [SupportByVersion("Publisher", 14,15,16)] - pbNickname = 7, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 8 - [SupportByVersion("Publisher", 14,15,16)] - pbJobTitle = 8, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 9 - [SupportByVersion("Publisher", 14,15,16)] - pbCompany = 9, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 10 - [SupportByVersion("Publisher", 14,15,16)] - pbAddress1 = 10, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 11 - [SupportByVersion("Publisher", 14,15,16)] - pbAddress2 = 11, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 12 - [SupportByVersion("Publisher", 14,15,16)] - pbCity = 12, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 13 - [SupportByVersion("Publisher", 14,15,16)] - pbState = 13, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 14 - [SupportByVersion("Publisher", 14,15,16)] - pbPostalCode = 14, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 15 - [SupportByVersion("Publisher", 14,15,16)] - pbCountryRegion = 15, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 16 - [SupportByVersion("Publisher", 14,15,16)] - pbBusinessPhone = 16, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 17 - [SupportByVersion("Publisher", 14,15,16)] - pbBusinessFax = 17, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 18 - [SupportByVersion("Publisher", 14,15,16)] - pbHomePhone = 18, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 19 - [SupportByVersion("Publisher", 14,15,16)] - pbHomeFax = 19, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 20 - [SupportByVersion("Publisher", 14,15,16)] - pbEmailAddress = 20, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 21 - [SupportByVersion("Publisher", 14,15,16)] - pbWebPageURL = 21, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 22 - [SupportByVersion("Publisher", 14,15,16)] - pbSpouseCourtesyTitle = 22, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 23 - [SupportByVersion("Publisher", 14,15,16)] - pbSpouseFirstName = 23, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 24 - [SupportByVersion("Publisher", 14,15,16)] - pbSpouseMiddleName = 24, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 25 - [SupportByVersion("Publisher", 14,15,16)] - pbSpouseLastName = 25, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 26 - [SupportByVersion("Publisher", 14,15,16)] - pbSpouseNickname = 26, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 27 - [SupportByVersion("Publisher", 14,15,16)] - pbRubyFirstName = 27, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 28 - [SupportByVersion("Publisher", 14,15,16)] - pbRubyLastName = 28, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 29 - [SupportByVersion("Publisher", 14,15,16)] - pbAddress3 = 29, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 30 - [SupportByVersion("Publisher", 14,15,16)] - pbDepartment = 30 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbMasterPageType.cs b/Source/Publisher/Enums/PbMasterPageType.cs deleted file mode 100644 index 7d6042c2ea..0000000000 --- a/Source/Publisher/Enums/PbMasterPageType.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbMasterPageType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbMasterPageLeftPage = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbMasterPageRightPage = 2 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbMergeType.cs b/Source/Publisher/Enums/PbMergeType.cs deleted file mode 100644 index faf1c341fd..0000000000 --- a/Source/Publisher/Enums/PbMergeType.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbMergeType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbMergeDefault = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbMailMerge = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbCatalogMerge = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbEmailMerge = 4 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbNavBarOrientation.cs b/Source/Publisher/Enums/PbNavBarOrientation.cs deleted file mode 100644 index 4a23cc8f1c..0000000000 --- a/Source/Publisher/Enums/PbNavBarOrientation.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbNavBarOrientation - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbNavBarOrientHorizontal = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbNavBarOrientVertical = 2 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbNumberStylesType.cs b/Source/Publisher/Enums/PbNumberStylesType.cs deleted file mode 100644 index 0f46e75312..0000000000 --- a/Source/Publisher/Enums/PbNumberStylesType.cs +++ /dev/null @@ -1,55 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbNumberStylesType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -1 - [SupportByVersion("Publisher", 14,15,16)] - pbNumberStyleMixed = -1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbNumberStyleDefault = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbNumberStyleProportionalLining = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbNumberStyleTabularLining = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbNumberStyleProportionalOldstyle = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbNumberStyleTabularOldstyle = 4 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbOrientationType.cs b/Source/Publisher/Enums/PbOrientationType.cs deleted file mode 100644 index 3125be47b9..0000000000 --- a/Source/Publisher/Enums/PbOrientationType.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbOrientationType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbOrientationPortrait = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbOrientationLandscape = 2 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbOriginalFormat.cs b/Source/Publisher/Enums/PbOriginalFormat.cs deleted file mode 100644 index d0b6ab39f3..0000000000 --- a/Source/Publisher/Enums/PbOriginalFormat.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbOriginalFormat - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbOriginalPublicationFormat = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbPublisherFile = 2 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbPageNumberFormat.cs b/Source/Publisher/Enums/PbPageNumberFormat.cs deleted file mode 100644 index ed3d8ef887..0000000000 --- a/Source/Publisher/Enums/PbPageNumberFormat.cs +++ /dev/null @@ -1,321 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbPageNumberFormat - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberFormatArabic = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberFormatUCRoman = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberFormatLCRoman = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberFormatUCLetter = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberFormatLCLetter = 4, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 5 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberFormatOrdinal = 5, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 6 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberFormatCardtext = 6, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 7 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberFormatOrdtext = 7, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 10 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberFormatDbNum1 = 10, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 11 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberFormatDbNum2 = 11, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 12 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberFormatAiueo = 12, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 13 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberFormatIroha = 13, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 14 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberFormatDbChar = 14, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 16 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberFormatDbNum3 = 16, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 18 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberFormatCirclenum = 18, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 20 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberFormatDAiueo = 20, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 21 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberFormatDIroha = 21, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 22 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberFormatArabicLZ = 22, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 24 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberFormatGanada = 24, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 25 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberFormatChosung = 25, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 30 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberFormatZodiac1 = 30, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 31 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberFormatZodiac2 = 31, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 34 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberFormatTpeDbNum2 = 34, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 35 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberFormatTpeDbNum3 = 35, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 38 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberFormatChnDbNum2 = 38, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 39 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberFormatChnDbNum3 = 39, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 41 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberFormatKorDbNum1 = 41, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 42 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberFormatKorDbNum2 = 42, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 43 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberFormatKorDbNum3 = 43, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 44 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberFormatKorDbNum4 = 44, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 45 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberFormatHebrew1 = 45, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 46 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberFormatArabic1 = 46, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 47 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberFormatHebrew2 = 47, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 48 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberFormatArabic2 = 48, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 49 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberFormatHindi1 = 49, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 50 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberFormatHindi2 = 50, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 51 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberFormatHindi3 = 51, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 52 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberFormatHindi4 = 52, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 53 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberFormatThai1 = 53, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 54 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberFormatThai2 = 54, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 55 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberFormatThai3 = 55, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 56 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberFormatViet1 = 56, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 58 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberFormatLCRus = 58, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 59 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberFormatUCRus = 59 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbPageNumberType.cs b/Source/Publisher/Enums/PbPageNumberType.cs deleted file mode 100644 index 00be11e6fd..0000000000 --- a/Source/Publisher/Enums/PbPageNumberType.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbPageNumberType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberCurrent = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberNextInStory = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbPageNumberPreviousInStory = 3 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbPageType.cs b/Source/Publisher/Enums/PbPageType.cs deleted file mode 100644 index c1c3e50b5d..0000000000 --- a/Source/Publisher/Enums/PbPageType.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbPageType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbPageLeftPage = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbPageRightPage = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbPageScratchPage = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbPageMasterPage = 4 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbParagraphAlignmentType.cs b/Source/Publisher/Enums/PbParagraphAlignmentType.cs deleted file mode 100644 index 76a17e2f24..0000000000 --- a/Source/Publisher/Enums/PbParagraphAlignmentType.cs +++ /dev/null @@ -1,104 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbParagraphAlignmentType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -9999999 - [SupportByVersion("Publisher", 14,15,16)] - pbParagraphAlignmentMixed = -9999999, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbParagraphAlignmentLeft = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbParagraphAlignmentCenter = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbParagraphAlignmentRight = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbParagraphAlignmentInterWord = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbParagraphAlignmentDistribute = 4, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 5 - [SupportByVersion("Publisher", 14,15,16)] - pbParagraphAlignmentDistributeEastAsia = 5, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 6 - [SupportByVersion("Publisher", 14,15,16)] - pbParagraphAlignmentJustified = 6, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 7 - [SupportByVersion("Publisher", 14,15,16)] - pbParagraphAlignmentInterIdeograph = 7, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 8 - [SupportByVersion("Publisher", 14,15,16)] - pbParagraphAlignmentInterCluster = 8, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 9 - [SupportByVersion("Publisher", 14,15,16)] - pbParagraphAlignmentDistributeAll = 9, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 10 - [SupportByVersion("Publisher", 14,15,16)] - pbParagraphAlignmentDistributeCenterLast = 10, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 11 - [SupportByVersion("Publisher", 14,15,16)] - pbParagraphAlignmentKashida = 11 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbPersonalInfoSet.cs b/Source/Publisher/Enums/PbPersonalInfoSet.cs deleted file mode 100644 index 9283968d5f..0000000000 --- a/Source/Publisher/Enums/PbPersonalInfoSet.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbPersonalInfoSet - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbPersonalInfoPrimaryBusiness = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbPersonalInfoSecondaryBusiness = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbPersonalInfoOtherOrganization = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbPersonalInfoHome = 4 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbPhoneticGuideAlignmentType.cs b/Source/Publisher/Enums/PbPhoneticGuideAlignmentType.cs deleted file mode 100644 index 3fb0fe9afb..0000000000 --- a/Source/Publisher/Enums/PbPhoneticGuideAlignmentType.cs +++ /dev/null @@ -1,55 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbPhoneticGuideAlignmentType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbPhoneticGuideAlignmentDefault = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbPhoneticGuideAlignmentZeroOneZero = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbPhoneticGuideAlignmentOneTwoOne = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbPhoneticGuideAlignmentCenter = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbPhoneticGuideAlignmentLeft = 4, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 5 - [SupportByVersion("Publisher", 14,15,16)] - pbPhoneticGuideAlignmentRight = 5 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbPictureInsertAs.cs b/Source/Publisher/Enums/PbPictureInsertAs.cs deleted file mode 100644 index 7850bafdfc..0000000000 --- a/Source/Publisher/Enums/PbPictureInsertAs.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbPictureInsertAs - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbPictureInsertAsEmbedded = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbPictureInsertAsLinked = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbPictureInsertAsOriginalState = 3 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbPictureResolution.cs b/Source/Publisher/Enums/PbPictureResolution.cs deleted file mode 100644 index 76c815604f..0000000000 --- a/Source/Publisher/Enums/PbPictureResolution.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbPictureResolution - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbPictureResolutionDefault = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbPictureResolutionWeb_96dpi = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbPictureResolutionDesktopPrint_150dpi = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbPictureResolutionCommercialPrint_300dpi = 3 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbPlacementType.cs b/Source/Publisher/Enums/PbPlacementType.cs deleted file mode 100644 index f7e195cff1..0000000000 --- a/Source/Publisher/Enums/PbPlacementType.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbPlacementType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbPlacementLeft = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbPlacementRight = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbPlacementCenter = 3 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbPrintGraphics.cs b/Source/Publisher/Enums/PbPrintGraphics.cs deleted file mode 100644 index 03cbc31844..0000000000 --- a/Source/Publisher/Enums/PbPrintGraphics.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbPrintGraphics - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbPrintHighResolution = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbPrintLowResolution = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbPrintNoGraphics = 3 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbPrintMode.cs b/Source/Publisher/Enums/PbPrintMode.cs deleted file mode 100644 index ba84d39722..0000000000 --- a/Source/Publisher/Enums/PbPrintMode.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbPrintMode - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbPrintModeCompositeRGB = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbPrintModeSeparations = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbPrintModeCompositeCMYK = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbPrintModeCompositeGrayscale = 4 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbPrintStyle.cs b/Source/Publisher/Enums/PbPrintStyle.cs deleted file mode 100644 index da068dc4f8..0000000000 --- a/Source/Publisher/Enums/PbPrintStyle.cs +++ /dev/null @@ -1,97 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbPrintStyle - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbPrintStyleDefault = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbPrintStyleOnePagePerSheet = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbPrintStyleTiled = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbPrintStyleMultipleCopiesPerSheet = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbPrintStyleMultiplePagesPerSheet = 4, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 5 - [SupportByVersion("Publisher", 14,15,16)] - pbPrintStyleBookletSideFold = 5, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 6 - [SupportByVersion("Publisher", 14,15,16)] - pbPrintStyleBookletTopFold = 6, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 7 - [SupportByVersion("Publisher", 14,15,16)] - pbPrintStyleHalfFoldSide = 7, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 8 - [SupportByVersion("Publisher", 14,15,16)] - pbPrintStyleHalfFoldTop = 8, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 9 - [SupportByVersion("Publisher", 14,15,16)] - pbPrintStyleQuarterFoldTop = 9, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 10 - [SupportByVersion("Publisher", 14,15,16)] - pbPrintStyleQuarterFoldSide = 10, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 11 - [SupportByVersion("Publisher", 14,15,16)] - pbPrintStyleEnvelope = 11 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbPublicationLayout.cs b/Source/Publisher/Enums/PbPublicationLayout.cs deleted file mode 100644 index d3492d2257..0000000000 --- a/Source/Publisher/Enums/PbPublicationLayout.cs +++ /dev/null @@ -1,433 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbPublicationLayout - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutFullPage = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutBook = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutFoldCard = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutGreetingCardL = 4, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 5 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutGreetingCardT = 5, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 6 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutKookBaePan = 6, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 7 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutKookPan = 7, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 8 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutShinKookPan = 8, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 9 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutKookBanPan = 9, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 10 - [SupportByVersion("Publisher", 14,15,16)] - pbLayout4x6BaePan = 10, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 11 - [SupportByVersion("Publisher", 14,15,16)] - pbLayout4x6Pan = 11, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 12 - [SupportByVersion("Publisher", 14,15,16)] - pbLayout4x6BanPan = 12, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 13 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutCrownPan = 13, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 14 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutShinSeoPan = 14, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 15 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutJang4x6Pan = 15, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 16 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutIndexCard = 16, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 17 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutBusinessCardUS = 17, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 18 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutBusinessCardEurope = 18, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 19 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutBusinessCardFE = 19, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 20 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutBusinessCardLocal = 20, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 21 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutPosterSmall = 21, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 22 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutPosterLarge = 22, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 23 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutCustom = 23, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 24 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutBannerSmall = 24, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 25 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutBannerMedium = 25, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 26 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutBannerLarge = 26, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 27 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutBannerCustom = 27, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 28 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutPostcardUS = 28, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 29 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutPostcardHalfLetter = 29, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 30 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutPostcardA4 = 30, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 31 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutPostcardJapan = 31, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 32 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutLabel = 32, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 33 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutEnvelope = 33, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 34 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutWebPageSmall = 34, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 35 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutWebPageLarge = 35, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 36 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutAdvertisement = 36, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 37 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutAwardCertificate = 37, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 38 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutBanner = 38, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 39 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutBrochure = 39, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 40 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutBusinessCard = 40, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 41 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutBusinessForm = 41, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 42 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutCalendar = 42, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 43 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutCatalog = 43, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 44 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutEmail = 44, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 45 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutFlyer = 45, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 46 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutGiftCertificate = 46, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 47 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutGreetingCard = 47, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 48 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutWordImport = 48, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 49 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutInvitationCard = 49, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 50 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutLetterhead = 50, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 51 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutMenu = 51, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 52 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutNewsletter = 52, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 53 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutPaperFoldingProject = 53, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 54 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutPostcard = 54, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 55 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutProgram = 55, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 56 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutResume = 56, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 57 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutSign = 57, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 58 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutWithComplimentsCard = 58, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 59 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutWebSite = 59, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 60 - [SupportByVersion("Publisher", 14,15,16)] - pbLayoutQuickPublication = 60 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbPublicationType.cs b/Source/Publisher/Enums/PbPublicationType.cs deleted file mode 100644 index 997975a1df..0000000000 --- a/Source/Publisher/Enums/PbPublicationType.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbPublicationType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbTypePrint = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbTypeWeb = 2 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbRecipientListFileType.cs b/Source/Publisher/Enums/PbRecipientListFileType.cs deleted file mode 100644 index 0932473139..0000000000 --- a/Source/Publisher/Enums/PbRecipientListFileType.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbRecipientListFileType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbAsMdbFile = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbAsCsvFile = 1 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbReplaceScope.cs b/Source/Publisher/Enums/PbReplaceScope.cs deleted file mode 100644 index c66d796082..0000000000 --- a/Source/Publisher/Enums/PbReplaceScope.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbReplaceScope - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbReplaceScopeNone = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbReplaceScopeOne = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbReplaceScopeAll = 2 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbReplaceTint.cs b/Source/Publisher/Enums/PbReplaceTint.cs deleted file mode 100644 index 8695d9904e..0000000000 --- a/Source/Publisher/Enums/PbReplaceTint.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbReplaceTint - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbReplaceTintUseDefault = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbReplaceTintKeepTints = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbReplaceTintMaintainLuminosity = 2 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbRulerGuideType.cs b/Source/Publisher/Enums/PbRulerGuideType.cs deleted file mode 100644 index 0974751499..0000000000 --- a/Source/Publisher/Enums/PbRulerGuideType.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbRulerGuideType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbRulerGuideTypeVertical = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbRulerGuideTypeHorizontal = 2 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbSaveOptions.cs b/Source/Publisher/Enums/PbSaveOptions.cs deleted file mode 100644 index b2cec35090..0000000000 --- a/Source/Publisher/Enums/PbSaveOptions.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbSaveOptions - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbPromptToSaveChanges = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbSaveChanges = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbDoNotSaveChanges = 3 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbSchemeColorIndex.cs b/Source/Publisher/Enums/PbSchemeColorIndex.cs deleted file mode 100644 index 383ab0398f..0000000000 --- a/Source/Publisher/Enums/PbSchemeColorIndex.cs +++ /dev/null @@ -1,76 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbSchemeColorIndex - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbSchemeColorNone = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbSchemeColorMain = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbSchemeColorAccent1 = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbSchemeColorAccent2 = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbSchemeColorAccent3 = 4, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 5 - [SupportByVersion("Publisher", 14,15,16)] - pbSchemeColorAccent4 = 5, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 6 - [SupportByVersion("Publisher", 14,15,16)] - pbSchemeColorHyperlink = 6, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 7 - [SupportByVersion("Publisher", 14,15,16)] - pbSchemeColorFollowedHyperlink = 7, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 8 - [SupportByVersion("Publisher", 14,15,16)] - pbSchemeColorAccent5 = 8 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbSelectionType.cs b/Source/Publisher/Enums/PbSelectionType.cs deleted file mode 100644 index e560e60736..0000000000 --- a/Source/Publisher/Enums/PbSelectionType.cs +++ /dev/null @@ -1,48 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbSelectionType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbSelectionNone = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbSelectionShape = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbSelectionText = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbSelectionTableCells = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbSelectionShapeSubSelection = 4 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbShapeType.cs b/Source/Publisher/Enums/PbShapeType.cs deleted file mode 100644 index 20907ccdf3..0000000000 --- a/Source/Publisher/Enums/PbShapeType.cs +++ /dev/null @@ -1,237 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbShapeType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -2 - [SupportByVersion("Publisher", 14,15,16)] - pbShapeTypeMixed = -2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbAutoShape = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbCallout = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbChart = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbComment = 4, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 5 - [SupportByVersion("Publisher", 14,15,16)] - pbFreeform = 5, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 6 - [SupportByVersion("Publisher", 14,15,16)] - pbGroup = 6, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 7 - [SupportByVersion("Publisher", 14,15,16)] - pbEmbeddedOLEObject = 7, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 8 - [SupportByVersion("Publisher", 14,15,16)] - pbFormControl = 8, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 9 - [SupportByVersion("Publisher", 14,15,16)] - pbLine = 9, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 10 - [SupportByVersion("Publisher", 14,15,16)] - pbLinkedOLEObject = 10, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 11 - [SupportByVersion("Publisher", 14,15,16)] - pbLinkedPicture = 11, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 12 - [SupportByVersion("Publisher", 14,15,16)] - pbOLEControlObject = 12, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 13 - [SupportByVersion("Publisher", 14,15,16)] - pbPicture = 13, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 14 - [SupportByVersion("Publisher", 14,15,16)] - pbPlaceholder = 14, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 15 - [SupportByVersion("Publisher", 14,15,16)] - pbTextEffect = 15, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 16 - [SupportByVersion("Publisher", 14,15,16)] - pbMedia = 16, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 17 - [SupportByVersion("Publisher", 14,15,16)] - pbTextFrame = 17, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 18 - [SupportByVersion("Publisher", 14,15,16)] - pbTable = 18, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 100 - [SupportByVersion("Publisher", 14,15,16)] - pbWebCheckBox = 100, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 101 - [SupportByVersion("Publisher", 14,15,16)] - pbWebCommandButton = 101, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 102 - [SupportByVersion("Publisher", 14,15,16)] - pbWebListBox = 102, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 103 - [SupportByVersion("Publisher", 14,15,16)] - pbWebMultiLineTextBox = 103, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 104 - [SupportByVersion("Publisher", 14,15,16)] - pbWebOptionButton = 104, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 105 - [SupportByVersion("Publisher", 14,15,16)] - pbWebSingleLineTextBox = 105, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 106 - [SupportByVersion("Publisher", 14,15,16)] - pbWebWebComponent = 106, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 107 - [SupportByVersion("Publisher", 14,15,16)] - pbWebHTMLFragment = 107, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 108 - [SupportByVersion("Publisher", 14,15,16)] - pbGroupWizard = 108, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 110 - [SupportByVersion("Publisher", 14,15,16)] - pbWebHotSpot = 110, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 111 - [SupportByVersion("Publisher", 14,15,16)] - pbCatalogMergeArea = 111, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 112 - [SupportByVersion("Publisher", 14,15,16)] - pbWebNavigationBar = 112, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 113 - [SupportByVersion("Publisher", 14,15,16)] - pbBarCodePictureHolder = 113 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbShowDialog.cs b/Source/Publisher/Enums/PbShowDialog.cs deleted file mode 100644 index 08a787d688..0000000000 --- a/Source/Publisher/Enums/PbShowDialog.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbShowDialog - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbDefaultBehavior = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - PbShowDialog = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbSuppressDialog = 3 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbSpotColor.cs b/Source/Publisher/Enums/PbSpotColor.cs deleted file mode 100644 index a946130ffb..0000000000 --- a/Source/Publisher/Enums/PbSpotColor.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbSpotColor - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbInkNone = 0 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbStoryType.cs b/Source/Publisher/Enums/PbStoryType.cs deleted file mode 100644 index b83e412267..0000000000 --- a/Source/Publisher/Enums/PbStoryType.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbStoryType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbStoryTable = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbStoryTextFrame = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbStoryContinuedFrom = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbStoryContinuedOn = 3 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbSubmitDataFormatType.cs b/Source/Publisher/Enums/PbSubmitDataFormatType.cs deleted file mode 100644 index f6ecbc2ba7..0000000000 --- a/Source/Publisher/Enums/PbSubmitDataFormatType.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbSubmitDataFormatType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbSubmitDataFormatHTML = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbSubmitDataFormatRichText = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbSubmitDataFormatCSV = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbSubmitDataFormatTab = 4 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbSubmitDataRetrievalMethodType.cs b/Source/Publisher/Enums/PbSubmitDataRetrievalMethodType.cs deleted file mode 100644 index 6b7a924bb3..0000000000 --- a/Source/Publisher/Enums/PbSubmitDataRetrievalMethodType.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbSubmitDataRetrievalMethodType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbSubmitDataRetrievalSaveOnServer = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbSubmitDataRetrievalEmail = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbSubmitDataRetrievalProgram = 3 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbTabAlignmentType.cs b/Source/Publisher/Enums/PbTabAlignmentType.cs deleted file mode 100644 index 87aab9e83a..0000000000 --- a/Source/Publisher/Enums/PbTabAlignmentType.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbTabAlignmentType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbTabAlignmentLeading = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbTabAlignmentCenter = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbTabAlignmentTrailing = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbTabAlignmentDecimal = 3 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbTabLeaderType.cs b/Source/Publisher/Enums/PbTabLeaderType.cs deleted file mode 100644 index 2f8319dbaa..0000000000 --- a/Source/Publisher/Enums/PbTabLeaderType.cs +++ /dev/null @@ -1,48 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbTabLeaderType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbTabLeaderNone = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbTabLeaderDot = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbTabLeaderDashes = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbTabLeaderLine = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 5 - [SupportByVersion("Publisher", 14,15,16)] - pbTabLeaderBullet = 5 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbTableAutoFormatType.cs b/Source/Publisher/Enums/PbTableAutoFormatType.cs deleted file mode 100644 index a80337f781..0000000000 --- a/Source/Publisher/Enums/PbTableAutoFormatType.cs +++ /dev/null @@ -1,181 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbTableAutoFormatType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -3 - [SupportByVersion("Publisher", 14,15,16)] - pbTableAutoFormatDefault = -3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -2 - [SupportByVersion("Publisher", 14,15,16)] - pbTableAutoFormatNone = -2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -1 - [SupportByVersion("Publisher", 14,15,16)] - pbTableAutoFormatMixed = -1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbTableAutoFormatCheckbookRegister = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbTableAutoFormatList1 = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbTableAutoFormatList2 = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbTableAutoFormatList3 = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbTableAutoFormatList4 = 4, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 5 - [SupportByVersion("Publisher", 14,15,16)] - pbTableAutoFormatList5 = 5, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 6 - [SupportByVersion("Publisher", 14,15,16)] - pbTableAutoFormatList6 = 6, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 7 - [SupportByVersion("Publisher", 14,15,16)] - pbTableAutoFormatList7 = 7, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 8 - [SupportByVersion("Publisher", 14,15,16)] - pbTableAutoFormatListWithTitle1 = 8, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 9 - [SupportByVersion("Publisher", 14,15,16)] - pbTableAutoFormatListWithTitle2 = 9, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 10 - [SupportByVersion("Publisher", 14,15,16)] - pbTableAutoFormatListWithTitle3 = 10, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 11 - [SupportByVersion("Publisher", 14,15,16)] - pbTableAutoFormatNumbers1 = 11, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 12 - [SupportByVersion("Publisher", 14,15,16)] - pbTableAutoFormatNumbers2 = 12, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 13 - [SupportByVersion("Publisher", 14,15,16)] - pbTableAutoFormatNumbers3 = 13, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 14 - [SupportByVersion("Publisher", 14,15,16)] - pbTableAutoFormatNumbers4 = 14, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 15 - [SupportByVersion("Publisher", 14,15,16)] - pbTableAutoFormatNumbers5 = 15, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 16 - [SupportByVersion("Publisher", 14,15,16)] - pbTableAutoFormatNumbers6 = 16, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 17 - [SupportByVersion("Publisher", 14,15,16)] - pbTableAutoFormatTableOfContents1 = 17, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 18 - [SupportByVersion("Publisher", 14,15,16)] - pbTableAutoFormatTableOfContents2 = 18, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 19 - [SupportByVersion("Publisher", 14,15,16)] - pbTableAutoFormatTableOfContents3 = 19, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 20 - [SupportByVersion("Publisher", 14,15,16)] - pbTableAutoFormatCheckerboard = 20 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbTableDirectionType.cs b/Source/Publisher/Enums/PbTableDirectionType.cs deleted file mode 100644 index 7917f9085b..0000000000 --- a/Source/Publisher/Enums/PbTableDirectionType.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbTableDirectionType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbTableDirectionLeftToRight = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbTableDirectionRightToLeft = 2 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbTextAutoFitType.cs b/Source/Publisher/Enums/PbTextAutoFitType.cs deleted file mode 100644 index a47fb47881..0000000000 --- a/Source/Publisher/Enums/PbTextAutoFitType.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbTextAutoFitType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbTextAutoFitNone = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbTextAutoFitShrinkOnOverflow = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbTextAutoFitBestFit = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbTextAutoFitGrowToFit = 3 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbTextDirection.cs b/Source/Publisher/Enums/PbTextDirection.cs deleted file mode 100644 index a45b71df17..0000000000 --- a/Source/Publisher/Enums/PbTextDirection.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbTextDirection - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -9999999 - [SupportByVersion("Publisher", 14,15,16)] - pbTextDirectionMixed = -9999999, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbTextDirectionLeftToRight = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbTextDirectionRightToLeft = 2 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbTextOrientation.cs b/Source/Publisher/Enums/PbTextOrientation.cs deleted file mode 100644 index f8ee227ed3..0000000000 --- a/Source/Publisher/Enums/PbTextOrientation.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbTextOrientation - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -2 - [SupportByVersion("Publisher", 14,15,16)] - pbTextOrientationMixed = -2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbTextOrientationHorizontal = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbTextOrientationVerticalEastAsia = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 256 - [SupportByVersion("Publisher", 14,15,16)] - pbTextOrientationRightToLeft = 256 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbTextUnit.cs b/Source/Publisher/Enums/PbTextUnit.cs deleted file mode 100644 index 326a9ca9d0..0000000000 --- a/Source/Publisher/Enums/PbTextUnit.cs +++ /dev/null @@ -1,132 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbTextUnit - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbTextUnitCharacter = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbTextUnitWord = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbTextUnitSentence = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbTextUnitParagraph = 4, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 5 - [SupportByVersion("Publisher", 14,15,16)] - pbTextUnitLine = 5, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 6 - [SupportByVersion("Publisher", 14,15,16)] - pbTextUnitStory = 6, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 7 - [SupportByVersion("Publisher", 14,15,16)] - pbTextUnitScreen = 7, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 8 - [SupportByVersion("Publisher", 14,15,16)] - pbTextUnitSection = 8, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 9 - [SupportByVersion("Publisher", 14,15,16)] - pbTextUnitColumn = 9, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 10 - [SupportByVersion("Publisher", 14,15,16)] - pbTextUnitRow = 10, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 11 - [SupportByVersion("Publisher", 14,15,16)] - pbTextUnitWindow = 11, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 12 - [SupportByVersion("Publisher", 14,15,16)] - pbTextUnitCell = 12, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 13 - [SupportByVersion("Publisher", 14,15,16)] - pbTextUnitCharFormat = 13, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 14 - [SupportByVersion("Publisher", 14,15,16)] - pbTextUnitParaFormat = 14, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 15 - [SupportByVersion("Publisher", 14,15,16)] - pbTextUnitTable = 15, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 16 - [SupportByVersion("Publisher", 14,15,16)] - pbTextUnitObject = 16, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 17 - [SupportByVersion("Publisher", 14,15,16)] - pbTextUnitCodePoint = 17 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbTrackingPresetType.cs b/Source/Publisher/Enums/PbTrackingPresetType.cs deleted file mode 100644 index de1bac8806..0000000000 --- a/Source/Publisher/Enums/PbTrackingPresetType.cs +++ /dev/null @@ -1,62 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbTrackingPresetType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -2 - [SupportByVersion("Publisher", 14,15,16)] - pbTrackingMixed = -2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -1 - [SupportByVersion("Publisher", 14,15,16)] - pbTrackingCustom = -1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbTrackingVeryLoose = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbTrackingLoose = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbTrackingNormal = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbTrackingTight = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbTrackingVeryTight = 4 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbUnderlineType.cs b/Source/Publisher/Enums/PbUnderlineType.cs deleted file mode 100644 index 6e08b0872e..0000000000 --- a/Source/Publisher/Enums/PbUnderlineType.cs +++ /dev/null @@ -1,146 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbUnderlineType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -1 - [SupportByVersion("Publisher", 14,15,16)] - pbUnderlineMixed = -1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbUnderlineNone = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbUnderlineSingle = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbUnderlineWordsOnly = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbUnderlineDouble = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbUnderlineDotted = 4, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 5 - [SupportByVersion("Publisher", 14,15,16)] - pbUnderlineThick = 5, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 6 - [SupportByVersion("Publisher", 14,15,16)] - pbUnderlineDash = 6, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 7 - [SupportByVersion("Publisher", 14,15,16)] - pbUnderlineDotDash = 7, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 8 - [SupportByVersion("Publisher", 14,15,16)] - pbUnderlineDotDotDash = 8, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 9 - [SupportByVersion("Publisher", 14,15,16)] - pbUnderlineWavy = 9, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 10 - [SupportByVersion("Publisher", 14,15,16)] - pbUnderlineWavyHeavy = 10, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 11 - [SupportByVersion("Publisher", 14,15,16)] - pbUnderlineDotHeavy = 11, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 12 - [SupportByVersion("Publisher", 14,15,16)] - pbUnderlineDashHeavy = 12, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 13 - [SupportByVersion("Publisher", 14,15,16)] - pbUnderlineDotDashHeavy = 13, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 14 - [SupportByVersion("Publisher", 14,15,16)] - pbUnderlineDotDotDashHeavy = 14, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 15 - [SupportByVersion("Publisher", 14,15,16)] - pbUnderlineDashLong = 15, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 16 - [SupportByVersion("Publisher", 14,15,16)] - pbUnderlineDashLongHeavy = 16, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 17 - [SupportByVersion("Publisher", 14,15,16)] - pbUnderlineWavyDouble = 17 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbUnitType.cs b/Source/Publisher/Enums/PbUnitType.cs deleted file mode 100644 index 7622c7dc93..0000000000 --- a/Source/Publisher/Enums/PbUnitType.cs +++ /dev/null @@ -1,90 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbUnitType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbUnitInch = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbUnitCM = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbUnitPica = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbUnitPoint = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbUnitEmu = 4, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 5 - [SupportByVersion("Publisher", 14,15,16)] - pbUnitTwip = 5, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 6 - [SupportByVersion("Publisher", 14,15,16)] - pbUnitFeet = 6, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 7 - [SupportByVersion("Publisher", 14,15,16)] - pbUnitMeter = 7, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 8 - [SupportByVersion("Publisher", 14,15,16)] - pbUnitKyu = 8, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 9 - [SupportByVersion("Publisher", 14,15,16)] - pbUnitHa = 9, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 10 - [SupportByVersion("Publisher", 14,15,16)] - pbUnitPixel = 10 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbVerticalPictureLocking.cs b/Source/Publisher/Enums/PbVerticalPictureLocking.cs deleted file mode 100644 index 903bea6c0f..0000000000 --- a/Source/Publisher/Enums/PbVerticalPictureLocking.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbVerticalPictureLocking - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbVerticalLockingNone = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbVerticalLockingTop = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbVerticalLockingBottom = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbVerticalLockingStretch = 3 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbVerticalTextAlignmentType.cs b/Source/Publisher/Enums/PbVerticalTextAlignmentType.cs deleted file mode 100644 index 381466ed73..0000000000 --- a/Source/Publisher/Enums/PbVerticalTextAlignmentType.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbVerticalTextAlignmentType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbVerticalTextAlignmentTop = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbVerticalTextAlignmentCenter = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbVerticalTextAlignmentBottom = 2 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbWebControlType.cs b/Source/Publisher/Enums/PbWebControlType.cs deleted file mode 100644 index 0cf47a9ebf..0000000000 --- a/Source/Publisher/Enums/PbWebControlType.cs +++ /dev/null @@ -1,76 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbWebControlType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 100 - [SupportByVersion("Publisher", 14,15,16)] - pbWebControlCheckBox = 100, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 101 - [SupportByVersion("Publisher", 14,15,16)] - pbWebControlCommandButton = 101, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 102 - [SupportByVersion("Publisher", 14,15,16)] - pbWebControlListBox = 102, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 103 - [SupportByVersion("Publisher", 14,15,16)] - pbWebControlMultiLineTextBox = 103, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 104 - [SupportByVersion("Publisher", 14,15,16)] - pbWebControlOptionButton = 104, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 105 - [SupportByVersion("Publisher", 14,15,16)] - pbWebControlSingleLineTextBox = 105, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 106 - [SupportByVersion("Publisher", 14,15,16)] - pbWebControlWebComponent = 106, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 107 - [SupportByVersion("Publisher", 14,15,16)] - pbWebControlHTMLFragment = 107, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 110 - [SupportByVersion("Publisher", 14,15,16)] - pbWebControlHotSpot = 110 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbWindowState.cs b/Source/Publisher/Enums/PbWindowState.cs deleted file mode 100644 index 4bda6d7b53..0000000000 --- a/Source/Publisher/Enums/PbWindowState.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbWindowState - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbWindowStateMaximize = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbWindowStateMinimize = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbWindowStateNormal = 2 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbWizard.cs b/Source/Publisher/Enums/PbWizard.cs deleted file mode 100644 index 34579d8cad..0000000000 --- a/Source/Publisher/Enums/PbWizard.cs +++ /dev/null @@ -1,447 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbWizard - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardNone = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardBusinessCards = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 6 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardLetterheads = 6, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 7 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardEnvelopes = 7, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 8 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardBrochures = 8, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 9 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardNewsletters = 9, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 10 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPostcards = 10, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 12 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardAdvertisements = 12, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 13 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardCalendars = 13, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 16 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardFlyers = 16, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 17 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardSigns = 17, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 18 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardResumes = 18, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 19 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardLabels = 19, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 20 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardBusinessForms = 20, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 21 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardBanners = 21, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 22 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardOrigami = 22, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 23 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardAirplanes = 23, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 59 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardMenus = 59, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 62 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardCertificates = 62, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 63 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGiftCertificates = 63, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 73 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardWithComplimentsCards = 73, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 76 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPrograms = 76, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 161 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardCatalogs = 161, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 179 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardQuickPublications = 179, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 189 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardWordDocument = 189, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 78 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardJapanesePostcards = 78, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 80 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardJapaneseGreetingCards = 80, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 81 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardJapaneseInvitations = 81, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 82 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardJapaneseCalendars = 82, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 91 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardJapaneseBusinessCards = 91, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 92 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardJapaneseBrochures = 92, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 93 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardJapaneseEnvelopes = 93, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 94 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardJapaneseFlyers = 94, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 95 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardJapaneseLetterheads = 95, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 115 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardJapanesePrograms = 115, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 116 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardJapaneseMenus = 116, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 117 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardJapaneseNewsletters = 117, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 118 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardJapaneseLabels = 118, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 119 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardJapaneseCertificates = 119, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 120 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardJapaneseWebSites = 120, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 121 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardJapaneseBanners = 121, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 122 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardJapaneseGiftCertificates = 122, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 123 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardJapaneseBusinessForms = 123, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 149 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardJapaneseSigns = 149, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 163 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardJapaneseOrigami = 163, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 164 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardJapaneseAirplanes = 164, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 165 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardJapaneseAdvertisements = 165, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 177 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardJapaneseCatalogs = 177, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 5 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardWebSiteHomePage = 5, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 200 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardWebSiteThreePage = 200, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 201 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardWebSiteProductSales = 201, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 202 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardWebSiteServices = 202, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 203 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardWebSiteBlank = 203, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 40 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGreetingCard = 40, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 41 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardInvitation = 41, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 39 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardEmailNewsletter = 39, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 300 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardEmailLetter = 300, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 301 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardEmailSpeakerEvent = 301, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 302 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardEmailActivityEvent = 302, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 303 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardEmailProductList = 303, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 304 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardEmailFeaturedProduct = 304, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 305 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardEmailAutomatic = 305 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbWizard10.cs b/Source/Publisher/Enums/PbWizard10.cs deleted file mode 100644 index 5985846bc6..0000000000 --- a/Source/Publisher/Enums/PbWizard10.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbWizard10 - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 11 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardWebSites = 11, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 14 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGreetingCards = 14, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 15 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardInvitations = 15 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbWizardGroup.cs b/Source/Publisher/Enums/PbWizardGroup.cs deleted file mode 100644 index 6ad3c2933a..0000000000 --- a/Source/Publisher/Enums/PbWizardGroup.cs +++ /dev/null @@ -1,370 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbWizardGroup - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupLogo = 4, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 49 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupDots = 49, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 50 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupBoxes = 50, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 52 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupBarbells = 52, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 53 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupCheckerboards = 53, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 61 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupAttentionGetter = 61, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 68 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupAdvertisements = 68, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 75 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupWebNavigationBars = 75, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 77 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupCalendars = 77, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 79 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupReplyForms = 79, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 150 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupMarquee = 150, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 151 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupAccentBox = 151, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 152 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupPunctuation = 152, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 153 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupLinearAccent = 153, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 154 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupAccessoryBar = 154, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 155 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupBorders = 155, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 181 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupEastAsiaZipCode = 181, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 60 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupCoupon = 60, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 105 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupMastheads = 105, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 106 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupTableOfContents = 106, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 107 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupSidebars = 107, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 108 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupPullQuotes = 108, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 109 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupPictureCaptions = 109, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 66 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupPhoneTearoff = 66, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 102 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupWebMastheads = 102, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 103 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupWellPullQuotes = 103, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 104 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupWebSidebars = 104, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 133 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupWebButtonsEmail = 133, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 134 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupWebButtonsHome = 134, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 136 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupWebButtonsLink = 136, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 83 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupJapaneseCalendar = 83, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 97 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupJapaneseAttentionGetters = 97, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 99 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupJapaneseCoupons = 99, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 137 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupJapaneseReplyForms = 137, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 138 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupJapaneseWebMastheads = 138, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 139 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupJapaneseWebPullQuotes = 139, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 140 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupJapaneseWebSidebars = 140, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 141 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupJapaneseMastheads = 141, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 142 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupJapaneseTableOfContents = 142, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 143 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupJapaneseSidebars = 143, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 144 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupJapanesePullQuotes = 144, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 148 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupJapaneseWebNavigationBars = 148, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 167 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupJapaneseMarquees = 167, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 168 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupJapaneseAccentBox = 168, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 170 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupJapaneseLinearAccent = 170, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 171 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupJapaneseAccessoryBar = 171, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 172 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupJapaneseBorders = 172, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 182 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupJapaneseWebButtonEmail = 182, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 183 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupJapaneseWebButtonHome = 183, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 184 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupJapaneseWebButtonLink = 184, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 35 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardGroupWebCalendars = 35 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbWizardNavBarAlignment.cs b/Source/Publisher/Enums/PbWizardNavBarAlignment.cs deleted file mode 100644 index bd511e7314..0000000000 --- a/Source/Publisher/Enums/PbWizardNavBarAlignment.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbWizardNavBarAlignment - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbnbAlignLeft = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbnbAlignCenter = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbnbAlignRight = 3 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbWizardNavBarButtonStyle.cs b/Source/Publisher/Enums/PbWizardNavBarButtonStyle.cs deleted file mode 100644 index 8f887310ec..0000000000 --- a/Source/Publisher/Enums/PbWizardNavBarButtonStyle.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbWizardNavBarButtonStyle - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbnbButtonStyleSmall = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbnbButtonStyleLarge = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbnbButtonStyleText = 3 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbWizardNavBarDesign.cs b/Source/Publisher/Enums/PbWizardNavBarDesign.cs deleted file mode 100644 index 62e4306ff2..0000000000 --- a/Source/Publisher/Enums/PbWizardNavBarDesign.cs +++ /dev/null @@ -1,195 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbWizardNavBarDesign - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbnbDesignRectangle = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbnbDesignAmbient = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbnbDesignCapsule = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbnbDesignTopDrawer = 4, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 5 - [SupportByVersion("Publisher", 14,15,16)] - pbnbDesignOutline = 5, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 6 - [SupportByVersion("Publisher", 14,15,16)] - pbnbDesignRadius = 6, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 7 - [SupportByVersion("Publisher", 14,15,16)] - pbnbDesignOffset = 7, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 8 - [SupportByVersion("Publisher", 14,15,16)] - pbnbDesignDimension = 8, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 9 - [SupportByVersion("Publisher", 14,15,16)] - pbnbDesignDottedArrow = 9, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 10 - [SupportByVersion("Publisher", 14,15,16)] - pbnbDesignHollowArrow = 10, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 11 - [SupportByVersion("Publisher", 14,15,16)] - pbnbDesignBracket = 11, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 12 - [SupportByVersion("Publisher", 14,15,16)] - pbnbDesignEnclosedArrow = 12, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 13 - [SupportByVersion("Publisher", 14,15,16)] - pbnbDesignCounter = 13, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 14 - [SupportByVersion("Publisher", 14,15,16)] - pbnbDesignEndCap = 14, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 15 - [SupportByVersion("Publisher", 14,15,16)] - pbnbDesignCornice = 15, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 16 - [SupportByVersion("Publisher", 14,15,16)] - pbnbDesignStaff = 16, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 17 - [SupportByVersion("Publisher", 14,15,16)] - pbnbDesignEdge = 17, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 18 - [SupportByVersion("Publisher", 14,15,16)] - pbnbDesignTopLine = 18, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 19 - [SupportByVersion("Publisher", 14,15,16)] - pbnbDesignUnderscore = 19, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 20 - [SupportByVersion("Publisher", 14,15,16)] - pbnbDesignBulletStaff = 20, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 21 - [SupportByVersion("Publisher", 14,15,16)] - pbnbDesignTopBar = 21, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 22 - [SupportByVersion("Publisher", 14,15,16)] - pbnbDesignKeyPunch = 22, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 23 - [SupportByVersion("Publisher", 14,15,16)] - pbnbDesignRoundBullet = 23, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 24 - [SupportByVersion("Publisher", 14,15,16)] - pbnbDesignSquareBullet = 24, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 25 - [SupportByVersion("Publisher", 14,15,16)] - pbnbDesignWatermark = 25, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 26 - [SupportByVersion("Publisher", 14,15,16)] - pbnbDesignBaseline = 26 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbWizardPageType.cs b/Source/Publisher/Enums/PbWizardPageType.cs deleted file mode 100644 index e31c545b12..0000000000 --- a/Source/Publisher/Enums/PbWizardPageType.cs +++ /dev/null @@ -1,412 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbWizardPageType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -1 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeNone = -1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeNewsletter3Stories = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeNewsletterCalendar = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 15 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeNewsletterOrderForm = 15, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 16 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeNewsletterResponseForm = 16, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 17 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeNewsletterSignupForm = 17, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 18 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeCatalogOneColumnText = 18, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 19 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeCatalogOneColumnTextPicture = 19, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 20 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeCatalogTwoColumnsText = 20, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 21 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeCatalogTwoColumnsTextPicture = 21, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 22 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeCatalogCalendar = 22, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 23 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeCatalogTableOfContents = 23, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 24 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeCatalogFeaturedItem = 24, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 25 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeCatalogTwoItemsAlignedPictures = 25, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 26 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeCatalogTwoItemsOffsetPictures = 26, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 27 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeCatalogThreeItemsAlignedPictures = 27, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 28 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeCatalogThreeItemsOffsetPictures = 28, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 29 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeCatalogThreeItemsStackedPictures = 29, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 30 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeCatalogFourItemsAlignedPictures = 30, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 31 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeCatalogFourItemsOffsetPictures = 31, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 32 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeCatalogFourItemsSquaredPictures = 32, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 33 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeCatalogEightItemsOneColumn = 33, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 34 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeCatalogEightItemsTwoColumns = 34, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 35 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeCatalogBlank = 35, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 36 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeCatalogForm = 36, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 501 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeWebAboutUs = 501, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 502 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeWebInformational = 502, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 503 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeWebList = 503, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 504 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeWebCalendarPage = 504, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 505 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeWebContactUs = 505, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 506 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeWebEmployeeList = 506, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 507 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeWebEmployee = 507, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 508 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeWebFAQ = 508, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 509 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeWebHome = 509, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 510 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeWebJobs = 510, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 511 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeWebLegal = 511, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 512 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeWebArticle = 512, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 513 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeWebPhoto = 513, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 514 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeWebPhotoGallery = 514, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 515 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeWebProduct = 515, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 516 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeWebProductList = 516, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 517 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeWebProjectList = 517, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 518 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeWebLinks = 518, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 519 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeWebSeminar = 519, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 520 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeWebServiceList = 520, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 521 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeWebService = 521, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 522 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeWebSpecial = 522, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 524 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeWebBlank = 524, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 525 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeWebOrderForm = 525, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 526 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeWebResponseForm = 526, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 527 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeWebSignupForm = 527, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 800 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeWebCalendarWithLinks = 800, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 801 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeWebProductsWithLinks = 801, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 802 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeWebEmployeesWithLinks = 802, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 803 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeWebServicesWithLinks = 803, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 804 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeWebProjectsWithLinks = 804, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 805 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeWebPhotosWithLinks = 805 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbWizardPageType10.cs b/Source/Publisher/Enums/PbWizardPageType10.cs deleted file mode 100644 index 1b654d1588..0000000000 --- a/Source/Publisher/Enums/PbWizardPageType10.cs +++ /dev/null @@ -1,55 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbWizardPageType10 - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 6 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeWebStory = 6, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 9 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeWebCalendar = 9, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 13 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeWebEvent = 13, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 12 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeWebSpecialOffer = 12, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 8 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeWebPriceList = 8, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 7 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardPageTypeWebRelatedLinks = 7 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbWizardTag.cs b/Source/Publisher/Enums/PbWizardTag.cs deleted file mode 100644 index 575bd964d6..0000000000 --- a/Source/Publisher/Enums/PbWizardTag.cs +++ /dev/null @@ -1,433 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbWizardTag - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 5 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagLogoGroup = 5, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 7 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagOrganizationName = 7, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 8 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagPersonalName = 8, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 10 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagAddress = 10, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 112 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagTagLine = 112, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 113 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagPhoneFaxEmail = 113, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 114 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagPhoneNumber = 114, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 115 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagJobTitle = 115, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 116 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagPersonalNameGroup = 116, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 117 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagAddressGroup = 117, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 118 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagOrganizationNameGroup = 118, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 119 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagTagLineGroup = 119, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 120 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagPhoneFaxEmailGroup = 120, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 488 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagLocation = 488, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 489 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagMapPicture = 489, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 560 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagCustomerMailingAddress = 560, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 684 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagHourTimeDateInformation = 684, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 685 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagBusinessDescription = 685, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 793 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagReturnAddressLines = 793, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 794 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagStampBoxOutline = 794, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 887 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagStampBox = 887, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1134 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagPhotoPlaceholderFrame = 1134, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1135 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagPhotePlaceholderText = 1135, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1341 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagPublicationDate = 1341, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1342 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagTableOfContentsTitle = 1342, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1343 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagTableOfContents = 1343, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1344 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagNewsletterTitle = 1344, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1346 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagPageNumber = 1346, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1348 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagStoryTitle = 1348, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1349 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagStory = 1349, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1350 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagStoryGraphicPrimary = 1350, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1351 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagStoryCaptionPrimary = 1351, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1353 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagBriefDescriptionSummary = 1353, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1354 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagLinkedStoryPrimary = 1354, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1355 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagLinkedStorySecondary = 1355, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1356 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagLinkedStoryTertiary = 1356, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1357 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagMainFloatingGraphic = 1357, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1359 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagBriefDescriptionGraphic = 1359, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1360 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagStoryGraphicSecondary = 1360, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1361 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagBriefDescriptionCaption = 1361, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1362 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagFloatingGraphicCaption = 1362, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1364 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagBriefDescriptionTitle = 1364, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1365 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagBriefDescriptionSummaryPrimary = 1365, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1373 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagStoryCaptionSecondary = 1373, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1831 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagMasthead = 1831, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1832 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagMainTitle = 1832, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1833 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagMainGraphic = 1833, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1835 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagDate = 1835, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1836 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagTime = 1836, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1837 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagList = 1837, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2140 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagQuickPubHeading = 2140, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2141 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagQuickPubMessage = 2141, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2142 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagQuickPubPicture = 2142, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2143 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagQuickPubContent = 2143, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2150 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagEAPostalCodeGroup = 2150, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2151 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagEAPostalCodeBox = 2151, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2152 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagEAPostalCodeLine = 2152, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2153 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagPictureCaptionPicture = 2153, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2154 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagPictureCaptionText = 2154, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2155 - [SupportByVersion("Publisher", 14,15,16)] - pbWizardTagPictureCaption = 2155 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbWrapSideType.cs b/Source/Publisher/Enums/PbWrapSideType.cs deleted file mode 100644 index 6fcbc4d40a..0000000000 --- a/Source/Publisher/Enums/PbWrapSideType.cs +++ /dev/null @@ -1,55 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbWrapSideType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -1 - [SupportByVersion("Publisher", 14,15,16)] - pbWrapSideMixed = -1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbWrapSideBoth = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbWrapSideLeft = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbWrapSideRight = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbWrapSideLarger = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbWrapSideNeither = 4 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbWrapType.cs b/Source/Publisher/Enums/PbWrapType.cs deleted file mode 100644 index 3c1c804aaa..0000000000 --- a/Source/Publisher/Enums/PbWrapType.cs +++ /dev/null @@ -1,55 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbWrapType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -1 - [SupportByVersion("Publisher", 14,15,16)] - pbWrapTypeMixed = -1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbWrapTypeNone = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbWrapTypeSquare = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbWrapTypeTight = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbWrapTypeThrough = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbWrapTypeTopAndBottom = 4 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/PbZoom.cs b/Source/Publisher/Enums/PbZoom.cs deleted file mode 100644 index 6ca0940f2e..0000000000 --- a/Source/Publisher/Enums/PbZoom.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum PbZoom - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -1 - [SupportByVersion("Publisher", 14,15,16)] - pbZoomPageWidth = -1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -2 - [SupportByVersion("Publisher", 14,15,16)] - pbZoomWholePage = -2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -3 - [SupportByVersion("Publisher", 14,15,16)] - pbZoomFitSelection = -3 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/pbCanvasArrangementType.cs b/Source/Publisher/Enums/pbCanvasArrangementType.cs deleted file mode 100644 index 9d35ed041a..0000000000 --- a/Source/Publisher/Enums/pbCanvasArrangementType.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum pbCanvasArrangementType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbCanvasArrangementTypeOneCanvas = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbCanvasArrangementTypeColsCanvas = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbCanvasArrangementTypeRowsCanvas = 2 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/pbCatalogMergeFieldType.cs b/Source/Publisher/Enums/pbCatalogMergeFieldType.cs deleted file mode 100644 index 30987b1564..0000000000 --- a/Source/Publisher/Enums/pbCatalogMergeFieldType.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum pbCatalogMergeFieldType - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbCatalogMergeFieldTypeText = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbCatalogMergeFieldTypePicture = 1 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/pbEmailMergePriority.cs b/Source/Publisher/Enums/pbEmailMergePriority.cs deleted file mode 100644 index 41a615292d..0000000000 --- a/Source/Publisher/Enums/pbEmailMergePriority.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum pbEmailMergePriority - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbPriorityNone = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbPriorityHigh = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbPriorityLow = 2 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/pbPictureInsertFit.cs b/Source/Publisher/Enums/pbPictureInsertFit.cs deleted file mode 100644 index 2243a3c21c..0000000000 --- a/Source/Publisher/Enums/pbPictureInsertFit.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum pbPictureInsertFit - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbFit = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbFill = 1 - } -} \ No newline at end of file diff --git a/Source/Publisher/Enums/pbPresetWordArt.cs b/Source/Publisher/Enums/pbPresetWordArt.cs deleted file mode 100644 index 2a253366fa..0000000000 --- a/Source/Publisher/Enums/pbPresetWordArt.cs +++ /dev/null @@ -1,440 +0,0 @@ -using System; -using NetOffice; -using NetOffice.Attributes; -namespace NetOffice.PublisherApi.Enums -{ - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsEnum)] - public enum pbPresetWordArt - { - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// -2 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArtMixed = -2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 0 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt1 = 0, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 1 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt2 = 1, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 2 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt3 = 2, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 3 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt4 = 3, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 4 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt5 = 4, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 5 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt6 = 5, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 6 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt7 = 6, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 7 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt8 = 7, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 8 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt9 = 8, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 9 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt10 = 9, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 10 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt11 = 10, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 11 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt12 = 11, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 12 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt13 = 12, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 13 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt14 = 13, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 14 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt15 = 14, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 15 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt16 = 15, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 16 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt17 = 16, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 17 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt18 = 17, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 18 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt19 = 18, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 19 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt20 = 19, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 20 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt21 = 20, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 21 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt22 = 21, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 22 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt23 = 22, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 23 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt24 = 23, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 24 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt25 = 24, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 25 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt26 = 25, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 26 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt27 = 26, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 27 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt28 = 27, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 28 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt29 = 28, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 29 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt30 = 29, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 30 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt31 = 30, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 31 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt32 = 31, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 32 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt33 = 32, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 33 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt34 = 33, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 34 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt35 = 34, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 35 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt36 = 35, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 36 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt37 = 36, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 37 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt38 = 37, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 38 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt39 = 38, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 39 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt40 = 39, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 40 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt41 = 40, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 41 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt42 = 41, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 42 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt43 = 42, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 43 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt44 = 43, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 44 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt45 = 44, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 45 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt46 = 45, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 46 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt47 = 46, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 47 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt48 = 47, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 48 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt49 = 48, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 49 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt50 = 49, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 50 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt51 = 50, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 51 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt52 = 51, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 52 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt53 = 52, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 53 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt54 = 53, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 54 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt55 = 54, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 55 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt56 = 55, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 56 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt57 = 56, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 57 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt58 = 57, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 58 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt59 = 58, - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// 59 - [SupportByVersion("Publisher", 14,15,16)] - pbPresetWordArt60 = 59 - } -} \ No newline at end of file diff --git a/Source/Publisher/Events/ApplicationEvents.cs b/Source/Publisher/Events/ApplicationEvents.cs deleted file mode 100644 index 60ccbda2f5..0000000000 --- a/Source/Publisher/Events/ApplicationEvents.cs +++ /dev/null @@ -1,513 +0,0 @@ -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using System.Runtime.InteropServices.ComTypes; -using NetOffice; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi.Events -{ - #pragma warning disable - - #region SinkPoint Interface - - [SupportByVersion("Publisher", 14,15,16)] - [InternalEntity(InternalEntityKind.ComEventInterface)] - [ComImport, Guid("00021240-0000-0000-C000-000000000046"), InterfaceType(ComInterfaceType.InterfaceIsIDispatch), TypeLibType((short)0x1010)] - public interface ApplicationEvents - { - [SupportByVersion("Publisher", 14,15,16)] - [SinkArgument("wn", typeof(PublisherApi.Window))] - [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)] - void WindowActivate([In, MarshalAs(UnmanagedType.IDispatch)] object wn); - - [SupportByVersion("Publisher", 14,15,16)] - [SinkArgument("wn", typeof(PublisherApi.Window))] - [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] - void WindowDeactivate([In, MarshalAs(UnmanagedType.IDispatch)] object wn); - - [SupportByVersion("Publisher", 14,15,16)] - [SinkArgument("vw", typeof(PublisherApi.View))] - [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(4)] - void WindowPageChange([In, MarshalAs(UnmanagedType.IDispatch)] object vw); - - [SupportByVersion("Publisher", 14,15,16)] - [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(5)] - void Quit(); - - [SupportByVersion("Publisher", 14,15,16)] - [SinkArgument("doc", typeof(PublisherApi._Document))] - [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(6)] - void NewDocument([In, MarshalAs(UnmanagedType.IDispatch)] object doc); - - [SupportByVersion("Publisher", 14,15,16)] - [SinkArgument("doc", typeof(PublisherApi._Document))] - [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(7)] - void DocumentOpen([In, MarshalAs(UnmanagedType.IDispatch)] object doc); - - [SupportByVersion("Publisher", 14,15,16)] - [SinkArgument("doc", typeof(PublisherApi._Document))] - [SinkArgument("cancel", SinkArgumentType.Bool)] - [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(8)] - void DocumentBeforeClose([In, MarshalAs(UnmanagedType.IDispatch)] object doc, [In] [Out] ref object cancel); - - [SupportByVersion("Publisher", 14,15,16)] - [SinkArgument("doc", typeof(PublisherApi._Document))] - [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(9)] - void MailMergeAfterMerge([In, MarshalAs(UnmanagedType.IDispatch)] object doc); - - [SupportByVersion("Publisher", 14,15,16)] - [SinkArgument("doc", typeof(PublisherApi._Document))] - [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(10)] - void MailMergeAfterRecordMerge([In, MarshalAs(UnmanagedType.IDispatch)] object doc); - - [SupportByVersion("Publisher", 14,15,16)] - [SinkArgument("doc", typeof(PublisherApi._Document))] - [SinkArgument("startRecord", SinkArgumentType.Int32)] - [SinkArgument("endRecord", SinkArgumentType.Int32)] - [SinkArgument("cancel", SinkArgumentType.Bool)] - [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(11)] - void MailMergeBeforeMerge([In, MarshalAs(UnmanagedType.IDispatch)] object doc, [In] object startRecord, [In] object endRecord, [In] [Out] ref object cancel); - - [SupportByVersion("Publisher", 14,15,16)] - [SinkArgument("doc", typeof(PublisherApi._Document))] - [SinkArgument("cancel", SinkArgumentType.Bool)] - [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(12)] - void MailMergeBeforeRecordMerge([In, MarshalAs(UnmanagedType.IDispatch)] object doc, [In] [Out] ref object cancel); - - [SupportByVersion("Publisher", 14,15,16)] - [SinkArgument("doc", typeof(PublisherApi._Document))] - [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(13)] - void MailMergeDataSourceLoad([In, MarshalAs(UnmanagedType.IDispatch)] object doc); - - [SupportByVersion("Publisher", 14,15,16)] - [SinkArgument("doc", typeof(PublisherApi._Document))] - [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(16)] - void MailMergeWizardSendToCustom([In, MarshalAs(UnmanagedType.IDispatch)] object doc); - - [SupportByVersion("Publisher", 14,15,16)] - [SinkArgument("doc", typeof(PublisherApi._Document))] - [SinkArgument("fromState", SinkArgumentType.Int32)] - [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(17)] - void MailMergeWizardStateChange([In, MarshalAs(UnmanagedType.IDispatch)] object doc, [In] object fromState); - - [SupportByVersion("Publisher", 14,15,16)] - [SinkArgument("doc", typeof(PublisherApi._Document))] - [SinkArgument("handled", SinkArgumentType.Bool)] - [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(18)] - void MailMergeDataSourceValidate([In, MarshalAs(UnmanagedType.IDispatch)] object doc, [In] [Out] ref object handled); - - [SupportByVersion("Publisher", 14,15,16)] - [SinkArgument("doc", typeof(PublisherApi._Document))] - [SinkArgument("okToInsert", SinkArgumentType.Bool)] - [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(19)] - void MailMergeInsertBarcode([In, MarshalAs(UnmanagedType.IDispatch)] object doc, [In] [Out] ref object okToInsert); - - [SupportByVersion("Publisher", 14,15,16)] - [SinkArgument("doc", typeof(PublisherApi._Document))] - [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(20)] - void MailMergeRecipientListClose([In, MarshalAs(UnmanagedType.IDispatch)] object doc); - - [SupportByVersion("Publisher", 14,15,16)] - [SinkArgument("doc", typeof(PublisherApi._Document))] - [SinkArgument("bstrString", SinkArgumentType.String)] - [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(21)] - void MailMergeGenerateBarcode([In, MarshalAs(UnmanagedType.IDispatch)] object doc, [In] [Out] ref object bstrString); - - [SupportByVersion("Publisher", 14,15,16)] - [SinkArgument("doc", typeof(PublisherApi._Document))] - [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(22)] - void MailMergeWizardFollowUpCustom([In, MarshalAs(UnmanagedType.IDispatch)] object doc); - - [SupportByVersion("Publisher", 14,15,16)] - [SinkArgument("doc", typeof(PublisherApi._Document))] - [SinkArgument("cancel", SinkArgumentType.Bool)] - [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(23)] - void BeforePrint([In, MarshalAs(UnmanagedType.IDispatch)] object doc, [In] [Out] ref object cancel); - - [SupportByVersion("Publisher", 14,15,16)] - [SinkArgument("doc", typeof(PublisherApi._Document))] - [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(24)] - void AfterPrint([In, MarshalAs(UnmanagedType.IDispatch)] object doc); - - [SupportByVersion("Publisher", 14,15,16)] - [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(25)] - void ShowCatalogUI(); - - [SupportByVersion("Publisher", 14,15,16)] - [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(26)] - void HideCatalogUI(); - } - - #endregion - - #region SinkHelper - - [InternalEntity(InternalEntityKind.SinkHelper)] - [ComVisible(true), ClassInterface(ClassInterfaceType.None), TypeLibType(TypeLibTypeFlags.FHidden)] - public class ApplicationEvents_SinkHelper : SinkHelper, ApplicationEvents - { - #region Static - - public static readonly string Id = "00021240-0000-0000-C000-000000000046"; - - #endregion - - #region Ctor - - public ApplicationEvents_SinkHelper(ICOMObject eventClass, IConnectionPoint connectPoint): base(eventClass) - { - SetupEventBinding(connectPoint); - } - - #endregion - - #region ApplicationEvents - - public void WindowActivate([In, MarshalAs(UnmanagedType.IDispatch)] object wn) - { - if (!Validate("WindowActivate")) - { - Invoker.ReleaseParamsArray(wn); - return; - } - - NetOffice.PublisherApi.Window newWn = Factory.CreateKnownObjectFromComProxy(EventClass, wn, NetOffice.PublisherApi.Window.LateBindingApiWrapperType); - object[] paramsArray = new object[1]; - paramsArray[0] = newWn; - EventBinding.RaiseCustomEvent("WindowActivate", ref paramsArray); - } - - public void WindowDeactivate([In, MarshalAs(UnmanagedType.IDispatch)] object wn) - { - if (!Validate("WindowDeactivate")) - { - Invoker.ReleaseParamsArray(wn); - return; - } - - NetOffice.PublisherApi.Window newWn = Factory.CreateKnownObjectFromComProxy(EventClass, wn, NetOffice.PublisherApi.Window.LateBindingApiWrapperType); - object[] paramsArray = new object[1]; - paramsArray[0] = newWn; - EventBinding.RaiseCustomEvent("WindowDeactivate", ref paramsArray); - } - - public void WindowPageChange([In, MarshalAs(UnmanagedType.IDispatch)] object vw) - { - if (!Validate("WindowPageChange")) - { - Invoker.ReleaseParamsArray(vw); - return; - } - - NetOffice.PublisherApi.View newVw = Factory.CreateKnownObjectFromComProxy(EventClass, vw, NetOffice.PublisherApi.View.LateBindingApiWrapperType); - object[] paramsArray = new object[1]; - paramsArray[0] = newVw; - EventBinding.RaiseCustomEvent("WindowPageChange", ref paramsArray); - } - - public void Quit() - { - if (!Validate("Quit")) - { - return; - } - - object[] paramsArray = new object[0]; - EventBinding.RaiseCustomEvent("Quit", ref paramsArray); - } - - public void NewDocument([In, MarshalAs(UnmanagedType.IDispatch)] object doc) - { - if (!Validate("NewDocument")) - { - Invoker.ReleaseParamsArray(doc); - return; - } - - NetOffice.PublisherApi._Document newDoc = Factory.CreateEventArgumentObjectFromComProxy(EventClass, doc) as NetOffice.PublisherApi._Document; - object[] paramsArray = new object[1]; - paramsArray[0] = newDoc; - EventBinding.RaiseCustomEvent("NewDocument", ref paramsArray); - } - - public void DocumentOpen([In, MarshalAs(UnmanagedType.IDispatch)] object doc) - { - if (!Validate("DocumentOpen")) - { - Invoker.ReleaseParamsArray(doc); - return; - } - - NetOffice.PublisherApi._Document newDoc = Factory.CreateEventArgumentObjectFromComProxy(EventClass, doc) as NetOffice.PublisherApi._Document; - object[] paramsArray = new object[1]; - paramsArray[0] = newDoc; - EventBinding.RaiseCustomEvent("DocumentOpen", ref paramsArray); - } - - public void DocumentBeforeClose([In, MarshalAs(UnmanagedType.IDispatch)] object doc, [In] [Out] ref object cancel) - { - if (!Validate("DocumentBeforeClose")) - { - Invoker.ReleaseParamsArray(doc, cancel); - return; - } - - NetOffice.PublisherApi._Document newDoc = Factory.CreateEventArgumentObjectFromComProxy(EventClass, doc) as NetOffice.PublisherApi._Document; - object[] paramsArray = new object[2]; - paramsArray[0] = newDoc; - paramsArray.SetValue(cancel, 1); - EventBinding.RaiseCustomEvent("DocumentBeforeClose", ref paramsArray); - - cancel = ToBoolean(paramsArray[1]); - } - - public void MailMergeAfterMerge([In, MarshalAs(UnmanagedType.IDispatch)] object doc) - { - if (!Validate("MailMergeAfterMerge")) - { - Invoker.ReleaseParamsArray(doc); - return; - } - - NetOffice.PublisherApi._Document newDoc = Factory.CreateEventArgumentObjectFromComProxy(EventClass, doc) as NetOffice.PublisherApi._Document; - object[] paramsArray = new object[1]; - paramsArray[0] = newDoc; - EventBinding.RaiseCustomEvent("MailMergeAfterMerge", ref paramsArray); - } - - public void MailMergeAfterRecordMerge([In, MarshalAs(UnmanagedType.IDispatch)] object doc) - { - if (!Validate("MailMergeAfterRecordMerge")) - { - Invoker.ReleaseParamsArray(doc); - return; - } - - NetOffice.PublisherApi._Document newDoc = Factory.CreateEventArgumentObjectFromComProxy(EventClass, doc) as NetOffice.PublisherApi._Document; - object[] paramsArray = new object[1]; - paramsArray[0] = newDoc; - EventBinding.RaiseCustomEvent("MailMergeAfterRecordMerge", ref paramsArray); - } - - public void MailMergeBeforeMerge([In, MarshalAs(UnmanagedType.IDispatch)] object doc, [In] object startRecord, [In] object endRecord, [In] [Out] ref object cancel) - { - if (!Validate("MailMergeBeforeMerge")) - { - Invoker.ReleaseParamsArray(doc, startRecord, endRecord, cancel); - return; - } - - NetOffice.PublisherApi._Document newDoc = Factory.CreateEventArgumentObjectFromComProxy(EventClass, doc) as NetOffice.PublisherApi._Document; - Int32 newStartRecord = ToInt32(startRecord); - Int32 newEndRecord = ToInt32(endRecord); - object[] paramsArray = new object[4]; - paramsArray[0] = newDoc; - paramsArray[1] = newStartRecord; - paramsArray[2] = newEndRecord; - paramsArray.SetValue(cancel, 3); - EventBinding.RaiseCustomEvent("MailMergeBeforeMerge", ref paramsArray); - - cancel = ToBoolean(paramsArray[3]); - } - - public void MailMergeBeforeRecordMerge([In, MarshalAs(UnmanagedType.IDispatch)] object doc, [In] [Out] ref object cancel) - { - if (!Validate("MailMergeBeforeRecordMerge")) - { - Invoker.ReleaseParamsArray(doc, cancel); - return; - } - - NetOffice.PublisherApi._Document newDoc = Factory.CreateEventArgumentObjectFromComProxy(EventClass, doc) as NetOffice.PublisherApi._Document; - object[] paramsArray = new object[2]; - paramsArray[0] = newDoc; - paramsArray.SetValue(cancel, 1); - EventBinding.RaiseCustomEvent("MailMergeBeforeRecordMerge", ref paramsArray); - - cancel = ToBoolean(paramsArray[1]); - } - - public void MailMergeDataSourceLoad([In, MarshalAs(UnmanagedType.IDispatch)] object doc) - { - if (!Validate("MailMergeDataSourceLoad")) - { - Invoker.ReleaseParamsArray(doc); - return; - } - - NetOffice.PublisherApi._Document newDoc = Factory.CreateEventArgumentObjectFromComProxy(EventClass, doc) as NetOffice.PublisherApi._Document; - object[] paramsArray = new object[1]; - paramsArray[0] = newDoc; - EventBinding.RaiseCustomEvent("MailMergeDataSourceLoad", ref paramsArray); - } - - public void MailMergeWizardSendToCustom([In, MarshalAs(UnmanagedType.IDispatch)] object doc) - { - if (!Validate("MailMergeWizardSendToCustom")) - { - Invoker.ReleaseParamsArray(doc); - return; - } - - NetOffice.PublisherApi._Document newDoc = Factory.CreateEventArgumentObjectFromComProxy(EventClass, doc) as NetOffice.PublisherApi._Document; - object[] paramsArray = new object[1]; - paramsArray[0] = newDoc; - EventBinding.RaiseCustomEvent("MailMergeWizardSendToCustom", ref paramsArray); - } - - public void MailMergeWizardStateChange([In, MarshalAs(UnmanagedType.IDispatch)] object doc, [In] object fromState) - { - if (!Validate("MailMergeWizardStateChange")) - { - Invoker.ReleaseParamsArray(doc, fromState); - return; - } - - NetOffice.PublisherApi._Document newDoc = Factory.CreateEventArgumentObjectFromComProxy(EventClass, doc) as NetOffice.PublisherApi._Document; - Int32 newFromState = ToInt32(fromState); - object[] paramsArray = new object[2]; - paramsArray[0] = newDoc; - paramsArray[1] = newFromState; - EventBinding.RaiseCustomEvent("MailMergeWizardStateChange", ref paramsArray); - } - - public void MailMergeDataSourceValidate([In, MarshalAs(UnmanagedType.IDispatch)] object doc, [In] [Out] ref object handled) - { - if (!Validate("MailMergeDataSourceValidate")) - { - Invoker.ReleaseParamsArray(doc, handled); - return; - } - - NetOffice.PublisherApi._Document newDoc = Factory.CreateEventArgumentObjectFromComProxy(EventClass, doc) as NetOffice.PublisherApi._Document; - object[] paramsArray = new object[2]; - paramsArray[0] = newDoc; - paramsArray.SetValue(handled, 1); - EventBinding.RaiseCustomEvent("MailMergeDataSourceValidate", ref paramsArray); - - handled = ToBoolean(paramsArray[1]); - } - - public void MailMergeInsertBarcode([In, MarshalAs(UnmanagedType.IDispatch)] object doc, [In] [Out] ref object okToInsert) - { - if (!Validate("MailMergeInsertBarcode")) - { - Invoker.ReleaseParamsArray(doc, okToInsert); - return; - } - - NetOffice.PublisherApi._Document newDoc = Factory.CreateEventArgumentObjectFromComProxy(EventClass, doc) as NetOffice.PublisherApi._Document; - object[] paramsArray = new object[2]; - paramsArray[0] = newDoc; - paramsArray.SetValue(okToInsert, 1); - EventBinding.RaiseCustomEvent("MailMergeInsertBarcode", ref paramsArray); - - okToInsert = ToBoolean(paramsArray[1]); - } - - public void MailMergeRecipientListClose([In, MarshalAs(UnmanagedType.IDispatch)] object doc) - { - if (!Validate("MailMergeRecipientListClose")) - { - Invoker.ReleaseParamsArray(doc); - return; - } - - NetOffice.PublisherApi._Document newDoc = Factory.CreateEventArgumentObjectFromComProxy(EventClass, doc) as NetOffice.PublisherApi._Document; - object[] paramsArray = new object[1]; - paramsArray[0] = newDoc; - EventBinding.RaiseCustomEvent("MailMergeRecipientListClose", ref paramsArray); - } - - public void MailMergeGenerateBarcode([In, MarshalAs(UnmanagedType.IDispatch)] object doc, [In] [Out] ref object bstrString) - { - if (!Validate("MailMergeGenerateBarcode")) - { - Invoker.ReleaseParamsArray(doc, bstrString); - return; - } - - NetOffice.PublisherApi._Document newDoc = Factory.CreateEventArgumentObjectFromComProxy(EventClass, doc) as NetOffice.PublisherApi._Document; - object[] paramsArray = new object[2]; - paramsArray[0] = newDoc; - paramsArray.SetValue(bstrString, 1); - EventBinding.RaiseCustomEvent("MailMergeGenerateBarcode", ref paramsArray); - - bstrString = ToString(paramsArray[1]); - } - - public void MailMergeWizardFollowUpCustom([In, MarshalAs(UnmanagedType.IDispatch)] object doc) - { - if (!Validate("MailMergeWizardFollowUpCustom")) - { - Invoker.ReleaseParamsArray(doc); - return; - } - - NetOffice.PublisherApi._Document newDoc = Factory.CreateEventArgumentObjectFromComProxy(EventClass, doc) as NetOffice.PublisherApi._Document; - object[] paramsArray = new object[1]; - paramsArray[0] = newDoc; - EventBinding.RaiseCustomEvent("MailMergeWizardFollowUpCustom", ref paramsArray); - } - - public void BeforePrint([In, MarshalAs(UnmanagedType.IDispatch)] object doc, [In] [Out] ref object cancel) - { - if (!Validate("BeforePrint")) - { - Invoker.ReleaseParamsArray(doc, cancel); - return; - } - - NetOffice.PublisherApi._Document newDoc = Factory.CreateEventArgumentObjectFromComProxy(EventClass, doc) as NetOffice.PublisherApi._Document; - object[] paramsArray = new object[2]; - paramsArray[0] = newDoc; - paramsArray.SetValue(cancel, 1); - EventBinding.RaiseCustomEvent("BeforePrint", ref paramsArray); - - cancel = ToBoolean(paramsArray[1]); - } - - public void AfterPrint([In, MarshalAs(UnmanagedType.IDispatch)] object doc) - { - if (!Validate("AfterPrint")) - { - Invoker.ReleaseParamsArray(doc); - return; - } - - NetOffice.PublisherApi._Document newDoc = Factory.CreateKnownObjectFromComProxy(EventClass, doc, NetOffice.PublisherApi._Document.LateBindingApiWrapperType); - object[] paramsArray = new object[1]; - paramsArray[0] = newDoc; - EventBinding.RaiseCustomEvent("AfterPrint", ref paramsArray); - } - - public void ShowCatalogUI() - { - if (!Validate("ShowCatalogUI")) - { - return; - } - - object[] paramsArray = new object[0]; - EventBinding.RaiseCustomEvent("ShowCatalogUI", ref paramsArray); - } - - public void HideCatalogUI() - { - if (!Validate("HideCatalogUI")) - { - return; - } - - object[] paramsArray = new object[0]; - EventBinding.RaiseCustomEvent("HideCatalogUI", ref paramsArray); - } - - #endregion - } - - #endregion - - #pragma warning restore -} \ No newline at end of file diff --git a/Source/Publisher/Events/DocumentEvents.cs b/Source/Publisher/Events/DocumentEvents.cs deleted file mode 100644 index 055acb850c..0000000000 --- a/Source/Publisher/Events/DocumentEvents.cs +++ /dev/null @@ -1,161 +0,0 @@ -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using System.Runtime.InteropServices.ComTypes; -using NetOffice; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi.Events -{ - #pragma warning disable - - #region SinkPoint Interface - - [SupportByVersion("Publisher", 14,15,16)] - [InternalEntity(InternalEntityKind.ComEventInterface)] - [ComImport, Guid("00021244-0000-0000-C000-000000000046"), InterfaceType(ComInterfaceType.InterfaceIsIDispatch), TypeLibType((short)0x1010)] - public interface DocumentEvents - { - [SupportByVersion("Publisher", 14,15,16)] - [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(1)] - void Open(); - - [SupportByVersion("Publisher", 14,15,16)] - [SinkArgument("cancel", SinkArgumentType.Bool)] - [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(2)] - void BeforeClose([In] [Out] ref object cancel); - - [SupportByVersion("Publisher", 14,15,16)] - [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(3)] - void ShapesAdded(); - - [SupportByVersion("Publisher", 14,15,16)] - [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(4)] - void WizardAfterChange(); - - [SupportByVersion("Publisher", 14,15,16)] - [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(5)] - void ShapesRemoved(); - - [SupportByVersion("Publisher", 14,15,16)] - [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(6)] - void Undo(); - - [SupportByVersion("Publisher", 14,15,16)] - [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(7)] - void Redo(); - } - - #endregion - - #region SinkHelper - - [InternalEntity(InternalEntityKind.SinkHelper)] - [ComVisible(true), ClassInterface(ClassInterfaceType.None), TypeLibType(TypeLibTypeFlags.FHidden)] - public class DocumentEvents_SinkHelper : SinkHelper, DocumentEvents - { - #region Static - - public static readonly string Id = "00021244-0000-0000-C000-000000000046"; - - #endregion - - #region Ctor - - public DocumentEvents_SinkHelper(ICOMObject eventClass, IConnectionPoint connectPoint): base(eventClass) - { - SetupEventBinding(connectPoint); - } - - #endregion - - #region DocumentEvents - - public void Open() - { - if (!Validate("Open")) - { - return; - } - - object[] paramsArray = new object[0]; - EventBinding.RaiseCustomEvent("Open", ref paramsArray); - } - - public void BeforeClose([In] [Out] ref object cancel) - { - if (!Validate("BeforeClose")) - { - Invoker.ReleaseParamsArray(cancel); - return; - } - - object[] paramsArray = new object[1]; - paramsArray.SetValue(cancel, 0); - EventBinding.RaiseCustomEvent("BeforeClose", ref paramsArray); - - cancel = ToBoolean(paramsArray[0]); - } - - public void ShapesAdded() - { - if (!Validate("ShapesAdded")) - { - return; - } - - object[] paramsArray = new object[0]; - EventBinding.RaiseCustomEvent("ShapesAdded", ref paramsArray); - } - - public void WizardAfterChange() - { - if (!Validate("WizardAfterChange")) - { - return; - } - - object[] paramsArray = new object[0]; - EventBinding.RaiseCustomEvent("WizardAfterChange", ref paramsArray); - } - - public void ShapesRemoved() - { - if (!Validate("ShapesRemoved")) - { - return; - } - - object[] paramsArray = new object[0]; - EventBinding.RaiseCustomEvent("ShapesRemoved", ref paramsArray); - } - - public void Undo() - { - if (!Validate("Undo")) - { - return; - } - - object[] paramsArray = new object[0]; - EventBinding.RaiseCustomEvent("Undo", ref paramsArray); - } - - public void Redo() - { - if (!Validate("Redo")) - { - return; - } - - object[] paramsArray = new object[0]; - EventBinding.RaiseCustomEvent("Redo", ref paramsArray); - } - - #endregion - } - - #endregion - - #pragma warning restore -} \ No newline at end of file diff --git a/Source/Publisher/Modules/Global.cs b/Source/Publisher/Modules/Global.cs deleted file mode 100644 index 91641beb57..0000000000 --- a/Source/Publisher/Modules/Global.cs +++ /dev/null @@ -1,897 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.ComponentModel; -using NetOffice.Attributes; - -namespace NetOffice.PublisherApi.GlobalHelperModules -{ - /// - /// Module GlobalModule - /// SupportByVersion Publisher, 14,15,16 - /// - [SupportByVersion("Publisher", 14,15,16)] - [EntityType(EntityType.IsModule), ModuleBaseType(typeof(PublisherApi.Application))] - public static class GlobalModule - { - #region Fields - - private static ICOMObject _instance; - - #endregion - - #region Internal Properties - - internal static ICOMObject Instance - { - get - { - return _instance; - } - set - { - if ((null == value) || (null == _instance)) - _instance = value; - } - } - - internal static Core Factory - { - get - { - if(null != _instance) - return _instance.Factory; - else - return Core.Default; - } - } - - internal static Invoker Invoker - { - get - { - if(null != _instance) - return _instance.Invoker; - else - return Invoker.Default; - } - } - - #endregion - - #region Properties - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public static NetOffice.PublisherApi.Document ActiveDocument - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(_instance, "ActiveDocument", NetOffice.PublisherApi.Document.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public static NetOffice.PublisherApi.Window ActiveWindow - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(_instance, "ActiveWindow", NetOffice.PublisherApi.Window.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public static NetOffice.PublisherApi.Application Application - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(_instance, "Application", NetOffice.PublisherApi.Application.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14, 15, 16)] - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static NetOffice.OfficeApi.Assistant Assistant - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(_instance, "Assistant", NetOffice.OfficeApi.Assistant.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public static Int32 Build - { - get - { - return Factory.ExecuteInt32PropertyGet(_instance, "Build"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public static NetOffice.PublisherApi.ColorSchemes ColorSchemes - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(_instance, "ColorSchemes", NetOffice.PublisherApi.ColorSchemes.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public static NetOffice.OfficeApi.COMAddIns COMAddIns - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(_instance, "COMAddIns", NetOffice.OfficeApi.COMAddIns.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public static NetOffice.OfficeApi.CommandBars CommandBars - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(_instance, "CommandBars", NetOffice.OfficeApi.CommandBars.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - /// NetOffice.OfficeApi.Enums.MsoFileDialogType type - [SupportByVersion("Publisher", 14, 15, 16)] - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static NetOffice.OfficeApi.FileDialog get_FileDialog(NetOffice.OfficeApi.Enums.MsoFileDialogType type) - { - return Factory.ExecuteKnownReferencePropertyGet(_instance, "FileDialog", NetOffice.OfficeApi.FileDialog.LateBindingApiWrapperType, type); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Alias for get_FileDialog - /// - /// NetOffice.OfficeApi.Enums.MsoFileDialogType type - [SupportByVersion("Publisher", 14, 15, 16), Redirect("get_FileDialog")] - public static NetOffice.OfficeApi.FileDialog FileDialog(NetOffice.OfficeApi.Enums.MsoFileDialogType type) - { - return get_FileDialog(type); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14, 15, 16)] - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static NetOffice.OfficeApi.FileSearch FileSearch - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(_instance, "FileSearch", NetOffice.OfficeApi.FileSearch.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public static Int32 Language - { - get - { - return Factory.ExecuteInt32PropertyGet(_instance, "Language"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public static string Name - { - get - { - return Factory.ExecuteStringPropertyGet(_instance, "Name"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public static NetOffice.PublisherApi.Options Options - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(_instance, "Options", NetOffice.PublisherApi.Options.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// Unknown COM Proxy - /// - [SupportByVersion("Publisher", 14, 15, 16), ProxyResult] - public static object Parent - { - get - { - return Factory.ExecuteReferencePropertyGet(_instance, "Parent"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public static string Path - { - get - { - return Factory.ExecuteStringPropertyGet(_instance, "Path"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public static string PathSeparator - { - get - { - return Factory.ExecuteStringPropertyGet(_instance, "PathSeparator"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public static string ProductCode - { - get - { - return Factory.ExecuteStringPropertyGet(_instance, "ProductCode"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public static bool PrintPreview - { - get - { - return Factory.ExecuteBoolPropertyGet(_instance, "PrintPreview"); - } - set - { - Factory.ExecuteValuePropertySet(_instance, "PrintPreview", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public static bool ScreenUpdating - { - get - { - return Factory.ExecuteBoolPropertyGet(_instance, "ScreenUpdating"); - } - set - { - Factory.ExecuteValuePropertySet(_instance, "ScreenUpdating", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public static NetOffice.PublisherApi.Selection Selection - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(_instance, "Selection", NetOffice.PublisherApi.Selection.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public static bool SnapToGuides - { - get - { - return Factory.ExecuteBoolPropertyGet(_instance, "SnapToGuides"); - } - set - { - Factory.ExecuteValuePropertySet(_instance, "SnapToGuides", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public static bool SnapToObjects - { - get - { - return Factory.ExecuteBoolPropertyGet(_instance, "SnapToObjects"); - } - set - { - Factory.ExecuteValuePropertySet(_instance, "SnapToObjects", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public static string TemplateFolderPath - { - get - { - return Factory.ExecuteStringPropertyGet(_instance, "TemplateFolderPath"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public static string Version - { - get - { - return Factory.ExecuteStringPropertyGet(_instance, "Version"); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public static NetOffice.OfficeApi.OfficeDataSourceObject OfficeDataSourceObject - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(_instance, "OfficeDataSourceObject", NetOffice.OfficeApi.OfficeDataSourceObject.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public static bool WizardCatalogVisible - { - get - { - return Factory.ExecuteBoolPropertyGet(_instance, "WizardCatalogVisible"); - } - set - { - Factory.ExecuteValuePropertySet(_instance, "WizardCatalogVisible", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public static NetOffice.PublisherApi.Documents Documents - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(_instance, "Documents", NetOffice.PublisherApi.Documents.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public static NetOffice.PublisherApi.WebOptions WebOptions - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(_instance, "WebOptions", NetOffice.PublisherApi.WebOptions.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public static NetOffice.PublisherApi.InstalledPrinters InstalledPrinters - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(_instance, "InstalledPrinters", NetOffice.PublisherApi.InstalledPrinters.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14, 15, 16)] - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - public static NetOffice.OfficeApi.MsoDebugOptions MsoDebugOptions - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(_instance, "MsoDebugOptions", NetOffice.OfficeApi.MsoDebugOptions.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public static bool ValidateAddressVisible - { - get - { - return Factory.ExecuteBoolPropertyGet(_instance, "ValidateAddressVisible"); - } - set - { - Factory.ExecuteValuePropertySet(_instance, "ValidateAddressVisible", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public static bool InsertBarcodeVisible - { - get - { - return Factory.ExecuteBoolPropertyGet(_instance, "InsertBarcodeVisible"); - } - set - { - Factory.ExecuteValuePropertySet(_instance, "InsertBarcodeVisible", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public static string ShowFollowUpCustom - { - get - { - return Factory.ExecuteStringPropertyGet(_instance, "ShowFollowUpCustom"); - } - set - { - Factory.ExecuteValuePropertySet(_instance, "ShowFollowUpCustom", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get/Set - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public static NetOffice.OfficeApi.Enums.MsoAutomationSecurity AutomationSecurity - { - get - { - return Factory.ExecuteEnumPropertyGet(_instance, "AutomationSecurity"); - } - set - { - Factory.ExecuteEnumPropertySet(_instance, "AutomationSecurity", value); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public static NetOffice.OfficeApi.IAssistance Assistance - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(_instance, "Assistance", NetOffice.OfficeApi.IAssistance.LateBindingApiWrapperType); - } - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// Get - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public static NetOffice.PublisherApi.CaptionStyles CaptionStyles - { - get - { - return Factory.ExecuteKnownReferencePropertyGet(_instance, "CaptionStyles", NetOffice.PublisherApi.CaptionStyles.LateBindingApiWrapperType); - } - } - - #endregion - - #region Methods - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string dir - [SupportByVersion("Publisher", 14, 15, 16)] - public static void ChangeFileOpenDirectory(string dir) - { - Factory.ExecuteMethod(_instance, "ChangeFileOpenDirectory", dir); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// NetOffice.PublisherApi.Enums.PbHelpType helpType - [SupportByVersion("Publisher", 14, 15, 16)] - public static void Help(NetOffice.PublisherApi.Enums.PbHelpType helpType) - { - Factory.ExecuteMethod(_instance, "Help", helpType); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// object object - [SupportByVersion("Publisher", 14, 15, 16)] - public static bool IsValidObject(object _object) - { - return Factory.ExecuteBoolMethodGet(_instance, "IsValidObject", _object); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional NetOffice.PublisherApi.Enums.PbWizard Wizard = 0 - /// optional Int32 Design = -1 - [SupportByVersion("Publisher", 14, 15, 16)] - public static NetOffice.PublisherApi.Document NewDocument(object wizard, object design) - { - return Factory.ExecuteKnownReferenceMethodGet(_instance, "NewDocument", NetOffice.PublisherApi.Document.LateBindingApiWrapperType, wizard, design); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [CustomMethod] - [SupportByVersion("Publisher", 14, 15, 16)] - public static NetOffice.PublisherApi.Document NewDocument() - { - return Factory.ExecuteKnownReferenceMethodGet(_instance, "NewDocument", NetOffice.PublisherApi.Document.LateBindingApiWrapperType); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional NetOffice.PublisherApi.Enums.PbWizard Wizard = 0 - [CustomMethod] - [SupportByVersion("Publisher", 14, 15, 16)] - public static NetOffice.PublisherApi.Document NewDocument(object wizard) - { - return Factory.ExecuteKnownReferenceMethodGet(_instance, "NewDocument", NetOffice.PublisherApi.Document.LateBindingApiWrapperType, wizard); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string filename - /// optional bool ReadOnly = false - /// optional bool AddToRecentFiles = true - /// optional NetOffice.PublisherApi.Enums.PbSaveOptions SaveChanges = 1 - [SupportByVersion("Publisher", 14, 15, 16)] - public static NetOffice.PublisherApi.Document Open(string filename, object readOnly, object addToRecentFiles, object saveChanges) - { - return Factory.ExecuteKnownReferenceMethodGet(_instance, "Open", NetOffice.PublisherApi.Document.LateBindingApiWrapperType, filename, readOnly, addToRecentFiles, saveChanges); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string filename - [CustomMethod] - [SupportByVersion("Publisher", 14, 15, 16)] - public static NetOffice.PublisherApi.Document Open(string filename) - { - return Factory.ExecuteKnownReferenceMethodGet(_instance, "Open", NetOffice.PublisherApi.Document.LateBindingApiWrapperType, filename); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string filename - /// optional bool ReadOnly = false - [CustomMethod] - [SupportByVersion("Publisher", 14, 15, 16)] - public static NetOffice.PublisherApi.Document Open(string filename, object readOnly) - { - return Factory.ExecuteKnownReferenceMethodGet(_instance, "Open", NetOffice.PublisherApi.Document.LateBindingApiWrapperType, filename, readOnly); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// string filename - /// optional bool ReadOnly = false - /// optional bool AddToRecentFiles = true - [CustomMethod] - [SupportByVersion("Publisher", 14, 15, 16)] - public static NetOffice.PublisherApi.Document Open(string filename, object readOnly, object addToRecentFiles) - { - return Factory.ExecuteKnownReferenceMethodGet(_instance, "Open", NetOffice.PublisherApi.Document.LateBindingApiWrapperType, filename, readOnly, addToRecentFiles); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [SupportByVersion("Publisher", 14, 15, 16)] - public static void Quit() - { - Factory.ExecuteMethod(_instance, "Quit"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] - [SupportByVersion("Publisher", 14, 15, 16)] - public static void LaunchWebService() - { - Factory.ExecuteMethod(_instance, "LaunchWebService"); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single value - [SupportByVersion("Publisher", 14, 15, 16)] - public static Single CentimetersToPoints(Single value) - { - return Factory.ExecuteSingleMethodGet(_instance, "CentimetersToPoints", value); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single value - [SupportByVersion("Publisher", 14, 15, 16)] - public static Single EmusToPoints(Single value) - { - return Factory.ExecuteSingleMethodGet(_instance, "EmusToPoints", value); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single value - [SupportByVersion("Publisher", 14, 15, 16)] - public static Single InchesToPoints(Single value) - { - return Factory.ExecuteSingleMethodGet(_instance, "InchesToPoints", value); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single value - [SupportByVersion("Publisher", 14, 15, 16)] - public static Single LinesToPoints(Single value) - { - return Factory.ExecuteSingleMethodGet(_instance, "LinesToPoints", value); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single value - [SupportByVersion("Publisher", 14, 15, 16)] - public static Single MillimetersToPoints(Single value) - { - return Factory.ExecuteSingleMethodGet(_instance, "MillimetersToPoints", value); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single value - [SupportByVersion("Publisher", 14, 15, 16)] - public static Single PicasToPoints(Single value) - { - return Factory.ExecuteSingleMethodGet(_instance, "PicasToPoints", value); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single value - [SupportByVersion("Publisher", 14, 15, 16)] - public static Single PixelsToPoints(Single value) - { - return Factory.ExecuteSingleMethodGet(_instance, "PixelsToPoints", value); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single value - [SupportByVersion("Publisher", 14, 15, 16)] - public static Single TwipsToPoints(Single value) - { - return Factory.ExecuteSingleMethodGet(_instance, "TwipsToPoints", value); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single value - [SupportByVersion("Publisher", 14, 15, 16)] - public static Single PointsToCentimeters(Single value) - { - return Factory.ExecuteSingleMethodGet(_instance, "PointsToCentimeters", value); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single value - [SupportByVersion("Publisher", 14, 15, 16)] - public static Single PointsToEmus(Single value) - { - return Factory.ExecuteSingleMethodGet(_instance, "PointsToEmus", value); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single value - [SupportByVersion("Publisher", 14, 15, 16)] - public static Single PointsToInches(Single value) - { - return Factory.ExecuteSingleMethodGet(_instance, "PointsToInches", value); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single value - [SupportByVersion("Publisher", 14, 15, 16)] - public static Single PointsToLines(Single value) - { - return Factory.ExecuteSingleMethodGet(_instance, "PointsToLines", value); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single value - [SupportByVersion("Publisher", 14, 15, 16)] - public static Single PointsToMillimeters(Single value) - { - return Factory.ExecuteSingleMethodGet(_instance, "PointsToMillimeters", value); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single value - [SupportByVersion("Publisher", 14, 15, 16)] - public static Single PointsToPicas(Single value) - { - return Factory.ExecuteSingleMethodGet(_instance, "PointsToPicas", value); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single value - [SupportByVersion("Publisher", 14, 15, 16)] - public static Single PointsToPixels(Single value) - { - return Factory.ExecuteSingleMethodGet(_instance, "PointsToPixels", value); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// Single value - [SupportByVersion("Publisher", 14, 15, 16)] - public static Single PointsToTwips(Single value) - { - return Factory.ExecuteSingleMethodGet(_instance, "PointsToTwips", value); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - /// optional NetOffice.PublisherApi.Enums.PbWizard Wizard = 0 - [SupportByVersion("Publisher", 14, 15, 16)] - public static void ShowWizardCatalog(object wizard) - { - Factory.ExecuteMethod(_instance, "ShowWizardCatalog", wizard); - } - - /// - /// SupportByVersion Publisher 14, 15, 16 - /// - [CustomMethod] - [SupportByVersion("Publisher", 14, 15, 16)] - public static void ShowWizardCatalog() - { - Factory.ExecuteMethod(_instance, "ShowWizardCatalog"); - } - - #endregion - } -} diff --git a/Source/Publisher/PublisherApi.csproj b/Source/Publisher/PublisherApi.csproj deleted file mode 100644 index cb6f4b50f5..0000000000 --- a/Source/Publisher/PublisherApi.csproj +++ /dev/null @@ -1,28 +0,0 @@ - - - Publisher - Netoffice Publisher Api - NetOffice.PublisherApi - - - PublisherApi_v4.0.snk - - - - - - - - false - false - - - - - - - - - - - diff --git a/Source/Publisher/PublisherApi_v4.0.snk b/Source/Publisher/PublisherApi_v4.0.snk deleted file mode 100644 index 22d1d7ef9a..0000000000 Binary files a/Source/Publisher/PublisherApi_v4.0.snk and /dev/null differ diff --git a/Source/Publisher/Tools/COMAddin.cs b/Source/Publisher/Tools/COMAddin.cs deleted file mode 100644 index f38096bb66..0000000000 --- a/Source/Publisher/Tools/COMAddin.cs +++ /dev/null @@ -1,929 +0,0 @@ -using System; -using NetRuntimeSystem = System; -using System.Collections; -using System.Collections.Generic; -using System.Reflection; -using System.ComponentModel; -using System.Runtime.InteropServices; -using NetOffice; -using NetOffice.Attributes; -using NetOffice.Tools; -using NetOffice.OfficeApi.Tools; -using Office = NetOffice.OfficeApi; -using Publisher = NetOffice.PublisherApi; - -namespace NetOffice.PublisherApi.Tools -{ - /// - /// NetOffice Publisher COM Addin - /// - [ComVisible(true), ClassInterface(ClassInterfaceType.AutoDual)] - public abstract class COMAddin : COMAddinBase, IOfficeCOMAddin - { - #region Fields - - /// - /// MS-Excel Registry Path - /// - private static readonly string _addinOfficeRegistryKey = "Software\\Microsoft\\Office\\Publisher\\Addins\\"; - - /// - /// First field in OnConnection custom argument array - /// - private int _automationCode = -1; - - /// - /// Cache field used in IsLoadedFromSystem() method - /// - private bool? _isLoadedFromSystem; - - /// - /// Instance factory to avoid trouble with addins in same appdomain - /// - private Core _factory; - - #endregion - - #region Ctor - - /// - /// Creates an instance of the class - /// - public COMAddin() - { - _factory = RaiseCreateFactory(); - if (null == _factory) - _factory = Core.Default; - TaskPanes = new CustomTaskPaneCollection(); - TaskPaneInstances = new List(); - } - - #endregion - - #region Properties - - /// - /// Common Tasks Helper. The property is available after the host application has called OnConnection for the instance - /// - public Office.Tools.Contribution.CommonUtils Utils { get; private set; } - - /// - /// Host Application Instance - /// - protected internal Publisher.Application Application { get; private set; } - - /// - /// Collection with all created custom Task Panes - /// - protected CustomTaskPaneCollection TaskPanes { get; private set; } - - /// - /// TaskPaneFactory from CTPFactoryAvailable - /// - protected Office.ICTPFactory TaskPaneFactory { get; set; } - - /// - /// ITaskPane Instances - /// - protected List TaskPaneInstances { get; set; } - - /// - /// Ribbon instance to manipulate ui at runtime - /// - public Office.IRibbonUI RibbonUI { get; private set; } - - /// - /// Custom addin object if created - /// - protected internal object CustomObject { get; private set; } - - /// - /// Cached Error Method Delegate - /// - private MethodInfo ErrorMethod { get; set; } - - /// - /// Cached Register Error Method Delegate - /// - private static MethodInfo RegisterErrorMethod { get; set; } - - #endregion - - #region COMAddinBase - - /// - /// Generic Host Application Instance - /// - [Browsable(false), EditorBrowsable(EditorBrowsableState.Never)] - public override ICOMObject AppInstance - { - get { return Application; } - } - - /// - /// The used factory core - /// - public override Core Factory - { - get - { - return _factory; - } - } - - /// - /// Instance managed root com objects - /// - [Browsable(false), EditorBrowsable(EditorBrowsableState.Never)] - public override IEnumerable Roots { get; protected set; } - - /// - /// Returns an enumerable sequence with instance managed com objects on root level - /// - /// ICOMObject enumerator - [Browsable(false), EditorBrowsable(EditorBrowsableState.Never)] - protected internal virtual IEnumerable OnCreateRoots() - { - List result = new List(); - result.Add(Application); - if (null != TaskPaneFactory) - result.Add(TaskPaneFactory); - - return result.ToArray(); - } - - #endregion - - #region IDTExtensibility2 Events - - /// - /// The OnStartupComplete event occurs when the host application completes its startup routines, in the case where the COM add-in loads at startup. - /// If the add-in is not loaded when the application loads, the OnStartupComplete event does not occur — - /// even when the user loads the add-in in the COM Add-ins dialog box. When this event does occur, it occurs after the OnConnection event. - /// You can use the OnStartupComplete event procedure to run code that interacts with the application and that should not be run until the application has finished loading. - /// For example, if you want to display a form that gives users a choice of documents to create when they start the application, - /// you can put that code in the OnStartupComplete event procedure. - /// - public event OnStartupCompleteEventHandler OnStartupComplete; - - /// - /// The Shutdown event occurs when the COM add-in is unloaded. - /// You can use the OnDisconnection event procedure to run code that restores any changes made to the application by the add-in and to perform general clean-up operations. - /// An add-in can be unloaded in one of the following ways: - /// - The user clears the check box next to the add-in in the COM Add-ins dialog box. - /// - The host application closes. If the add-in is loaded when the application closes, it is unloaded. - /// If the add-in's load behavior is set to Startup, it is reloaded when the application starts again. - /// - The Connect property of the corresponding COMAddIn object is set to False. - /// - public event OnDisconnectionEventHandler OnDisconnection; - - /// - /// The OnConnection event occurs when the COM add-in is loaded (connected). An add-in can be loaded in one of the following ways: - /// The user starts the host application and the add-in's load behavior is specified to load when the application starts. - /// The user loads the add-in in the COM Add-ins dialog box. - /// The Connect property of the corresponding COMAddIn object is set to True. - /// For more information about the COMAddIn object, search the Microsoft® Office Visual Basic Reference Help index for "COMAddIn object." - /// - public event OnConnectionEventHandler OnConnection; - - /// - /// The OnAddInsUpdate event occurs when the set of loaded COM add-ins changes. - /// When an add-in is loaded or unloaded, the OnAddInsUpdate event occurs in any other loaded add-ins. - /// For example, if add-ins A and B both are loaded currently, and then add-in C is loaded, - /// the OnAddInsUpdate event occurs in add-ins A and B. If C is unloaded, the OnAddInsUpdate event occurs again in add-ins A and B. - /// - public event OnAddInsUpdateEventHandler OnAddInsUpdate; - - /// - /// The OnBeginShutdown event occurs when the host application begins its shutdown routines, - /// in the case where the application closes while the COM add-in is still loaded. - /// If the add-in is not loaded when the application closes, - /// the OnBeginShutdown event does not occur. When this event does occur, it occurs before the OnDisconnection event. - /// You can use the OnBeginShutdown event procedure to run code when the user closes the application. For example, you can run code that saves form data to a file. - /// - public event OnBeginShutdownEventHandler OnBeginShutdown; - - private void RaiseOnStartupComplete(ref Array custom) - { - try - { - if (null != OnStartupComplete) - OnStartupComplete(ref custom); - } - catch (NetRuntimeSystem.Exception exception) - { - Factory.Console.WriteException(exception); - OnError(ErrorMethodKind.OnStartupComplete, exception); - } - } - - private void RaiseOnDisconnection(ext_DisconnectMode RemoveMode, ref Array custom) - { - try - { - if (null != OnDisconnection) - OnDisconnection(RemoveMode, ref custom); - } - catch (NetRuntimeSystem.Exception exception) - { - Factory.Console.WriteException(exception); - OnError(ErrorMethodKind.OnDisconnection, exception); - } - } - - private void RaiseOnConnection(object Application, ext_ConnectMode ConnectMode, object AddInInst, ref Array custom) - { - try - { - if (null != OnConnection) - OnConnection(Application, ConnectMode, AddInInst, ref custom); - } - catch (NetRuntimeSystem.Exception exception) - { - Factory.Console.WriteException(exception); - OnError(ErrorMethodKind.OnDisconnection, exception); - } - } - - private void RaiseOnAddInsUpdate(ref Array custom) - { - try - { - if (null != OnAddInsUpdate) - OnAddInsUpdate(ref custom); - } - catch (NetRuntimeSystem.Exception exception) - { - Factory.Console.WriteException(exception); - OnError(ErrorMethodKind.OnAddInsUpdate, exception); - } - } - - private void RaiseOnBeginShutdown(ref Array custom) - { - try - { - if (null != OnBeginShutdown) - OnBeginShutdown(ref custom); - } - catch (NetRuntimeSystem.Exception exception) - { - Factory.Console.WriteException(exception); - OnError(ErrorMethodKind.OnBeginShutdown, exception); - } - } - - #endregion - - #region IDTExtensibility2 Members - - void NetOffice.Tools.Native.IDTExtensibility2.OnStartupComplete(ref Array custom) - { - try - { - Tweaks.ApplyTweaks(Factory, this, Type, "Excel", IsLoadedFromSystem); - LoadingTimeElapsed = (DateTime.Now - _creationTime); - Roots = OnCreateRoots(); - RaiseOnStartupComplete(ref custom); - } - catch (Exception exception) - { - Factory.Console.WriteException(exception); - OnError(ErrorMethodKind.OnStartupComplete, exception); - } - } - - void NetOffice.Tools.Native.IDTExtensibility2.OnConnection(object application, ext_ConnectMode ConnectMode, object AddInInst, ref Array custom) - { - try - { - if (null != custom && custom.Length > 0) - { - object firstCustomItem = custom.GetValue(1); - string tryString = null != firstCustomItem ? firstCustomItem.ToString() : String.Empty; - System.Int32.TryParse(tryString, out _automationCode); - } - - this.Application = new Publisher.Application(Factory, null, application); - Utils = OnCreateUtils(); - TryCreateCustomObject(AddInInst); - RaiseOnConnection(this.Application, ConnectMode, AddInInst, ref custom); - } - catch (Exception exception) - { - Factory.Console.WriteException(exception); - OnError(ErrorMethodKind.OnConnection, exception); - } - } - - void NetOffice.Tools.Native.IDTExtensibility2.OnDisconnection(ext_DisconnectMode RemoveMode, ref Array custom) - { - try - { - try - { - RaiseOnDisconnection(RemoveMode, ref custom); - Tweaks.DisposeTweaks(Factory, this, Type); - Utils.Dispose(); - } - catch (NetRuntimeSystem.Exception exception) - { - Factory.Console.WriteException(exception); - } - - foreach (ITaskPane item in TaskPaneInstances) - { - try - { - item.OnDisconnection(); - } - catch (NetRuntimeSystem.Exception exception) - { - Factory.Console.WriteException(exception); - } - } - - foreach (var item in TaskPanes) - { - try - { - if (null != item.Pane && !item.Pane.IsDisposed) - item.Pane.Dispose(); - } - catch (NetRuntimeSystem.Exception exception) - { - Factory.Console.WriteException(exception); - } - } - - try - { - if (null != RibbonUI) - { - RibbonUI.Dispose(); - RibbonUI = null; - } - } - catch (NetRuntimeSystem.Exception exception) - { - NetOffice.DebugConsole.Default.WriteException(exception); - } - - try - { - if (null != TaskPaneFactory && false == TaskPaneFactory.IsDisposed) - TaskPaneFactory.Dispose(); - } - catch (NetRuntimeSystem.Exception exception) - { - Factory.Console.WriteException(exception); - } - - try - { - if (null != RibbonUI) - { - RibbonUI.Dispose(); - RibbonUI = null; - } - } - catch (NetRuntimeSystem.Exception exception) - { - NetOffice.DebugConsole.Default.WriteException(exception); - } - - try - { - if (!Application.IsDisposed) - Application.Dispose(); - } - catch (NetRuntimeSystem.Exception exception) - { - Factory.Console.WriteException(exception); - } - } - catch (Exception exception) - { - Factory.Console.WriteException(exception); - OnError(ErrorMethodKind.OnDisconnection, exception); - } - } - - void NetOffice.Tools.Native.IDTExtensibility2.OnAddInsUpdate(ref Array custom) - { - try - { - RaiseOnAddInsUpdate(ref custom); - } - catch (Exception exception) - { - Factory.Console.WriteException(exception); - OnError(ErrorMethodKind.OnAddInsUpdate, exception); - } - } - - void NetOffice.Tools.Native.IDTExtensibility2.OnBeginShutdown(ref Array custom) - { - try - { - RaiseOnBeginShutdown(ref custom); - } - catch (Exception exception) - { - Factory.Console.WriteException(exception); - OnError(ErrorMethodKind.OnBeginShutdown, exception); - } - } - - #endregion - - #region IRibbonExtensibility Members - - /// - /// IRibbonExtensibility implementation - /// - /// target ribbon id - /// XML content or String.Empty - [EditorBrowsable(EditorBrowsableState.Advanced)] - public virtual string GetCustomUI(string RibbonID) - { - try - { - CustomUIAttribute ribbon = AttributeReflector.GetRibbonAttribute(Type, RibbonID); - if (null != ribbon) - return Utils.Resource.ReadString(CustomUIAttribute.BuildPath(ribbon.Value, ribbon.UseAssemblyNamespace, Type.Namespace)); - else - return String.Empty; - } - catch (NetRuntimeSystem.Exception exception) - { - Factory.Console.WriteException(exception); - OnError(ErrorMethodKind.GetCustomUI, exception); - return String.Empty; - } - } - - /// - /// Pre-defined Ribbon Loader - /// - /// actual ribbon ui - public virtual void CustomUI_OnLoad(Office.Native.IRibbonUI ribbonUI) - { - try - { - RibbonUI = COMObject.Create(Factory, ribbonUI); - } - catch (NetRuntimeSystem.Exception exception) - { - NetOffice.DebugConsole.Default.WriteException(exception); - OnError(ErrorMethodKind.GetCustomUI, exception); - } - } - - #endregion - - #region ICustomTaskPaneConsumer Member - - /// - /// ICustomTaskPaneConsumer implementation - /// - /// factory proxy from host application - [EditorBrowsable(EditorBrowsableState.Advanced)] - public virtual void CTPFactoryAvailable(object CTPFactoryInst) - { - try - { - if (null == CTPFactoryInst) - { - Factory.Console.WriteLine("Warning: null argument received in CTPFactoryAvailable. argument name: CTPFactoryInst"); - return; - } - - CustomTaskPaneHandler paneHandler = new CustomTaskPaneHandler(); - paneHandler.ProceedCustomPaneAttributes(TaskPanes, Type, this, CallOnCreateTaskPaneInfo, AttributePane_VisibleStateChange, AttributePane_DockPositionStateChange); - TaskPaneFactory = paneHandler.CreateCustomPanes(Factory, CTPFactoryInst, TaskPanes, TaskPaneInstances, OnError, Application); - } - catch (NetRuntimeSystem.Exception exception) - { - Factory.Console.WriteException(exception); - OnError(ErrorMethodKind.CTPFactoryAvailable, exception); - } - } - - /// - /// The method is called while the CustomPane attribute is processed - /// - /// pane definition - /// true if pane should be create, otherwise false - protected internal virtual bool OnCreateTaskPaneInfo(TaskPaneInfo paneInfo) - { - return true; - } - - /// - /// Called after any visibility changes - /// - /// pane instance - protected internal virtual void TaskPaneVisibleStateChanged(NetOffice.OfficeApi._CustomTaskPane customTaskPaneInst) - { - - } - - /// - /// Called after any position changes but not for size changes - /// - /// pane instance - protected internal virtual void TaskPaneDockStateChanged(NetOffice.OfficeApi._CustomTaskPane customTaskPaneInst) - { - - } - - private void CallTaskPaneVisibleStateChange(NetOffice.OfficeApi._CustomTaskPane customTaskPaneInst) - { - try - { - foreach (TaskPaneInfo item in TaskPanes) - { - if (item.Pane == customTaskPaneInst) - { - try - { - ITaskPane target = item.Pane.ContentControl as ITaskPane; - if (null != target && item.Pane == customTaskPaneInst) - { - try - { - target.OnVisibleStateChanged(item.Pane.Visible); - } - catch (Exception exception) - { - Factory.Console.WriteException(exception); - } - } - } - catch (Exception exception) - { - Factory.Console.WriteException(exception); - } - } - } - TaskPaneVisibleStateChanged(customTaskPaneInst); - } - catch (Exception exception) - { - Factory.Console.WriteException(exception); - } - } - - private void CallTaskPaneDockPositionStateChange(NetOffice.OfficeApi._CustomTaskPane customTaskPaneInst) - { - try - { - foreach (TaskPaneInfo item in TaskPanes) - { - if (item.Pane == customTaskPaneInst) - { - try - { - ITaskPane target = item.Pane.ContentControl as ITaskPane; - if (null != target && item.Pane == customTaskPaneInst) - { - try - { - target.OnDockPositionChanged(item.Pane.DockPosition); - } - catch (Exception exception) - { - Factory.Console.WriteException(exception); - } - } - } - catch (Exception exception) - { - Factory.Console.WriteException(exception); - } - } - } - TaskPaneDockStateChanged(customTaskPaneInst); - } - catch (Exception exception) - { - Factory.Console.WriteException(exception); - } - } - - private bool CallOnCreateTaskPaneInfo(TaskPaneInfo paneInfo) - { - try - { - return OnCreateTaskPaneInfo(paneInfo); - } - catch (Exception exception) - { - Factory.Console.WriteException(exception); - OnError(ErrorMethodKind.CTPFactoryAvailable, exception); - return false; - } - } - - #endregion - - #region EventHandler - - private void AttributePane_VisibleStateChange(NetOffice.OfficeApi._CustomTaskPane CustomTaskPaneInst) - { - try - { - CallTaskPaneVisibleStateChange(CustomTaskPaneInst); - } - catch (Exception exception) - { - Factory.Console.WriteException(exception); - } - } - - private void AttributePane_DockPositionStateChange(Office._CustomTaskPane CustomTaskPaneInst) - { - try - { - CallTaskPaneDockPositionStateChange(CustomTaskPaneInst); - } - catch (Exception exception) - { - Factory.Console.WriteException(exception); - } - } - - #endregion - - #region Tweaks - - /// - /// This is method is called while startup and ask for permissions to apply a tweak. - /// - /// name of the tweak - /// value of the tweak - /// true(default) or false if you dont want this tweak is affected to the addin instance - protected virtual bool AllowApplyTweak(string name, string value) - { - return true; - } - - /// - /// Called for custom tweaks to apply the tweak. - /// - /// name for the tweak - /// value for the teak - protected virtual void ApplyCustomTweak(string name, string value) - { - } - - /// - /// Called for custom tweaks to unload a tweak. Please note: This method is not called in case of unexpected termination. - /// You have no warranties for disposing your tweak. - /// - /// name for the tweak - /// value for the teak - protected virtual void DisposeCustomTweak(string name, string value) - { - - } - - /// - /// Creates a registry tweak entry in the current addin key - /// - /// addin type information - /// name for the tweak - /// value for the tweak - /// throw exception on error - /// true if value was stored otherwise false - protected static bool SetTweakPersistenceEntry(Type addinType, string name, string value, bool throwException) - { - return OfficeApi.Tools.COMAddin.SetTweakPersistenceEntry( - ApplicationIdentifiers.ApplicationType.Excel, - addinType, - name, value, - throwException); - } - - #endregion - - #region Virtual Methods - - /// - /// Returns an instance to publish them as addin custom object. - /// External code like vba can access this object if instance is available as COM component. - /// This object is available as Appplication.COMAddins(?).Object - /// - /// addin instance object or null(Nothing in Visual Basic) - protected virtual object OnCreateObjectInstance() - { - return null; - } - - /// - /// Create the used utils. The method was called in OnConnection - /// - /// new ToolsUtils instance - protected internal virtual Contribution.CommonUtils OnCreateUtils() - { - return new Contribution.CommonUtils(this, Type, 3 == _automationCode ? true : false, this.Type.Assembly); - } - - /// - /// Create the used factory. The method was called as first in the base ctor - /// - /// new Core instance - protected internal virtual Core CreateFactory() - { - Core core = new Core(); - ForceInitializeAttribute attribute = AttributeReflector.GetForceInitializeAttribute(Type); - if (null != attribute) - { - core.Settings.EnableMoreDebugOutput = attribute.EnableMoreDebugOutput; - core.CheckInitialize(); - } - return core; - } - - /// - /// Create the necessary factory and was called in the first line in base ctor - /// - /// new Core instance or null if failed - private Core RaiseCreateFactory() - { - try - { - return CreateFactory(); - } - catch (NetRuntimeSystem.Exception exception) - { - NetOffice.DebugConsole.Default.WriteException(exception); - OnError(ErrorMethodKind.CreateFactory, exception); - return null; - } - } - - #endregion - - #region Private Methods - - /// - /// Try to detect the addin is loaded from system hive key - /// - /// null if unknown or true/false - private bool? IsLoadedFromSystem() - { - if (null != _isLoadedFromSystem) - return _isLoadedFromSystem; - - OfficeApi.Tools.Contribution.RegistryLocationResult result = - OfficeApi.Tools.Contribution.CommonUtils.TryFindAddinLoadLocation(Type, - ApplicationIdentifiers.ApplicationType.Publisher); - switch (result) - { - case Office.Tools.Contribution.RegistryLocationResult.User: - _isLoadedFromSystem = false; - break; - case Office.Tools.Contribution.RegistryLocationResult.System: - _isLoadedFromSystem = true; - break; - //default: - // throw new IndexOutOfRangeException(); - } - - return _isLoadedFromSystem; - } - - /// - /// Try to create a custom addin object instance - /// - /// given instance from OnConnection event - private void TryCreateCustomObject(object addInInst) - { - try - { - CustomObject = OnCreateObjectInstance(); - if (null != CustomObject) - { - object[] param = new object[1]; - param[0] = CustomObject; - addInInst.GetType().InvokeMember("Object", NetRuntimeSystem.Reflection.BindingFlags.SetProperty, null, addInInst, param); - } - } - catch (NetRuntimeSystem.Exception exception) - { - Factory.Console.WriteException(exception); - OnError(ErrorMethodKind.CreateCustomAddinInstance, exception); - } - } - - #endregion - - #region ErrorHandler - - /// - /// Custom error handler - /// - /// origin method where the error comes from - /// occured exception - protected virtual void OnError(ErrorMethodKind methodKind, NetRuntimeSystem.Exception exception) - { - - } - - #endregion - - #region COM Register Functions - - /// - /// Called from RegAsm while register - /// - /// Type information for the class - [ComRegisterFunction, Browsable(false), EditorBrowsable(EditorBrowsableState.Never)] - public static void RegisterFunction(Type type) - { - if (null == type) - throw new ArgumentNullException("type"); - if (null != type.GetCustomAttribute()) - return; - - COMAddinRegisterHandler.Proceed(type, new string[] { _addinOfficeRegistryKey }, InstallScope.System, OfficeRegisterKeyState.NeedToCreate); - } - - /// - /// Called from RegAsm while ungregister - /// - /// Type information for the class - [ComUnregisterFunction, Browsable(false), EditorBrowsable(EditorBrowsableState.Never)] - public static void UnregisterFunction(Type type) - { - if (null == type) - throw new ArgumentNullException("type"); - if (null != type.GetCustomAttribute()) - return; - - COMAddinUnRegisterHandler.Proceed(type, new string[] { _addinOfficeRegistryKey }, InstallScope.System, OfficeUnRegisterKeyState.NeedToDelete); - } - - /// - /// Called from RegAddin while register - /// - /// Type information for the class - /// NetOffice.Tools.InstallScope enum value - /// NetOffice.Tools.OfficeRegisterKeyState enum value - [ComRegisterCall] - private static void OptimizedRegisterFunction(Type type, int scope, int keyState) - { - if (null == type) - throw new ArgumentNullException("type"); - if (null != type.GetCustomAttribute()) - return; - - InstallScope currentScope = (InstallScope)scope; - OfficeRegisterKeyState currentKeyState = (OfficeRegisterKeyState)keyState; - - COMAddinRegisterHandler.Proceed(type, new string[] { _addinOfficeRegistryKey }, currentScope, currentKeyState); - } - - /// - /// Called from RegAddin while unregister - /// - /// Type information for the class - /// NetOffice.Tools.InstallScope enum value - /// NetOffice.Tools.OfficeUnRegisterKeyState enum value - [ComUnregisterCall] - private static void OptimizedUnregisterFunction(Type type, int scope, int keyState) - { - if (null == type) - throw new ArgumentNullException("type"); - if (null != type.GetCustomAttribute()) - return; - - InstallScope currentScope = (InstallScope)scope; - OfficeUnRegisterKeyState currentKeyState = (OfficeUnRegisterKeyState)keyState; - - COMAddinUnRegisterHandler.Proceed(type, new string[] { _addinOfficeRegistryKey }, currentScope, currentKeyState); - } - - /// - /// Called from RegAddin while export registry information - /// - /// Type information for the class - /// NetOffice.Tools.InstallScope enum value - /// NetOffice.Tools.OfficeRegisterKeyState enum value - /// Registry keys/values to be add in the registry export or null - [ComRegExportCall] - private static RegExport RegExportFunction(Type type, int scope, int keyState) - { - if (null == type) - throw new ArgumentNullException("type"); - InstallScope currentScope = (InstallScope)scope; - OfficeRegisterKeyState currentKeyState = (OfficeRegisterKeyState)keyState; - - return RegExportHandler.Proceed(type, new string[] { _addinOfficeRegistryKey }, currentScope, currentKeyState); - } - - #endregion - } -} diff --git a/Source/Publisher/Tools/Contribution/CommonUtils.cs b/Source/Publisher/Tools/Contribution/CommonUtils.cs deleted file mode 100644 index 3e0a1d5042..0000000000 --- a/Source/Publisher/Tools/Contribution/CommonUtils.cs +++ /dev/null @@ -1,91 +0,0 @@ -using System; -using System.Reflection; - -namespace NetOffice.PublisherApi.Tools.Contribution -{ - /// - /// Various helper for common tasks - /// - public class CommonUtils : NetOffice.OfficeApi.Tools.Contribution.CommonUtils - { - #region Fields - - private PublisherApi.Application _ownerApplication; - - #endregion - - #region Ctor - - /// - /// Creates an instance of the class - /// - /// owner application - public CommonUtils(PublisherApi.Application application) : base(application) - { - _ownerApplication = application; - } - - /// - /// Creates an instance of the class - /// - /// owner application - /// owner assembly - public CommonUtils(PublisherApi.Application application, Assembly ownerAssembly) : base(application, ownerAssembly) - { - if (null == application) - throw new ArgumentNullException("application"); - - _ownerApplication = application; - } - - /// - /// Creates an instance of the class - /// - /// addin owner instance - /// host application is started for automation - internal CommonUtils(NetOffice.Tools.COMAddinBase owner, bool isAutomation) : base(owner, isAutomation) - { - - } - - /// - /// Creates an instance of the class - /// - /// addin owner - /// indicates the host application is currently in automation - /// owner application - internal CommonUtils(NetOffice.Tools.COMAddinBase owner, bool isAutomation, Assembly ownerAssembly) : base(owner, isAutomation, ownerAssembly) - { - - } - - /// - /// Creates an instance of the class - /// - /// addin owner - /// type information from addin owner - /// indicates the host application is currently in automation - /// owner application - internal CommonUtils(NetOffice.Tools.COMAddinBase owner, Type ownerType, bool isAutomation, Assembly ownerAssembly) : base(owner, ownerType, isAutomation, ownerAssembly) - { - - } - - #endregion - - #region Properties - - /// - /// Encapsulate the owner application to make accessible for child utils - /// - public new PublisherApi.Application OwnerApplication - { - get - { - return base.OwnerApplication as PublisherApi.Application; - } - } - - #endregion - } -} diff --git a/Source/Publisher/Tools/ITaskPane.cs b/Source/Publisher/Tools/ITaskPane.cs deleted file mode 100644 index 49d4e9c466..0000000000 --- a/Source/Publisher/Tools/ITaskPane.cs +++ /dev/null @@ -1,28 +0,0 @@ -using System; -using Publisher = NetOffice.PublisherApi; - -namespace NetOffice.PublisherApi.Tools -{ - /// - /// Custom task pane UserControl instance may implement this interface to be notified about the lifetime of the custom task pane. - /// - public interface ITaskPane : OfficeApi.Tools.ITaskPaneConnection - { - /// - /// Called when Microsoft Office application is shuting down. This method is not called in case of unexpected termination of the process. - /// - void OnDisconnection(); - - /// - /// Called when the user changes the dock position of the custom task pane. - /// - /// the current alignment for the instance - void OnDockPositionChanged(NetOffice.OfficeApi.Enums.MsoCTPDockPosition position); - - /// - /// Called when the user displays or closes the custom task pane. - /// - /// the current visibility for the instance - void OnVisibleStateChanged(bool visible); - } -} diff --git a/Source/Publisher/Utils/ProjectInfo.cs b/Source/Publisher/Utils/ProjectInfo.cs deleted file mode 100644 index e4e6333b38..0000000000 --- a/Source/Publisher/Utils/ProjectInfo.cs +++ /dev/null @@ -1,128 +0,0 @@ -using System; -using System.Reflection; -using NetOffice; -using NetOffice.Attributes; - -namespace PublisherApi.Utils -{ - #pragma warning disable - /// - /// Necessary factory info, used from NetOffice.Core while Initialize() - /// - public class ProjectInfo : IFactoryInfo - { - #region Fields - - private string _name; - private string _namespace = "NetOffice.PublisherApi"; - private Guid[] _componentGuid = new Guid[]{new Guid("0002123C-0000-0000-C000-000000000046")}; - private Assembly _assembly; - private NetOfficeAssemblyAttribute _assemblyAttribute; - private Type[] _exportedTypes; - private string[] _dependents; - - #endregion - - #region Ctor - - public ProjectInfo() - { - _assembly = typeof(ProjectInfo).Assembly; - _assemblyAttribute = _assembly.GetCustomAttributes(typeof(NetOfficeAssemblyAttribute), true)[0] as NetOfficeAssemblyAttribute; - _name = _assembly.GetName().Name; - } - - #endregion - - #region IFactoryInfo - - public string AssemblyName - { - get - { - return _name; - } - } - - public string AssemblyNamespace - { - get - { - return _namespace; - } - } - - public Guid[] ComponentGuid - { - get - { - return _componentGuid; - } - } - - public Assembly Assembly - { - get - { - return _assembly; - } - } - - public NetOfficeAssemblyAttribute AssemblyAttribute - { - get - { - return _assemblyAttribute; - } - } - - public string[] Dependencies - { - get - { - if(null == _dependents) - _dependents = new string[]{"OfficeApi.dll"}; - return _dependents; - } - } - - public bool IsDuck - { - get - { - return false; - } - } - - public bool Contains(Type type) - { - if (null == _exportedTypes) - _exportedTypes = Assembly.GetExportedTypes(); - - foreach (Type item in _exportedTypes) - { - if (item == type) - return true; - } - - return false; - } - - public bool Contains(string className) - { - if (null == _exportedTypes) - _exportedTypes = Assembly.GetExportedTypes(); - - foreach (Type item in _exportedTypes) - { - if (item.Name.EndsWith(className, StringComparison.InvariantCultureIgnoreCase)) - return true; - } - - return false; - } - - #endregion - } - #pragma warning restore -} diff --git a/Toolbox/Toolbox/NetOffice.DeveloperToolbox.csproj b/Toolbox/Toolbox/NetOffice.DeveloperToolbox.csproj index 0112bc8c72..966c8f85eb 100644 --- a/Toolbox/Toolbox/NetOffice.DeveloperToolbox.csproj +++ b/Toolbox/Toolbox/NetOffice.DeveloperToolbox.csproj @@ -107,11 +107,6 @@ ..\..\Assemblies\Any CPU\PowerPointApi.dll False - - False - False - ..\..\Assemblies\Any CPU\PublisherApi.dll - 3.5 diff --git a/Toolbox/Toolbox/Program.cs b/Toolbox/Toolbox/Program.cs index e35ac501b2..c0e95e6882 100644 --- a/Toolbox/Toolbox/Program.cs +++ b/Toolbox/Toolbox/Program.cs @@ -43,9 +43,8 @@ internal static class Program "ExcelApi.dll", "MSComctlLibApi.dll", "MSDATASRCApi.dll", "NetOffice.dll", "OfficeApi.dll", "OutlookApi.dll", "OWC10Api.dll", - "PowerPointApi.dll", "VBIDEApi.dll" - "WordApi.dll", "PublisherApi.dll" }; - + "PowerPointApi.dll", "VBIDEApi.dll", + "WordApi.dll" }; /// /// The main entry point for the component-based application. No need for a service architecture here so far. May this want be changed to CAB in the future diff --git a/Toolbox/Toolbox/ToolboxControls/OfficeCompatibility/AnalyzerResult.cs b/Toolbox/Toolbox/ToolboxControls/OfficeCompatibility/AnalyzerResult.cs index cedad58a8f..8c63d71245 100644 --- a/Toolbox/Toolbox/ToolboxControls/OfficeCompatibility/AnalyzerResult.cs +++ b/Toolbox/Toolbox/ToolboxControls/OfficeCompatibility/AnalyzerResult.cs @@ -112,7 +112,6 @@ public class AnalyzerResult private SupportInfo[] _powerPoint; private SupportInfo[] _access; private SupportInfo[] _project; - private SupportInfo[] _publisher; #endregion @@ -142,7 +141,6 @@ internal AnalyzerResult(XDocument report) _powerPoint = new SupportInfo[7]; _access = new SupportInfo[7]; _project = new SupportInfo[7]; - _publisher = new SupportInfo[7]; RemoveDelegateTypes(); @@ -152,7 +150,6 @@ internal AnalyzerResult(XDocument report) SetupSupportInfo(_outlook, "Outlook"); SetupSupportInfo(_powerPoint, "PowerPoint"); SetupSupportInfo(_access, "Access"); - SetupSupportInfo(_publisher, "Publisher"); } #endregion diff --git a/Toolbox/Toolbox/ToolboxControls/OfficeCompatibility/AssemblyAnalyzer.cs b/Toolbox/Toolbox/ToolboxControls/OfficeCompatibility/AssemblyAnalyzer.cs index b4687f39d5..348785ea44 100644 --- a/Toolbox/Toolbox/ToolboxControls/OfficeCompatibility/AssemblyAnalyzer.cs +++ b/Toolbox/Toolbox/ToolboxControls/OfficeCompatibility/AssemblyAnalyzer.cs @@ -753,7 +753,6 @@ private static bool CheckNetOfficeReferencesExists(AssemblyDefinition assemblyDe case "PowerPointApi": case "AccessApi": case "OfficeApi": - case "PublisherApi": return true; } } diff --git a/Toolbox/Toolbox/ToolboxControls/OfficeCompatibility/NetOfficeSupportTable.cs b/Toolbox/Toolbox/ToolboxControls/OfficeCompatibility/NetOfficeSupportTable.cs index ca1728231f..24858211a4 100644 --- a/Toolbox/Toolbox/ToolboxControls/OfficeCompatibility/NetOfficeSupportTable.cs +++ b/Toolbox/Toolbox/ToolboxControls/OfficeCompatibility/NetOfficeSupportTable.cs @@ -20,8 +20,6 @@ class NetOfficeSupportTable AssemblyDefinition _assOutlook; AssemblyDefinition _assPowerPoint; AssemblyDefinition _assAccess; - AssemblyDefinition _assPublisher; - Assembly _thisAssembly = Assembly.GetExecutingAssembly(); public NetOfficeSupportTable() @@ -72,14 +70,8 @@ public NetOfficeSupportTable() Stream stream = System.IO.File.OpenRead(assemblyPath); _assAccess = AssemblyDefinition.ReadAssembly(stream); } - else if (item.Name.StartsWith("PublisherApi")) - { - string assemblyPath = GetPhysicalPath(item); - Stream stream = System.IO.File.OpenRead(assemblyPath); - _assPublisher = AssemblyDefinition.ReadAssembly(stream); - } } - } + } } /// @@ -236,8 +228,6 @@ private AssemblyDefinition GetAssembly(string name) return _assPowerPoint; case "Access": return _assAccess; - case "Publisher": - return _assPublisher; default: return null; } diff --git a/Toolbox/Toolbox/ToolboxControls/ProjectWizard/ProjectConverters/Converter.cs b/Toolbox/Toolbox/ToolboxControls/ProjectWizard/ProjectConverters/Converter.cs index 5fa2f3830c..182d79447b 100644 --- a/Toolbox/Toolbox/ToolboxControls/ProjectWizard/ProjectConverters/Converter.cs +++ b/Toolbox/Toolbox/ToolboxControls/ProjectWizard/ProjectConverters/Converter.cs @@ -477,7 +477,6 @@ private bool IsToolsUsing(string app) case "Outlook": case "Word": case "PowerPoint": - case "Publisher": return true; default: return false;