LibreOffice: com::sun::star::text::ParagraphHyphenationKeepType Constant Group Reference

LibreOffice LibreOffice 26.8 SDK API Reference

Loading...
Searching...
No Matches
com::sun::star::text::ParagraphHyphenationKeepType Constant Group Reference

Specifies how last word on a page or on other regions is hyphenated. More...

## Variables
const long | AUTO = 0
| No restriction applies.
const long | SPREAD = 1
| The last line before any spread break inside the element should not be hyphenated.
const long | PAGE = 2
| The last line before page or spread break inside the paragraph should not be hyphenated.
const long | COLUMN = 3
| The last line before any column, page, or spread break inside the paragraph should not be hyphenated.
const long | ALWAYS = 4
| The last full line of the paragraph, or the last line before any column, page, or spread break inside the paragraph should not be hyphenated.

## Detailed Description

Specifies how last word on a page or on other regions is hyphenated.

The hyphenation methods closely follow the methods described under the hyphenate-limit-last property of the CSS Text Level 4 specification. The latest version of the aforementioned specification is found here http://www.w3.org/TR/css-text-4/.

Since
  LibreOffice 24.8

## Variable Documentation

## ◆ ALWAYS

const long ALWAYS = 4

The last full line of the paragraph, or the last line before any column, page, or spread break inside the paragraph should not be hyphenated.

## ◆ AUTO

const long AUTO = 0

No restriction applies.

The word may be hyphenated at the end of any region.

## ◆ COLUMN

const long COLUMN = 3

The last line before any column, page, or spread break inside the paragraph should not be hyphenated.

## ◆ PAGE

const long PAGE = 2

The last line before page or spread break inside the paragraph should not be hyphenated.

## ◆ SPREAD

const long SPREAD = 1

The last line before any spread break inside the element should not be hyphenated.

(A spread is a set of two pages that are visible to the reader at the same time.)