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 .
20 #ifndef __com_sun_star_table_TableBorder_idl__
21 #define __com_sun_star_table_TableBorder_idl__
23 #include
<com
/sun
/star
/table
/BorderLine.idl
>
26 module com
{ module sun
{ module star
{ module table
{
29 /** contains the style settings of the border lines of all cells in a cell
32 <p>In a queried structure, the flags in
33 TableBorder::Is...LineValid indicate that not all
34 lines of the boxes have the same values.</p>
36 <p>In a structure which is used for setting, these flags determine
37 if the corresponding line should be set or if the old value should
40 published
struct TableBorder
43 /** determines the line style at the top edge.
45 com
::sun
::star
::table
::BorderLine TopLine
;
48 /** specifies whether the value of TableBorder::TopLine
51 boolean IsTopLineValid
;
54 /** determines the line style at the bottom edge.
56 com
::sun
::star
::table
::BorderLine BottomLine
;
59 /** specifies whether the value of
60 TableBorder::BottomLine is used.
62 boolean IsBottomLineValid
;
65 /** determines the line style at the left edge.
67 com
::sun
::star
::table
::BorderLine LeftLine
;
70 /** specifies whether the value of TableBorder::LeftLine
73 boolean IsLeftLineValid
;
76 /** determines the line style at the right edge.
78 com
::sun
::star
::table
::BorderLine RightLine
;
81 /** specifies whether the value of TableBorder::RightLine
84 boolean IsRightLineValid
;
87 /** determines the line style of horizontal lines for the inner part
90 com
::sun
::star
::table
::BorderLine HorizontalLine
;
93 /** specifies whether the value of
94 TableBorder::HorizontalLine is used.
96 boolean IsHorizontalLineValid
;
99 /** determines the line style of vertical lines for the inner part
102 com
::sun
::star
::table
::BorderLine VerticalLine
;
105 /** specifies whether the value of
106 TableBorder::VerticalLine is used.
108 boolean IsVerticalLineValid
;
111 /** contains the distance between the lines and other contents.
116 /** specifies whether the value of TableBorder::Distance
119 boolean IsDistanceValid
;
128 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */