LibreOffice
LibreOffice 24.2 SDK API Reference
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 Documents - Editing Text - Control Characters

Variable Documentation

◆ APPEND_PARAGRAPH

const short APPEND_PARAGRAPH = 5

This control character appends a new paragraph.

◆ HARD_HYPHEN

const short HARD_HYPHEN = 2

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

◆ HARD_SPACE

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.

◆ LINE_BREAK

const short LINE_BREAK = 1

This control character starts a new line in a paragraph.

◆ PARAGRAPH_BREAK

const short PARAGRAPH_BREAK = 0

This control character starts a new paragraph.

◆ SOFT_HYPHEN

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.