LibreOffice Module fpicker (master) 1
|
#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"
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 CollatorWrapper * | pCollatorWrapper = nullptr |
#define COLUMN_DATE 4 |
Definition at line 83 of file fileview.cxx.
#define COLUMN_SIZE 3 |
Definition at line 82 of file fileview.cxx.
#define COLUMN_TITLE 1 |
Definition at line 80 of file fileview.cxx.
#define COLUMN_TYPE 2 |
Definition at line 81 of file fileview.cxx.
#define QUICK_SEARCH_TIMEOUT 1500 |
Definition at line 85 of file fileview.cxx.
|
static |
Definition at line 1577 of file fileview.cxx.
References COLUMN_DATE, COLUMN_SIZE, COLUMN_TITLE, COLUMN_TYPE, CollatorWrapper::compareString(), DBG_ASSERT, gbAscending, gnColumn, pCollatorWrapper, and SAL_INFO.
Referenced by SvtFileView_Impl::SortFolderContent_Impl().
IMPL_LINK | ( | SvtFileView | , |
HeaderSelect_Impl | , | ||
int | , | ||
nColumn | , | ||
void | |||
) |
Definition at line 1042 of file fileview.cxx.
References COLUMN_TITLE, nItemID, weld::TreeView::set_sort_indicator(), and TRISTATE_INDET.
IMPL_LINK | ( | ViewTabListBox_Impl | , |
CommandHdl | , | ||
const CommandEvent & | , | ||
rCEvt | , | ||
bool | |||
) |
Definition at line 499 of file fileview.cxx.
References aURL, Application::CreateBuilder(), Exception, ucbhelper::Content::getCommands(), comphelper::getProcessComponentContext(), ucbhelper::Content::getProperties(), nCount, and Property.
IMPL_LINK | ( | ViewTabListBox_Impl | , |
EditedEntryHdl | , | ||
const IterString & | , | ||
rIterString | , | ||
bool | |||
) |
Definition at line 667 of file fileview.cxx.
References Any, aPropName, aURL, Exception, comphelper::getProcessComponentContext(), ucbhelper::Content::getProperties(), mpParent, pData, Property, ucbhelper::Content::setPropertyValue(), and weld::toId().
IMPL_LINK | ( | ViewTabListBox_Impl | , |
KeyInputHdl | , | ||
const KeyEvent & | , | ||
rKEvt | , | ||
bool | |||
) |
Definition at line 469 of file fileview.cxx.
References vcl::KeyCode::GetCode(), vcl::KeyCode::GetModifier(), KEY_DELETE, KEYGROUP_ALPHA, and KEYGROUP_NUM.
IMPL_LINK_NOARG | ( | SvtFileView_Impl | , |
ChangedHdl | , | ||
weld::TreeView & | , | ||
void | |||
) |
Definition at line 1319 of file fileview.cxx.
IMPL_LINK_NOARG | ( | SvtFileView_Impl | , |
ItemActivatedHdl | , | ||
weld::IconView & | , | ||
bool | |||
) |
Definition at line 1344 of file fileview.cxx.
IMPL_LINK_NOARG | ( | SvtFileView_Impl | , |
RowActivatedHdl | , | ||
weld::TreeView & | , | ||
bool | |||
) |
Definition at line 1339 of file fileview.cxx.
IMPL_LINK_NOARG | ( | SvtFileView_Impl | , |
SelectionChangedHdl | , | ||
weld::IconView & | , | ||
void | |||
) |
Definition at line 1325 of file fileview.cxx.
IMPL_LINK_NOARG | ( | ViewTabListBox_Impl | , |
EditingEntryHdl | , | ||
const weld::TreeIter & | , | ||
bool | |||
) |
Definition at line 456 of file fileview.cxx.
IMPL_LINK_NOARG | ( | ViewTabListBox_Impl | , |
ResetQuickSearch_Impl | , | ||
Timer * | , | ||
void | |||
) |
Definition at line 461 of file fileview.cxx.
References maMutex.
|
constexpr |
Definition at line 78 of file fileview.cxx.
Referenced by SvtFileView_Impl::FilterFolderContent_Impl().
|
static |
Definition at line 1571 of file fileview.cxx.
Referenced by CompareSortingData_Impl(), and SvtFileView_Impl::SortFolderContent_Impl().
|
static |
Definition at line 1572 of file fileview.cxx.
Referenced by CompareSortingData_Impl(), and SvtFileView_Impl::SortFolderContent_Impl().
|
static |
Definition at line 1573 of file fileview.cxx.
Referenced by CompareSortingData_Impl(), and SvtFileView_Impl::SortFolderContent_Impl().