Overview | Module | Use | Devguide | Index

Services' Summary | Interfaces' Summary | Properties' Summary | Services' Details | Interfaces' Details | Properties' Details

:: com :: sun :: star :: packages ::
service PackageStream
Description This service represents a stream contained within a Package. Instances of this class can only be constructed by the implementation of the Package service.

Exported Interfaces - Summary
::com::sun::star::container::XNamed | This sets or gets the name of the Stream as contained within its parent PackageFolder.
::com::sun::star::container::XChild | getParent returns the PackageFolder that the PackageStream is in. This may be the root PackageFolder. setParent moves a PackageStream.
::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.
::com::sun::star::beans::XPropertySet | This interface provides access to the properties of the package entry. Currently, this supports three entries: 1. Size, describing the uncompressed size of PackageStream. 2. MediaType, a string describing the MIME type of the stream. 3. Compress, a boolean flag to specify whether or not to compress this PackageStream.

Exported Interfaces - Details
::com::sun::star::container::XNamed
Description This sets or gets the name of the Stream as contained within its parent PackageFolder.
::com::sun::star::container::XChild
Description getParent returns the PackageFolder that the PackageStream is in. This may be the root PackageFolder. setParent moves a PackageStream.
::com::sun::star::io::XActiveDataSink
Description 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.
::com::sun::star::beans::XPropertySet
Description This interface provides access to the properties of the package entry. Currently, this supports three entries: 1. Size, describing the uncompressed size of PackageStream. 2. MediaType, a string describing the MIME type of the stream. 3. Compress, a boolean flag to specify whether or not to compress this PackageStream.

Top of Page

Copyright © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.