1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: ControlCharacter.idl,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __com_sun_star_text_ControlCharacter_idl__
31 #define __com_sun_star_text_ControlCharacter_idl__
34 //=============================================================================
36 module com
{ module sun
{ module star
{ module text
{
38 //=============================================================================
40 // DocMerge from idl: constants com::sun::star::text::ControlCharacter
41 /** These constants are the codes for inserting control characters
42 using <method>XSimpleText::insertControlCharacter</method> interface.
44 published constants ControlCharacter
46 //-------------------------------------------------------------------------
48 // DocMerge from idl: value com::sun::star::text::ControlCharacter::PARAGRAPH_BREAK
49 /** This control character starts a new paragraph.
51 const short PARAGRAPH_BREAK
= 0;
53 //-------------------------------------------------------------------------
55 // DocMerge from idl: value com::sun::star::text::ControlCharacter::LINE_BREAK
56 /** This control character starts a new line in a paragraph.
58 const short LINE_BREAK
= 1;
60 //-------------------------------------------------------------------------
62 // DocMerge from idl: value com::sun::star::text::ControlCharacter::HARD_HYPHEN
63 /** This control character equals a dash but prevents this
64 position from being hyphenated.
66 const short HARD_HYPHEN
= 2;
68 //-------------------------------------------------------------------------
70 // DocMerge from idl: value com::sun::star::text::ControlCharacter::SOFT_HYPHEN
71 /** This control character defines a special position as a
72 hyphenation point. If a word containing a soft hyphen
73 must be split at the end of a line, then this position
76 const short SOFT_HYPHEN
= 3;
78 //-------------------------------------------------------------------------
80 // DocMerge from idl: value com::sun::star::text::ControlCharacter::HARD_SPACE
81 /** This control character is used to link two words and
82 prevents this concatenation from being hyphenated.
83 It is printed as a space.
85 const short HARD_SPACE
= 4;
87 //-------------------------------------------------------------------------
88 /** This control character appends a new paragraph.
90 const short APPEND_PARAGRAPH
= 5;
93 //=============================================================================