|
LibreOffice Module unotools (master) 1
|
#include <ZipPackageHelper.hxx>
Public Member Functions | |
| ZipPackageHelper (const css::uno::Reference< css::uno::XComponentContext > &rxContext, const OUString &sPackageURL) | |
| void | savePackage () |
| void | addFile (css::uno::Reference< css::uno::XInterface > const &xRootFolder, const OUString &rSourceFile) |
| css::uno::Reference< css::uno::XInterface > | addFolder (css::uno::Reference< css::uno::XInterface > const &xRootFolder, const OUString &rName) |
| void | addFolderWithContent (css::uno::Reference< css::uno::XInterface > const &xRootFolder, const OUString &rDirURL) |
| css::uno::Reference< css::uno::XInterface > & | getRootFolder () |
Private Attributes | |
| css::uno::Reference< css::uno::XComponentContext > | mxContext |
| css::uno::Reference< css::container::XHierarchicalNameAccess > | mxHNameAccess |
| css::uno::Reference< css::lang::XSingleServiceFactory > | mxFactory |
| css::uno::Reference< css::uno::XInterface > | mxRootFolder |
Definition at line 32 of file ZipPackageHelper.hxx.
| ZipPackageHelper::ZipPackageHelper | ( | const css::uno::Reference< css::uno::XComponentContext > & | rxContext, |
| const OUString & | sPackageURL | ||
| ) |
Definition at line 54 of file ZipPackageHelper.cxx.
References aArguments, Any, mxContext, mxContext, mxFactory, mxHNameAccess, mxRootFolder, xFactory, and ZIP_STORAGE_FORMAT_STRING.
| void ZipPackageHelper::addFile | ( | css::uno::Reference< css::uno::XInterface > const & | xRootFolder, |
| const OUString & | rSourceFile | ||
| ) |
| css::uno::Exception |
Definition at line 148 of file ZipPackageHelper.cxx.
References aName, Any, aURL, encodeZipUri(), mxFactory, and xSink.
Referenced by addFolderWithContent().
| Reference< XInterface > ZipPackageHelper::addFolder | ( | css::uno::Reference< css::uno::XInterface > const & | xRootFolder, |
| const OUString & | rName | ||
| ) |
| css::uno::Exception |
Definition at line 92 of file ZipPackageHelper.cxx.
References aName, encodeZipUri(), and mxFactory.
Referenced by addFolderWithContent().
| void ZipPackageHelper::addFolderWithContent | ( | css::uno::Reference< css::uno::XInterface > const & | xRootFolder, |
| const OUString & | rDirURL | ||
| ) |
Definition at line 112 of file ZipPackageHelper.cxx.
References addFile(), addFolder(), and addFolderWithContent().
Referenced by addFolderWithContent().
| Reference< XInterface > & ZipPackageHelper::getRootFolder | ( | ) |
Definition at line 87 of file ZipPackageHelper.cxx.
References mxRootFolder.
| void ZipPackageHelper::savePackage | ( | ) |
Definition at line 166 of file ZipPackageHelper.cxx.
References mxHNameAccess.
|
private |
Definition at line 54 of file ZipPackageHelper.hxx.
Referenced by ZipPackageHelper().
|
private |
Definition at line 56 of file ZipPackageHelper.hxx.
Referenced by addFile(), addFolder(), and ZipPackageHelper().
|
private |
Definition at line 55 of file ZipPackageHelper.hxx.
Referenced by savePackage(), and ZipPackageHelper().
|
private |
Definition at line 57 of file ZipPackageHelper.hxx.
Referenced by getRootFolder(), and ZipPackageHelper().