diff options
author | Oliver Bolte <obo@openoffice.org> | 2006-10-13 10:42:41 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2006-10-13 10:42:41 +0000 |
commit | f54c9c1068dc2cd8c83a841965da83c3c72210ca (patch) | |
tree | f691010caaa2c28419c9912d5081b9299ed5ad33 /package | |
parent | 9ce19b02bab401979f608de70c3965e0451d7b8e (diff) |
INTEGRATION: CWS opofxmlstorage (1.35.30); FILE MERGED
2006/06/29 15:43:41 mav 1.35.30.2: RESYNC: (1.35-1.36); FILE MERGED
2006/04/21 11:36:57 mav 1.35.30.1: #i64612# support OFOPXML format
Diffstat (limited to 'package')
-rw-r--r-- | package/inc/ZipPackageFolder.hxx | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/package/inc/ZipPackageFolder.hxx b/package/inc/ZipPackageFolder.hxx index 8fb4cc298a76..b798862d7adf 100644 --- a/package/inc/ZipPackageFolder.hxx +++ b/package/inc/ZipPackageFolder.hxx @@ -4,9 +4,9 @@ * * $RCSfile: ZipPackageFolder.hxx,v $ * - * $Revision: 1.36 $ + * $Revision: 1.37 $ * - * last change: $Author: hr $ $Date: 2006-06-20 06:10:10 $ + * last change: $Author: obo $ $Date: 2006-10-13 11:42:41 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -41,6 +41,10 @@ #ifndef _COM_SUN_STAR_CONTAINER_XENUMERATIONACCESS_HPP_ #include <com/sun/star/container/XEnumerationAccess.hpp> #endif +#ifndef _COM_SUN_STAR_BEANS_STRINGPAIR_HPP_ +#include <com/sun/star/beans/StringPair.hpp> +#endif + #ifndef _HASHMAPS_HXX #include <HashMaps.hxx> #endif @@ -75,26 +79,30 @@ class ZipPackageFolder : public cppu::ImplInheritanceHelper2 protected: ContentHash maContents; const ::com::sun::star::uno::Reference < com::sun::star::lang::XMultiServiceFactory > m_xFactory; - sal_Bool m_bPackageFormat; + sal_Int16 m_nFormat; public: ZipPackageFolder( const ::com::sun::star::uno::Reference < com::sun::star::lang::XMultiServiceFactory >& xFactory, - sal_Bool bPackageFormat, + sal_Int16 nFormat, sal_Bool bAllowRemoveOnInsert ); virtual ~ZipPackageFolder(); + void setChildStreamsTypeByExtension( const ::com::sun::star::beans::StringPair& aPair ); + void doInsertByName ( ZipPackageEntry *pEntry, sal_Bool bSetParent ) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::container::ElementExistException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); + com::sun::star::packages::ContentInfo & doGetByName( const ::rtl::OUString& aName ) throw(::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); + static void copyZipEntry( ZipEntry &rDest, const ZipEntry &rSource); static ::com::sun::star::uno::Sequence < sal_Int8 > static_getImplementationId() { return aImplementationId; } - void setPackageFormat_Impl( sal_Bool bPackageFormat ) { m_bPackageFormat = bPackageFormat; } + void setPackageFormat_Impl( sal_Int16 nFormat ) { m_nFormat = nFormat; } void setRemoveOnInsertMode_Impl( sal_Bool bRemove ) { this->mbAllowRemoveOnInsert = bRemove; } // Recursive functions |