1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: ReferenceFlags.idl,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef __com_sun_star_sheet_ReferenceFlags_idl__
32 #define __com_sun_star_sheet_ReferenceFlags_idl__
34 //=============================================================================
36 module com
{ module sun
{ module star
{ module sheet
{
38 //=============================================================================
40 /** defines flags for references.
42 <P>The values can be combined.</P>
44 constants ReferenceFlags
46 //-------------------------------------------------------------------------
48 /** selects a relative column reference.
50 const long COLUMN_RELATIVE
= 1;
52 //-------------------------------------------------------------------------
54 /** marks a deleted column reference.
56 const long COLUMN_DELETED
= 2;
58 //-------------------------------------------------------------------------
60 /** selects a relative row reference.
62 const long ROW_RELATIVE
= 4;
64 //-------------------------------------------------------------------------
66 /** marks a deleted row reference.
68 const long ROW_DELETED
= 8;
70 //-------------------------------------------------------------------------
72 /** selects a relative sheet reference.
74 const long SHEET_RELATIVE
= 16;
76 //-------------------------------------------------------------------------
78 /** marks a deleted sheet reference.
80 const long SHEET_DELETED
= 32;
82 //-------------------------------------------------------------------------
84 /** selects a 3D sheet reference.
86 const long SHEET_3D
= 64;
88 //-------------------------------------------------------------------------
90 /** marks a reference from a relative range name.
92 const long RELATIVE_NAME
= 128;
95 //=============================================================================