20#ifndef INCLUDED_CODEMAKER_GLOBAL_HXX
21#define INCLUDED_CODEMAKER_GLOBAL_HXX
27#include <osl/file.hxx>
28#include <rtl/ustring.hxx>
29#include <rtl/strbuf.hxx>
44 void createTempFile(const ::rtl::OString& sPath);
47 const ::rtl::OString& getName()
const {
return m_name; }
49 bool write(
void const * buffer, sal_uInt64
size);
62 ::rtl::OString m_name;
68::rtl::OString
getTempDir(const ::rtl::OString& sFileName);
71 const ::rtl::OString& type,
72 const ::rtl::OString& postfix);
76 const ::rtl::OString& tmpFileName,
const OUString & getMessage() const
~CannotDumpException() noexcept
CannotDumpException(OUString message)
SW_DLLPUBLIC std::ostream & operator<<(std::ostream &s, const SwContentIndex &index)
::std::vector< ::rtl::OString > StringVector
::rtl::OUString convertToFileUrl(const ::rtl::OString &fileName)
bool removeTypeFile(const ::rtl::OString &fileName)
bool makeValidTypeFile(const ::rtl::OString &targetFileName, const ::rtl::OString &tmpFileName, bool bFileCheck)
::rtl::OString createFileNameFromType(const ::rtl::OString &destination, const ::rtl::OString &type, const ::rtl::OString &postfix)
::rtl::OString getTempDir(const ::rtl::OString &sFileName)
bool fileExists(const ::rtl::OString &fileName)