LibreOffice Module fpicker (master) 1
Classes | Namespaces | Macros | Functions | Variables
fileview.cxx File Reference
#include <sal/config.h>
#include <sal/log.hxx>
#include <osl/diagnose.h>
#include <svtools/svtresid.hxx>
#include <svtools/imagemgr.hxx>
#include <svtools/querydelete.hxx>
#include <svtools/strings.hrc>
#include <bitmaps.hlst>
#include "contentenumeration.hxx"
#include <com/sun/star/task/InteractionHandler.hpp>
#include <com/sun/star/ucb/XProgressHandler.hpp>
#include <com/sun/star/ucb/XContent.hpp>
#include <com/sun/star/container/XChild.hpp>
#include <com/sun/star/ucb/CommandAbortedException.hpp>
#include <com/sun/star/ucb/XCommandInfo.hpp>
#include <com/sun/star/beans/XPropertySetInfo.hpp>
#include <com/sun/star/beans/PropertyAttribute.hpp>
#include <algorithm>
#include <string_view>
#include <vector>
#include <tools/debug.hxx>
#include <tools/urlobj.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/string.hxx>
#include <ucbhelper/content.hxx>
#include <ucbhelper/commandenvironment.hxx>
#include <rtl/math.hxx>
#include <o3tl/safeint.hxx>
#include <o3tl/typed_flags_set.hxx>
#include <o3tl/string_view.hxx>
#include <osl/mutex.hxx>
#include <osl/conditn.hxx>
#include <salhelper/timer.hxx>
#include <svtools/urlfilter.hxx>
#include <unotools/collatorwrapper.hxx>
#include <unotools/localedatawrapper.hxx>
#include <unotools/intlwrapper.hxx>
#include <unotools/syslocale.hxx>
#include <vcl/svapp.hxx>
#include <vcl/commandevent.hxx>
#include <vcl/event.hxx>
#include <vcl/settings.hxx>
#include <vcl/timer.hxx>
#include <memory>
#include "fileview.hxx"
Include dependency graph for fileview.cxx:

Go to the source code of this file.

Classes

struct  o3tl::typed_flags< FileViewFlags >
 
class  SvtFileView_Impl
 

Namespaces

namespace  o3tl
 

Macros

#define COLUMN_TITLE   1
 
#define COLUMN_TYPE   2
 
#define COLUMN_SIZE   3
 
#define COLUMN_DATE   4
 
#define QUICK_SEARCH_TIMEOUT   1500
 

Functions

 IMPL_LINK_NOARG (ViewTabListBox_Impl, EditingEntryHdl, const weld::TreeIter &, bool)
 
 IMPL_LINK_NOARG (ViewTabListBox_Impl, ResetQuickSearch_Impl, Timer *, void)
 
 IMPL_LINK (ViewTabListBox_Impl, KeyInputHdl, const KeyEvent &, rKEvt, bool)
 
 IMPL_LINK (ViewTabListBox_Impl, CommandHdl, const CommandEvent &, rCEvt, bool)
 
 IMPL_LINK (ViewTabListBox_Impl, EditedEntryHdl, const IterString &, rIterString, bool)
 
 IMPL_LINK (SvtFileView, HeaderSelect_Impl, int, nColumn, void)
 
 IMPL_LINK_NOARG (SvtFileView_Impl, ChangedHdl, weld::TreeView &, void)
 
 IMPL_LINK_NOARG (SvtFileView_Impl, SelectionChangedHdl, weld::IconView &, void)
 
 IMPL_LINK_NOARG (SvtFileView_Impl, RowActivatedHdl, weld::TreeView &, bool)
 
 IMPL_LINK_NOARG (SvtFileView_Impl, ItemActivatedHdl, weld::IconView &, bool)
 
static bool CompareSortingData_Impl (std::unique_ptr< SortingData_Impl > const &aOne, std::unique_ptr< SortingData_Impl > const &aTwo)
 

Variables

constexpr OUStringLiteral ALL_FILES_FILTER = u"*.*"
 
static bool gbAscending = true
 
static sal_Int16 gnColumn = COLUMN_TITLE
 
static const CollatorWrapperpCollatorWrapper = nullptr
 

Macro Definition Documentation

◆ COLUMN_DATE

#define COLUMN_DATE   4

Definition at line 83 of file fileview.cxx.

◆ COLUMN_SIZE

#define COLUMN_SIZE   3

Definition at line 82 of file fileview.cxx.

◆ COLUMN_TITLE

#define COLUMN_TITLE   1

Definition at line 80 of file fileview.cxx.

◆ COLUMN_TYPE

#define COLUMN_TYPE   2

Definition at line 81 of file fileview.cxx.

◆ QUICK_SEARCH_TIMEOUT

#define QUICK_SEARCH_TIMEOUT   1500

Definition at line 85 of file fileview.cxx.

Function Documentation

◆ CompareSortingData_Impl()

static bool CompareSortingData_Impl ( std::unique_ptr< SortingData_Impl > const &  aOne,
std::unique_ptr< SortingData_Impl > const &  aTwo 
)
static

◆ IMPL_LINK() [1/4]

IMPL_LINK ( SvtFileView  ,
HeaderSelect_Impl  ,
int  ,
nColumn  ,
void   
)

◆ IMPL_LINK() [2/4]

IMPL_LINK ( ViewTabListBox_Impl  ,
CommandHdl  ,
const CommandEvent ,
rCEvt  ,
bool   
)

◆ IMPL_LINK() [3/4]

IMPL_LINK ( ViewTabListBox_Impl  ,
EditedEntryHdl  ,
const IterString &  ,
rIterString  ,
bool   
)

◆ IMPL_LINK() [4/4]

IMPL_LINK ( ViewTabListBox_Impl  ,
KeyInputHdl  ,
const KeyEvent ,
rKEvt  ,
bool   
)

◆ IMPL_LINK_NOARG() [1/6]

IMPL_LINK_NOARG ( SvtFileView_Impl  ,
ChangedHdl  ,
weld::TreeView ,
void   
)

Definition at line 1319 of file fileview.cxx.

◆ IMPL_LINK_NOARG() [2/6]

IMPL_LINK_NOARG ( SvtFileView_Impl  ,
ItemActivatedHdl  ,
weld::IconView ,
bool   
)

Definition at line 1344 of file fileview.cxx.

◆ IMPL_LINK_NOARG() [3/6]

IMPL_LINK_NOARG ( SvtFileView_Impl  ,
RowActivatedHdl  ,
weld::TreeView ,
bool   
)

Definition at line 1339 of file fileview.cxx.

◆ IMPL_LINK_NOARG() [4/6]

IMPL_LINK_NOARG ( SvtFileView_Impl  ,
SelectionChangedHdl  ,
weld::IconView ,
void   
)

Definition at line 1325 of file fileview.cxx.

◆ IMPL_LINK_NOARG() [5/6]

IMPL_LINK_NOARG ( ViewTabListBox_Impl  ,
EditingEntryHdl  ,
const weld::TreeIter ,
bool   
)

Definition at line 456 of file fileview.cxx.

◆ IMPL_LINK_NOARG() [6/6]

IMPL_LINK_NOARG ( ViewTabListBox_Impl  ,
ResetQuickSearch_Impl  ,
Timer ,
void   
)

Definition at line 461 of file fileview.cxx.

References maMutex.

Variable Documentation

◆ ALL_FILES_FILTER

constexpr OUStringLiteral ALL_FILES_FILTER = u"*.*"
constexpr

Definition at line 78 of file fileview.cxx.

Referenced by SvtFileView_Impl::FilterFolderContent_Impl().

◆ gbAscending

bool gbAscending = true
static

◆ gnColumn

sal_Int16 gnColumn = COLUMN_TITLE
static

◆ pCollatorWrapper

const CollatorWrapper* pCollatorWrapper = nullptr
static