17#include <com/sun/star/util/URL.hpp>
18#include <com/sun/star/beans/PropertyValue.hpp>
32 css::uno::Sequence< css::beans::PropertyValue >
aArgSeq;
33 css::uno::Reference< css::frame::XDispatch >
xDispatch;
63 RecentDocsView(std::unique_ptr<weld::ScrolledWindow> xWindow, std::unique_ptr<weld::Menu> xMenu);
66 void insertItem(
const OUString& rURL,
const OUString& rTitle,
const OUString& rThumbnail,
67 bool isReadOnly,
bool isPinned, sal_uInt16
nId);
73 virtual void Clear()
override;
76 virtual void Reload()
override;
Class to display thumbnails with their names below their respective icons.
void clearUnavailableFiles()
void setFilter(ApplicationType aFilter)
virtual void Paint(vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
sfx2::LoadRecentFile * mpLoadRecentFile
virtual void OnItemDblClicked(ThumbnailViewItem *pItem) override
void PostLoadRecentUsedFile(LoadRecentFile *pLoadRecentFile)
ApplicationType mnFileTypes
void insertItem(const OUString &rURL, const OUString &rTitle, const OUString &rThumbnail, bool isReadOnly, bool isPinned, sal_uInt16 nId)
tools::Long mnItemMaxSize
virtual ~RecentDocsView() override
virtual void LoseFocus() override
static bool typeMatchesExtension(ApplicationType type, std::u16string_view rExt)
BitmapEx maWelcomeImage
Image that appears when there is no recent document.
virtual void Reload() override
Update the information in the view.
DECL_LINK(ExecuteHdl_Impl, void *, void)
virtual bool MouseButtonDown(const MouseEvent &rMEvt) override
ImplSVEvent * m_nExecuteHdlId
void DispatchedLoadRecentUsedFile()
virtual bool MouseButtonUp(const MouseEvent &rMEvt) override
bool isAcceptedFile(const INetURLObject &rURL) const
size_t mnLastMouseDownItem
RecentDocsView(std::unique_ptr< weld::ScrolledWindow > xWindow, std::unique_ptr< weld::Menu > xMenu)
virtual void Clear() override
const sal_uInt16 TYPE_OTHER
css::uno::Sequence< css::beans::PropertyValue > aArgSeq
css::uno::Reference< css::frame::XDispatch > xDispatch
css::util::URL aTargetURL