LibreOffice
LibreOffice 4.2 SDK API Reference
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
com
sun
star
plugin
XPluginContext.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_plugin_XPluginContext_idl__
20
#define __com_sun_star_plugin_XPluginContext_idl__
21
22
#include <
com/sun/star/uno/XInterface.idl
>
23
24
#include <
com/sun/star/plugin/XPlugin.idl
>
25
26
#include <
com/sun/star/plugin/PluginVariable.idl
>
27
28
#include <
com/sun/star/plugin/PluginException.idl
>
29
30
#include <
com/sun/star/lang/XEventListener.idl
>
31
32
#include <
com/sun/star/io/XActiveDataSource.idl
>
33
34
35
36
module com { module sun { module star { module plugin {
37
38
42
published
interface
XPluginContext
:
com::sun::star::uno::XInterface
43
{
53
string
getValue( [in]
com::sun::star::plugin::XPlugin
xPlugin,
54
[in]
com::sun::star::plugin::PluginVariable
aVariable )
55
raises(
com::sun::star::plugin::PluginException
);
56
68
void
getURLNotify( [in]
com::sun::star::plugin::XPlugin
plugin,
69
[in]
string
url,
70
[in]
string
target,
71
[in]
com::sun::star::lang::XEventListener
listener )
72
raises(
com::sun::star::plugin::PluginException
);
73
83
void
getURL( [in]
com::sun::star::plugin::XPlugin
plugin,
84
[in]
string
url,
85
[in]
string
target )
86
raises(
com::sun::star::plugin::PluginException
);
87
104
void
postURLNotify( [in]
com::sun::star::plugin::XPlugin
plugin,
105
[in]
string
url,
106
[in]
string
target,
107
[in] sequence<byte> buf,
108
[in]
boolean
file,
109
[in]
com::sun::star::lang::XEventListener
listener )
110
raises(
com::sun::star::plugin::PluginException
);
111
125
void
postURL( [in]
com::sun::star::plugin::XPlugin
plugin,
126
[in]
string
url,
127
[in]
string
target,
128
[in] sequence<byte> buf,
129
[in]
boolean
file )
130
raises(
com::sun::star::plugin::PluginException
);
131
144
void
newStream( [in]
com::sun::star::plugin::XPlugin
plugin,
145
[in]
string
mimetype,
146
[in]
string
target,
147
[in]
com::sun::star::io::XActiveDataSource
aSource )
148
raises(
com::sun::star::plugin::PluginException
);
149
157
void
displayStatusText( [in]
com::sun::star::plugin::XPlugin
plugin,
158
[in]
string
message )
159
raises(
com::sun::star::plugin::PluginException
);
160
168
string
getUserAgent( [in]
com::sun::star::plugin::XPlugin
plugin )
169
raises(
com::sun::star::plugin::PluginException
);
170
};
171
172
173
}; }; }; };
174
175
#endif
176
177
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::io::XActiveDataSource
has to be implemented if the class should be able to write into an output stream. ...
Definition:
XActiveDataSource.idl:34
PluginVariable.idl
PluginException.idl
com::sun::star::lang::XEventListener
base interface for all event listeners interfaces.
Definition:
XEventListener.idl:32
com::sun::star::plugin::XPluginContext
Interface receiving calls from a plugin library.
Definition:
XPluginContext.idl:42
XInterface.idl
com::sun::star::plugin::PluginVariable
PluginVariable
Describes the possible parameters to XPluginContext::getValue.
Definition:
PluginVariable.idl:30
com::sun::star::plugin::XPlugin
This interface allows the container, e.g.
Definition:
XPlugin.idl:35
XEventListener.idl
XPlugin.idl
com::sun::star::plugin::PluginException
Indicates that an error occurred in an NPN or NPP function call.
Definition:
PluginException.idl:35
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition:
XInterface.idl:47
XActiveDataSource.idl
Generated by
1.8.6