xref: /trunk/main/oovbaapi/ooo/vba/dao/PermissionEnum.idl (revision ffd38472365e95f6a578737bc9a5eb0fac624a86)
1*b63233d8Sdamjan/**************************************************************
2*b63233d8Sdamjan *
3*b63233d8Sdamjan * Licensed to the Apache Software Foundation (ASF) under one
4*b63233d8Sdamjan * or more contributor license agreements.  See the NOTICE file
5*b63233d8Sdamjan * distributed with this work for additional information
6*b63233d8Sdamjan * regarding copyright ownership.  The ASF licenses this file
7*b63233d8Sdamjan * to you under the Apache License, Version 2.0 (the
8*b63233d8Sdamjan * "License"); you may not use this file except in compliance
9*b63233d8Sdamjan * with the License.  You may obtain a copy of the License at
10*b63233d8Sdamjan *
11*b63233d8Sdamjan *   http://www.apache.org/licenses/LICENSE-2.0
12*b63233d8Sdamjan *
13*b63233d8Sdamjan * Unless required by applicable law or agreed to in writing,
14*b63233d8Sdamjan * software distributed under the License is distributed on an
15*b63233d8Sdamjan * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*b63233d8Sdamjan * KIND, either express or implied.  See the License for the
17*b63233d8Sdamjan * specific language governing permissions and limitations
18*b63233d8Sdamjan * under the License.
19*b63233d8Sdamjan *
20*b63233d8Sdamjan *************************************************************/
21*b63233d8Sdamjan
22*b63233d8Sdamjan
23*b63233d8Sdamjan#ifndef __ooo_vba_dao_PermissionEnum_idl__
24*b63233d8Sdamjan#define __ooo_vba_dao_PermissionEnum_idl__
25*b63233d8Sdamjan
26*b63233d8Sdamjanmodule ooo { module vba { module dao {
27*b63233d8Sdamjan    constants PermissionEnum {
28*b63233d8Sdamjan        const long dbSecCreate = 1;
29*b63233d8Sdamjan        const long dbSecDBAdmin = 8;
30*b63233d8Sdamjan        const long dbSecDBCreate = 1;
31*b63233d8Sdamjan        const long dbSecDBExclusive = 4;
32*b63233d8Sdamjan        const long dbSecDBOpen = 2;
33*b63233d8Sdamjan        const long dbSecDelete = 65536;
34*b63233d8Sdamjan        const long dbSecDeleteData = 128;
35*b63233d8Sdamjan        const long dbSecFullAccess = 1048575;
36*b63233d8Sdamjan        const long dbSecInsertData = 32;
37*b63233d8Sdamjan        const long dbSecNoAccess = 0;
38*b63233d8Sdamjan        const long dbSecReadDef = 4;
39*b63233d8Sdamjan        const long dbSecReadSec = 131072;
40*b63233d8Sdamjan        const long dbSecReplaceData = 64;
41*b63233d8Sdamjan        const long dbSecRetrieveData = 20;
42*b63233d8Sdamjan        const long dbSecWriteDef = 65548;
43*b63233d8Sdamjan        const long dbSecWriteOwner = 524288;
44*b63233d8Sdamjan        const long dbSecWriteSec = 262144;
45*b63233d8Sdamjan    };
46*b63233d8Sdamjan}; }; };
47*b63233d8Sdamjan
48*b63233d8Sdamjan#endif
49