constants group ControlCharacter in module com::sun::star::text::

(Global Index)

Syntax

constants group ControlCharacter;

Description

These constants are the codes for inserting control characters using the XControlCharacterInsertable interface.

Constants Summary

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.

Field Details



PARAGRAPH_BREAK

Syntax

const short  PARAGRAPH_BREAK = 0;

Description

This control character starts a new paragraph.


LINE_BREAK

Syntax

const short  LINE_BREAK = 1;

Description

This control character starts a new line in a paragraph.


HARD_HYPHEN

Syntax

const short  HARD_HYPHEN = 2;

Description

This control character equals a dash but prevents this position from being hyphenated.


SOFT_HYPHEN

Syntax

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

Syntax

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

Syntax

const short  APPEND_PARAGRAPH = 5;

Description

This control character appends a new paragraph.

Top of Page