Text Object Model

Text Object Model

Text Object Model (TOM) — набор COM-интерфейсов для работы с текстом. Используется, в частности, элементом управления Rich Text Edit.

Архитектура

TOM включает в себя следующие интерфейсы:

  • ITextDocument (документ) — интерфейс верхнего уровня, используется для получения нижележащих объектов диапазонов текста и выделенного текста, открытия и сохранения документа, управления свойствами отмены правок и обновления текста на экране;
  • ITextStoryRanges (история) — используется для получения элементов истории документа (объектов диапазона текста);
  • ITextRange (диапазон текста) — основной текстовый интерфейс, используется для получения и редактирования текста;
  • ITextFont (шрифт) — атрибуты шрифта;
  • ITextPara (параграф) — атрибуты параграфа;
  • ITextSelection (выделенный текст) — используется для выделения диапазона текста, получения и замены строки выделенного текста.

Литература

Ron Reeves C++/C#: programmer's guide to Windows 2000. — Prentice Hall PTR, 2002. — P. 247. — (Prentice Hall series on Microsoft technologies). — ISBN 9780130409478

Ссылки

Text Object Model  (англ.). MSDN Library. Microsoft (6 June 2012). Архивировано из первоисточника 30 сентября 2012. Проверено 25 июля 2012.



Wikimedia Foundation. 2010.

Игры ⚽ Нужен реферат?

Полезное


Смотреть что такое "Text Object Model" в других словарях:

  • Text Object Model — The Text Object Model (TOM) is a Microsoft Windows API that provides developers with object based rich text manipulation interfaces. It is implemented through COM, and can be accessed through Microsoft Word or additionally through the RichEdit… …   Wikipedia

  • Component Object Model — В данной статье или разделе имеется список источников или внешних ссылок, но источники отдельных утверждений остаются неясными из за отсутствия сносок …   Википедия

  • Component Object Model — Not to be confused with COM file. Component Object Model (COM) is a binary interface standard for software componentry introduced by Microsoft in 1993. It is used to enable interprocess communication and dynamic object creation in a large range… …   Wikipedia

  • Distributed Component Object Model — (DCOM) is a proprietary Microsoft technology for communication among software components distributed across networked computers. DCOM, which originally was called Network OLE , extends Microsoft s COM, and provides the communication substrate… …   Wikipedia

  • Document Object Model — Not to be confused with Domain Object Model. HTML HTML and HTML5 Dynamic HTML XHTML XHTML Mobile Profile and C HTML Canvas element Character encodings Document Object Model Font family HTML editor HTML element HTML Fr …   Wikipedia

  • AppleEvent Object Model — The AppleEvent Object Model (AEOM) was a set of protocols built on top of AppleEvents by which applications running under Mac OS could control each other s functions. Applications that implemented some part of the AEOM were called scriptable ,… …   Wikipedia

  • Document Object Model —     HTML HTML и HTML5 Динамический HTML …   Википедия

  • Project Object Model — Maven ist ein Build Management Tool der Apache Software Foundation und basiert auf Java. Mit ihm kann man insbesondere Java Programme standardisiert erstellen und verwalten. Inhaltsverzeichnis 1 Konzeptionelles 1.1 Der Standard Lebenszyklus 1.2… …   Deutsch Wikipedia

  • Document object model — DOM Knotenbaum einer Webseite Das Document Object Model (DOM) ist eine Spezifikation einer Schnittstelle für den Zugriff auf HTML oder XML Dokumente. Sie wird vom World Wide Web Consortium definiert. Eine Implementierung, die dieser Spezifikation …   Deutsch Wikipedia

  • Object Linking and Embedding — (OLE) is a technology developed by Microsoft that allows embedding and linking to documents and other objects. For developers, it brought OLE Control eXtension (OCX), a way to develop and use custom user interface elements. On a technical level,… …   Wikipedia


Поделиться ссылкой на выделенное

Прямая ссылка:
Нажмите правой клавишей мыши и выберите «Копировать ссылку»