LibreOffice LibreOffice 5.3 SDK API Reference

XObjectInspectorUI.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_inspection_XObjectInspectorUI_idl__
20 #define __com_sun_star_inspection_XObjectInspectorUI_idl__
21
22 #include <com/sun/star/inspection/XPropertyControl.idl>
23 #include <com/sun/star/beans/Optional.idl>
24 #include <com/sun/star/container/NoSuchElementException.idl>
25 #include <com/sun/star/lang/NoSupportException.idl>
26
27 module com { module sun { module star { module inspection {
28
29 interface XPropertyControlObserver;
30
44 interface XObjectInspectorUI
45 {
56 void enablePropertyUI( [in] string PropertyName, [in] boolean Enable );
57
77 void enablePropertyUIElements(
78 [in] string PropertyName,
79 [in] short Elements,
80 [in] boolean Enable
81 );
82
98 void rebuildPropertyUI( [in] string PropertyName );
99
105 void showPropertyUI( [in] string PropertyName );
106
112 void hidePropertyUI( [in] string PropertyName );
113
118 void showCategory( [in] string Category, [in] boolean Show );
119
129 XPropertyControl
130 getPropertyControl( [in] string PropertyName );
131
141 void registerControlObserver( [in] XPropertyControlObserver Observer );
142
149 void revokeControlObserver( [in] XPropertyControlObserver Observer );
150
160 void setHelpSectionText( [in] string HelpText )
161 raises ( ::com::sun::star::lang::NoSupportException );
162 };
163
164
165 }; }; }; };
166
167 #endif
168
169 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
NoSuchElementException.idl
com
Definition: Ambiguous.idl:22
Optional.idl
com::sun::star::inspection::XPropertyControlObserver
specifies an interface for components to observer certain aspects of an XPropertyControl.
Definition: XPropertyControlObserver.idl:36
XPropertyControl.idl
com::sun::star::lang::NoSupportException
This exception is thrown when a feature of an interface is not supported.
Definition: NoSupportException.idl:38
com::sun::star::inspection::XPropertyControl
defines the interface for a single control in an ObjectInspector
Definition: XPropertyControl.idl:34
com::sun::star::inspection::XObjectInspectorUI
grants access to certain aspects of the user interface of an object inspector
Definition: XObjectInspectorUI.idl:44
NoSupportException.idl