Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star ::

module packages
Description
Package file format interfaces.

Nested Modules
manifest
zip
Services
Package The Package is a service that provides access to a set of files and folders contained within a Package. One instance of the Package service exists for each Package file to be manipulated. Each instance is created with an argument which specifies the URL of the Package file to which the user requires access. If the instance is created without arguments, it must be initialised with the ::com::sun::star::lang::XInitialization service methods before it is a valid instance of the service.
PackageFolder The PackageFolder service represents a single folder or directory within a Package. Instances of this service can only be constructed by an implementation of the Package service and not via the service manager.
PackageFolderEnumeration This service provides an iterator over the contents of a given instance of a PackageFolder. This provides a "snapshot" of the contents of the PackageFolder at the time of construction. It is the responsibility of the caller to ensure that any given member of the enumeration refers to a valid PackageStream or PackageFolder.
PackageStream This service represents a stream contained within a Package. Instances of this class can only be constructed by the implementation of the Package service.
Interfaces
XDataSinkEncrSupport Allows to get access to the stream of a PackageStream.
Exceptions
EncryptionNotAllowedException This exception can be thrown in case object is encrypted when it is not allowed
NoEncryptionException This exception can be thrown in case object is not encrypted one as expected.
NoRawFormatException This exception can be thrown in case provided stream is not a raw stream representing encrypted package stream.
WrongPasswordException This exception can be thrown in case wrong password was provided.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.