Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / sheet / DataPilotFieldLayoutMode.idl
blobe85fb65073be3bd904f3908a3f8b657d900d81fd
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_DataPilotFieldLayoutMode_idl__
21 #define __com_sun_star_sheet_DataPilotFieldLayoutMode_idl__
24 module com { module sun { module star { module sheet {
27 /** describes the layout mode of the data field
29 @see com::sun::star::sheet::DataPilotFieldLayoutInfo
32 constants DataPilotFieldLayoutMode
35 /** Tabular layout mode is the layout, where each item's name is on the same
36 row as the first item from the following field. Subtotals are always shown below
37 an item's data in this mode.
40 const long TABULAR_LAYOUT = 0;
43 /** In outline layout mode, the items from the following field start in the row
44 below an item's name, like in traditional database reports.
46 <P>Subtotals are shown at the top (on the same row as the item's name). When
47 the subtotals take up more than one row (manually selected, or because there
48 are several data fields), they are always shown below the item's data,
49 regardless of the setting.</p>
52 const long OUTLINE_SUBTOTALS_TOP = 1;
55 /** In outline layout mode, the items from the following field start in the row
56 below an item's name, like in traditional database reports.
58 <P>Subtotals are shown at the bottom (below the item's data, as in tabular
59 layout mode). When the subtotals take up more than one row (manually
60 selected, or because there are several data fields), they are always shown
61 below the item's data, regardless of the setting.</p>
64 const long OUTLINE_SUBTOTALS_BOTTOM = 2;
69 }; }; }; };
71 #endif
73 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */