summaryrefslogtreecommitdiff
path: root/oovbaapi
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2007-04-27 06:35:34 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2007-04-27 06:35:34 +0000
commit3f7eb59bda9f46ded1078dbe7c959021c39ec2e3 (patch)
tree656dd4854f5fba760e44e59cdb827bd38ebdfb75 /oovbaapi
parent6c9d2dd17ec789ccf1cadd9499ad4556717d3058 (diff)
#i10000# Bring module 'oovbaapi' to HEAD.
Diffstat (limited to 'oovbaapi')
-rw-r--r--oovbaapi/org/openoffice/excel/makefile.mk251
-rw-r--r--oovbaapi/org/openoffice/msforms/MSFormReturnTypes.idl59
-rw-r--r--oovbaapi/org/openoffice/msforms/XComboBox.idl63
-rw-r--r--oovbaapi/org/openoffice/msforms/makefile.mk24
-rw-r--r--oovbaapi/org/openoffice/vba/XCollection.idl62
-rw-r--r--oovbaapi/org/openoffice/vba/XErrObject.idl97
-rw-r--r--oovbaapi/org/openoffice/vba/XGlobals.idl71
-rw-r--r--oovbaapi/org/openoffice/vba/XVBAToOOEventDescGen.idl54
-rw-r--r--oovbaapi/org/openoffice/vba/makefile.mk28
9 files changed, 709 insertions, 0 deletions
diff --git a/oovbaapi/org/openoffice/excel/makefile.mk b/oovbaapi/org/openoffice/excel/makefile.mk
new file mode 100644
index 000000000000..d96022360728
--- /dev/null
+++ b/oovbaapi/org/openoffice/excel/makefile.mk
@@ -0,0 +1,251 @@
+PRJ=..$/..$/..
+
+PRJNAME=oovapi
+
+TARGET=excel
+PACKAGE=org$/openoffice$/Excel
+
+# --- Settings -----------------------------------------------------
+.INCLUDE : $(PRJ)$/util$/makefile.pmk
+
+.IF "$(ENABLE_VBA)"!="YES"
+dummy:
+ @echo "not building vba..."
+.ENDIF
+
+# ------------------------------------------------------------------------
+
+
+CONST_IDLFILES=\
+ Constants.idl \
+ XlApplicationInternational.idl \
+ XlApplyNamesOrder.idl \
+ XlArabicModes.idl \
+ XlArrangeStyle.idl \
+ XlArrowHeadLength.idl \
+ XlArrowHeadStyle.idl \
+ XlArrowHeadWidth.idl \
+ XlAutoFillType.idl \
+ XlAutoFilterOperator.idl \
+ XlAxisCrosses.idl \
+ XlAxisGroup.idl \
+ XlAxisType.idl \
+ XlBackground.idl \
+ XlBarShape.idl \
+ XlBordersIndex.idl \
+ XlBorderWeight.idl \
+ XlBuiltInDialog.idl \
+ XlCVError.idl \
+ XlCalculatedMemberType.idl \
+ XlCalculation.idl \
+ XlCalculationInterruptKey.idl \
+ XlCalculationState.idl \
+ XlCategoryType.idl \
+ XlCellInsertionMode.idl \
+ XlCellType.idl \
+ XlChartGallery.idl \
+ XlChartItem.idl \
+ XlChartLocation.idl \
+ XlChartPicturePlacement.idl \
+ XlChartPictureType.idl \
+ XlChartSplitType.idl \
+ XlChartType.idl \
+ XlClipboardFormat.idl \
+ XlCmdType.idl \
+ XlColorIndex.idl \
+ XlColumnDataType.idl \
+ XlCommandUnderlines.idl \
+ XlCommentDisplayMode.idl \
+ XlConsolidationFunction.idl \
+ XlCopyPictureFormat.idl \
+ XlCorruptLoad.idl \
+ XlCreator.idl \
+ XlCubeFieldType.idl \
+ XlCutCopyMode.idl \
+ XlDVAlterStyle.idl \
+ XlDVType.idl \
+ XlDVAlertStyle.idl \
+ XlDataLabelPosition.idl \
+ XlDataLabelSeparator.idl \
+ XlDataLabelsType.idl \
+ XlDataSeriesDate.idl \
+ XlDataSeriesType.idl \
+ XlDeleteShiftDirection.idl \
+ XlDirection.idl \
+ XlDisplayBlanksAs.idl \
+ XlDisplayDrawingObjects.idl \
+ XlDisplayUnit.idl \
+ XlEditionFormat.idl \
+ XlEditionOptionsOption.idl \
+ XlEditionType.idl \
+ XlEnableCancelKey.idl \
+ XlEnableSelection.idl \
+ XlEndStyleCap.idl \
+ XlErrorBarDirection.idl \
+ XlErrorBarInclude.idl \
+ XlErrorBarType.idl \
+ XlErrorChecks.idl \
+ XlFileAccess.idl \
+ XlFileFormat.idl \
+ XlFillWith.idl \
+ XlFilterAction.idl \
+ XlFindLookIn.idl \
+ XlFormControl.idl \
+ XlFormatConditionOperator.idl \
+ XlFormatConditionType.idl \
+ XlFormulaLabel.idl \
+ XlHAlign.idl \
+ XlHebrewModes.idl \
+ XlHighlightChangesTime.idl \
+ XlHtmlType.idl \
+ XlIMEMode.idl \
+ XlImportDataAs.idl \
+ XlInsertFormatOrigin.idl \
+ XlInsertShiftDirection.idl \
+ XlLayoutFormType.idl \
+ XlLegendPosition.idl \
+ XlLineStyle.idl \
+ XlLink.idl \
+ XlLinkInfo.idl \
+ XlLinkInfoType.idl \
+ XlLinkStatus.idl \
+ XlLinkType.idl \
+ XlListConflict.idl \
+ XlListDataType.idl \
+ XlListObjectSourceType.idl \
+ XlLocationInTable.idl \
+ XlLookAt.idl \
+ XlMSApplication.idl \
+ XlMailSystem.idl \
+ XlMarkerStyle.idl \
+ XlMouseButton.idl \
+ XlMousePointer.idl \
+ XlOLEType.idl \
+ XlOLEVerb.idl \
+ XlObjectSize.idl \
+ XlOrder.idl \
+ XlOrientation.idl \
+ XlPTSelectionMode.idl \
+ XlPageBreak.idl \
+ XlPageBreakExtent.idl \
+ XlPageOrientation.idl \
+ XlPaperSize.idl \
+ XlParameterDataType.idl \
+ XlParameterType.idl \
+ XlPasteSpecialOperation.idl \
+ XlPasteType.idl \
+ XlPattern.idl \
+ XlPhoneticAlignment.idl \
+ XlPictureAppearance.idl \
+ XlPictureConvertorType.idl \
+ XlPivotCellType.idl \
+ XlPivotFieldCalculation.idl \
+ XlPivotFieldDataType.idl \
+ XlPivotFieldOrientation.idl \
+ XlPivotFormatType.idl \
+ XlPivotTableMissingItems.idl \
+ XlPivotTableSourceType.idl \
+ XlPivotTableVersionList.idl \
+ XlPlacement.idl \
+ XlPlatform.idl \
+ XlPrintErrors.idl \
+ XlPrintLocation.idl \
+ XlPriority.idl \
+ XlQueryType.idl \
+ XlRangeAutoFormat.idl \
+ XlRangeValueDataType.idl \
+ XlReferenceStyle.idl \
+ XlReferenceType.idl \
+ XlRobustConnect.idl \
+ XlRoutingSlipDelivery.idl \
+ XlRoutingSlipStatus.idl \
+ XlRowCol.idl \
+ XlRunAutoMacro.idl \
+ XlSaveAction.idl \
+ XlSaveAsAccessMode.idl \
+ XlSaveConflictResolution.idl \
+ XlScaleType.idl \
+ XlSearchDirection.idl \
+ XlSearchOrder.idl \
+ XlSearchWithin.idl \
+ XlSheetType.idl \
+ XlSheetVisibility.idl \
+ XlSizeRepresents.idl \
+ XlSmartTagControlType.idl \
+ XlSmartTagDisplayMode.idl \
+ XlSortDataOption.idl \
+ XlSortMethod.idl \
+ XlSortMethodOld.idl \
+ XlSortOrder.idl \
+ XlSortOrientation.idl \
+ XlSortType.idl \
+ XlSourceType.idl \
+ XlSpeakDirection.idl \
+ XlSpecialCellsValue.idl \
+ XlSubscribeToFormat.idl \
+ XlSubtototalLocationType.idl \
+ XlSummaryColumn.idl \
+ XlSummaryReportType.idl \
+ XlSummaryRow.idl \
+ XlTabPosition.idl \
+ XlTextParsingType.idl \
+ XlTextQualifier.idl \
+ XlTextVisualLayoutType.idl \
+ XlTickLabelOrientation.idl \
+ XlTickLabelPosition.idl \
+ XlTimeMark.idl \
+ XlTimeUnit.idl \
+ XlToolbarProtection.idl \
+ XlTotalsCalculation.idl \
+ XlTrendlineType.idl \
+ XlUnderlineStyle.idl \
+ XlUpdateLinks.idl \
+ XlVAlign.idl \
+ XlWBATemplate.idl \
+ XlWebFormatting.idl \
+ XlWebSectionType.idl \
+ XlWindowState.idl \
+ XlWindowType.idl \
+ XlWindowView.idl \
+ XlXLMMacroType.idl \
+ XlXmlExportResult.idl \
+ XlXmlImportResult.idl \
+ XlXmlLoadOption.idl \
+ XlYesNoGuess.idl\
+
+OBJ_IDLFILES=XApplication.idl\
+ XComment.idl\
+ XComments.idl\
+ XRange.idl\
+ XWorkbook.idl\
+ XWorkbooks.idl\
+ XWorksheet.idl\
+ XWorksheets.idl\
+ XFont.idl\
+ XOutline.idl\
+ XInterior.idl\
+ XWorksheetFunction.idl\
+ XWindow.idl\
+ XChartObject.idl\
+ XChartObjects.idl\
+ XChart.idl\
+ XSeriesCollection.idl\
+ XSeries.idl\
+ XDialog.idl \
+ XPivotTables.idl \
+ XPivotTable.idl \
+ XPivotCache.idl \
+ XDialogs.idl \
+ XWindows.idl \
+ XBorder.idl \
+ XBorders.idl \
+ XCharacters.idl \
+ XValidation.idl\
+
+
+IDLFILES+=$(CONST_IDLFILES)
+IDLFILES+=$(OBJ_IDLFILES)
+# ------------------------------------------------------------------
+
+.INCLUDE : target.mk
+
diff --git a/oovbaapi/org/openoffice/msforms/MSFormReturnTypes.idl b/oovbaapi/org/openoffice/msforms/MSFormReturnTypes.idl
new file mode 100644
index 000000000000..904405db5690
--- /dev/null
+++ b/oovbaapi/org/openoffice/msforms/MSFormReturnTypes.idl
@@ -0,0 +1,59 @@
+/*************************************************************************
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: MSFormReturnTypes.idl,v $
+ *
+ * $Revision: 1.2 $
+ *
+ * last change: $Author: rt $ $Date: 2007-04-27 07:35:34 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+ *
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2005 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ ************************************************************************/
+module msforms
+{
+ struct ReturnBoolean
+ {
+ boolean Value;
+ };
+
+ struct ReturnEffect
+ {
+ //fmDropEffect Value;
+ short Value;
+ };
+
+ struct ReturnInteger
+ {
+ long Value;
+ };
+
+ struct ReturnSingle
+ {
+ float Value;
+ };
+
+
+};
diff --git a/oovbaapi/org/openoffice/msforms/XComboBox.idl b/oovbaapi/org/openoffice/msforms/XComboBox.idl
new file mode 100644
index 000000000000..024a18c55898
--- /dev/null
+++ b/oovbaapi/org/openoffice/msforms/XComboBox.idl
@@ -0,0 +1,63 @@
+/*************************************************************************
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: XComboBox.idl,v $
+ *
+ * $Revision: 1.2 $
+ *
+ * last change: $Author: rt $ $Date: 2007-04-27 07:35:26 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+ *
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2005 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ ************************************************************************/
+#ifndef __org_openoffice_msforms_XComboBox_idl__
+#define __org_openoffice_msforms_XComboBox_idl__
+
+#ifndef __com_sun_star_uno_XInterface_idl__
+#include <com/sun/star/uno/XInterface.idl>
+#endif
+
+
+//=============================================================================
+
+module org { module openoffice { module msforms {
+
+
+//=============================================================================
+interface XComboBox: ::com::sun::star::uno::XInterface
+{
+ [attribute] any Value;
+ [attribute] string Text;
+ void AddItem( [in] any pvargItem, [in] any pvargIndex );
+ void Clear();
+};
+
+//=============================================================================
+
+}; }; };
+
+#endif
+
+
diff --git a/oovbaapi/org/openoffice/msforms/makefile.mk b/oovbaapi/org/openoffice/msforms/makefile.mk
new file mode 100644
index 000000000000..36e97f3d7485
--- /dev/null
+++ b/oovbaapi/org/openoffice/msforms/makefile.mk
@@ -0,0 +1,24 @@
+PRJ=..$/..$/..
+
+PRJNAME=oovbapi
+
+TARGET=msforms
+PACKAGE=org$/openoffice$/msforms
+
+# --- Settings -----------------------------------------------------
+.INCLUDE : $(PRJ)$/util$/makefile.pmk
+
+.IF "$(ENABLE_VBA)"!="YES"
+dummy:
+ @echo "not building vba..."
+.ENDIF
+
+# ------------------------------------------------------------------------
+
+IDLFILES=\
+ MSFormReturnTypes.idl \
+ XComboBox.idl \
+
+# ------------------------------------------------------------------
+
+.INCLUDE : target.mk
diff --git a/oovbaapi/org/openoffice/vba/XCollection.idl b/oovbaapi/org/openoffice/vba/XCollection.idl
new file mode 100644
index 000000000000..3ea76b6599cb
--- /dev/null
+++ b/oovbaapi/org/openoffice/vba/XCollection.idl
@@ -0,0 +1,62 @@
+/*************************************************************************
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: XCollection.idl,v $
+ *
+ * $Revision: 1.2 $
+ *
+ * last change: $Author: rt $ $Date: 2007-04-27 07:33:26 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+ *
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2005 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ ************************************************************************/
+#ifndef __org_openoffice_vba_XCollection_idl__
+#define __org_openoffice_vba_XCollection_idl__
+
+#ifndef __com_sun_star_uno_XInterface_idl__
+#include <com/sun/star/uno/XInterface.idl>
+#endif
+#ifndef __org_openoffice_excel_XApplication_idl__
+#include <org/openoffice/excel/XApplication.idl>
+#endif
+//=============================================================================
+
+module org { module openoffice { module vba {
+
+//=============================================================================
+
+interface XCollection : ::com::sun::star::uno::XInterface
+{
+ [attribute, readonly] long Count;
+ [attribute, readonly] any Parent;
+ [attribute, readonly] long Creator;
+ [attribute, readonly] org::openoffice::excel::XApplication Application;
+
+ any Item( [in] any Index );
+};
+
+}; }; };
+
+#endif
diff --git a/oovbaapi/org/openoffice/vba/XErrObject.idl b/oovbaapi/org/openoffice/vba/XErrObject.idl
new file mode 100644
index 000000000000..8801819e4994
--- /dev/null
+++ b/oovbaapi/org/openoffice/vba/XErrObject.idl
@@ -0,0 +1,97 @@
+/*************************************************************************
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: XErrObject.idl,v $
+ *
+ * $Revision: 1.2 $
+ *
+ * last change: $Author: rt $ $Date: 2007-04-27 07:33:17 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+ *
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2005 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ ************************************************************************/
+/*************************************************************************
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: XErrObject.idl,v $
+ *
+ * $Revision: 1.2 $
+ *
+ * last change: $Author: rt $ $Date: 2007-04-27 07:33:17 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+ *
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2005 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ ************************************************************************/
+
+#ifndef __org_openoffice_vba__XErrObject_idl__
+#define __org_openoffice_vba__XErrObject_idl__
+
+#ifndef __com_sun_star_uno_XInterface_idl__
+#include <com/sun/star/uno/XInterface.idl>
+#endif
+
+module org { module openoffice { module vba {
+//==============================================================================
+/**
+*/
+interface XErrObject : ::com::sun::star::uno::XInterface
+{
+ //-----------------------------------------------------------------------
+ /**
+ */
+ [attribute] long Number;
+ [attribute] long HelpContext;
+ [attribute] string HelpFile;
+ [attribute] string Description;
+ [attribute] string Source;
+ void Clear();
+ void Raise([in] any Number, [in] any Source, [in] any Description, [in] any HelpFile, [in] any HelpContext);
+
+};
+
+}; }; };
+#endif
diff --git a/oovbaapi/org/openoffice/vba/XGlobals.idl b/oovbaapi/org/openoffice/vba/XGlobals.idl
new file mode 100644
index 000000000000..42f6bed0b1cb
--- /dev/null
+++ b/oovbaapi/org/openoffice/vba/XGlobals.idl
@@ -0,0 +1,71 @@
+/*************************************************************************
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: XGlobals.idl,v $
+ *
+ * $Revision: 1.2 $
+ *
+ * last change: $Author: rt $ $Date: 2007-04-27 07:33:47 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+ *
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2005 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ ************************************************************************/
+#ifndef __org_openoffice_vba_XGlobals_idl__
+#define __org_openoffice_vba_XGlobals_idl__
+
+#ifndef __com_sun_star_uno_XInterface_idl__
+#include <com/sun/star/uno/XInterface.idl>
+#endif
+#ifndef __org_openoffice_excel_XApplication_idl__
+#include <org/openoffice/excel/XApplication.idl>
+#endif
+#ifndef __org_openoffice_excel_XWorkbook_idl__
+#include <org/openoffice/excel/XWorkbook.idl>
+#endif
+#ifndef __org_openoffice_excel_XWorksheet_idl__
+#include <org/openoffice/excel/XWorksheet.idl>
+#endif
+
+module org { module openoffice { module vba {
+
+interface XGlobals: com::sun::star::uno::XInterface
+{
+ // FIXME, need better way to expose globals
+ sequence< any > getGlobals();
+
+ [attribute, readonly] org::openoffice::excel::XApplication Application;
+ [attribute, readonly] org::openoffice::excel::XWorkbook ActiveWorkbook;
+ [attribute, readonly] org::openoffice::excel::XWorksheet ActiveSheet;
+ any WorkSheets( [in] any aIndex );
+ any WorkBooks( [in] any aIndex );
+ any Sheets( [in] any aIndex );
+ any Range( [in] any Cell1, [in] any Cell2 );
+};
+
+}; }; };
+
+#endif
+
+
diff --git a/oovbaapi/org/openoffice/vba/XVBAToOOEventDescGen.idl b/oovbaapi/org/openoffice/vba/XVBAToOOEventDescGen.idl
new file mode 100644
index 000000000000..e8566f882d47
--- /dev/null
+++ b/oovbaapi/org/openoffice/vba/XVBAToOOEventDescGen.idl
@@ -0,0 +1,54 @@
+/*************************************************************************
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: XVBAToOOEventDescGen.idl,v $
+ *
+ * $Revision: 1.2 $
+ *
+ * last change: $Author: rt $ $Date: 2007-04-27 07:32:41 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+ *
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2005 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ ************************************************************************/
+#ifndef __org_openoffice_vba_XVBAToOOEventDescGen_idl__
+#define __org_openoffice_vba_XVBAToOOEventDescGen_idl__
+
+#ifndef __com_sun_star_script_ScriptEventDescriptor_idl__
+#include <com/sun/star/script/ScriptEventDescriptor.idl>
+#endif
+
+#ifndef __com_sun_star_script_XScriptEventsSupplier_idl__
+#include <com/sun/star/script/XScriptEventsSupplier.idl>
+#endif
+
+module org { module openoffice { module vba {
+interface XVBAToOOEventDescGen : com::sun::star::uno::XInterface
+{
+ sequence< com::sun::star::script::ScriptEventDescriptor > getEventDescriptions( [in] com::sun::star::uno::XInterface xControl, [in] string sLibModName, [in] sequence< string > handlerExts );
+ com::sun::star::script::XScriptEventsSupplier getEventSupplier( [in] com::sun::star::uno::XInterface xControl );
+};
+
+}; }; };
+#endif
diff --git a/oovbaapi/org/openoffice/vba/makefile.mk b/oovbaapi/org/openoffice/vba/makefile.mk
new file mode 100644
index 000000000000..b2c5c8dbeef0
--- /dev/null
+++ b/oovbaapi/org/openoffice/vba/makefile.mk
@@ -0,0 +1,28 @@
+PRJ=..$/..$/..
+
+PRJNAME=oovbapi
+
+TARGET=vba
+PACKAGE=org$/openoffice$/vba
+
+# --- Settings -----------------------------------------------------
+.INCLUDE : $(PRJ)$/util$/makefile.pmk
+
+.IF "$(ENABLE_VBA)"!="YES"
+dummy:
+ @echo "not building vba..."
+.ENDIF
+
+# ------------------------------------------------------------------------
+
+IDLFILES=\
+ VbMsgBoxResult.idl \
+ VbMsgBoxStyle.idl \
+ XErrObject.idl \
+ XGlobals.idl \
+ XCollection.idl\
+ XVBAToOOEventDescGen.idl\
+
+# ------------------------------------------------------------------
+
+.INCLUDE : target.mk