Manipulating Text Styles - Adobe GoLive CS2 Programmer's Manual

Hide thumbs Also See for GoLive CS2:
Table of Contents

Advertisement

SDK Programmer's Guide
The deselect method resets the current selection to none and leaves the cursor positioned at the
character offset that marked the beginning of the last selection.

Manipulating Text Styles

Styles and style sets can come from a number of places: documents can define styles inline in HTML
source, CSS style sheets can provide them, other extensions can make them available, and the user can
create them in the Window > HTML Styles palette.
The
HTMLStyle Object
single style element, such as <b> (bold) or <font size=4> . You can read an HTMLStyle object's
properties to retrieve style information, and you can write to them to set style information.
The
HTMLStyleSet Object
elements, such as bold-italic.
The HTML Styles palette is an HTMLStyleSet object Inspector. Each style shown in the HTML Styles
palette is available programmatically as an HTMLStyleSet object in app.htmlStyles .
When you select a styleset in the HTML Styles window and click
palette appears.
Adobe GoLive CS2 SDK
encapsulates a simple HTML style element. For example, the SDK expresses a
aggregates HTMLStyle objects to represent a design style with multiple
Edit Style
Editing with Layout
at the bottom, the Edit Style
Edit Style
115

Advertisement

Table of Contents
loading

Table of Contents