1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #ifndef __com_sun_star_sheet_TableValidation_idl__
21 #define __com_sun_star_sheet_TableValidation_idl__
23 #include
<com
/sun
/star
/sheet
/XSheetCondition.idl
>
24 #include
<com
/sun
/star
/beans
/XPropertySet.idl
>
25 #include
<com
/sun
/star
/sheet
/ValidationType.idl
>
26 #include
<com
/sun
/star
/sheet
/ValidationAlertStyle.idl
>
29 module com
{ module sun
{ module star
{ module sheet
{
32 /** represents the data validation settings for a cell or cell range.
34 published service TableValidation
37 interface com
::sun
::star
::beans
::XPropertySet
;
39 interface com
::sun
::star
::sheet
::XSheetCondition
;
42 /** specifies the type of validation.
44 [property
] com
::sun
::star
::sheet
::ValidationType Type
;
47 /** specifies if an input message is shown when the cursor is in a
48 cell with these validation settings.
50 [property
] boolean ShowInputMessage
;
53 /** specifies the title of the window showing the input message.
55 <p>This is only used if TableValidation::ShowInputMessage
58 [property
] string InputTitle
;
61 /** specifies the text of the input message.
63 <p>This is only used if TableValidation::ShowInputMessage
66 [property
] string InputMessage
;
69 /** specifies if an error message is displayed when invalid data
72 [property
] boolean ShowErrorMessage
;
75 /** specifies the title of the window showing the error message.
77 <p>This is only used if TableValidation::ShowErrorMessage
80 [property
] string ErrorTitle
;
83 /** specifies the text of the error message.
85 <p>This is only used if TableValidation::ShowErrorMessage
88 [property
] string ErrorMessage
;
91 /** specifies if blank cells should be allowed.
93 [property
] boolean IgnoreBlankCells
;
96 /** specifies the style of the error message.
98 <p>This is used only if TableValidation::ShowErrorMessage
101 [property
] com
::sun
::star
::sheet
::ValidationAlertStyle ErrorAlertStyle
;
104 /** specifies if the list of possible values should be shown on the cell and how.
106 See also TableValidationVisibility
108 [optional,property
] short ShowList
;
117 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */