LibreOffice LibreOffice 25.2 SDK API Reference

XValueBinding.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 form { module binding {
22
23
26 interface XValueBinding : com::sun::star::uno::XInterface
27{
32 sequence< type >
33 getSupportedValueTypes( );
34
42 boolean supportsType( [in] type aType );
43
51 any getValue( [in] type aType )
52 raises( IncompatibleTypesException );
53
69 void setValue( [in] any aValue )
70 raises( IncompatibleTypesException, InvalidBindingStateException, com::sun::star::lang::NoSupportException );
71};
72
73
74}; }; }; }; };
75
76/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::form::binding::IncompatibleTypesException
thrown to indicate that the types of an XValueBinding and an XBindableValue are incompatible
Definition: IncompatibleTypesException.idl:29
com::sun::star::form::binding::InvalidBindingStateException
thrown when an XValueBinding cannot perform a requested operation due to an invalid state.
Definition: InvalidBindingStateException.idl:29
com::sun::star::lang::NoSupportException
This exception is thrown when a feature of an interface is not supported.
Definition: NoSupportException.idl:35
com::sun::star::form::binding::XValueBinding
specifies a binding to a value which can be read and written.
Definition: XValueBinding.idl:27
com::sun::star::form::binding::XValueBinding::getSupportedValueTypes
sequence< type > getSupportedValueTypes()
determines the types which are supported by this binding for value exchange
com::sun::star::form::binding::XValueBinding::getValue
any getValue([in] type aType)
retrieves the current value
com::sun::star::form::binding::XValueBinding::supportsType
boolean supportsType([in] type aType)
determines whether a given type is supported by this binding for value exchange
com::sun::star::form::binding::XValueBinding::setValue
void setValue([in] any aValue)
sets the current value
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition: XInterface.idl:46
com
Definition: Ambiguous.idl:20