LibreOffice LibreOffice 25.2 SDK API Reference

TableValidation.idl
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
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/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
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 .
18 */
19
20
21module com { module sun { module star { module sheet {
22
23
26published service TableValidation
27{
28
29 interface com::sun::star::beans::XPropertySet;
30
31 interface com::sun::star::sheet::XSheetCondition;
32
33
36 [property] com::sun::star::sheet::ValidationType Type;
37
38
42 [property] boolean ShowInputMessage;
43
44
50 [property] string InputTitle;
51
52
58 [property] string InputMessage;
59
60
64 [property] boolean ShowErrorMessage;
65
66
72 [property] string ErrorTitle;
73
74
80 [property] string ErrorMessage;
81
82
85 [property] boolean IgnoreBlankCells;
86
87
93 [property] com::sun::star::sheet::ValidationAlertStyle ErrorAlertStyle;
94
95
100 [optional,property] short ShowList;
101
102
107 [optional, property] boolean IsCaseSensitive;
108
109};
110
111
112}; }; }; };
113
114/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::beans::XPropertySet
provides information about and access to the properties from an implementation.
Definition: XPropertySet.idl:46
com::sun::star::sheet::XSheetCondition
provides methods to access the settings of a condition in a conditional format or data validation.
Definition: XSheetCondition.idl:31
com::sun::star::sheet::ValidationType
ValidationType
used to specify which cell contents are treated as valid.
Definition: ValidationType.idl:27
com::sun::star::sheet::ValidationAlertStyle
ValidationAlertStyle
used to specify how invalid cell contents are treated.
Definition: ValidationAlertStyle.idl:27
com
Definition: Ambiguous.idl:20
com::sun::star::sheet::TableValidation
represents the data validation settings for a cell or cell range.
Definition: TableValidation.idl:27
com::sun::star::sheet::TableValidation::Type
com::sun::star::sheet::ValidationType Type
specifies the type of validation.
Definition: TableValidation.idl:31
com::sun::star::sheet::TableValidation::ShowList
short ShowList
specifies if the list of possible values should be shown on the cell and how.
Definition: TableValidation.idl:100
com::sun::star::sheet::TableValidation::InputTitle
string InputTitle
specifies the title of the window showing the input message.
Definition: TableValidation.idl:50
com::sun::star::sheet::TableValidation::ErrorMessage
string ErrorMessage
specifies the text of the error message.
Definition: TableValidation.idl:80
com::sun::star::sheet::TableValidation::IgnoreBlankCells
boolean IgnoreBlankCells
specifies if blank cells should be allowed.
Definition: TableValidation.idl:85
com::sun::star::sheet::TableValidation::ShowInputMessage
boolean ShowInputMessage
specifies if an input message is shown when the cursor is in a cell with these validation settings.
Definition: TableValidation.idl:42
com::sun::star::sheet::TableValidation::InputMessage
string InputMessage
specifies the text of the input message.
Definition: TableValidation.idl:58
com::sun::star::sheet::TableValidation::IsCaseSensitive
boolean IsCaseSensitive
specifies if validation is case sensitive.
Definition: TableValidation.idl:107
com::sun::star::sheet::TableValidation::ErrorTitle
string ErrorTitle
specifies the title of the window showing the error message.
Definition: TableValidation.idl:72
com::sun::star::sheet::TableValidation::ErrorAlertStyle
com::sun::star::sheet::ValidationAlertStyle ErrorAlertStyle
specifies the style of the error message.
Definition: TableValidation.idl:93
com::sun::star::sheet::TableValidation::ShowErrorMessage
boolean ShowErrorMessage
specifies if an error message is displayed when invalid data is entered.
Definition: TableValidation.idl:64