19#ifndef INCLUDED_UNOTOOLS_ZIPPACKAGEHELPER_HXX
20#define INCLUDED_UNOTOOLS_ZIPPACKAGEHELPER_HXX
24#include <com/sun/star/uno/XInterface.hpp>
35 ZipPackageHelper(
const css::uno::Reference< css::uno::XComponentContext >& rxContext,
36 const OUString& sPackageURL);
41 void addFile( css::uno::Reference< css::uno::XInterface >
const & xRootFolder,
42 const OUString& rSourceFile );
45 css::uno::Reference< css::uno::XInterface > addFolder( css::uno::Reference< css::uno::XInterface >
const & xRootFolder,
46 const OUString& rName );
48 void addFolderWithContent( css::uno::Reference< css::uno::XInterface >
const & xRootFolder,
49 const OUString& rDirURL );
51 css::uno::Reference< css::uno::XInterface >& getRootFolder();
54 css::uno::Reference< css::uno::XComponentContext >
mxContext;
55 css::uno::Reference< css::container::XHierarchicalNameAccess >
mxHNameAccess;
56 css::uno::Reference< css::lang::XSingleServiceFactory >
mxFactory;
css::uno::Reference< css::lang::XSingleServiceFactory > mxFactory
css::uno::Reference< css::container::XHierarchicalNameAccess > mxHNameAccess
css::uno::Reference< css::uno::XInterface > mxRootFolder
css::uno::Reference< css::uno::XComponentContext > mxContext