(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: com :: sun :: star :: plugin ::

interface XPlugin
Description
This interface allows the container, e.g. document to control the plugin.

Methods' Summary
provideNewStream Tells the plugin instance that a new stream is requested.  
Methods' Details
provideNewStream
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( PluginException );

Description
Tells the plugin instance that a new stream is requested.
Parameter mimetype
mime type of provided data
Parameter aSource
data source
Parameter url
url
Parameter length
number of bytes (if file)
Parameter lastmodified
time stamp of last modification (if file)
Parameter isfile
whether data comes from a file
Returns
true upon success
Top of Page

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.