20#ifndef INCLUDED_SHELL_INC_INTERNAL_ZIPFILE_HXX
21#define INCLUDED_SHELL_INC_INTERNAL_ZIPFILE_HXX
36 typedef std::vector<std::string> Directory_t;
37 typedef std::unique_ptr<Directory_t> DirectoryPtr_t;
38 typedef std::vector<char> ZipContentBuffer_t;
54 static bool IsZipFile(
const Filepath_t& FileName);
56 static bool IsZipFile(
void* stream);
73 static bool IsValidZipFileVersionNumber(
const Filepath_t& FileName);
75 static bool IsValidZipFileVersionNumber(
void* stream);
116 void GetUncompressedContent(
const std::string& ContentName,
117 ZipContentBuffer_t& ContentBuffer);
123 DirectoryPtr_t GetDirectory()
const;
129 bool HasContent(
const std::string& ContentName)
const;
ZipFile(rtl::Reference< comphelper::RefCountedMutex > aMutexHolder, css::uno::Reference< css::io::XInputStream > const &xInput, css::uno::Reference< css::uno::XComponentContext > xContext, bool bInitialise)