1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
22 module com
{ module sun
{ module star
{ module text
{
24 /** These constants are the codes for inserting control characters
25 using XSimpleText::insertControlCharacter() interface.
27 published constants ControlCharacter
29 /** This control character starts a new paragraph.
31 const short PARAGRAPH_BREAK
= 0;
33 /** This control character starts a new line in a paragraph.
35 const short LINE_BREAK
= 1;
37 /** This control character equals a dash but prevents this
38 position from being hyphenated.
40 const short HARD_HYPHEN
= 2;
42 /** This control character defines a special position as a
43 hyphenation point. If a word containing a soft hyphen
44 must be split at the end of a line, then this position
47 const short SOFT_HYPHEN
= 3;
49 /** This control character is used to link two words and
50 prevents this concatenation from being hyphenated.
51 It is printed as a space.
53 const short HARD_SPACE
= 4;
55 /** This control character appends a new paragraph.
57 const short APPEND_PARAGRAPH
= 5;
63 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */