add more missing adodb constants
Change-Id: Ia43e1c63aa3a1f72deaa20351f9fe59fcc021b62
This commit is contained in:
parent
941fdb1834
commit
ed7012e9a3
@ -164,13 +164,16 @@ $(eval $(call gb_UnoApi_add_idlfiles,oovbaapi,oovbaapi/ooo/vba/adodb,\
|
||||
CursorOptionEnum \
|
||||
CursorTypeEnum \
|
||||
DataTypeEnum \
|
||||
EditModeEnum \
|
||||
ErrorValueEnum \
|
||||
EventReasonEnum \
|
||||
EventStatusEnum \
|
||||
ExecuteOptionEnum \
|
||||
FieldAttributeEnum \
|
||||
FilterGroupEnum \
|
||||
GetRowsOptionEnum \
|
||||
IsolationLevelEnum \
|
||||
LockTypeEnum \
|
||||
MarshalOptionsEnum \
|
||||
ObjectStateEnum \
|
||||
ParameterAttributesEnum \
|
||||
@ -178,6 +181,7 @@ $(eval $(call gb_UnoApi_add_idlfiles,oovbaapi,oovbaapi/ooo/vba/adodb,\
|
||||
PersistFormatEnum \
|
||||
PositionEnum \
|
||||
PropertyAttributesEnum \
|
||||
RecordStatusEnum \
|
||||
ResyncEnum \
|
||||
SchemaEnum \
|
||||
SearchDirectionEnum \
|
||||
|
18
oovbaapi/ooo/vba/adodb/EditModeEnum.idl
Normal file
18
oovbaapi/ooo/vba/adodb/EditModeEnum.idl
Normal file
@ -0,0 +1,18 @@
|
||||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/*
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
module ooo { module vba { module adodb {
|
||||
constants EditModeEnum {
|
||||
const long adEditAdd = 2;
|
||||
const long adEditDelete = 4;
|
||||
const long adEditInProgress = 1;
|
||||
const long adEditNone = 0;
|
||||
};
|
||||
}; }; };
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
27
oovbaapi/ooo/vba/adodb/FieldAttributeEnum.idl
Normal file
27
oovbaapi/ooo/vba/adodb/FieldAttributeEnum.idl
Normal file
@ -0,0 +1,27 @@
|
||||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/*
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
module ooo { module vba { module adodb {
|
||||
constants FieldAttributeEnum {
|
||||
const long adFldCacheDeferred = 4096;
|
||||
const long adFldFixed = 16;
|
||||
const long adFldIsNullable = 32;
|
||||
const long adFldKeyColumn = 32768;
|
||||
const long adFldLong = 128;
|
||||
const long adFldMayBeNull = 64;
|
||||
const long adFldMayDefer = 2;
|
||||
const long adFldNegativeScale = 16384;
|
||||
const long adFldRowID = 256;
|
||||
const long adFldRowVersion = 512;
|
||||
const long adFldUnknownUpdatable = 8;
|
||||
const long adFldUnspecified = -1;
|
||||
const long adFldUpdatable = 4;
|
||||
};
|
||||
}; }; };
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
19
oovbaapi/ooo/vba/adodb/LockTypeEnum.idl
Normal file
19
oovbaapi/ooo/vba/adodb/LockTypeEnum.idl
Normal file
@ -0,0 +1,19 @@
|
||||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/*
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
module ooo { module vba { module adodb {
|
||||
constants LockTypeEnum {
|
||||
const long adLockBatchOptimistic = 4;
|
||||
const long adLockOptimistic = 3;
|
||||
const long adLockPessimistic = 2;
|
||||
const long adLockReadOnly = 1;
|
||||
const long adLockUnspecified = -1;
|
||||
};
|
||||
}; }; };
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
32
oovbaapi/ooo/vba/adodb/RecordStatusEnum.idl
Normal file
32
oovbaapi/ooo/vba/adodb/RecordStatusEnum.idl
Normal file
@ -0,0 +1,32 @@
|
||||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/*
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
module ooo { module vba { module adodb {
|
||||
constants RecordStatusEnum {
|
||||
const long adRecCanceled = 256;
|
||||
const long adRecCantRelease = 1024;
|
||||
const long adRecConcurrencyViolation = 2048;
|
||||
const long adRecDBDeleted = 262144;
|
||||
const long adRecDeleted = 4;
|
||||
const long adRecIntegrityViolation = 4096;
|
||||
const long adRecInvalid = 16;
|
||||
const long adRecMaxChangesExceeded = 8192;
|
||||
const long adRecModified = 2;
|
||||
const long adRecMultipleChanges = 64;
|
||||
const long adRecNew = 1;
|
||||
const long adRecObjectOpen = 16384;
|
||||
const long adRecOK = 0;
|
||||
const long adRecOutOfMemory = 32768;
|
||||
const long adRecPendingChanges = 128;
|
||||
const long adRecPermissionDenied = 65536;
|
||||
const long adRecSchemaViolation = 131072;
|
||||
const long adRecUnmodified = 8;
|
||||
};
|
||||
}; }; };
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
Loading…
x
Reference in New Issue
Block a user