Microsoft office core как подключить

Пошаговое руководство. Программирование для Office (C# и Visual Basic) Walkthrough: Office Programming (C# and Visual Basic)

Оба языка поддерживают внедрение сведений о типах, что позволяет развертывать сборки, взаимодействующие с компонентами COM, без предварительного развертывания на компьютере основных сборок взаимодействия (PIA). Both languages enable embedding of type information, which allows deployment of assemblies that interact with COM components without deploying primary interop assemblies (PIAs) to the user’s computer. Дополнительные сведения см. в разделе Пошаговое руководство: внедрению типов из управляемых сборок. For more information, see Walkthrough: Embedding Types from Managed Assemblies.

В данном пошаговом руководстве эти возможности показаны в контексте программирования для Microsoft Office, но многие из них могут оказаться полезными и в других ситуациях. This walkthrough demonstrates these features in the context of Office programming, but many of these features are also useful in general programming. В этом пошаговом руководстве вы создадите книгу Excel с помощью надстройки Excel, In the walkthrough, you use an Excel Add-in application to create an Excel workbook. а затем документ Word со ссылкой на эту книгу. Next, you create a Word document that contains a link to the workbook. Наконец, вы узнаете, как включать и отключать зависимость PIA. Finally, you see how to enable and disable the PIA dependency.

Предварительные требования Prerequisites

Для выполнения данного пошагового руководства на компьютере должны быть установлены Microsoft Office Excel и Microsoft Office Word. You must have Microsoft Office Excel and Microsoft Office Word installed on your computer to complete this walkthrough.

Отображаемые на компьютере имена или расположения некоторых элементов пользовательского интерфейса Visual Studio могут отличаться от указанных в следующих инструкциях. Your computer might show different names or locations for some of the Visual Studio user interface elements in the following instructions. Это зависит от имеющегося выпуска Visual Studio и используемых параметров. The Visual Studio edition that you have and the settings that you use determine these elements. Дополнительные сведения см. в разделе Персонализация среды IDE. For more information, see Personalizing the IDE.

Настройка надстройки Excel To set up an Excel Add-in application

Запустите Visual Studio. Start Visual Studio.

В меню Файл выберите пункт Создать, а затем команду Проект. On the File menu, point to New, and then click Project.

Если нужно, в поле Имя введите имя проекта. Type a name for your project in the Name box, if you want to.

Нажмите кнопку ОК. Click OK.

В обозревателе решений появится новый проект. The new project appears in Solution Explorer.

Добавление ссылок To add references

В обозревателе решений щелкните имя проекта правой кнопкой мыши и выберите пункт Добавить ссылку. In Solution Explorer, right-click your project’s name and then click Add Reference. Откроется диалоговое окно Добавление ссылки. The Add Reference dialog box appears.

Нажмите кнопку ОК. Click OK.

Добавление необходимых операторов Imports или директив using To add necessary Imports statements or using directives

В обозревателе решений щелкните правой кнопкой мыши файл ThisAddIn.vb или ThisAddIn.cs и выберите в контекстном меню команду Просмотреть код. In Solution Explorer, right-click the ThisAddIn.vb or ThisAddIn.cs file and then click View Code.

Создание списка банковских счетов To create a list of bank accounts

В обозревателе решений щелкните правой кнопкой мыши имя проекта, выберите в контекстном меню команду Добавить, а затем щелкните пункт Класс. In Solution Explorer, right-click your project’s name, click Add, and then click Class. Назовите класс Account.vb, если используется Visual Basic, или Account.cs, если используется C#. Name the class Account.vb if you are using Visual Basic or Account.cs if you are using C#. Нажмите кнопку Добавить. Click Add.

Замените определение класса Account следующим кодом. Replace the definition of the Account class with the following code. В определениях классов используются автоматически реализуемые свойства. The class definitions use auto-implemented properties. Дополнительные сведения см. в разделе Автоматически реализуемые свойства. For more information, see Auto-Implemented Properties.

Экспорт данных в Excel To export data to Excel

В том же самом файле добавьте в класс ThisAddIn следующий метод. In the same file, add the following method to the ThisAddIn class. Этот метод служит для настройки книги Excel и экспорта данных в нее. The method sets up an Excel workbook and exports data to it.

В этом методе используются две новые возможности C#. Two new C# features are used in this method. Оба эти возможности уже существуют в Visual Basic. Both of these features already exist in Visual Basic.

Дополнительные сведения см. в разделе Именованные и необязательные аргументы. For more information, see Named and Optional Arguments.

В более ранних версиях этого языка приходилось использовать особый синтаксис. In earlier versions of the language, the following special syntax is required.

Разработчики не могут создавать собственные индексированные свойства. You cannot create indexed properties of your own. Эта возможность поддерживает только использование имеющихся индексированных свойств. The feature only supports consumption of existing indexed properties.

Добавьте в конец метода DisplayInExcel следующий код, чтобы ширина столбца изменялась в соответствии с содержимым. Add the following code at the end of DisplayInExcel to adjust the column widths to fit the content.

Вызов метода DisplayInExcel To invoke DisplayInExcel

Чтобы запустить программу, нажмите клавишу F5. To run the program, press F5. Появится книга Excel, содержащая данные о счетах. An Excel worksheet appears that contains the data from the accounts.

Добавление документа Word To add a Word document

Добавьте в конец метода ThisAddIn_StartUp следующий код, чтобы создать документ Word, содержащий ссылку на книгу Excel. Add the following code at the end of the ThisAddIn_StartUp method to create a Word document that contains a link to the Excel workbook.

В этом коде демонстрируются некоторые новые функции C#: возможность опускать ключевое слово ref при программировании в модели COM, именованные аргументы и необязательные аргументы. This code demonstrates several of the new features in C#: the ability to omit the ref keyword in COM programming, named arguments, and optional arguments. Эти возможности уже существовали в Visual Basic. These features already exist in Visual Basic. Метод PasteSpecial имеет семь параметров, которые определены как необязательные ссылочные параметры. The PasteSpecial method has seven parameters, all of which are defined as optional reference parameters. Именованные и необязательные аргументы позволяют определять параметры, к которым требуется обращаться по имени, и передавать аргументы только для этих параметров. Named and optional arguments enable you to designate the parameters you want to access by name and to send arguments to only those parameters. В этом примере аргументы передаются, чтобы показать, что необходимо создать ссылку на книгу в буфере (параметр Link ) и что эта ссылка должна отображаться в документе Word в виде значка (параметр DisplayAsIcon ). In this example, arguments are sent to indicate that a link to the workbook on the Clipboard should be created (parameter Link ) and that the link is to be displayed in the Word document as an icon (parameter DisplayAsIcon ). Кроме того, Visual C# позволяет опускать ключевое слово ref для таких аргументов. Visual C# also enables you to omit the ref keyword for these arguments.

Запуск приложения To run the application

Очистка готового проекта To clean up the completed project

Поиск ссылки PIA To find the PIA reference

Запустите приложение снова, но не выбирайте пункт Очистить решение. Run the application again, but do not click Clean Solution.

Выберите кнопку Пуск. Select the Start. Найдите Microsoft Visual Studio и откройте командную строку разработчика. Locate Microsoft Visual Studio and open a developer command prompt.

Дважды щелкните значок МАНИФЕСТ. Double-click the MANIFEST icon. Откроется окно со списком сборок, содержащих элементы, на которые имеются ссылки в проекте. A window appears that contains a list of assemblies that contain items referenced by the project. Сборки Microsoft.Office.Interop.Excel и Microsoft.Office.Interop.Word не будут указаны в этом списке. Microsoft.Office.Interop.Excel and Microsoft.Office.Interop.Word are not included in the list. Поскольку необходимые для проекта типы были импортированы в сборку проекта, ссылки на сборки PIA не требуется. Because the types your project needs have been imported into your assembly, references to a PIA are not required. Это упрощает развертывание. This makes deployment easier. Сборки PIA не обязательно должны присутствовать на компьютере пользователя, а поскольку приложение не требует развертывания конкретной версии сборки PIA, можно разрабатывать приложения, которые работают с различными версиями Office, если в этих версиях имеются все необходимые интерфейсы API. The PIAs do not have to be present on the user’s computer, and because an application does not require deployment of a specific version of a PIA, applications can be designed to work with multiple versions of Office, provided that the necessary APIs exist in all versions.

Поскольку развертывать сборки PIA больше не требуется, можно создавать приложения для применения в сложных сценариях, чтобы эти приложения работали с несколькими версиями Office, включая и более ранние версии. Because deployment of PIAs is no longer necessary, you can create an application in advanced scenarios that works with multiple versions of Office, including earlier versions. Тем не менее это возможно только в том случае, если в коде не используются интерфейсы API, которые недоступны в используемой версии Office. However, this works only if your code does not use any APIs that are not available in the version of Office you are working with. Разработчик не всегда знает, был ли доступен тот или иной интерфейс API в более ранней версии, поэтому работать с более ранними версиями Office не рекомендуется. It is not always clear whether a particular API was available in an earlier version, and for that reason working with earlier versions of Office is not recommended.

До Office 2003 сборки PIA не публиковались. Office did not publish PIAs before Office 2003. Поэтому единственными способом создания сборки взаимодействия в Office 2002 или более ранних версиях является импорт ссылки COM. Therefore, the only way to generate an interop assembly for Office 2002 or earlier versions is by importing the COM reference.

Закройте окно манифеста и окно сборки. Close the manifest window and the assembly window.

Восстановление зависимости PIA To restore the PIA dependency

В обозревателе решений нажмите кнопку Показать все файлы. In Solution Explorer, click the Show All Files button. Разверните папку Ссылки и выберите Microsoft.Office.Interop.Excel. Expand the References folder and select Microsoft.Office.Interop.Excel. Нажмите клавишу F4, чтобы открыть окно Свойства. Press F4 to display the Properties window.

READ  Как подключить беспроводные микрофоны к колонкам

В окне Свойства измените значение свойства Внедрить типы взаимодействия с True на False. In the Properties window, change the Embed Interop Types property from True to False.

Нажмите клавишу F5, чтобы проверить, что проект по-прежнему выполняется правильно. Press F5 to verify that the project still runs correctly.

Повторите шаги 1–3 из предыдущей процедуры, чтобы открыть окно сборки. Repeat steps 1-3 from the previous procedure to open the assembly window. Обратите внимание, что сборки Microsoft.Office.Interop.Word и Microsoft.Office.Interop.Excel больше не входят в список внедренных сборок. Notice that Microsoft.Office.Interop.Word and Microsoft.Office.Interop.Excel are no longer in the list of embedded assemblies.

В Visual Studio в меню Построение выберите пункт Очистить решение, чтобы очистить завершенный проект. In Visual Studio, click Clean Solution on the Build menu to clean up the completed project.

Источник

Microsoft. Office. Core Namespace

Classes

Reserved for internal use.

Reserved for internal use.

Reserved for internal use.

Reserved for internal use.

Reserved for internal use.

Reserved for internal use.

Reserved for internal use.

Reserved for internal use.

Reserved for internal use.

Interfaces

Reserved for internal use.

Represents a button control on a command bar.

Reserved for internal use.

Events interface for Microsoft Office CommandBarButton object events.

Represents a combo box control on a command bar.

Reserved for internal use.

Events interface for Microsoft Office CommandBarComboBox object events.

A collection of CommandBar objects that represent the command bars in the container application.

Reserved for internal use.

Events interface for Microsoft Office CommandBars object events.

Represents a custom task pane in the container application.

Reserved for internal use.

Events interface for Microsoft Office CustomTaskPane objects events.

Represents a single _CustomXMLPart in a _CustomXMLParts collection.

Events interface for Microsoft Office CustomXMLPart object events.

Events interface for Microsoft Office CustomXMLPart object events.

Represents a collection of _CustomXMLPart objects.

Events interface for Microsoft Office CustomXMLParts object events.

Events interface for Microsoft Office CustomXMLParts object events.

Represents a collection of CustomXMLSchema objects attached to a data stream.

Reserved for internal use.

Reserved for internal use.

Reserved for internal use.

Represents the Answer Wizard in a Microsoft Office application.

Represents the Microsoft Office Assistant.

A collection of all the Axis objects in the specified chart.

Represents the balloon where the Office Assistant displays information.

Represents a checkbox in the Office Assistant balloon.

A collection of BalloonCheckbox objects that represent all the check boxes in the Office Assistant balloon.

Represents a label in the Office Assistant balloon.

A collection of BalloonLabel objects that represent all the labels in the Office Assistant balloon.

Represents bullet formatting.

Reserved for internal use.

Reserved for internal use.

Represents the collection of visible chart categories in the chart.

Represents the color of a one-color object or the foreground or background color of an object with a gradient or patterned fill.

Used only with charts. Represents fill formatting for chart elements.

A collection of all the ChartGroup objects in the specified chart.

Reserved for internal use.

Represents a COM add-in in the Microsoft Office host application.

A collection of COMAddIns objects that provide information about a COM add-in registered in the Windows Registry.

Represents a command bar in the container application.

Represents a button control on a command bar.

Represents a combo box control on a command bar.

Represents a command bar control.

A collection of CommandBarControl objects that represent the command bar controls on a command bar.

Represents a pop-up control on a command bar.

A collection of CommandBar objects that represent the command bars in the container application.

Reserved for internal use.

Represents a Microsoft Office system contact card.

An object used to remove a portion of an image.

Represents an XML node in a tree in a document. The CustomXMLNode object is a member of the CustomXMLNodes collection.

Contains a collection of CustomXMLNode objects representing the XML nodes in a document.

Represents a namespace prefix.

Represents a collection of CustomXMLPrefixMapping objects.

Represents a schema in a _CustomXMLSchemaCollection collection.

Represents a single validation error in a CustomXMLValidationErrors collection.

Represents a collection of CustomXMLValidationError objects.

Reserved for internal use.

Reserved for internal use.

Reserved for internal use.

Represents a Document Inspector module in a DocumentInspectors collection.

Represents a collection of DocumentInspector objects.

The DocumentLibraryVersion object represents a single saved version of a shared document that has versioning enabled and that is stored in a document library on the server.

The DocumentLibraryVersions object represents a collection of DocumentLibraryVersion objects.

A collection of DocumentProperty objects.

Represents a custom or built-in document property of a container document.

Describes a single Picture Effect parameter.

Represents a collection of EffectParameter objects.

Provides the methods for setting up permissions, applying the cryptography of the underlying encryption and decryption, and user authentication.

Provides file dialog box functionality similar to the functionality of the standard Open and Save dialog boxes found in Microsoft Office applications.

Represents a file filter in a file dialog box displayed through the FileDialog object.

A collection of FileDialogFilter objects that represent the types of files that can be selected in a file dialog box that is displayed using the FileDialog object.

A collection of String values that correspond to the paths of the files or folders that a user has selected from a file dialog box displayed through the FileDialog object.

Represents the functionality of the Open dialog box accessible by the File menu.

A collection of values of the type MsoFileType that determine which types of files are returned by the Execute(MsoSortBy, MsoSortOrder, Boolean) method of the FileSearch object.

Reserved for internal use.

Contains font attributes (for example, font name, font size, and color) for an object.

Represents the list of files returned from a file search.

Reserved for internal use.

Represents the full set of Series objects in a chart.

Represents a glow effect around an Office graphic.

Represents one gradient stop.

Contains a collection of GradientStop objects.

Reserved for internal use.

Represents a top-level project branch, as in the Project Explorer in the Microsoft Script Editor.

Represents an individual project item that’s a project item branch in the Project Explorer in the Microsoft Script Editor.

A collection of HTMLProjectItem objects that represent the HTML project items contained in the HTMLProject object.

Reserved for internal use.

Provides a means for developers to create a customized help experience for users within Microsoft Office.

An object that provides the ability to manipulate blog entries.

Represents an object that provides the ability to manipulate blog images.

Reserved for internal use.

Reserved for internal use.

Reserved for internal use.

Used to create a custom task pane.

An interface that provides access to the CTPFactoryAvailable(ICTPFactory) method that is used to create an instance of a custom task pane.

Events interface for Microsoft Office Microsoft.Office.Core.ICustomXMLPart object events.

Events interface for Microsoft Office Microsoft.Office.Core.ICustomXMLParts object events.

Represents the interface through which the methods of a IDocumentInspector object are accessed.

Reserved for internal use.

Reserved for internal use.

Reserved for internal use.

Reserved for internal use.

Represents a Contact card.

Reserved for internal use.

Reserved for internal use.

Provides access to functionality that lets you send documents as emails directly from Microsoft Office applications.

Reserved for internal use.

Events interface for Microsoft Office MsoEnvelope object events.

Reserved for internal use.

Represents the object passed into every Ribbon user interface (UI) control’s callback procedure.

The interface through which the Ribbon user interface (UI) communicates with a COM add-in to customize the UI.

The object that is returned by the onLoad procedure specified on the customUI tag. The object contains methods for invalidating control properties and for refreshing the user interface.

Returns information about the language settings in a Microsoft Office application.

Reserved for internal use.

Represents a collection of properties describing the metadata stored in a document.

Represents a single property in a collection of properties describing the metadata stored in a document.

Reserved for internal use.

Provides access to functionality that lets you send documents as emails directly from Microsoft Office applications.

The NewFile object represents items listed on the New Item task pane available in several Microsoft Office applications.

Represents a field in a data source.

A collection of ODSOColumn objects that represent the data fields in a mail merge data source.

Represents a filter to be applied to an attached mail merge data source.

Represents all the filters to apply to the data source attached to the mail merge publication.

Represents the mail merge data source in a mail merge operation.

Represents a Microsoft Office theme.

Represents the paragraph formatting of a text range.

Use the Permission object to restrict permissions to the active document and to return or set specific permissions settings.

Provides dialog user interface functionality for picking people or picking data.

Represents the field definitions of sub-items in a PickerResult object. Each PickerField object represents a column definition of a Picker dialog.

A collection of PickerField objects. Each PickerField object represents a column definition of Picker dialog.

A collection of PickerProperty objects.

Represents an object for passing a custom property.

Represents a resolved or selected item of data.

A collection of PickerResult objects.

Represents a picture effect.

Represents a collection of PictureEffect objects.

Reserved for internal use.

A collection of all the ChartPoint objects in the specified series in a chart.

Represents an item within a ServerPolicy object that contains the settings for one policy.

Represents a single file search criterion.

A collection of PropertyTest objects that represent all the search criteria of a file search. Search criteria are listed in the Advanced Find dialog box (File menu, Open command, Advanced Find button).

Represents the reflection effect in Office graphics.

Represents the ruler for the text in the specified shape or for all text in the specified text style. Contains tab stops and the indentation settings for text outline levels.

Contains first-line indent and hanging indent information for an outline level.

A collection of all the RulerLevel2 objects on the specified ruler.

Corresponds to a searchable folder.

A collection of ScopeFolder objects.

Represents a block of HTML script in a Microsoft Word document, on a Microsoft Excel spreadsheet, or on a Microsoft PowerPoint slide.

A collection of Script objects that represent the collection of HTML scripts in the specified document.

A collection of ScopeFolder objects that determines which folders are searched when the Execute(MsoSortBy, MsoSortOrder, Boolean) method of the FileSearch object is called.

Corresponds to a type of folder tree that can be searched by using the FileSearch object.

A collection of SearchScope objects.

Represents a policy specified for a document type stored on a server running Office SharePoint Server 2007.

Reserved for internal use.

Reserved for internal use.

Reserved for internal use.

Reserved for internal use.

Reserved for internal use.

Reserved for internal use.

This object, member, or enumeration is deprecated and is not intended to be used in your code.A SharedWorkspace object allows the developer to add the active document to a Microsoft Windows SharePoint Services document workspace on the server and to manage other objects in the shared workspace.

READ  Как подключить два дома к одному котлу отопления

This object, member, or enumeration is deprecated and is not intended to be used in your code.The SharedWorkspaceFile object represents a file saved in a shared document workspace.

This object, member, or enumeration is deprecated and is not intended to be used in your code.A collection of the SharedWorkspaceFile objects in the current shared workspace.

This object, member, or enumeration is deprecated and is not intended to be used in your code.The SharedWorkspaceFolder object represents a folder in a shared document workspace.

This object, member, or enumeration is deprecated and is not intended to be used in your code.A collection of the SharedWorkspaceFolder objects in the current shared workspace.

This object, member, or enumeration is deprecated and is not intended to be used in your code.The SharedWorkspaceLink object represents a URL link saved in a shared document workspace.

This object, member, or enumeration is deprecated and is not intended to be used in your code.A collection of the SharedWorkspaceLink objects in the current shared workspace.

This object, member, or enumeration is deprecated and is not intended to be used in your code.The SharedWorkspaceMember object represents a user who has rights in a shared document workspace.

This object, member, or enumeration is deprecated and is not intended to be used in your code.A collection of the SharedWorkspaceMember objects in the current shared workspace.

This object, member, or enumeration is deprecated and is not intended to be used in your code.The SharedWorkspaceTask object represents a task in a shared document workspace.

This object, member, or enumeration is deprecated and is not intended to be used in your code.A collection of the SharedWorkspaceTask objects in the current shared workspace.

Corresponds to a digital signature that is attached to a document.

Represents the information used to create a digital or in-document signature.

Represents a signature provider add-in.

A collection of Signature objects that correspond to the digital signatures attached to a document.

Represents the information used to set up a signature packet.

The top level class for interacting with a SmartArt graphic. Specifies constants that define the types of SmartArt nodes.

Represents the color scheme for the SmartArt diagram.

A collection of SmartArt color styles.

Represents a SmartArt diagram.

Represents a collection of SmartArt layout diagrams.

A single semantic node within the data model of a SmartArt graphic.

Represents a collection of nodes within a SmartArt diagram.

Represents a SmartArt quick style

Represents a collection of SmartArt quick styles.

The SmartDocument property of the Microsoft Office Word 2003 Document object and the Microsoft Office Excel 2003 Workbook object returns a SmartDocument object.

Represents the soft edges effect in Office graphics.

This object, member, or enumeration is deprecated and is not intended to be used in your code.Use the Sync object to manage the synchronization of the local and server copies of a shared document stored in a Windows SharePoint Services document workspace.

Represents a single tab stop. The TabStop2 object is a member of the TabStops2 collection.

The collection of TabStop2 objects.

Reserved for internal use.

Reserved for internal use.

Represents the text frame in a Shape or ShapeRange objects.

Represents a color in the color scheme of a Microsoft Office 2007 theme.

Represents the color scheme of a Microsoft Office 2007 theme.

Represents the effects scheme of a Microsoft Office 2007 theme.

Represents a container for the font schemes of a Microsoft Office 2007 theme.

Represents a collection of major and minor fonts in the font scheme of a Microsoft Office 2007 theme.

Represents the font scheme of a Microsoft Office 2007 theme.

Reserved for internal use.

The UserPermission object associates a set of permissions on the active document with a single user and an optional expiration date.

Reserved for internal use.

Reserved for internal use.

Reserved for internal use.

Reserved for internal use.

Represents the default font used when documents are saved as Web pages for a particular character set.

A collection of WebPageFont objects that describe the proportional font, proportional font size, fixed-width font, and fixed-width font size used when documents are saved as Web pages.

Represents a single workflow task in a WorkflowTasks collection.

Represents a collection of WorkflowTask objects.

Represents one of the workflows available for the current document.

Represents a collection of WorkflowTemplate objects.

Enums

Specifies constants that define the styles of the groups on the File tab.

Provides information about the digital certificate.

Provides the results of verifying a digital certificate.

Provides the status of verifying whether the content of a document has changed.

Reserved for internal use.

Specifies the format for an e-mail message. These formats correspond to the formats supported by Microsoft Outlook for e-mail messages.

This object, member, or enumeration is deprecated and is not intended to be used in your code.

Specifies behavior when the user cancels an alert. Only msoAlertCancelDefault is currently supported.

This object, member, or enumeration is deprecated and is not intended to be used in your code.

Specifies which icon, if any, to display with an alert.

Defines how to align specified objects relative to one another.

This object, member, or enumeration is deprecated and is not intended to be used in your code.

Specifies a language setting in a Microsoft Office application.

Specifies the length of the arrowhead at the end of a line.

Specifies the style of the arrowhead at the end of a line.

Specifies the width of the arrowhead at the end of a line.

Specifies the security mode an application uses when programmatically opening files.

Specifies the shape type for an AutoShape object.

Determines the type of automatic sizing allowed.

Indicates the background style for an object.

This object, member, or enumeration is deprecated and is not intended to be used in your code.

This object, member, or enumeration is deprecated and is not intended to be used in your code.

This object, member, or enumeration is deprecated and is not intended to be used in your code.

Specifies the position or behavior of a command bar.

Specifies how a command bar is protected from user customization.

Specifies whether a command bar is in the first row or last row relative to other command bars in the same docking area.

Specifies the type of the command bar.

Indicates the bevel type of a ThreeDFormat object.

Specifies how a shape appears when viewed in black-and-white mode.

Specifies the application capabilities available for a document or presentation broadcasting session.

Specifies the current state of a document or presentation broadcast.

This object, member, or enumeration is deprecated and is not intended to be used in your code.

Specifies the appearance of a command bar button control.

Specifies the style of a command bar button.

Reserved for internal use.

Specifies the size of the angle between the callout line and the side of the callout text box.

Specifies starting position of the callout line relative to the text bounding box.

Specifies the type of callout line.

Specifies the character set to be used when rendering text.

Specifies whether and how to display chart elements.

Specifies the type of data field to be inserted into a data label in a chart.

Specifies the color type.

Specifies whether the command bar combo box includes a label or not.

Specifies whether the command bar button is a hyperlink. If the command bar button is a hyperlink, further specifies whether the hyperlink should launch another application such as the browser or insert a picture at the active selection point.

Defines the condition for comparison between a file and a specified property in a file search.

Specifies the connector between two similar property test values.

Specifies a type of connector.

Specifies the OLE client and OLE server roles in which a command bar control is used when two Microsoft Office applications are merged.

Specifies the type of the command bar control.

Specifies the docking behavior of the custom task pane.

Specifies retrictions on the docking behavior of the custom task pane.

Specifies the node type.

Indicates how validation errors will be cleared or generated.

Specifies the format of a date/time data type.

Specifies type of diagram node.

Specifies the type of diagram.

Specifies how to evenly distribute a collection of shapes.

Represents the results of running a Document Inspector module.

Specifies the data type for a document property.

Specifies the editing type of a node.

Specifies the document encoding (code page or character set) for the Web browser to use when a user views a saved document.

Specifies how to use the value specified in the ExtraInfo property of the FollowHyperlink method.

Specifies whether the extrusion color is based on the extruded shape’s fill (the front face of the extrusion) and automatically changes when the shape’s fill changes, or whether the extrusion color is independent of the shape’s fill.

Specifies the language to use to determine which line break level is used when the line break control option is turned on.

Specifies how the application handles calls to methods and properties that require features not yet installed.

Specifies the type of a FileDialog object.

Specifies the view presented to the user in a file dialog box.

This enumeration applies to the Macintosh only and should not be used.

This enumeration applies to the Macintosh only and should not be used.

This enumeration applies to the Macintosh only and should not be used.

Specifies view to use for a file find process.

Specifies action to take when a user clicks an item in the task pane.

Specifies the task pane section to which to add a file or where the file reference exists.

Specifies a type of file.

Specifies a shape’s fill type.

Specifies how the Column and CompareTo properties are compared for an ODSOFilter object.

Specifies how a filter criterion relates to other filter criteria.

Specifies whether a shape should be flipped horizontally or vertically.

Represents one of the three language fonts contained in the ThemeFonts collection

Specifies the type of gradient used in a shape’s fill.

Specifies the style for a gradient fill.

Specifies the horizontal alignment of text in a text frame.

Specifies the view in which an HTML project or project item is opened.

Specifies the current state of an HTMLProject object.

Specifies the type of hyperlink.

This object, member, or enumeration is deprecated and is not intended to be used in your code.

Specifies which language to use.

Reserved for internal use.

Specifies the period of time to filter files by the date last modified. Used with the LastModified property of the FileSearch object.

Indicates the effects lighting for an object.

Specifies the type of line cap.

Specifies the dash style for a line.

Specifies the type of fill for a line.

Specifies the type of join where two lines connect.

Specifies the style for a line.

Specifies animation style for Microsoft Office command bars.

Specifies the output of a merge shapes operation.

Specifies the metadata property type.

READ  Как подключить айфон через usb к головному устройству passat b8

This enumeration has been deprecated and should not be used.

This object, member, or enumeration is deprecated and is not intended to be used in your code.

This enumeration has been deprecated and should not be used.

Specifies the menu group that a command bar pop-up control belongs to when the menu groups of the OLE server are merged with the menu groups of an OLE client (that is, when an object of the container application type is embedded in another application).

Indicates how to format the child nodes in an organization chart.

Specifies orientation of an organization chart.

Specifies orientation of an object when it is displayed or printed.

Specifies paragraph alignment for a text block.

Specifies the format of a file or folder path.

Specifies the fill pattern used in a shape.

Specifies an Information Rights Management (IRM) permission type for a document.

Specifies the color transformation applied to a picture.

Specifies whether a picture will be compressed or not when inserted into a file.

Indicates the effects camera type used by the specified object.

Specifies the direction that the extrusion’s sweep path takes away from the extruded shape (the front face of the extrusion).

Specifies which predefined gradient to use to fill a shape.

Specifies the location of lighting on an extruded (three-dimensional) shape relative to the shape.

Specifies the intensity of light used on a shape.

Specifies the extrusion surface material.

Specifies what text effect to use on a WordArt object.

Specifies shape of WordArt text.

Specifies texture to be used to fill a shape.

Specifies an extrusion (three-dimensional) format.

Specifies where a node is added to a diagram relative to existing nodes.

Specifies which part of the shape retains its position when the shape is scaled.

Specifies the ideal screen resolution to be used to view a document in a Web browser.

Specifies scripting language of the active script.

Specifies the location of the script anchor within a document.

This object, member, or enumeration is deprecated and is not intended to be used in your code.

Specifies the type for a segment.

Specifies the type of shadowing effect.

Specifies the type of shadow displayed with a shape.

Indicates the line and shape style.

Specifies the type of a shape or range of shapes.

Specifies the priority for a shared workspace task.

Specifies the status of a shared workspace task.

Specifies properties of the signature subset. These settings act as filters for signature sets.

Specifies the type of soft edge effect.

Specifies sort order for files in a FileSearch object’s FoundFiles collection.

Specifies whether files in a FileSearch object’s FoundFiles collection should be sorted in ascending or descending order.

Specifies whether and under what circumstances synchronization is available for the document.

Specifies how comparison between local copy and server copy should be done in a synchronization process.

Specifies how conflicts should be resolved when synchronizing a shared document.

Specifies a document synchronization error.

Specifies the return value of a Sync event.

Specifies the status of the synchronization of the local copy of the active document with the server copy.

Specifies which version of a shared document to open alongside the currently open local version.

Specifies target browser for documents viewed in a Web browser.

Specifies the capitalization of the text.

Specifies the capitalization of text.

Indicates the type of text wrap.

Specifies alignment for WordArt text.

Indicates the text alignment scheme used for an object.

Specifies orientation for text.

Indicates the number of times a character is printed to darken the image.

Indicates the text alignment against tab stops or line breaks. The default value is msoTabAlignLeft.

Indicates the type of underline for text.

Specifies the texture type for the selected fill.

Indicates the Office theme color.

Indicates the color scheme for an Office theme.

Specifies a tri-state Boolean value.

Specifies the vertical alignment of text in a text frame.

Indicates various image warping formats.

This object, member, or enumeration is deprecated and is not intended to be used in your code.

Specifies context under which a wizard’s callback procedure is called.

Specifies where in the z-order a shape should be moved relative to other shapes.

Indicates additional information about a signature.

Indicates the signature line image.

Specifies properties of a signature provider.

Specifies properties of a signature.

You should access and use this enumeration from the Excel primary interop assembly (PIA). Specifies the point on the specified axis where the other axis crosses.

You should access and use this enumeration from the Excel primary interop assembly (PIA). Specifies the type of axis group.

You should access and use this enumeration from the Excel primary interop assembly (PIA). Specifies the axis type.

You should access and use this enumeration from the Excel primary interop assembly (PIA). Specifies the shape used with the 3-D bar or column chart.

You should access and use this enumeration from the Excel primary interop assembly (PIA). Specifies the weight of the border around a range.

You should access and use this enumeration from the Excel primary interop assembly (PIA). Specifies the category labels for the category label levels.

You should access and use this enumeration from the Excel primary interop assembly (PIA). Specifies the type of the category axis.

You should access and use this enumeration from the Excel primary interop assembly (PIA). Specifies the position of the chart element.

You should access and use this enumeration from the Excel primary interop assembly (PIA). Specifies the type of the chart item.

You should access and use this enumeration from the Excel primary interop assembly (PIA).

You should access and use this enumeration from the Excel primary interop assembly (PIA). Specifies how pictures are displayed on a column, bar picture chart, or legend key.

You should access and use this enumeration from the Excel primary interop assembly (PIA). Specifies the values displayed in the second chart in a pie chart or a bar of pie chart.

You should access and use this enumeration from the Excel primary interop assembly (PIA). Specifies the chart type.

You should access and use this enumeration from the Excel primary interop assembly (PIA). Specifies the color of a selected feature such as border, font, or fill.

You should access and use this enumeration from the Excel primary interop assembly (PIA). Specifies global constants used in Microsoft Excel.

You should access and use this enumeration from the Excel primary interop assembly (PIA). Indicates the position of data labels relative to the data markers.

You should access and use this enumeration from the Excel primary interop assembly (PIA). Specifies the type of data label to apply. The default is typically xlDataLabelsShowValue.

You should access and use this enumeration from the Excel primary interop assembly (PIA). Specifies how blank cells are plotted on a chart.

You should access and use this enumeration from the Excel primary interop assembly (PIA). Indicates numeric units of measurement.

You should access and use this enumeration from the Excel primary interop assembly (PIA). Specifies the end style for error bars.

You should access and use this enumeration from the Excel primary interop assembly (PIA). Specifies which axis values are to receive error bars.

You should access and use this enumeration from the Excel primary interop assembly (PIA). Specifies which error-bar parts to include.

You should access and use this enumeration from the Excel primary interop assembly (PIA). Specifies the range marked by error bars.

You should access and use this enumeration from the Excel primary interop assembly (PIA). Specifies the horizontal alignment for the object.

You should access and use this enumeration from the Excel primary interop assembly (PIA). Specifies the position of the legend on a chart.

You should access and use this enumeration from the Excel primary interop assembly (PIA). Specifies the marker style for a point or series in a line chart, scatter chart, or radar chart.

You should access and use this enumeration from the Excel primary interop assembly (PIA).

You should access and use this enumeration from the Excel primary interop assembly (PIA).

You should access and use this enumeration from the Excel primary interop assembly (PIA). Specifies the location of the field in a PivotTable report.

You should access and use this enumeration from the Excel primary interop assembly (PIA).

You should access and use this enumeration from the Excel primary interop assembly (PIA). Specifies whether the values corresponding to a particular data series are in rows or columns.

You should access and use this enumeration from the Excel primary interop assembly (PIA). Specifies the scale type of the value axis.

You should access and use this enumeration from the Excel primary interop assembly (PIA). Specifies the series labels for the series label levels.

You should access and use this enumeration from the Excel primary interop assembly (PIA). Indicates what the size measurement is in relation to.

You should access and use this enumeration from the Excel primary interop assembly (PIA). Specifies the text orientation for tick-mark labels.

You should access and use this enumeration from the Excel primary interop assembly (PIA). Specifies the position of tick-mark labels on the specified axis.

You should access and use this enumeration from the Excel primary interop assembly (PIA). Specifies the position of major and minor tick marks for an axis.

You should access and use this enumeration from the Excel primary interop assembly (PIA). Indicates units of time measurement.

You should access and use this enumeration from the Excel primary interop assembly (PIA). Specifies how the trendline that smoothes out fluctuations in the data is calculated.

You should access and use this enumeration from the Excel primary interop assembly (PIA). Specifies the type of underline applied to a font.

You should access and use this enumeration from the Excel primary interop assembly (PIA). Specifies the vertical alignment for the object.

Delegates

A Delegate type used to add an event handler for the Click event. The Click event occurs when the user clicks a CommandBarButton object.

A Delegate type used to add an event handler for the Change event. The Change event occurs when the end user changes the selection in a command bar combo box.

A Delegate type used to add an event handler for the OnUpdate event. The OnUpdate event occurs when any change is made to a command bar.

Reserved for internal use.

A Delegate type used to add an event handler for the EnvelopeHide event. The EnvelopeHide event occurs when the user interface (UI) that corresponds to the MsoEnvelope object is hidden.

A Delegate type used to add an event handler for the EnvelopeShow event. The EnvelopeShow event occurs when the user interface (UI) that corresponds to the MsoEnvelope object is displayed.

Источник

Поделиться с друзьями
Как подключить и установить...
Adblock
detector