30 #include <com/sun/star/media/XPlayer.hpp>
31 #include <com/sun/star/ui/dialogs/XFolderPicker2.hpp>
34 #include <string_view>
58 const std::vector< OUString >& rFormats,
62 virtual void execute()
override;
90 void SetFileType(
const OUString& rType ) { m_xFtSearchType->set_label(rType); }
103 virtual void execute()
override;
154 virtual short run()
override;
164 OUString
GetTitle()
const {
return m_xEdit->get_text(); }
178 sal_uInt32
GetId()
const {
return m_xLbResName->get_active(); }
220 std::vector< std::unique_ptr<FilterEntry> >
246 static OUString
addExtension(
const OUString&, std::u16string_view );
262 DECL_LINK(DialogClosedHdl, css::ui::dialogs::DialogClosedEvent*,
void);
271 void StartSearchFiles( std::u16string_view _rFolderURL,
short _nDlgResult );
std::unique_ptr< weld::ComboBox > m_xCbbFileType
std::unique_ptr< weld::Button > m_xBtnOk
OUString GetReducedString(const INetURLObject &rURL, sal_Int32 nMaxLen)
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
DECL_LINK(ClickCancelBtn, weld::Button &, void)
GalleryThemeProperties(weld::Widget *pParent, ExchangeData *pData, SfxItemSet const *pItemSet)
std::unique_ptr< weld::Button > m_xBtnCancel
void StartSearchFiles(std::u16string_view _rFolderURL, short _nDlgResult)
css::uno::Reference< css::media::XPlayer > xMediaPlayer
const ExchangeData * GetXChgData() const
std::unique_ptr< weld::CheckButton > m_xCbxPreview
SearchProgress(weld::Window *pParent, TPGalleryThemeProperties *pTabPage, const INetURLObject &rStartURL)
TPGalleryThemeGeneral(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
virtual void Reset(const SfxItemSet *) override
std::unique_ptr< weld::Image > m_xFiMSImage
TPGalleryThemeProperties * mpBrowser
virtual short run() override
TakeProgress(weld::Window *pParent, TPGalleryThemeProperties *pTabPage)
DialogGalleryPreview m_aWndPreview
TakeThread(TakeProgress *pProgress, TPGalleryThemeProperties *pBrowser, TokenList_impl &rTakenList)
void SetXChgData(ExchangeData *pData)
std::unique_ptr< weld::Label > m_xFtMSShowContent
rtl::Reference< ::svt::DialogClosedListener > xDialogListener
TPGalleryThemeProperties(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
virtual ~TitleDialog() override
GalleryIdDialog(weld::Widget *pParent, GalleryTheme *pThm)
virtual ~SearchProgress() override
DECL_LINK(ClickOkHdl, weld::Button &, void)
void SetFileType(const OUString &rType)
void SetXChgData(ExchangeData *pData)
std::unique_ptr< weld::Label > m_xFtMSShowChangeDate
rtl::Reference< TakeThread > maTakeThread
css::uno::Reference< css::ui::dialogs::XFolderPicker2 > xFolderPicker
TokenList_impl & mrTakenList
virtual ~GalleryIdDialog() override
std::unique_ptr< weld::Label > m_xFtActualizeFile
std::unique_ptr< weld::Label > m_xFtMSShowPath
DECL_LINK(ClickCancelBtn, weld::Button &, void)
DECL_LINK(ClickPreviewHdl, weld::Toggleable &, void)
virtual ~ActualizeProgress() override
std::vector< OUString > aFoundList
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
TPGalleryThemeProperties * mpBrowser
std::unique_ptr< weld::Button > m_xBtnCancel
void SetDirectory(const INetURLObject &rURL)
TokenList_impl maTakenList
virtual void execute() override
std::unique_ptr< weld::Button > m_xBtnCancel
void SetFile(const INetURLObject &rURL)
static OUString addExtension(const OUString &, std::u16string_view)
DECL_LINK(ClickCancelBtn, weld::Button &, void)
std::unique_ptr< weld::TreeView > m_xLbxFound
std::unique_ptr< weld::Button > m_xBtnTakeAll
virtual bool FillItemSet(SfxItemSet *) override
TPGalleryThemeProperties * m_pTabPage
std::unique_ptr< weld::Entry > m_xEdit
std::unique_ptr< weld::ComboBox > m_xLbResName
std::vector< std::unique_ptr< FilterEntry > > aFilterEntryList
std::unique_ptr< weld::CustomWeld > m_xWndPreview
virtual void execute() override
virtual ~TakeThread() override
TakeProgress * mpProgress
TPGalleryThemeProperties * m_pTabPage
TitleDialog(weld::Widget *pParent, const OUString &rOldText)
std::unique_ptr< weld::Button > m_xBtnSearch
virtual ~TPGalleryThemeProperties() override
std::unique_ptr< weld::Label > m_xFtTakeFile
std::unique_ptr< weld::Label > m_xFtSearchType
ActualizeProgress(weld::Widget *pWindow, GalleryTheme *pThm)
std::unique_ptr< weld::Entry > m_xEdtMSName
virtual ~TakeProgress() override
std::unique_ptr< weld::Label > m_xFtSearchDir
void EndSearchProgressHdl(sal_Int32 nResult)
GalleryProgress aStatusProgress
std::unique_ptr< weld::Button > m_xBtnTake
void ImplSearch(const INetURLObject &rStartURL, const std::vector< OUString > &rFormats, bool bRecursive)
OUString GetTitle() const
rtl::Reference< SearchThread > m_aSearchThread
virtual void PageCreated(const OString &rId, SfxTabPage &rPage) override
SearchProgress * mpProgress
SearchThread(SearchProgress *pProgress, TPGalleryThemeProperties *pBrowser, const INetURLObject &rStartURL)
virtual ~SearchThread() override
virtual bool FillItemSet(SfxItemSet *rSet) override
virtual void Reset(const SfxItemSet *) override
std::unique_ptr< weld::Label > m_xFtMSShowType
std::vector< sal_uLong > TokenList_impl