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 .
21 module com
{ module sun
{ module star
{ module table
{
24 /** contains the style settings of the border lines of all cells in a cell
27 <p>In a queried structure, the flags in
28 TableBorder::Is...LineValid indicate that not all
29 lines of the boxes have the same values.</p>
31 <p>In a structure which is used for setting, these flags determine
32 if the corresponding line should be set or if the old value should
35 published
struct TableBorder
38 /** determines the line style at the top edge.
40 com
::sun
::star
::table
::BorderLine TopLine
;
43 /** specifies whether the value of TableBorder::TopLine
46 boolean IsTopLineValid
;
49 /** determines the line style at the bottom edge.
51 com
::sun
::star
::table
::BorderLine BottomLine
;
54 /** specifies whether the value of
55 TableBorder::BottomLine is used.
57 boolean IsBottomLineValid
;
60 /** determines the line style at the left edge.
62 com
::sun
::star
::table
::BorderLine LeftLine
;
65 /** specifies whether the value of TableBorder::LeftLine
68 boolean IsLeftLineValid
;
71 /** determines the line style at the right edge.
73 com
::sun
::star
::table
::BorderLine RightLine
;
76 /** specifies whether the value of TableBorder::RightLine
79 boolean IsRightLineValid
;
82 /** determines the line style of horizontal lines for the inner part
85 com
::sun
::star
::table
::BorderLine HorizontalLine
;
88 /** specifies whether the value of
89 TableBorder::HorizontalLine is used.
91 boolean IsHorizontalLineValid
;
94 /** determines the line style of vertical lines for the inner part
97 com
::sun
::star
::table
::BorderLine VerticalLine
;
100 /** specifies whether the value of
101 TableBorder::VerticalLine is used.
103 boolean IsVerticalLineValid
;
106 /** contains the distance between the lines and other contents.
111 /** specifies whether the value of TableBorder::Distance
114 boolean IsDistanceValid
;
121 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */