22#include <com/sun/star/uno/Sequence.h>
25#include <rtl/ustring.hxx>
27namespace com :: sun :: star ::
ucb {
class XContent; }
64 std::unique_ptr<SvtFileView_Impl>
mpImpl;
71 std::unique_ptr<weld::TreeView> xTreeView,
72 std::unique_ptr<weld::IconView> xIconView,
73 bool bOnlyFolder,
bool bMultiSelection,
bool bShowType =
true);
83 void CreatedFolder(
const OUString& rUrl,
const OUString& rNewFolder );
106 const OUString& rFolderURL,
107 const OUString& rFilter,
109 const css::uno::Sequence< OUString >& rDenyList
127 const OUString& rFilter,
170 ::std::vector< SvtContentEntry >
GetContent();
css::uno::Sequence< OUString > maDenyList
void set_help_id(const OUString &rHelpId)
SvtContentEntry * FirstSelected() const
const OUString & GetViewURL() const
FileViewResult PreviousLevel(const FileViewAsyncAction *pAsyncDescriptor)
initializes the view with the parent folder of the current folder
OUString get_help_id() const
void SetConfigString(std::u16string_view rCfgStr)
sal_uInt32 GetSelectionCount() const
void SetViewMode(FileViewMode eMode)
::std::vector< SvtContentEntry > GetContent()
bool GetParentURL(OUString &_rParentURL) const
void CancelRunningAsyncAction()
cancels a running async action (if any)
weld::Widget * identifier() const
void CreatedFolder(const OUString &rUrl, const OUString &rNewFolder)
std::unique_ptr< SvtFileView_Impl > mpImpl
void SetOpenDoneHdl(const Link< SvtFileView *, void > &rHdl)
SvtFileView(weld::Window *pTopLevel, std::unique_ptr< weld::TreeView > xTreeView, std::unique_ptr< weld::IconView > xIconView, bool bOnlyFolder, bool bMultiSelection, bool bShowType=true)
OUString GetURL(const weld::TreeIter &rEntry) const
void selected_foreach(const std::function< bool(weld::TreeIter &)> &func)
FileViewResult Initialize(const OUString &rFolderURL, const OUString &rFilter, const FileViewAsyncAction *pAsyncDescriptor, const css::uno::Sequence< OUString > &rDenyList)
initialize the view with the content of a folder given by URL, and apply an immediate filter
FileViewResult ExecuteFilter(const OUString &rFilter, const FileViewAsyncAction *pAsyncDescriptor)
reads the current content of the current folder again, and applies the given filter to it
void SetDoubleClickHdl(const Link< SvtFileView *, bool > &rHdl)
OUString get_selected_text() const
void SetSelectHdl(const Link< SvtFileView *, void > &rHdl)
OUString GetCurrentURL() const
DECL_LINK(HeaderSelect_Impl, int, void)
void EnableDelete(bool bEnable)
OUString GetConfigString() const
FileViewResult
the result of an action in the FileView
describes parameters for doing an action on the FileView asynchronously
sal_uInt32 nMaxTimeout
minimum time to wait for a result, in milliseconds
FileViewAsyncAction()
the handler to be called when the action is finished. Called in every case, no matter of the result
Link< void *, void > aFinishHandler
maximum time to wait for a result, in milliseconds, until eTimeout is returned
SvtContentEntry(OUString aURL, bool bIsFolder)