LibreOffice LibreOffice 25.2 SDK API Reference

XDispatch.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
21
22module com { module sun { module star { module frame {
23
47published interface XDispatch: com::sun::star::uno::XInterface
48{
100 void dispatch(
101 [in] com::sun::star::util::URL URL,
102 [in] sequence<com::sun::star::beans::PropertyValue> Arguments);
103
123 void addStatusListener(
124 [in] XStatusListener Control,
125 [in] com::sun::star::util::URL URL);
126
139 void removeStatusListener(
140 [in] XStatusListener Control,
141 [in] com::sun::star::util::URL URL);
142};
143
144
145}; }; }; };
146
147/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::frame::XDispatch
serves state information of objects which can be connected to controls (e.g.
Definition: XDispatch.idl:48
com::sun::star::frame::XDispatch::dispatch
void dispatch([in] com::sun::star::util::URL URL, [in] sequence< com::sun::star::beans::PropertyValue > Arguments)
dispatches (executes) a URL
com::sun::star::frame::XDispatch::removeStatusListener
void removeStatusListener([in] XStatusListener Control, [in] com::sun::star::util::URL URL)
unregisters a listener from a control.
com::sun::star::frame::XDispatch::addStatusListener
void addStatusListener([in] XStatusListener Control, [in] com::sun::star::util::URL URL)
registers a listener of a control for a specific URL at this object to receive status events.
com::sun::star::frame::XStatusListener
makes it possible to receive events when the state of a feature changes.
Definition: XStatusListener.idl:36
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition: XInterface.idl:46
com::sun::star::form::URL
@ URL
When the button is clicked, a URL set for the button is opened.
Definition: FormButtonType.idl:50
com
Definition: Ambiguous.idl:20
com::sun::star::util::URL
represents the structure of a Uniform Resource Locator.
Definition: URL.idl:42