Overview | Module | Use | Devguide | Index

Constants | Constants' Details

:: com :: sun :: star :: text ::
constants group ControlCharacter
Description These constants are the codes for inserting control characters using XSimpleText::insertControlCharacter interface. Developers Guide 7.3.1 Text Documents - Working with Text Documents - Word Processing - Editing Text - Control Characters

Constants
PARAGRAPH_BREAK | This control character starts a new paragraph.
LINE_BREAK | This control character starts a new line in a paragraph.
HARD_HYPHEN | This control character equals a dash but prevents this position from being hyphenated.
SOFT_HYPHEN | This control character defines a special position as a hyphenation point. If a word containing a soft hyphen must be split at the end of a line, then this position is preferred.
HARD_SPACE | This control character is used to link two words and prevents this concatenation from being hyphenated. It is printed as a space.
APPEND_PARAGRAPH | This control character appends a new paragraph.

Constants' Details
PARAGRAPH_BREAK
const short PARAGRAPH_BREAK = 0; Description This control character starts a new paragraph.
LINE_BREAK
const short LINE_BREAK = 1; Description This control character starts a new line in a paragraph.
HARD_HYPHEN
const short HARD_HYPHEN = 2; Description This control character equals a dash but prevents this position from being hyphenated.
SOFT_HYPHEN
const short SOFT_HYPHEN = 3; Description This control character defines a special position as a hyphenation point. If a word containing a soft hyphen must be split at the end of a line, then this position is preferred.
HARD_SPACE
const short HARD_SPACE = 4; Description This control character is used to link two words and prevents this concatenation from being hyphenated. It is printed as a space.
APPEND_PARAGRAPH
const short APPEND_PARAGRAPH = 5; Description This control character appends a new paragraph.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.