Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/2106

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/06/2106/1

add more missing adodb constants

Change-Id: Ia43e1c63aa3a1f72deaa20351f9fe59fcc021b62
(cherry picked from commit ed7012e9a324d322d68dac3cc9dda7bbbc3391ad)
---
M oovbaapi/UnoApi_oovbaapi.mk
A oovbaapi/ooo/vba/adodb/EditModeEnum.idl
A oovbaapi/ooo/vba/adodb/FieldAttributeEnum.idl
A oovbaapi/ooo/vba/adodb/LockTypeEnum.idl
A oovbaapi/ooo/vba/adodb/RecordStatusEnum.idl
5 files changed, 100 insertions(+), 0 deletions(-)



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 @@
     CursorOptionEnum \
     CursorTypeEnum \
     DataTypeEnum \
+    EditModeEnum \
     ErrorValueEnum \
     EventReasonEnum \
     EventStatusEnum \
     ExecuteOptionEnum \
+    FieldAttributeEnum \
     FilterGroupEnum \
     GetRowsOptionEnum \
     IsolationLevelEnum \
+    LockTypeEnum \
     MarshalOptionsEnum \
     ObjectStateEnum \
     ParameterAttributesEnum \
@@ -178,6 +181,7 @@
     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: */

-- 
To view, visit https://gerrit.libreoffice.org/2106
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia43e1c63aa3a1f72deaa20351f9fe59fcc021b62
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Noel Power <noel.power@suse.com>

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.