LibreOffice Module sfx2 (master) 1
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
ViewFilter_Application Class Referencefinal

#include <templatelocalview.hxx>

Public Member Functions

 ViewFilter_Application (FILTER_APPLICATION App)
 
bool operator() (const ThumbnailViewItem *pItem)
 
bool isValid (std::u16string_view rPath) const
 

Static Public Member Functions

static bool isFilteredExtension (FILTER_APPLICATION filter, std::u16string_view rExt)
 

Private Attributes

FILTER_APPLICATION mApp
 

Detailed Description

Definition at line 47 of file templatelocalview.hxx.

Constructor & Destructor Documentation

◆ ViewFilter_Application()

ViewFilter_Application::ViewFilter_Application ( FILTER_APPLICATION  App)
inline

Definition at line 51 of file templatelocalview.hxx.

References App.

Member Function Documentation

◆ isFilteredExtension()

bool ViewFilter_Application::isFilteredExtension ( FILTER_APPLICATION  filter,
std::u16string_view  rExt 
)
static

Definition at line 37 of file templatelocalview.cxx.

References CALC, DRAW, IMPRESS, u, and WRITER.

Referenced by TemplateLocalView::getDefaultThumbnail(), IMPL_LINK(), and isValid().

◆ isValid()

bool ViewFilter_Application::isValid ( std::u16string_view  rPath) const

Definition at line 64 of file templatelocalview.cxx.

References INetURLObject::getExtension(), isFilteredExtension(), and mApp.

Referenced by operator()().

◆ operator()()

bool ViewFilter_Application::operator() ( const ThumbnailViewItem pItem)

Definition at line 70 of file templatelocalview.cxx.

References TemplateViewItem::getPath(), and isValid().

Member Data Documentation

◆ mApp

FILTER_APPLICATION ViewFilter_Application::mApp
private

Definition at line 62 of file templatelocalview.hxx.

Referenced by isValid().


The documentation for this class was generated from the following files: