merge the formfield patch from ooo-build
[ooovba.git] / offapi / com / sun / star / text / TextColumns.idl
blob9c3140c6e1349d536b0afa37c44483c8104c9f29
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: TextColumns.idl,v $
10 * $Revision: 1.11 $
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_TextColumns_idl__
31 #define __com_sun_star_text_TextColumns_idl__
33 #ifndef __com_sun_star_text_XTextColumns_idl__
34 #include <com/sun/star/text/XTextColumns.idl>
35 #endif
37 #ifndef __com_sun_star_style_VerticalAlignment_idl__
38 #include <com/sun/star/style/VerticalAlignment.idl>
39 #endif
41 #ifndef __com_sun_star_util_Color_idl__
42 #include <com/sun/star/util/Color.idl>
43 #endif
45 //=============================================================================
47 module com { module sun { module star { module text {
49 //=============================================================================
51 // DocMerge from xml: service com::sun::star::text::TextColumns
52 /** provides access to columns in text (e.g., in TextFrames ).
54 published service TextColumns
56 // DocMerge: empty anyway
57 interface com::sun::star::text::XTextColumns;
59 //------------------------------------------------------------------------
60 /** determines whether the columns all have equal width. This flag is set if XTextColumns::setColumnCount() is called
61 and it is reset if XTextColumns::setColumns() is called.
63 [readonly, property] boolean IsAutomatic;
64 //------------------------------------------------------------------------
65 /** contains the distance between the columns. It is valid if the property IsAutomatic is set.
66 <!-- The h -->Half of this distance is set to the left and right margins of all columns,
67 except for the left margin of the first column, and the right margin of the last column.*/
68 [property] long AutomaticDistance;
69 //------------------------------------------------------------------------
70 /** determines the width of the separator lines between the columns.
72 [property] long SeparatorLineWidth;
73 //------------------------------------------------------------------------
74 /** determines the color of the separator lines between the columns.
76 [property] com::sun::star::util::Color SeparatorLineColor;
77 //------------------------------------------------------------------------
78 /** determines the relative height of the separator lines between the columns.
80 [property] long SeparatorLineRelativeHeight;
81 //------------------------------------------------------------------------
82 /** determines the vertical alignment of the separator lines between the columns.
84 [property] com::sun::star::style::VerticalAlignment SeparatorLineVerticalAlignment;
85 //------------------------------------------------------------------------
86 /** determines whether separator lines are on.
88 [property] boolean SeparatorLineIsOn;
89 //------------------------------------------------------------------------
92 //=============================================================================
94 }; }; }; };
96 #endif