LibreOffice: com/sun/star/beans/XIntrospectionAccess.idl Source File

LibreOffice LibreOffice 7.2 SDK API Reference

XIntrospectionAccess.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#ifndef __com_sun_star_beans_XIntrospectionAccess_idl__
20#define __com_sun_star_beans_XIntrospectionAccess_idl__
21
22#include <com/sun/star/uno/XInterface.idl>
23
24#include <com/sun/star/beans/Property.idl>
25
26#include <com/sun/star/container/NoSuchElementException.idl>
27
28#include <com/sun/star/reflection/XIdlMethod.idl>
29
30#include <com/sun/star/lang/NoSuchMethodException.idl>
31
32#include <com/sun/star/reflection/XIdlClass.idl>
33
34#include <com/sun/star/beans/IllegalTypeException.idl>
35
36
37 module com { module sun { module star { module beans {
38
39
61published interface XIntrospectionAccess: com::sun::star::uno::XInterface
62{
81 long getSuppliedMethodConcepts();
82
99 long getSuppliedPropertyConcepts();
100
123 com::sun::star::beans::Property getProperty( [in] string aName,
124 [in] long nPropertyConcepts )
125 raises( com::sun::star::container::NoSuchElementException );
126
143 boolean hasProperty( [in] string aName,
144 [in] long nPropertyConcepts );
145
157 sequence<com::sun::star::beans::Property> getProperties(
158 [in] long nPropertyConcepts );
159
183 com::sun::star::reflection::XIdlMethod getMethod( [in] string aName,
184 [in] long nMethodConcepts )
185 raises( com::sun::star::lang::NoSuchMethodException );
186
203 boolean hasMethod( [in] string aName,
204 [in] long nMethodConcepts );
205
217 sequence<com::sun::star::reflection::XIdlMethod> getMethods(
218 [in] long nMethodConcepts );
219
233 sequence<type> getSupportedListeners();
234
268 com::sun::star::uno::XInterface queryAdapter( [in] type aInterfaceType )
269 raises( com::sun::star::beans::IllegalTypeException );
270
271};
272
273
274}; }; }; };
275
276#endif
277
278/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
IllegalTypeException.idl
NoSuchElementException.idl
NoSuchMethodException.idl
Property.idl
XIdlClass.idl
XIdlMethod.idl
XInterface.idl
com::sun::star::beans::IllegalTypeException
This exception is thrown to indicate the use of a type which is not appropriate.
Definition: IllegalTypeException.idl:36
com::sun::star::container::NoSuchElementException
is thrown by child access methods of collections, if the addressed child does not exist.
Definition: NoSuchElementException.idl:35
com::sun::star::lang::NoSuchMethodException
signals that the interface does not have a method of a specified name.
Definition: NoSuchMethodException.idl:31
com::sun::star::beans::XIntrospectionAccess
represents the result of an introspection operation done by the inspect method of XIntrospection.
Definition: XIntrospectionAccess.idl:62
com::sun::star::beans::XIntrospectionAccess::getSuppliedMethodConcepts
long getSuppliedMethodConcepts()
returns information about which method concepts described in the MethodConcept constants group are su...
com::sun::star::beans::XIntrospectionAccess::hasMethod
boolean hasMethod([in] string aName, [in] long nMethodConcepts)
allows to ask if a method with the demanded name exists and if it accords to one of the demanded Meth...
com::sun::star::beans::XIntrospectionAccess::getMethods
sequence< com::sun::star::reflection::XIdlMethod > getMethods([in] long nMethodConcepts)
returns a sequence of methods of the introspected object.
com::sun::star::beans::XIntrospectionAccess::queryAdapter
com::sun::star::uno::XInterface queryAdapter([in] type aInterfaceType)
creates an adapter that implements an interface with the specified type.
com::sun::star::beans::XIntrospectionAccess::getProperties
sequence< com::sun::star::beans::Property > getProperties([in] long nPropertyConcepts)
returns a sequence of properties of the introspected object
com::sun::star::beans::XIntrospectionAccess::getSuppliedPropertyConcepts
long getSuppliedPropertyConcepts()
returns information about which property concepts described in the PropertyConcept constants group ar...
com::sun::star::beans::XIntrospectionAccess::getMethod
com::sun::star::reflection::XIdlMethod getMethod([in] string aName, [in] long nMethodConcepts)
returns information about a method if a method with the demanded name exists and if it accords to one...
com::sun::star::beans::XIntrospectionAccess::getProperty
com::sun::star::beans::Property getProperty([in] string aName, [in] long nPropertyConcepts)
returns information about a property if a property with the demanded name exists and if it accords to...
com::sun::star::beans::XIntrospectionAccess::getSupportedListeners
sequence< type > getSupportedListeners()
returns the listener types supported by the introspected object.
com::sun::star::beans::XIntrospectionAccess::hasProperty
boolean hasProperty([in] string aName, [in] long nPropertyConcepts)
allows to ask if a property with the demanded name exists and if it accords to one of the demanded Pr...
com::sun::star::reflection::XIdlMethod
Reflects an IDL interface method.
Definition: XIdlMethod.idl:42
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition: XInterface.idl:48
com
Definition: Accessible.idl:22
com::sun::star::beans::Property
This structure describes a property.
Definition: Property.idl:38