Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / frame / status / ItemState.idl
blobc12987a395cbfb7f91ca2195700137a87f2c0f98
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 .
19 #ifndef __com_sun_star_frame_status_ItemState_idl__
20 #define __com_sun_star_frame_status_ItemState_idl__
24 module com { module sun { module star { module frame { module status {
27 /** these constants describe a state of a ItemStatus.
29 @see ItemStatus
31 @since OOo 2.0
33 constants ItemState
35 /** specifies an unknown state.
37 const short UNKNOWN = 0;
39 /** specifies that the property is currently disabled.
41 const short DISABLED = 1;
43 /** specifies that the property is currently read-only.
45 const short READ_ONLY = 2;
47 /** specifies that the property is currently in a don't care state.
49 <p>
50 This is normally used if a selection provides more than one state
51 for a property at the same time.
52 </p>
54 const short DONT_CARE = 16;
56 /** specifies that the property is currently in a default state.
58 const short DEFAULT_VALUE = 32;
60 /** specifies that the property is currently in a set state.
62 const short SET = 64;
66 }; }; }; }; };
68 #endif
70 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */