Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / table / TableBorder2.idl
blob611569018f6a9b60190cb7b53e0b513fcb9a2c9f
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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/.
8 */
10 #ifndef __com_sun_star_table_TableBorder2_idl__
11 #define __com_sun_star_table_TableBorder2_idl__
13 #include <com/sun/star/table/BorderLine2.idl>
16 module com { module sun { module star { module table {
19 /** contains the style settings of the border lines of all cells in a cell
20 range.
22 TableBorder2 is nearly identical to TableBorder, except that it has
23 members of BorderLine2 instead of
24 BorderLine.
26 <p>In a queried structure, the flags in
27 TableBorder2::Is...LineValid indicate that not all
28 lines of the boxes have the same values.</p>
30 <p>In a structure which is used for setting, these flags determine
31 if the corresponding line should be set or if the old value should
32 be kept.</p>
34 @since LibreOffice 3.6
36 published struct TableBorder2
39 /** determines the line style at the top edge.
41 com::sun::star::table::BorderLine2 TopLine;
44 /** specifies whether the value of
45 TableBorder2::TopLine is used.
47 boolean IsTopLineValid;
50 /** determines the line style at the bottom edge.
52 com::sun::star::table::BorderLine2 BottomLine;
55 /** specifies whether the value of
56 TableBorder2::BottomLine is used.
58 boolean IsBottomLineValid;
61 /** determines the line style at the left edge.
63 com::sun::star::table::BorderLine2 LeftLine;
66 /** specifies whether the value of
67 TableBorder2::LeftLine is used.
69 boolean IsLeftLineValid;
72 /** determines the line style at the right edge.
74 com::sun::star::table::BorderLine2 RightLine;
77 /** specifies whether the value of
78 TableBorder2::RightLine is used.
80 boolean IsRightLineValid;
83 /** determines the line style of horizontal lines for the inner part
84 of a cell range.
86 com::sun::star::table::BorderLine2 HorizontalLine;
89 /** specifies whether the value of
90 TableBorder2::HorizontalLine is used.
92 boolean IsHorizontalLineValid;
95 /** determines the line style of vertical lines for the inner part
96 of a cell range.
98 com::sun::star::table::BorderLine2 VerticalLine;
101 /** specifies whether the value of
102 TableBorder2::VerticalLine is used.
104 boolean IsVerticalLineValid;
107 /** contains the distance between the lines and other contents.
109 short Distance;
112 /** specifies whether the value of
113 TableBorder2::Distance is used.
115 boolean IsDistanceValid;
120 }; }; }; };
122 #endif
124 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */