1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27
28#ifndef __com_sun_star_sheet_ReferenceFlags_idl__
29#define __com_sun_star_sheet_ReferenceFlags_idl__
30
31//=============================================================================
32
33module com {  module sun {  module star {  module sheet {
34
35//=============================================================================
36
37/** defines flags for references.
38
39    <P>The values can be combined.</P>
40 */
41constants ReferenceFlags
42{
43	//-------------------------------------------------------------------------
44
45    /** selects a relative column reference.
46     */
47    const long COLUMN_RELATIVE = 1;
48
49	//-------------------------------------------------------------------------
50
51    /** marks a deleted column reference.
52     */
53    const long COLUMN_DELETED = 2;
54
55	//-------------------------------------------------------------------------
56
57    /** selects a relative row reference.
58     */
59    const long ROW_RELATIVE = 4;
60
61	//-------------------------------------------------------------------------
62
63    /** marks a deleted row reference.
64     */
65    const long ROW_DELETED = 8;
66
67	//-------------------------------------------------------------------------
68
69    /** selects a relative sheet reference.
70     */
71    const long SHEET_RELATIVE = 16;
72
73	//-------------------------------------------------------------------------
74
75    /** marks a deleted sheet reference.
76     */
77    const long SHEET_DELETED = 32;
78
79	//-------------------------------------------------------------------------
80
81    /** selects a 3D sheet reference.
82     */
83    const long SHEET_3D = 64;
84
85	//-------------------------------------------------------------------------
86
87    /** marks a reference from a relative range name.
88     */
89    const long RELATIVE_NAME = 128;
90};
91
92//=============================================================================
93
94}; }; }; };
95
96#endif
97
98