GEOS SDK TechDocs
|
|
|
1 The Text Objects
Text support is one of the integral and most important pieces of the GEOS system software. Many text formatting, editing, publishing, and advanced features are built into the system; therefore, many applications will never need to deal directly with these issues. The text features of GeoWrite, for example, are almost entirely implemented within the text object library.
If your geode will display text, receive text input, or provide any type of text formatting features, you should use one of the text objects, either GenText or VisText. (If you only need a single-line non-editable text field, you may be able to use a simple GenGlyph instead.)
The GenText object is primarily a user interface object, designed to communicate directly with the user and accept keyboard input. The VisText object is a much more versatile (and complex) object designed not only to display text but provide complex formatting and WYSIWYG word processing operations.
Both objects make use of common functionality defined within the Text Object Library. Therefore, it is important to be familiar with the features and standards of that object library before using either GenText or VisText. Additionally, if you plan on using your text object to perform any complex style sheets, you should be familiar with the chunk array mechanisms, as these are widely employed in complex text objects.
1 The Text Objects
1.1 Which Object Should I Use?
1.2 How this Chapter is Organized
2 General Text Features
2.1 Input Management and Filters
2.2 Text Flow Through Regions
2.3 Style Sheets
2.4 Undo
2.5 General Import and Export
2.6 Geometry Management
2.7 Embedded Graphics and Characters
2.8 Search and Replace
2.9 Spell-Checking
2.10 Printing
2.11 Text Controller Objects
3 The Text Object Library
3.1 Character Attribute Definitions
3.2 Paragraph Attribute Definitions
3.3 Storage Flags
4 Text Object Chunks
4.1 The Text
4.2 Lines and Fields
4.3 Character Runs
4.4 Paragraph Runs
5 Using VisText
5.1 VisText Features
5.2 VisText States
5.3 VisText VM File Storage
5.4 Text Filters
5.5 Key Functions
5.6 Setting Text Confines
5.7 Output Messages
5.8 Getting Geometry Information
6 Using GenText
6.1 GenText Instance Data
6.2 GenText Basics
7 The Controllers
7.1 Character Attribute Controllers
7.2 Paragraph Attribute Controllers
7.3 Search and Replace and Spell-Checking
GEOS SDK TechDocs
|
|
|
1 The Text Objects