Using The Text Object Model

This section contains topics that demonstrate various aspects of using the Text Object Model (TOM).

In this section


How to Use TOM GUIDs

Text Object Model (TOM) GUIDs are given in Tom.h inside the MIDL_INTERFACE statements. To use the associated interfaces, you must first declare the interface by using the GUID.

How to Use Tab Methods in TOM

The following example provides C functions that illustrate the use of the tab methods in the TOM. It is assumed that most applications include a toolbar that shows the current position and type of the tabs for the currently selected paragraph.

How to Use a Font Duplicate

This section explains how to use a font duplicate to apply a number of changes to a text range, all at once.