office-gobmx/offapi/com/sun/star/sheet/TableValidation.idl

152 lines
4.8 KiB
Text
Raw Normal View History

2000-11-06 02:23:00 -06:00
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
2000-11-06 02:23:00 -06:00
*
* Copyright 2008 by Sun Microsystems, Inc.
2000-11-06 02:23:00 -06:00
*
* OpenOffice.org - a multi-platform office productivity suite
2000-11-06 02:23:00 -06:00
*
* $RCSfile: TableValidation.idl,v $
* $Revision: 1.9 $
2000-11-06 02:23:00 -06:00
*
* This file is part of OpenOffice.org.
2000-11-06 02:23:00 -06:00
*
* 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.
2000-11-06 02:23:00 -06:00
*
* 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).
2000-11-06 02:23:00 -06:00
*
* 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.
2000-11-06 02:23:00 -06:00
*
************************************************************************/
2002-10-03 07:11:20 -05:00
2000-11-06 02:23:00 -06:00
#ifndef __com_sun_star_sheet_TableValidation_idl__
#define __com_sun_star_sheet_TableValidation_idl__
#ifndef __com_sun_star_sheet_XSheetCondition_idl__
#include <com/sun/star/sheet/XSheetCondition.idl>
#endif
#ifndef __com_sun_star_beans_XPropertySet_idl__
#include <com/sun/star/beans/XPropertySet.idl>
#endif
#ifndef __com_sun_star_sheet_ValidationType_idl__
#include <com/sun/star/sheet/ValidationType.idl>
#endif
#ifndef __com_sun_star_sheet_ValidationAlertStyle_idl__
#include <com/sun/star/sheet/ValidationAlertStyle.idl>
#endif
//=============================================================================
2002-10-03 07:11:20 -05:00
module com { module sun { module star { module sheet {
2000-11-06 02:23:00 -06:00
//=============================================================================
2002-10-03 07:11:20 -05:00
/** represents the data validation settings for a cell or cell range.
2000-11-06 02:23:00 -06:00
*/
published service TableValidation
2000-11-06 02:23:00 -06:00
{
interface com::sun::star::beans::XPropertySet;
2002-10-03 07:11:20 -05:00
interface com::sun::star::sheet::XSheetCondition;
//=========================================================================
2000-11-06 02:23:00 -06:00
/** specifies the type of validation.
*/
[property] com::sun::star::sheet::ValidationType Type;
//-------------------------------------------------------------------------
2002-10-03 07:11:20 -05:00
/** specifies if an input message is shown when the cursor is in a
cell with these validation settings.
2000-11-06 02:23:00 -06:00
*/
[property] boolean ShowInputMessage;
//-------------------------------------------------------------------------
2002-10-03 07:11:20 -05:00
/** specifies the title of the window showing the input message.
2000-11-06 02:23:00 -06:00
<p>This is only used if <member>TableValidation::ShowInputMessage</member>
2002-10-03 07:11:20 -05:00
is set to <TRUE/>.</p>
2000-11-06 02:23:00 -06:00
*/
[property] string InputTitle;
//-------------------------------------------------------------------------
/** specifies the text of the input message.
<p>This is only used if <member>TableValidation::ShowInputMessage</member>
2002-10-03 07:11:20 -05:00
is set to <TRUE/>.</p>
2000-11-06 02:23:00 -06:00
*/
[property] string InputMessage;
//-------------------------------------------------------------------------
2002-10-03 07:11:20 -05:00
/** specifies if an error message is displayed when invalid data
is entered.
2000-11-06 02:23:00 -06:00
*/
[property] boolean ShowErrorMessage;
//-------------------------------------------------------------------------
2002-10-03 07:11:20 -05:00
/** specifies the title of the window showing the error message.
2000-11-06 02:23:00 -06:00
<p>This is only used if <member>TableValidation::ShowErrorMessage</member>
2002-10-03 07:11:20 -05:00
is set to <TRUE/>.</p>
2000-11-06 02:23:00 -06:00
*/
[property] string ErrorTitle;
//-------------------------------------------------------------------------
/** specifies the text of the error message.
<p>This is only used if <member>TableValidation::ShowErrorMessage</member>
2002-10-03 07:11:20 -05:00
is set to <TRUE/>.</p>
2000-11-06 02:23:00 -06:00
*/
[property] string ErrorMessage;
//-------------------------------------------------------------------------
/** specifies if blank cells should be allowed.
*/
[property] boolean IgnoreBlankCells;
//-------------------------------------------------------------------------
/** specifies the style of the error message.
<p>This is used only if <member>TableValidation::ShowErrorMessage</member>
2002-10-03 07:11:20 -05:00
is set to <TRUE/>.</p>
2000-11-06 02:23:00 -06:00
*/
[property] com::sun::star::sheet::ValidationAlertStyle ErrorAlertStyle;
//-------------------------------------------------------------------------
/** specifies if the list of possible values should be shown on the cell and how.
See also <type>TableValidationVisibility</type>
*/
[optional,property] short ShowList;
2000-11-06 02:23:00 -06:00
};
//=============================================================================
}; }; }; };
#endif
2002-10-03 07:11:20 -05:00