summaryrefslogtreecommitdiff
path: root/package/inc
diff options
context:
space:
mode:
authorMikhail Voytenko <mav@openoffice.org>2011-02-07 17:10:57 +0100
committerMikhail Voytenko <mav@openoffice.org>2011-02-07 17:10:57 +0100
commit32536e53e61a93120b759e5db669dc1007e21c1b (patch)
treec09438d66d4ff6487630dab019ca75f9a7dc11e0 /package/inc
parentc395e5608ce118f4296083632d6662f278f0b8fc (diff)
fwk165: #i116290# let mimetype stream be zipped as the first one
Diffstat (limited to 'package/inc')
-rw-r--r--package/inc/ZipPackageFolder.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/inc/ZipPackageFolder.hxx b/package/inc/ZipPackageFolder.hxx
index 037c27f1fdd7..635aca16ba92 100644
--- a/package/inc/ZipPackageFolder.hxx
+++ b/package/inc/ZipPackageFolder.hxx
@@ -39,7 +39,12 @@ namespace beans
{
struct PropertyValue;
}
+namespace packages
+{
+ class ContentInfo;
+}
} } }
+
class ZipFile;
class ZipPackage;
class ZipOutputStream;
@@ -85,6 +90,8 @@ public:
void setPackageFormat_Impl( sal_Int32 nFormat ) { m_nFormat = nFormat; }
void setRemoveOnInsertMode_Impl( sal_Bool bRemove ) { this->mbAllowRemoveOnInsert = bRemove; }
+ bool saveChild(const rtl::OUString &rShortName, const com::sun::star::packages::ContentInfo &rInfo, rtl::OUString &rPath, std::vector < com::sun::star::uno::Sequence < com::sun::star::beans::PropertyValue > > &rManList, ZipOutputStream & rZipOut, com::sun::star::uno::Sequence < sal_Int8 > &rEncryptionKey, rtlRandomPool & rRandomPool);
+
// Recursive functions
void saveContents(rtl::OUString &rPath, std::vector < com::sun::star::uno::Sequence < com::sun::star::beans::PropertyValue > > &rManList, ZipOutputStream & rZipOut, com::sun::star::uno::Sequence < sal_Int8 > &rEncryptionKey, rtlRandomPool & rRandomPool)
throw(::com::sun::star::uno::RuntimeException);