LibreOffice Module ucb (master) 1
|
Classes | |
class | BaseContent |
class | ContentEventNotifier |
class | FileContentIdentifier |
class | FileProvider |
class | Notifier |
class | PropertyChangeNotifier |
class | PropertyListeners |
class | PropertySetInfoChangeNotifier |
class | ReconnectingFile |
class | TaskManager |
class | XCommandInfo_impl |
class | XInputStream_impl |
class | XInteractionAbortImpl |
class | XInteractionRequestImpl |
class | XInteractionSupplyNameImpl |
class | XPropertySetInfo_impl |
class | XResultSet_impl |
class | XRow_impl |
class | XStream_impl |
Typedefs | |
typedef std::unordered_map< OUString, std::vector< css::uno::Reference< css::beans::XPropertiesChangeListener > > > | ListenerMap |
Functions | |
bool | isChild (std::u16string_view srcUnqPath, std::u16string_view dstUnqPath) |
OUString | newName (std::u16string_view aNewPrefix, std::u16string_view aOldPrefix, std::u16string_view old_Name) |
std::u16string_view | getTitle (std::u16string_view aPath) |
OUString | getParentName (std::u16string_view aFileName) |
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 returns the appropriate errorcode E_EXIST. More... | |
osl::FileBase::RC | osl_File_move (const OUString &strPath, const OUString &strDestPath, bool test=false) |
special move: On test = true, the implementation determines whether the destination exists and returns the appropriate errorcode E_EXIST. More... | |
void | throw_handler (sal_Int32 errorCode, sal_Int32 minorCode, const Reference< XCommandEnvironment > &xEnv, const OUString &aUncPath, BaseContent *pContent, bool isHandled) |
void | throw_handler (sal_Int32 errorCode, sal_Int32 minorCode, const css::uno::Reference< css::ucb::XCommandEnvironment > &xEnv, const OUString &aUncPath, BaseContent *pContent, bool isHandled) |
typedef std::unordered_map< OUString, std::vector< css::uno::Reference< css::beans::XPropertiesChangeListener > > > fileaccess::ListenerMap |
Definition at line 81 of file filnot.hxx.
OUString fileaccess::getParentName | ( | std::u16string_view | aFileName | ) |
Definition at line 194 of file filglob.cxx.
Referenced by fileaccess::TaskManager::copy(), fileaccess::BaseContent::createNewContent(), fileaccess::TaskManager::ensuredir(), fileaccess::BaseContent::getParent(), fileaccess::BaseContent::insert(), fileaccess::TaskManager::mkdir(), fileaccess::TaskManager::mkfil(), fileaccess::TaskManager::move(), fileaccess::BaseContent::setPropertyValues(), throw_handler(), and fileaccess::TaskManager::write().
std::u16string_view fileaccess::getTitle | ( | std::u16string_view | aPath | ) |
Definition at line 187 of file filglob.cxx.
Referenced by fileaccess::BaseContent::insert(), and throw_handler().
bool fileaccess::isChild | ( | std::u16string_view | srcUnqPath, |
std::u16string_view | dstUnqPath | ||
) |
Definition at line 156 of file filglob.cxx.
References o3tl::starts_with().
Referenced by fileaccess::TaskManager::copyPersistentSet(), fileaccess::TaskManager::erasePersistentSet(), and fileaccess::TaskManager::getContentExchangedEventListeners().
OUString fileaccess::newName | ( | std::u16string_view | aNewPrefix, |
std::u16string_view | aOldPrefix, | ||
std::u16string_view | old_Name | ||
) |
Definition at line 176 of file filglob.cxx.
Referenced by fileaccess::TaskManager::copyPersistentSet(), fileaccess::TaskManager::getContentExchangedEventListeners(), and gio::Content::setPropertyValues().
osl::FileBase::RC fileaccess::osl_File_copy | ( | const OUString & | strPath, |
const OUString & | strDestPath, | ||
bool | test | ||
) |
special copy: On test = true, the implementation determines whether the destination exists and returns the appropriate errorcode E_EXIST.
osl::File::copy copies unchecked.
Definition at line 209 of file filglob.cxx.
Referenced by fileaccess::TaskManager::copy_recursive().
osl::FileBase::RC fileaccess::osl_File_move | ( | const OUString & | strPath, |
const OUString & | strDestPath, | ||
bool | test = false |
||
) |
special move: On test = true, the implementation determines whether the destination exists and returns the appropriate errorcode E_EXIST.
osl::File::move moves unchecked
Definition at line 224 of file filglob.cxx.
Referenced by fileaccess::TaskManager::move().
void fileaccess::throw_handler | ( | sal_Int32 | errorCode, |
sal_Int32 | minorCode, | ||
const css::uno::Reference< css::ucb::XCommandEnvironment > & | xEnv, | ||
const OUString & | aUncPath, | ||
BaseContent * | pContent, | ||
bool | isHandled | ||
) |
void fileaccess::throw_handler | ( | sal_Int32 | errorCode, |
sal_Int32 | minorCode, | ||
const Reference< XCommandEnvironment > & | xEnv, | ||
const OUString & | aUncPath, | ||
BaseContent * | pContent, | ||
bool | isHandled | ||
) |
Definition at line 238 of file filglob.cxx.
References Any, aSeq, cancelCommandExecution(), getParentName(), getTitle(), ioErrorCode, TASKHANDLER_UNSUPPORTED_COMMAND, TASKHANDLING_BUFFERSIZEEXCEEDED_FOR_PAGING, TASKHANDLING_BUFFERSIZEEXCEEDED_FOR_WRITE, TASKHANDLING_CREATEDIRECTORY_MKDIR, TASKHANDLING_DELETED_STATE_IN_OPEN_COMMAND, TASKHANDLING_DELETEDIRECTORY_FOR_REMOVE, TASKHANDLING_DELETEFILE_FOR_REMOVE, TASKHANDLING_DIRECTORYEXHAUSTED_FOR_REMOVE, TASKHANDLING_ENSUREDIR_FOR_WRITE, TASKHANDLING_FILEIOERROR_FOR_NO_SPACE, TASKHANDLING_FILEIOERROR_FOR_WRITE, TASKHANDLING_FILESIZE_FOR_WRITE, TASKHANDLING_FILETYPE_FOR_REMOVE, TASKHANDLING_FOLDER_EXISTS_MKDIR, TASKHANDLING_INPUTSTREAM_FOR_WRITE, TASKHANDLING_INSERTED_STATE_IN_OPEN_COMMAND, TASKHANDLING_INVALID_NAME_MKDIR, TASKHANDLING_IOEXCEPTION_FOR_PAGING, TASKHANDLING_IOEXCEPTION_FOR_WRITE, TASKHANDLING_KEEPERROR_FOR_COPY, TASKHANDLING_KEEPERROR_FOR_MOVE, TASKHANDLING_NAMECLASH_FOR_COPY, TASKHANDLING_NAMECLASH_FOR_MOVE, TASKHANDLING_NAMECLASHMOVE_FOR_COPY, TASKHANDLING_NAMECLASHMOVE_FOR_MOVE, TASKHANDLING_NAMECLASHSUPPORT_FOR_COPY, TASKHANDLING_NAMECLASHSUPPORT_FOR_MOVE, TASKHANDLING_NO_OPEN_FILE_FOR_OVERWRITE, TASKHANDLING_NO_OPEN_FILE_FOR_WRITE, TASKHANDLING_NOCONTENTTYPE_INSERT_COMMAND, TASKHANDLING_NOFRESHINSERT_IN_INSERT_COMMAND, TASKHANDLING_NONAMESET_INSERT_COMMAND, TASKHANDLING_NOREPLACE_FOR_WRITE, TASKHANDLING_NOSUCHFILEORDIR_FOR_REMOVE, TASKHANDLING_NOTCONNECTED_FOR_PAGING, TASKHANDLING_NOTCONNECTED_FOR_WRITE, TASKHANDLING_OPEN_FILE_FOR_PAGING, TASKHANDLING_OPEN_FOR_DIRECTORYLISTING, TASKHANDLING_OPEN_FOR_INPUTSTREAM, TASKHANDLING_OPEN_FOR_STREAM, TASKHANDLING_OPENDIRECTORY_FOR_REMOVE, TASKHANDLING_OVERWRITE_FOR_COPY, TASKHANDLING_OVERWRITE_FOR_MOVE, TASKHANDLING_READING_FILE_FOR_PAGING, TASKHANDLING_RENAME_FOR_COPY, TASKHANDLING_RENAME_FOR_MOVE, TASKHANDLING_RENAMEMOVE_FOR_COPY, TASKHANDLING_RENAMEMOVE_FOR_MOVE, TASKHANDLING_TRANSFER_ACCESSINGROOT, TASKHANDLING_TRANSFER_BY_COPY_SOURCE, TASKHANDLING_TRANSFER_BY_COPY_SOURCESTAT, TASKHANDLING_TRANSFER_BY_MOVE_SOURCE, TASKHANDLING_TRANSFER_BY_MOVE_SOURCESTAT, TASKHANDLING_TRANSFER_DESTFILETYPE, TASKHANDLING_TRANSFER_INVALIDSCHEME, TASKHANDLING_TRANSFER_INVALIDURL, TASKHANDLING_UNSUPPORTED_OPEN_MODE, TASKHANDLING_VALIDFILESTATUS_FOR_REMOVE, TASKHANDLING_VALIDFILESTATUSWHILE_FOR_REMOVE, TASKHANDLING_WRONG_CREATENEWCONTENT_ARGUMENT, TASKHANDLING_WRONG_DELETE_ARGUMENT, TASKHANDLING_WRONG_GETPROPERTYVALUES_ARGUMENT, TASKHANDLING_WRONG_INSERT_ARGUMENT, TASKHANDLING_WRONG_OPEN_ARGUMENT, TASKHANDLING_WRONG_SETPROPERTYVALUES_ARGUMENT, TASKHANDLING_WRONG_TRANSFER_ARGUMENT, and u.
Referenced by fileaccess::TaskManager::endTask().