10#ifndef INCLUDED_SVL_MSODOCUMENTLOCKFILE_HXX
11#define INCLUDED_SVL_MSODOCUMENTLOCKFILE_HXX
16#define MSO_WORD_LOCKFILE_SIZE 162
17#define MSO_EXCEL_AND_POWERPOINT_LOCKFILE_SIZE 165
18#define MSO_USERNAME_MAX_LENGTH 52
32 static AppType getAppType(std::u16string_view sOrigURL);
36 WriteEntryToStream(std::unique_lock<std::mutex>& rGuard,
const LockFileEntry& aEntry,
37 const css::uno::Reference<css::io::XOutputStream>& xStream)
override;
39 virtual css::uno::Reference<css::io::XInputStream>
40 OpenStream(std::unique_lock<std::mutex>& rGuard)
override;
42 virtual LockFileEntry GetLockDataImpl(std::unique_lock<std::mutex>& rGuard)
override;
50 static bool IsMSOSupportedFileFormat(std::u16string_view aURL);
Generalized class for LO and MSO lockfile handling.
Class implementing reading and writing MSO lockfiles.