LibreOffice
LibreOffice 4.2 SDK API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
XPluginInstancePeer.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_mozilla_XPluginInstancePeer_idl__
20 #define __com_sun_star_mozilla_XPluginInstancePeer_idl__
21 
23 
25 
27 
29 
30 
31  module com { module sun { module star { module mozilla {
32 
33 
34  published interface XPluginInstanceNotifySink;
35 
36 
41 {
42 
50  boolean setWindowSize( [in] long width, [in] long height );
51 
52 
57  void showStatusMessage( [in] string message );
58 
59 
67  void enableScripting( [in] com::sun::star::uno::XInterface document, [in] com::sun::star::lang::XMultiServiceFactory servicemanager );
68 
69 
78  void newStream(
79  [in] string MIMEDesc,
80  [in] string target,
82  );
83 
84 
95  void getURL (
96  [in] string aURL,
97  [in] string target,
98  [in] string alternativeHost,
99  [in] string referrer,
100  [in] XPluginInstanceNotifySink sink
101  );
102 
103 
116  void postURL (
117  [in] string aURL,
118  [in] com::sun::star::io::XInputStream postData,
119  [in] string target,
120  [in] string alternativeHost,
121  [in] string referrer,
122  [in] com::sun::star::io::XInputStream postHeaders,
123  [in] XPluginInstanceNotifySink sink
124  );
125 };
126 
127 
128 }; }; }; };
129 
130 #endif
131 
132 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
has to be implemented if the class should be able to write into an output stream. ...
Definition: XActiveDataSource.idl:34
Allows creating instances specified by a string name.
Definition: XMultiServiceFactory.idl:39
Allows to communicate with a plugin from the office side.
Definition: XPluginInstancePeer.idl:40
This is the basic interface to read data from a stream.
Definition: XInputStream.idl:37
Allows a plugin to get notification from office side about status of new document opening...
Definition: XPluginInstanceNotifySink.idl:32
base interface of all UNO interfaces
Definition: XInterface.idl:47