Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / sheet / TableAutoFormat.idl
blob6eda428bcc56caaf25e90ee8b5dbbb9fea3e6626
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/.
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_sheet_TableAutoFormat_idl__
21 #define __com_sun_star_sheet_TableAutoFormat_idl__
23 #include <com/sun/star/container/XIndexAccess.idl>
24 #include <com/sun/star/container/XEnumerationAccess.idl>
25 #include <com/sun/star/container/XNamed.idl>
26 #include <com/sun/star/beans/XPropertySet.idl>
29 module com { module sun { module star { module sheet {
32 /** represents an AutoFormat, containing exactly 16 AutoFormat fields.
34 <p>Each of the 16 fields contain formatting properties for a table
35 cell at a specific position in the AutoFormat range. The rows of the
36 range are divided into a header row, a footer row and 2 data rows
37 (repeated in turn between header and footer row). The columns are
38 divided similar. This results in 16 different types of cells in the
39 range. The AutoFormats are numbered row by row, then column by column.</p>
41 @see com::sun::star::sheet::TableAutoFormatField
43 published service TableAutoFormat
46 //! service com::sun::star::beans::PropertySet;
47 /** provides access to the properties.
49 interface com::sun::star::beans::XPropertySet;
52 /** provides methods to access the AutoFormat fields via index.
54 @see com::sun::star::sheet::TableAutoFormatField
56 interface com::sun::star::container::XIndexAccess;
59 /** creates an enumeration of all 16 AutoFormat fields.
61 @see com::sun::star::sheet::TableAutoFormatEnumeration
63 interface com::sun::star::container::XEnumerationAccess;
66 /** provides methods to access the name of the AutoFormat.
68 interface com::sun::star::container::XNamed;
71 /** specifies whether the font settings from the fields are used.
73 [property] boolean IncludeFont;
76 /** specifies whether the justification settings from the fields
77 are used.
79 [property] boolean IncludeJustify;
82 /** specifies whether the border settings from the fields are used.
84 [property] boolean IncludeBorder;
87 /** specifies whether the background settings from the fields are used.
89 [property] boolean IncludeBackground;
92 /** specifies whether the number format settings from the fields
93 are used.
95 [property] boolean IncludeNumberFormat;
98 /** specifies whether the column widths and row heights should be
99 updated after applying the format.
101 [property] boolean IncludeWidthAndHeight;
106 }; }; }; };
108 #endif
110 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */