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 .
19 #ifndef __com_sun_star_text_ControlCharacter_idl__
20 #define __com_sun_star_text_ControlCharacter_idl__
24 module com
{ module sun
{ module star
{ module text
{
26 /** These constants are the codes for inserting control characters
27 using XSimpleText::insertControlCharacter() interface.
29 published constants ControlCharacter
31 /** This control character starts a new paragraph.
33 const short PARAGRAPH_BREAK
= 0;
35 /** This control character starts a new line in a paragraph.
37 const short LINE_BREAK
= 1;
39 /** This control character equals a dash but prevents this
40 position from being hyphenated.
42 const short HARD_HYPHEN
= 2;
44 /** This control character defines a special position as a
45 hyphenation point. If a word containing a soft hyphen
46 must be split at the end of a line, then this position
49 const short SOFT_HYPHEN
= 3;
51 /** This control character is used to link two words and
52 prevents this concatenation from being hyphenated.
53 It is printed as a space.
55 const short HARD_SPACE
= 4;
57 /** This control character appends a new paragraph.
59 const short APPEND_PARAGRAPH
= 5;
67 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */