LibreOffice
LibreOffice 24.2 SDK API Reference
|
This service represents a stream contained within a Package. More...
import <PackageStream.idl;
Exported Interfaces | |
interface | com::sun::star::container::XNamed |
This sets or gets the name of the Stream as contained within its parent PackageFolder. | |
interface | com::sun::star::container::XChild |
getParent returns the PackageFolder that the PackageStream is in. | |
interface | com::sun::star::io::XActiveDataSink |
getInputStream provides read access to the contents of this PackageStream. | |
interface | com::sun::star::beans::XPropertySet |
This interface provides access to the properties of the package entry. | |
This service represents a stream contained within a Package.
Instances of this class can only be constructed by the implementation of the Package service.
interface com::sun::star::beans::XPropertySet |
This interface provides access to the properties of the package entry.
Currently, this supports three entries:
interface com::sun::star::container::XChild |
getParent returns the PackageFolder that the PackageStream is in.
This may be the root PackageFolder. setParent moves a PackageStream.
interface com::sun::star::container::XNamed |
This sets or gets the name of the Stream as contained within its parent PackageFolder.
interface com::sun::star::io::XActiveDataSink |
getInputStream provides read access to the contents of this PackageStream.
If this PackageStream was a member of the Package when it was instantiated, the XInputStream returned is a Reference to the stream of the whole Package, with limits set on where it can seek to and read from. If the PackageStream is a new addition to the package, then getInputStream returns a Reference to the XInputStream which was specified with setInputStream.
setInputStream - provides a stream to the data contained in the PackageStream this must be specified for new PackageStreams added to the Package. If this is called more than once, it will replace the existing stream.