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 Text - 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 © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.