diff options
author | Eike Rathke <erack@redhat.com> | 2012-02-09 16:00:24 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2012-02-09 16:02:18 +0100 |
commit | 46ed67999274b0de201bfcf20e099d4ba363a78c (patch) | |
tree | 8619d7e2901b5085513ac58b66c5e9d7af03d50b /offapi | |
parent | 173ecc14ce4baa6bd2c47ab603066431848afdd2 (diff) |
forgot to git add TableBorder2.idl
needed for f02f97bcdf7b6789e42f04600fb30daf3e0bfd37
Diffstat (limited to 'offapi')
-rw-r--r-- | offapi/com/sun/star/table/TableBorder2.idl | 160 |
1 files changed, 160 insertions, 0 deletions
diff --git a/offapi/com/sun/star/table/TableBorder2.idl b/offapi/com/sun/star/table/TableBorder2.idl new file mode 100644 index 000000000000..4f826726976b --- /dev/null +++ b/offapi/com/sun/star/table/TableBorder2.idl @@ -0,0 +1,160 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * Version: MPL 1.1 / GPLv3+ / LGPLv3+ + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License or as specified alternatively below. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * Major Contributor(s): + * Copyright (C) 2012 Red Hat, Inc., Eike Rathke <erack@redhat.com> + * + * All Rights Reserved. + * + * For minor contributions see the git repository. + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 3 or later (the "GPLv3+"), or + * the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), + * in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable + * instead of those above. + */ + +#ifndef __com_sun_star_table_TableBorder2_idl__ +#define __com_sun_star_table_TableBorder2_idl__ + +#include <com/sun/star/table/BorderLine2.idl> + +//============================================================================= + +module com { module sun { module star { module table { + +//============================================================================= + +/** contains the style settings of the border lines of all cells in a cell + range. + + TableBorder2 is nearly identical to TableBorder, except that it has + members of <type>BorderLine2</type> instead of + <type>BorderLine</type>. + + <p>In a queried structure, the flags in + <member>TableBorder2::Is...LineValid</member> indicate that not all + lines of the boxes have the same values.</p> + + <p>In a structure which is used for setting, these flags determine + if the corresponding line should be set or if the old value should + be kept.</p> + + @since LibreOffice 3.6 + */ +published struct TableBorder2 +{ + //------------------------------------------------------------------------- + + /** determines the line style at the top edge. + */ + com::sun::star::table::BorderLine2 TopLine; + + //------------------------------------------------------------------------- + + /** specifies whether the value of + <member>TableBorder2::TopLine</member> is used. + */ + boolean IsTopLineValid; + + //------------------------------------------------------------------------- + + /** determines the line style at the bottom edge. + */ + com::sun::star::table::BorderLine2 BottomLine; + + //------------------------------------------------------------------------- + + /** specifies whether the value of + <member>TableBorder2::BottomLine</member> is used. + */ + boolean IsBottomLineValid; + + //------------------------------------------------------------------------- + + /** determines the line style at the left edge. + */ + com::sun::star::table::BorderLine2 LeftLine; + + //------------------------------------------------------------------------- + + /** specifies whether the value of + <member>TableBorder2::LeftLine</member> is used. + */ + boolean IsLeftLineValid; + + //------------------------------------------------------------------------- + + /** determines the line style at the right edge. + */ + com::sun::star::table::BorderLine2 RightLine; + + //------------------------------------------------------------------------- + + /** specifies whether the value of + <member>TableBorder2::RightLine</member> is used. + */ + boolean IsRightLineValid; + + //------------------------------------------------------------------------- + + /** determines the line style of horizontal lines for the inner part + of a cell range. + */ + com::sun::star::table::BorderLine2 HorizontalLine; + + //------------------------------------------------------------------------- + + /** specifies whether the value of + <member>TableBorder2::HorizontalLine</member> is used. + */ + boolean IsHorizontalLineValid; + + //------------------------------------------------------------------------- + + /** determines the line style of vertical lines for the inner part + of a cell range. + */ + com::sun::star::table::BorderLine2 VerticalLine; + + //------------------------------------------------------------------------- + + /** specifies whether the value of + <member>TableBorder2::VerticalLine</member> is used. + */ + boolean IsVerticalLineValid; + + //------------------------------------------------------------------------- + + /** contains the distance between the lines and other contents. + */ + short Distance; + + //------------------------------------------------------------------------- + + /** specifies whether the value of + <member>TableBorder2::Distance</member> is used. + */ + boolean IsDistanceValid; + +}; + +//============================================================================= + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |