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 .
21 module com
{ module sun
{ module star
{ module sheet
{
24 /** represents the data validation settings for a cell or cell range.
26 published service TableValidation
29 interface com
::sun
::star
::beans
::XPropertySet
;
31 interface com
::sun
::star
::sheet
::XSheetCondition
;
34 /** specifies the type of validation.
36 [property
] com
::sun
::star
::sheet
::ValidationType Type
;
39 /** specifies if an input message is shown when the cursor is in a
40 cell with these validation settings.
42 [property
] boolean ShowInputMessage
;
45 /** specifies the title of the window showing the input message.
47 <p>This is only used if TableValidation::ShowInputMessage
50 [property
] string InputTitle
;
53 /** specifies the text of the input message.
55 <p>This is only used if TableValidation::ShowInputMessage
58 [property
] string InputMessage
;
61 /** specifies if an error message is displayed when invalid data
64 [property
] boolean ShowErrorMessage
;
67 /** specifies the title of the window showing the error message.
69 <p>This is only used if TableValidation::ShowErrorMessage
72 [property
] string ErrorTitle
;
75 /** specifies the text of the error message.
77 <p>This is only used if TableValidation::ShowErrorMessage
80 [property
] string ErrorMessage
;
83 /** specifies if blank cells should be allowed.
85 [property
] boolean IgnoreBlankCells
;
88 /** specifies the style of the error message.
90 <p>This is used only if TableValidation::ShowErrorMessage
93 [property
] com
::sun
::star
::sheet
::ValidationAlertStyle ErrorAlertStyle
;
96 /** specifies if the list of possible values should be shown on the cell and how.
98 See also TableValidationVisibility
100 [optional,property
] short ShowList
;
107 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */