LibreOffice
LibreOffice 5.3 SDK API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Variables
com::sun::star::text::ControlCharacter Constant Group Referencepublished

These constants are the codes for inserting control characters using XSimpleText::insertControlCharacter() interface. More...

Variables

const short PARAGRAPH_BREAK = 0
 This control character starts a new paragraph. More...
 
const short LINE_BREAK = 1
 This control character starts a new line in a paragraph. More...
 
const short HARD_HYPHEN = 2
 This control character equals a dash but prevents this position from being hyphenated. More...
 
const short SOFT_HYPHEN = 3
 This control character defines a special position as a hyphenation point. More...
 
const short HARD_SPACE = 4
 This control character is used to link two words and prevents this concatenation from being hyphenated. More...
 
const short APPEND_PARAGRAPH = 5
 This control character appends a new paragraph. More...
 

Detailed Description

These constants are the codes for inserting control characters using XSimpleText::insertControlCharacter() interface.

Developers Guide
Text - Editing Text - Control Characters

Variable Documentation

const short APPEND_PARAGRAPH = 5

This control character appends a new paragraph.

const short HARD_HYPHEN = 2

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

const short HARD_SPACE = 4

This control character is used to link two words and prevents this concatenation from being hyphenated.

It is printed as a space.

const short LINE_BREAK = 1

This control character starts a new line in a paragraph.

const short PARAGRAPH_BREAK = 0

This control character starts a new paragraph.

const short SOFT_HYPHEN = 3

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.