LibreOffice
LibreOffice 4.3 SDK API Reference
Public Member Functions | List of all members
XPlugin Interface Referencepublished

This interface allows the container, e.g. More...

import"XPlugin.idl";

Inheritance diagram for XPlugin:
XInterface

Public Member Functions

boolean provideNewStream ([in] string mimetype, [in] com::sun::star::io::XActiveDataSource aSource, [in] string url, [in] long length, [in] long lastmodified, [in] boolean isfile) raises ( com::sun::star::plugin::PluginException )
 Tells the plugin instance that a new stream is requested. More...
 
- Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object. More...
 
void acquire ()
 increases the reference counter by one. More...
 
void release ()
 decreases the reference counter by one. More...
 

Detailed Description

This interface allows the container, e.g.

document to control the plugin.

Member Function Documentation

boolean provideNewStream ( [in] string  mimetype,
[in] com::sun::star::io::XActiveDataSource  aSource,
[in] string  url,
[in] long  length,
[in] long  lastmodified,
[in] boolean  isfile 
)
raises (com::sun::star::plugin::PluginException
)

Tells the plugin instance that a new stream is requested.

Parameters
mimetypemime type of provided data
aSourcedata source
urlurl
lengthnumber of bytes (if file)
lastmodifiedtime stamp of last modification (if file)
isfilewhether data comes from a file
Returns
true upon success

The documentation for this interface was generated from the following file: