Kaydet (Commit) 060fad22 authored tarafından Daniel Rentz [dr]'s avatar Daniel Rentz [dr]

mib19: clean up parameter names in VBA IDLs

üst b715d773
......@@ -49,9 +49,9 @@ interface XApplicationBase
void Quit();
any CommandBars( [in] any aIndex );
void Run([in] string MacroName, [in] /*Optional*/ any varg1, [in] /*Optional*/ any varg2, [in] /*Optional*/ any varg3, [in] /*Optional*/ any varg4, [in] /*Optional*/ any varg5, [in] /*Optional*/ any varg6, [in] /*Optional*/ any varg7, [in] /*Optional*/ any varg8, [in] /*Optional*/ any varg9, [in] /*Optional*/ any varg10, [in] /*Optional*/ any varg11, [in] /*Optional*/ any varg12, [in] /*Optional*/ any varg13, [in] /*Optional*/ any varg14, [in] /*Optional*/ any varg15, [in] /*Optional*/ any varg16, [in] /*Optional*/ any varg17, [in] /*Optional*/ any varg18, [in] /*Optional*/ any varg19, [in] /*Optional*/ any varg20, [in] /*Optional*/ any varg21, [in] /*Optional*/ any varg22, [in] /*Optional*/ any varg23, [in] /*Optional*/ any varg24, [in] /*Optional*/ any varg25, [in] /*Optional*/ any varg26, [in] /*Optional*/ any varg27, [in] /*Optional*/ any varg28, [in] /*Optional*/ any varg29, [in] /*Optional*/ any varg30);
void OnTime( [in] any aEarliestTime, [in] string aFunction, [in] any aLatestTime, [in] any aSchedule );
any CommandBars( [in] any Index );
void Run( [in] string Macro, [in] /*Optional*/ any Arg1, [in] /*Optional*/ any Arg2, [in] /*Optional*/ any Arg3, [in] /*Optional*/ any Arg4, [in] /*Optional*/ any Arg5, [in] /*Optional*/ any Arg6, [in] /*Optional*/ any Arg7, [in] /*Optional*/ any Arg8, [in] /*Optional*/ any Arg9, [in] /*Optional*/ any Arg10, [in] /*Optional*/ any Arg11, [in] /*Optional*/ any Arg12, [in] /*Optional*/ any Arg13, [in] /*Optional*/ any Arg14, [in] /*Optional*/ any Arg15, [in] /*Optional*/ any Arg16, [in] /*Optional*/ any Arg17, [in] /*Optional*/ any Arg18, [in] /*Optional*/ any Arg19, [in] /*Optional*/ any Arg20, [in] /*Optional*/ any Arg21, [in] /*Optional*/ any Arg22, [in] /*Optional*/ any Arg23, [in] /*Optional*/ any Arg24, [in] /*Optional*/ any Arg25, [in] /*Optional*/ any Arg26, [in] /*Optional*/ any Arg27, [in] /*Optional*/ any Arg28, [in] /*Optional*/ any Arg29, [in] /*Optional*/ any Arg30);
void OnTime( [in] any EarliestTime, [in] string Procedure, [in] any LatestTime, [in] any Schedule );
float CentimetersToPoints([in] float Centimeters );
void Undo();
};
......
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2008 by Sun Microsystems, Inc.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: XWorkbook.idl,v $
* $Revision: 1.4 $
*
* This file is part of OpenOffice.org.
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
*
* OpenOffice.org 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 version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
*
************************************************************************/
#ifndef __ooo_vba_appservice_idl__
#define __ooo_vba_appservice_idl__
#ifndef __com_sun_star_uno_XInterface_idl__
#include <com/sun/star/uno/XInterface.idl>
#endif
#ifndef __com_sun_star_uno_XComponentContext_idl__
#include <com/sun/star/uno/XComponentContext.idl>
#endif
#ifndef __com_sun_star_frame_XModel_idl__
#include <com/sun/star/frame/XModel.idl>
#endif
#ifndef __com_sun_star_script_XLibraryContainer_idl__
#include <com/sun/star/script/XLibraryContainer.idl>
#endif
//=============================================================================
module ooo { module vba {
//=============================================================================
interface XHelperInterface;
interface XComponentContext;
interface XModel;
interface XVBAAppService
{
interface ::com::sun::star::uno::XInterface;
any getVBE([in] XHelperInterface xParent, [in] ::com::sun::star::uno::XComponentContext xContext, [in] ::com::sun::star::frame::XModel xModel);
any getVBProjects([in] XHelperInterface xParent, [in] ::com::sun::star::uno::XComponentContext xContext, [in] ::com::sun::star::frame::XModel xModel, [in] ::com::sun::star::script::XLibraryContainer xMacroLibraryContainer, [in] com::sun::star::script::XLibraryContainer xDialogLibraryContainer);
};
}; };
#endif
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2008 by Sun Microsystems, Inc.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: XVBADocService.idl,v $
* $Revision: 1.4 $
*
* This file is part of OpenOffice.org.
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
*
* OpenOffice.org 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 version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
*
************************************************************************/
#ifndef __ooo_vba_socservice_idl__
#define __ooo_vba_appservice_idl__
#ifndef __com_sun_star_uno_XInterface_idl__
#include <com/sun/star/uno/XInterface.idl>
#endif
#ifndef __com_sun_star_uno_XComponentContext_idl__
#include <com/sun/star/uno/XComponentContext.idl>
#endif
#ifndef __com_sun_star_frame_XModel_idl__
#include <com/sun/star/frame/XModel.idl>
#endif
#ifndef __com_sun_star_script_XLibraryContainer_idl__
#include <com/sun/star/script/XLibraryContainer.idl>
#endif
//=============================================================================
module ooo { module vba {
//=============================================================================
interface XHelperInterface;
interface XComponentContext;
interface XModel;
interface XVBADocService
{
interface ::com::sun::star::uno::XInterface;
any getVBProject([in] XHelperInterface xParent, [in] ::com::sun::star::uno::XComponentContext xContext, [in] ::com::sun::star::frame::XModel xModel, [in] ::com::sun::star::script::XLibraryContainer xMacroLibraryContainer, [in] com::sun::star::script::XLibraryContainer xDialogLibraryContainer);
};
}; };
#endif
......@@ -111,7 +111,7 @@ interface XButton : com::sun::star::uno::XInterface
[attribute] long Orientation;
/** Access to text and text formatting of the button caption. */
XCharacters Characters( [in] any aStart, [in] any aLength );
XCharacters Characters( [in] any Start, [in] any Length );
};
//=============================================================================
......
......@@ -81,7 +81,7 @@ interface XGraphicObjects : com::sun::star::uno::XInterface
@return The created graphic object.
*/
any Add( [in] any fLeft, [in] any fTop, [in] any fWidth, [in] any fHeight );
any Add( [in] any Left, [in] any Top, [in] any Width, [in] any Height );
};
//=============================================================================
......@@ -109,7 +109,7 @@ interface XLineObjects : com::sun::star::uno::XInterface
@return The created line object.
*/
any Add( [in] any fX1, [in] any fY1, [in] any fX2, [in] any fY2 );
any Add( [in] any X1, [in] any Y1, [in] any X2, [in] any Y2 );
};
//=============================================================================
......@@ -131,7 +131,7 @@ interface XDrawings : com::sun::star::uno::XInterface
@return The created polygon object.
*/
any Add( [in] any fX1, [in] any fY1, [in] any fX2, [in] any fY2, [in] any bClosed );
any Add( [in] any X1, [in] any Y1, [in] any X2, [in] any Y2, [in] any Closed );
};
//=============================================================================
......
......@@ -73,10 +73,10 @@ interface XApplication
string LibraryPath() raises(com::sun::star::script::BasicErrorException);
string TemplatesPath() raises(com::sun::star::script::BasicErrorException);
string PathSeparator() raises(com::sun::star::script::BasicErrorException);
//any CommandBars( [in] any aIndex );
any Workbooks( [in] any aIndex );
any Worksheets( [in] any aIndex );
any Windows( [in] any aIndex );
//any CommandBars( [in] any Index );
any Workbooks( [in] any Index );
any Worksheets( [in] any Index );
any Windows( [in] any Index );
any WorksheetFunction();
any Evaluate( [in] string Name );
any Dialogs( [in] any DialogIndex );
......@@ -92,7 +92,7 @@ interface XApplication
raises(com::sun::star::script::BasicErrorException);
void Volatile([in] any Volatile);
void DoEvents();
any Caller( [in] any aIndex );
any Caller( [in] any Index );
};
}; }; };
......
......@@ -46,7 +46,7 @@ interface XFormat
interface ::ooo::vba::XHelperInterface;
// void Clear( ) raises ( com::sun::star::script::BasicErrorException );
any Borders( [in] any item )
any Borders( [in] any Item )
raises(com::sun::star::script::BasicErrorException);
XFont Font()
......
......@@ -65,18 +65,18 @@ interface XGlobals: com::sun::star::uno::XInterface
void Calculate() raises(com::sun::star::script::BasicErrorException);
XRange Cells([in] any RowIndex, [in] any ColumnIndex);
XRange Columns([in] any aIndex);
any CommandBars( [in] any aIndex );
XRange Columns([in] any Index);
any CommandBars( [in] any Index );
any Evaluate( [in] string Name );
XRange Intersect([in] XRange Arg1, [in] XRange Arg2, [in] /*Optional*/ any Arg3, [in] /*Optional*/ any Arg4, [in] /*Optional*/ any Arg5, [in] /*Optional*/ any Arg6, [in] /*Optional*/ any Arg7, [in] /*Optional*/ any Arg8, [in] /*Optional*/ any Arg9, [in] /*Optional*/ any Arg10, [in] /*Optional*/ any Arg11, [in] /*Optional*/ any Arg12, [in] /*Optional*/ any Arg13, [in] /*Optional*/ any Arg14, [in] /*Optional*/ any Arg15, [in] /*Optional*/ any Arg16, [in] /*Optional*/ any Arg17, [in] /*Optional*/ any Arg18, [in] /*Optional*/ any Arg19, [in] /*Optional*/ any Arg20, [in] /*Optional*/ any Arg21, [in] /*Optional*/ any Arg22, [in] /*Optional*/ any Arg23, [in] /*Optional*/ any Arg24, [in] /*Optional*/ any Arg25, [in] /*Optional*/ any Arg26, [in] /*Optional*/ any Arg27, [in] /*Optional*/ any Arg28, [in] /*Optional*/ any Arg29, [in] /*Optional*/ any Arg30)
raises(com::sun::star::script::BasicErrorException);
any WorkSheets( [in] any aIndex );
any WorkBooks( [in] any aIndex );
any WorkSheets( [in] any Index );
any WorkBooks( [in] any Index );
any WorksheetFunction();
any Windows( [in] any aIndex );
any Sheets( [in] any aIndex );
any Windows( [in] any Index );
any Sheets( [in] any Index );
any Range( [in] any Cell1, [in] any Cell2 );
XRange Rows([in] any aIndex);
XRange Rows([in] any Index);
any Names( [in] any Index );
XRange Union([in] XRange Arg1, [in] XRange Arg2, [in] /*Optional*/ any Arg3, [in] /*Optional*/ any Arg4, [in] /*Optional*/ any Arg5, [in] /*Optional*/ any Arg6, [in] /*Optional*/ any Arg7, [in] /*Optional*/ any Arg8, [in] /*Optional*/ any Arg9, [in] /*Optional*/ any Arg10, [in] /*Optional*/ any Arg11, [in] /*Optional*/ any Arg12, [in] /*Optional*/ any Arg13, [in] /*Optional*/ any Arg14, [in] /*Optional*/ any Arg15, [in] /*Optional*/ any Arg16, [in] /*Optional*/ any Arg17, [in] /*Optional*/ any Arg18, [in] /*Optional*/ any Arg19, [in] /*Optional*/ any Arg20, [in] /*Optional*/ any Arg21, [in] /*Optional*/ any Arg22, [in] /*Optional*/ any Arg23, [in] /*Optional*/ any Arg24, [in] /*Optional*/ any Arg25, [in] /*Optional*/ any Arg26, [in] /*Optional*/ any Arg27, [in] /*Optional*/ any Arg28, [in] /*Optional*/ any Arg29, [in] /*Optional*/ any Arg30)
raises(com::sun::star::script::BasicErrorException);
......
......@@ -47,11 +47,11 @@ interface XHyperlinks
// ------------------------------------------------------------------------
XHyperlink Add(
[in] any aAnchor,
[in] any aAddress,
[in] any aSubAddress,
[in] any aScreenTip,
[in] any aTextToDisplay );
[in] any Anchor,
[in] any Address,
[in] any SubAddress,
[in] any ScreenTip,
[in] any TextToDisplay );
// ------------------------------------------------------------------------
......
......@@ -113,7 +113,7 @@ interface XRange
void FillRight();
void FillUp();
void FillDown();
XRange Item([in] any row, [in] any column) raises(com::sun::star::script::BasicErrorException);
XRange Item([in] any RowIndex, [in] any ColumnIndex) raises(com::sun::star::script::BasicErrorException);
XRange Offset([in] any RowOffset, [in] any ColumnOffset);
XRange CurrentRegion();
XRange CurrentArray();
......@@ -146,7 +146,7 @@ interface XRange
XCharacters characters([in] any Start, [in] any Length);
void Delete( [in] any Shift );
any Areas( [in] any item );
any Areas( [in] any Item );
any BorderAround( [in] any LineStyle, [in] any Weight, [in] any ColorIndex, [in] any Color );
void AutoFilter([in ] any Field, [in] any Criteria1, [in] any Operator, [in] any Criteria2, [in] any VisibleDropDown);
void Insert([in] any Shift, [in] any CopyOrigin);
......@@ -165,7 +165,7 @@ interface XRange
void RemoveSubtotal() raises ( com::sun::star::script::BasicErrorException );
void Subtotal( [in] long GroupBy, [in] long Function, [in] /*Optional*/ sequence<long> TotalList, [in] /*Optional*/ any Replace, [in] /*Optional*/ any PageBreaks, [in] any SummaryBelowData ) raises ( com::sun::star::script::BasicErrorException );
XRange MergeArea( ) raises ( com::sun::star::script::BasicErrorException );
any Hyperlinks( [in] any aIndex );
any Hyperlinks( [in] any Index );
};
//=============================================================================
......
......@@ -60,7 +60,7 @@ interface XWindow : com::sun::star::uno::XInterface
[attribute, readonly] XRange VisibleRange;
[attribute] any WindowState;
[attribute] any Zoom;
any SelectedSheets( [in] any aIndex );
any SelectedSheets( [in] any Index );
void SmallScroll( [in] any Down, [in] any Up, [in] any ToRight, [in] any ToLeft );
void LargeScroll( [in] any Down, [in] any Up, [in] any ToRight, [in] any ToLeft );
void ScrollWorkbookTabs( [in] any Sheets, [in] any Position );
......
......@@ -52,14 +52,14 @@ interface XWorkbook : com::sun::star::uno::XInterface
[attribute, readonly] string CodeName;
[attribute] boolean PrecisionAsDisplayed;
any Worksheets([in] any sheet);
any Styles([in] any Index );
any Sheets([in] any sheet);
any Windows([in] any index );
any Worksheets( [in] any Index );
any Styles( [in] any Index );
any Sheets( [in] any Index );
any Windows( [in] any Index );
void ResetColors() raises (com::sun::star::script::BasicErrorException);
void Activate();
any Names( [in] any Index );
any Colors([in] any Index) raises (com::sun::star::script::BasicErrorException);
any Colors( [in] any Index ) raises (com::sun::star::script::BasicErrorException);
long FileFormat() raises (com::sun::star::script::BasicErrorException);
void SaveCopyAs( [in] string Filename );
};
......
......@@ -101,26 +101,26 @@ interface XWorksheet
/* The following form control related symbols do not refer to ActiveX form
controls embedded in the sheet, but to the old-style drawing controls
of Excel. This is an Excel-only feature. */
any Buttons( [in] any aIndex );
any CheckBoxes( [in] any aIndex );
any DropDowns( [in] any aIndex );
any GroupBoxes( [in] any aIndex );
any Labels( [in] any aIndex );
any ListBoxes( [in] any aIndex );
any OptionButtons( [in] any aIndex );
any ScrollBars( [in] any aIndex );
any Spinners( [in] any aIndex );
any Buttons( [in] any Index );
any CheckBoxes( [in] any Index );
any DropDowns( [in] any Index );
any GroupBoxes( [in] any Index );
any Labels( [in] any Index );
any ListBoxes( [in] any Index );
any OptionButtons( [in] any Index );
any ScrollBars( [in] any Index );
any Spinners( [in] any Index );
// FIXME: should prolly inherit from Range somehow...
XRange Cells([in] any RowIndex, [in] any ColumnIndex);
XRange Rows([in] any aIndex);
XRange Columns([in] any aIndex);
any Hyperlinks( [in] any aIndex );
XRange Cells( [in] any RowIndex, [in] any ColumnIndex );
XRange Rows( [in] any Index );
XRange Columns( [in] any Index );
any Hyperlinks( [in] any Index );
any Names( [in] any Index );
any Evaluate( [in] string Name);
any Evaluate( [in] string Name );
void setEnableCalculation([in] boolean EnableCalculation) raises(com::sun::star::script::BasicErrorException);
void setEnableCalculation( [in] boolean EnableCalculation ) raises(com::sun::star::script::BasicErrorException);
boolean getEnableCalculation() raises(com::sun::star::script::BasicErrorException);
void PrintOut( [in] any From, [in] any To, [in] any Copies, [in] any Preview, [in] any ActivePrinter, [in] any PrintToFile, [in] any Collate, [in] any PrToFileName, [in] any IgnorePrintAreas );
};
......
......@@ -53,10 +53,10 @@ interface XApplication : com::sun::star::uno::XInterface
[attribute] boolean DisplayAutoCompleteTips;
[attribute] long EnableCancelKey;
any CommandBars( [in] any aIndex );
any Documents( [in] any aIndex );
any Addins( [in] any aIndex );
any Dialogs( [in] any aIndex );
any CommandBars( [in] any Index );
any Documents( [in] any Index );
any Addins( [in] any Index );
any Dialogs( [in] any Index );
float CentimetersToPoints([in] float Centimeters );
};
......
......@@ -51,16 +51,16 @@ interface XDocument : com::sun::star::script::XInvocation
[attribute] any AttachedTemplate;
XRange Range( [in] any Start, [in] any End );
any BuiltInDocumentProperties( [in] any index );
any CustomDocumentProperties( [in] any index );
any Bookmarks( [in] any aIndex );
any Variables( [in] any aIndex );
any Paragraphs( [in] any aIndex );
any Styles( [in] any aIndex );
any Tables( [in] any aIndex );
any Fields( [in] any aIndex );
any Shapes([in] any Index);
any Sections([in] any Index);
any BuiltInDocumentProperties( [in] any Index );
any CustomDocumentProperties( [in] any Index );
any Bookmarks( [in] any Index );
any Variables( [in] any Index );
any Paragraphs( [in] any Index );
any Styles( [in] any Index );
any Tables( [in] any Index );
any Fields( [in] any Index );
any Shapes( [in] any Index );
any Sections( [in] any Index );
void Activate();
any PageSetup();
};
......
......@@ -45,10 +45,10 @@ interface XGlobals : com::sun::star::uno::XInterface
[attribute, readonly] ooo::vba::word::XSystem System;
[attribute, readonly] ooo::vba::word::XOptions Options;
[attribute, readonly] ooo::vba::word::XSelection Selection;
any CommandBars( [in] any aIndex );
any Documents( [in] any aIndex );
any Addins( [in] any aIndex );
any Dialogs( [in] any aIndex );
any CommandBars( [in] any Index );
any Documents( [in] any Index );
any Addins( [in] any Index );
any Dialogs( [in] any Index );
float CentimetersToPoints([in] float Centimeters );
};
......
......@@ -59,8 +59,8 @@ interface XSelection
[attribute] long Start;
[attribute] long End;
any Tables( [in] any aIndex );
any Fields( [in] any aIndex );
any Tables( [in] any Index );
any Fields( [in] any Index );
void TypeText( [in] string Text );
void HomeKey( [in] any Unit, [in] any Extend );
void EndKey( [in] any Unit, [in] any Extend );
......
......@@ -68,7 +68,7 @@ interface XTable
XRange ConvertToText([in] any Separator, [in] any NestedTables)
raises(com::sun::star::script::BasicErrorException);
*/
any Borders( [in] any aIndex );
any Borders( [in] any Index );
};
......
......@@ -43,7 +43,7 @@ interface XTemplate
[attribute, readonly] string Name;
any AutoTextEntries( [in] any aIndex );
any AutoTextEntries( [in] any Index );
};
}; }; };
......
......@@ -46,7 +46,7 @@ interface XWindow : com::sun::star::uno::XInterface
[attribute] any View;
void Activate();
void Close([in] any SaveChanges, [in] any RouteDocument);
any Panes( [in] any aIndex ); // this is a fake api for it seems not support in Write
any Panes( [in] any Index ); // this is a fake api for it seems not support in Write
any ActivePane(); // this is a fake api for it seems not support in Write
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment