25#include <rtl/ustring.hxx>
26#include <osl/file.hxx>
27#include <com/sun/star/ucb/XCommandEnvironment.hpp>
43 extern bool isChild( std::u16string_view srcUnqPath,
44 std::u16string_view dstUnqPath );
48 extern OUString
newName( std::u16string_view aNewPrefix,
49 std::u16string_view aOldPrefix,
50 std::u16string_view old_Name );
53 extern std::u16string_view
getTitle( std::u16string_view aPath );
58 extern OUString
getParentName( std::u16string_view aFileName );
67 extern osl::FileBase::RC
osl_File_copy(
const OUString& strPath,
68 const OUString& strDestPath,
78 extern osl::FileBase::RC
osl_File_move(
const OUString& strPath,
79 const OUString& strDestPath,
87 const css::uno::Reference< css::ucb::XCommandEnvironment >& xEnv,
88 const OUString& aUncPath,
OUString getParentName(std::u16string_view aFileName)
osl::FileBase::RC osl_File_move(const OUString &strPath, const OUString &strDestPath, bool test)
special move: On test = true, the implementation determines whether the destination exists and return...
osl::FileBase::RC osl_File_copy(const OUString &strPath, const OUString &strDestPath, bool test)
special copy: On test = true, the implementation determines whether the destination exists and return...
void throw_handler(sal_Int32 errorCode, sal_Int32 minorCode, const Reference< XCommandEnvironment > &xEnv, const OUString &aUncPath, BaseContent *pContent, bool isHandled)
OUString newName(std::u16string_view aNewPrefix, std::u16string_view aOldPrefix, std::u16string_view old_Name)
bool isChild(std::u16string_view srcUnqPath, std::u16string_view dstUnqPath)
std::u16string_view getTitle(std::u16string_view aPath)