[Libreoffice-commits] core.git: Branch 'libreoffice-4-0' - oovbaapi/ooo oovbaapi/UnoApi_oovbaapi.mk

Noel Power noel.power at suse.com
Tue Feb 12 00:39:41 PST 2013


 oovbaapi/UnoApi_oovbaapi.mk                   |    4 +++
 oovbaapi/ooo/vba/adodb/EditModeEnum.idl       |   18 ++++++++++++++
 oovbaapi/ooo/vba/adodb/FieldAttributeEnum.idl |   27 +++++++++++++++++++++
 oovbaapi/ooo/vba/adodb/LockTypeEnum.idl       |   19 +++++++++++++++
 oovbaapi/ooo/vba/adodb/RecordStatusEnum.idl   |   32 ++++++++++++++++++++++++++
 5 files changed, 100 insertions(+)

New commits:
commit 61217a8c2f6a330b091444976267d72882cc3ca9
Author: Noel Power <noel.power at suse.com>
Date:   Mon Feb 11 14:19:16 2013 +0000

    add more missing adodb constants
    
    Change-Id: Ia43e1c63aa3a1f72deaa20351f9fe59fcc021b62
    (cherry picked from commit ed7012e9a324d322d68dac3cc9dda7bbbc3391ad)
    Reviewed-on: https://gerrit.libreoffice.org/2106
    Reviewed-by: Tor Lillqvist <tml at iki.fi>
    Tested-by: Tor Lillqvist <tml at iki.fi>

diff --git a/oovbaapi/UnoApi_oovbaapi.mk b/oovbaapi/UnoApi_oovbaapi.mk
index 7f668da..75431a7 100644
--- a/oovbaapi/UnoApi_oovbaapi.mk
+++ b/oovbaapi/UnoApi_oovbaapi.mk
@@ -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 \
diff --git a/oovbaapi/ooo/vba/adodb/EditModeEnum.idl b/oovbaapi/ooo/vba/adodb/EditModeEnum.idl
new file mode 100644
index 0000000..462f0ff
--- /dev/null
+++ b/oovbaapi/ooo/vba/adodb/EditModeEnum.idl
@@ -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: */
diff --git a/oovbaapi/ooo/vba/adodb/FieldAttributeEnum.idl b/oovbaapi/ooo/vba/adodb/FieldAttributeEnum.idl
new file mode 100644
index 0000000..5c24205
--- /dev/null
+++ b/oovbaapi/ooo/vba/adodb/FieldAttributeEnum.idl
@@ -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: */
diff --git a/oovbaapi/ooo/vba/adodb/LockTypeEnum.idl b/oovbaapi/ooo/vba/adodb/LockTypeEnum.idl
new file mode 100644
index 0000000..1a277ee
--- /dev/null
+++ b/oovbaapi/ooo/vba/adodb/LockTypeEnum.idl
@@ -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: */
diff --git a/oovbaapi/ooo/vba/adodb/RecordStatusEnum.idl b/oovbaapi/ooo/vba/adodb/RecordStatusEnum.idl
new file mode 100644
index 0000000..3ac3b60
--- /dev/null
+++ b/oovbaapi/ooo/vba/adodb/RecordStatusEnum.idl
@@ -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: */


More information about the Libreoffice-commits mailing list