LibreOffice Module cui (master)  1
Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Friends | List of all members
TPGalleryThemeProperties Class Reference

#include <cuigaldlg.hxx>

Inheritance diagram for TPGalleryThemeProperties:
[legend]
Collaboration diagram for TPGalleryThemeProperties:
[legend]

Public Member Functions

 TPGalleryThemeProperties (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
 
virtual ~TPGalleryThemeProperties () override
 
void SetXChgData (ExchangeData *pData)
 
const ExchangeDataGetXChgData () const
 
void StartSearchFiles (const OUString &_rFolderURL, short _nDlgResult)
 
- Public Member Functions inherited from SfxTabPage
void SetDialogController (SfxOkDialogController *pDialog)
 
virtual ~SfxTabPage () override
 
void set_visible (bool bVisible)
 
const SfxItemSetGetItemSet () const
 
bool HasExchangeSupport () const
 
void SetExchangeSupport ()
 
virtual void ActivatePage (const SfxItemSet &)
 
virtual DeactivateRC DeactivatePage (SfxItemSet *pSet)
 
void SetUserData (const OUString &rString)
 
const OUString & GetUserData () const
 
virtual void FillUserData ()
 
virtual bool IsReadOnly () const
 
virtual void PageCreated (const SfxAllItemSet &aSet)
 
virtual void ChangesApplied ()
 
void SetFrame (const css::uno::Reference< css::frame::XFrame > &xFrame)
 
css::uno::Reference< css::frame::XFrame > GetFrame () const
 
const SfxItemSetGetDialogExampleSet () const
 
OString GetHelpId () const
 
OString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 

Static Public Member Functions

static std::unique_ptr< SfxTabPageCreate (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
 
- Static Public Member Functions inherited from SfxTabPage
static const SfxPoolItemGetItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
static const T * GetItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 

Private Member Functions

virtual void Reset (const SfxItemSet *) override
 
virtual bool FillItemSet (SfxItemSet *) override
 
void FillFilterList ()
 
void SearchFiles ()
 
void TakeFiles ()
 
void DoPreview ()
 
void EndSearchProgressHdl (sal_Int32 nResult)
 
 DECL_LINK (ClickPreviewHdl, weld::ToggleButton &, void)
 
 DECL_LINK (ClickSearchHdl, weld::Button &, void)
 
 DECL_LINK (ClickTakeHdl, weld::Button &, void)
 
 DECL_LINK (ClickTakeAllHdl, weld::Button &, void)
 
 DECL_LINK (SelectFoundHdl, weld::TreeView &, void)
 
 DECL_LINK (SelectFileTypeHdl, weld::ComboBox &, void)
 
 DECL_LINK (DClickFoundHdl, weld::TreeView &, bool)
 
 DECL_LINK (PreviewTimerHdl, Timer *, void)
 
 DECL_LINK (DialogClosedHdl, css::ui::dialogs::DialogClosedEvent *, void)
 

Static Private Member Functions

static OUString addExtension (const OUString &, const OUString &)
 

Private Attributes

ExchangeDatapData
 
std::vector< OUString > aFoundList
 
std::vector< std::unique_ptr< FilterEntry > > aFilterEntryList
 
Timer aPreviewTimer
 
OUString aLastFilterName
 
OUString aPreviewString
 
INetURLObject aURL
 
bool bEntriesFound
 
bool bInputAllowed
 
bool bTakeAll
 
bool bSearchRecursive
 
rtl::Reference< ::svt::DialogClosedListenerxDialogListener
 
css::uno::Reference< css::media::XPlayer > xMediaPlayer
 
css::uno::Reference< css::ui::dialogs::XFolderPicker2 > xFolderPicker
 
SvxGalleryPreview m_aWndPreview
 
std::unique_ptr< weld::ComboBoxm_xCbbFileType
 
std::unique_ptr< weld::TreeViewm_xLbxFound
 
std::unique_ptr< weld::Buttonm_xBtnSearch
 
std::unique_ptr< weld::Buttonm_xBtnTake
 
std::unique_ptr< weld::Buttonm_xBtnTakeAll
 
std::unique_ptr< weld::CheckButtonm_xCbxPreview
 
std::unique_ptr< weld::CustomWeldm_xWndPreview
 

Friends

class SearchThread
 
class TakeProgress
 
class TakeThread
 

Additional Inherited Members

- Protected Member Functions inherited from SfxTabPage
 SfxTabPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet *rAttrSet)
 
sal_uInt16 GetWhich (sal_uInt16 nSlot, bool bDeep=true) const
 
const SfxPoolItemGetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
const T * GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 
SfxOkDialogControllerGetDialogController () const
 

Detailed Description

Definition at line 211 of file cuigaldlg.hxx.

Constructor & Destructor Documentation

TPGalleryThemeProperties::TPGalleryThemeProperties ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rSet 
)

Definition at line 581 of file cuigaldlg.cxx.

References LINK, m_xLbxFound, pData, and xDialogListener.

TPGalleryThemeProperties::~TPGalleryThemeProperties ( )
overridevirtual

Definition at line 636 of file cuigaldlg.cxx.

References aFilterEntryList, xDialogListener, and xMediaPlayer.

Member Function Documentation

OUString TPGalleryThemeProperties::addExtension ( const OUString &  _rDisplayText,
const OUString &  _rExtension 
)
staticprivate

Definition at line 648 of file cuigaldlg.cxx.

Referenced by FillFilterList().

std::unique_ptr< SfxTabPage > TPGalleryThemeProperties::Create ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rSet 
)
static

Definition at line 643 of file cuigaldlg.cxx.

Referenced by GalleryThemeProperties::GalleryThemeProperties().

TPGalleryThemeProperties::DECL_LINK ( ClickPreviewHdl  ,
weld::ToggleButton ,
void   
)
private
TPGalleryThemeProperties::DECL_LINK ( ClickSearchHdl  ,
weld::Button ,
void   
)
private
TPGalleryThemeProperties::DECL_LINK ( ClickTakeHdl  ,
weld::Button ,
void   
)
private
TPGalleryThemeProperties::DECL_LINK ( ClickTakeAllHdl  ,
weld::Button ,
void   
)
private
TPGalleryThemeProperties::DECL_LINK ( SelectFoundHdl  ,
weld::TreeView ,
void   
)
private
TPGalleryThemeProperties::DECL_LINK ( SelectFileTypeHdl  ,
weld::ComboBox ,
void   
)
private
TPGalleryThemeProperties::DECL_LINK ( DClickFoundHdl  ,
weld::TreeView ,
bool   
)
private
TPGalleryThemeProperties::DECL_LINK ( PreviewTimerHdl  ,
Timer ,
void   
)
private
TPGalleryThemeProperties::DECL_LINK ( DialogClosedHdl  ,
css::ui::dialogs::DialogClosedEvent *  ,
void   
)
private
void TPGalleryThemeProperties::DoPreview ( )
private
void TPGalleryThemeProperties::EndSearchProgressHdl ( sal_Int32  nResult)
private

Definition at line 985 of file cuigaldlg.cxx.

References aFoundList, bEntriesFound, CuiResId(), m_xBtnTakeAll, m_xCbxPreview, and m_xLbxFound.

Referenced by SearchFiles().

void TPGalleryThemeProperties::FillFilterList ( )
private
virtual bool TPGalleryThemeProperties::FillItemSet ( SfxItemSet )
inlineoverrideprivatevirtual

Reimplemented from SfxTabPage.

Definition at line 244 of file cuigaldlg.hxx.

const ExchangeData* TPGalleryThemeProperties::GetXChgData ( ) const
inline

Definition at line 268 of file cuigaldlg.hxx.

References pData.

Referenced by TakeThread::execute().

virtual void TPGalleryThemeProperties::Reset ( const SfxItemSet )
inlineoverrideprivatevirtual

Reimplemented from SfxTabPage.

Definition at line 243 of file cuigaldlg.hxx.

void TPGalleryThemeProperties::SearchFiles ( )
private
void TPGalleryThemeProperties::SetXChgData ( ExchangeData pData)
void TPGalleryThemeProperties::StartSearchFiles ( const OUString &  _rFolderURL,
short  _nDlgResult 
)

Definition at line 626 of file cuigaldlg.cxx.

References aURL, bSearchRecursive, RET_OK, and SearchFiles().

void TPGalleryThemeProperties::TakeFiles ( )
private

Friends And Related Function Documentation

friend class SearchThread
friend

Definition at line 213 of file cuigaldlg.hxx.

friend class TakeProgress
friend

Definition at line 214 of file cuigaldlg.hxx.

Referenced by TakeFiles().

friend class TakeThread
friend

Definition at line 215 of file cuigaldlg.hxx.

Member Data Documentation

std::vector< std::unique_ptr<FilterEntry> > TPGalleryThemeProperties::aFilterEntryList
private

Definition at line 220 of file cuigaldlg.hxx.

Referenced by SearchThread::execute(), FillFilterList(), and ~TPGalleryThemeProperties().

std::vector<OUString> TPGalleryThemeProperties::aFoundList
private
OUString TPGalleryThemeProperties::aLastFilterName
private

Definition at line 222 of file cuigaldlg.hxx.

OUString TPGalleryThemeProperties::aPreviewString
private

Definition at line 223 of file cuigaldlg.hxx.

Referenced by DoPreview().

Timer TPGalleryThemeProperties::aPreviewTimer
private

Definition at line 221 of file cuigaldlg.hxx.

Referenced by SetXChgData().

INetURLObject TPGalleryThemeProperties::aURL
private

Definition at line 224 of file cuigaldlg.hxx.

Referenced by SearchFiles(), and StartSearchFiles().

bool TPGalleryThemeProperties::bEntriesFound
private

Definition at line 225 of file cuigaldlg.hxx.

Referenced by EndSearchProgressHdl(), and TakeFiles().

bool TPGalleryThemeProperties::bInputAllowed
private

Definition at line 226 of file cuigaldlg.hxx.

Referenced by DoPreview().

bool TPGalleryThemeProperties::bSearchRecursive
private

Definition at line 228 of file cuigaldlg.hxx.

Referenced by SearchThread::execute(), and StartSearchFiles().

bool TPGalleryThemeProperties::bTakeAll
private

Definition at line 227 of file cuigaldlg.hxx.

Referenced by TakeThread::execute(), and TakeFiles().

SvxGalleryPreview TPGalleryThemeProperties::m_aWndPreview
private

Definition at line 234 of file cuigaldlg.hxx.

Referenced by DoPreview().

std::unique_ptr<weld::Button> TPGalleryThemeProperties::m_xBtnSearch
private

Definition at line 237 of file cuigaldlg.hxx.

Referenced by SetXChgData().

std::unique_ptr<weld::Button> TPGalleryThemeProperties::m_xBtnTake
private

Definition at line 238 of file cuigaldlg.hxx.

Referenced by SetXChgData().

std::unique_ptr<weld::Button> TPGalleryThemeProperties::m_xBtnTakeAll
private

Definition at line 239 of file cuigaldlg.hxx.

Referenced by EndSearchProgressHdl(), and SetXChgData().

std::unique_ptr<weld::ComboBox> TPGalleryThemeProperties::m_xCbbFileType
private

Definition at line 235 of file cuigaldlg.hxx.

Referenced by SearchThread::execute(), FillFilterList(), SearchFiles(), and SetXChgData().

std::unique_ptr<weld::CheckButton> TPGalleryThemeProperties::m_xCbxPreview
private

Definition at line 240 of file cuigaldlg.hxx.

Referenced by EndSearchProgressHdl(), and SetXChgData().

std::unique_ptr<weld::TreeView> TPGalleryThemeProperties::m_xLbxFound
private
std::unique_ptr<weld::CustomWeld> TPGalleryThemeProperties::m_xWndPreview
private

Definition at line 241 of file cuigaldlg.hxx.

ExchangeData* TPGalleryThemeProperties::pData
private

Definition at line 217 of file cuigaldlg.hxx.

Referenced by GetXChgData(), and SetXChgData().

rtl::Reference< ::svt::DialogClosedListener > TPGalleryThemeProperties::xDialogListener
private

Definition at line 230 of file cuigaldlg.hxx.

Referenced by TPGalleryThemeProperties(), and ~TPGalleryThemeProperties().

css::uno::Reference< css::ui::dialogs::XFolderPicker2 > TPGalleryThemeProperties::xFolderPicker
private

Definition at line 232 of file cuigaldlg.hxx.

css::uno::Reference< css::media::XPlayer > TPGalleryThemeProperties::xMediaPlayer
private

Definition at line 231 of file cuigaldlg.hxx.

Referenced by DoPreview(), and ~TPGalleryThemeProperties().


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