merged tag ooo/OOO330_m14
[LibreOffice.git] / offapi / com / sun / star / table / TableBorder.idl
blob8688e6c8a3f08d916db698e1217b640a3c222626
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
28 #ifndef __com_sun_star_table_TableBorder_idl__
29 #define __com_sun_star_table_TableBorder_idl__
31 #ifndef __com_sun_star_table_BorderLine_idl__
32 #include <com/sun/star/table/BorderLine.idl>
33 #endif
35 //=============================================================================
37 module com { module sun { module star { module table {
39 //=============================================================================
41 /** contains the style settings of the border lines of all cells in a cell
42 range.
44 <p>In a queried structure, the flags in
45 <member>TableBorder::Is...LineValid</member> indicate that not all
46 lines of the boxes have the same values.</p>
48 <p>In a structure which is used for setting, these flags determine
49 if the corresponding line should be set or if the old value should
50 be kept.</p>
52 published struct TableBorder
54 //-------------------------------------------------------------------------
56 /** determines the line style at the top edge.
58 com::sun::star::table::BorderLine TopLine;
60 //-------------------------------------------------------------------------
62 /** specifies whether the value of <member>TableBorder::TopLine</member>
63 is used.
65 boolean IsTopLineValid;
67 //-------------------------------------------------------------------------
69 /** determines the line style at the bottom edge.
71 com::sun::star::table::BorderLine BottomLine;
73 //-------------------------------------------------------------------------
75 /** specifies whether the value of
76 <member>TableBorder::BottomLine</member> is used.
78 boolean IsBottomLineValid;
80 //-------------------------------------------------------------------------
82 /** determines the line style at the left edge.
84 com::sun::star::table::BorderLine LeftLine;
86 //-------------------------------------------------------------------------
88 /** specifies whether the value of <member>TableBorder::LeftLine</member>
89 is used.
91 boolean IsLeftLineValid;
93 //-------------------------------------------------------------------------
95 /** determines the line style at the right edge.
97 com::sun::star::table::BorderLine RightLine;
99 //-------------------------------------------------------------------------
101 /** specifies whether the value of <member>TableBorder::RightLine</member>
102 is used.
104 boolean IsRightLineValid;
106 //-------------------------------------------------------------------------
108 /** determines the line style of horizontal lines for the inner part
109 of a cell range.
111 com::sun::star::table::BorderLine HorizontalLine;
113 //-------------------------------------------------------------------------
115 /** specifies whether the value of
116 <member>TableBorder::HorizontalLine</member> is used.
118 boolean IsHorizontalLineValid;
120 //-------------------------------------------------------------------------
122 /** determines the line style of vertical lines for the inner part
123 of a cell range.
125 com::sun::star::table::BorderLine VerticalLine;
127 //-------------------------------------------------------------------------
129 /** specifies whether the value of
130 <member>TableBorder::VerticalLine</member> is used.
132 boolean IsVerticalLineValid;
134 //-------------------------------------------------------------------------
136 /** contains the distance between the lines and other contents.
138 short Distance;
140 //-------------------------------------------------------------------------
142 /** specifies whether the value of <member>TableBorder::Distance</member>
143 is used.
145 boolean IsDistanceValid;
149 //=============================================================================
151 }; }; }; };
153 #endif