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 (TabPageParent pWindow, const SfxItemSet &rSet)
 
virtual ~TPGalleryThemeProperties () override
 
virtual void dispose () 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
 
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 GetConfigId () const
 
weld::WindowGetDialogFrameWeld () const
 

Static Public Member Functions

static VclPtr< SfxTabPageCreate (TabPageParent pParent, 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 &, void)
 
 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 (vcl::Window *pParent, const OString &rID, const OUString &rUIXMLDescription, const SfxItemSet *rAttrSet)
 
 SfxTabPage (TabPageParent pParent, 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
 
- Protected Attributes inherited from SfxTabPage
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 

Detailed Description

Definition at line 211 of file cuigaldlg.hxx.

Constructor & Destructor Documentation

TPGalleryThemeProperties::TPGalleryThemeProperties ( TabPageParent  pWindow,
const SfxItemSet rSet 
)

Definition at line 582 of file cuigaldlg.cxx.

References LINK, m_xLbxFound, and xDialogListener.

TPGalleryThemeProperties::~TPGalleryThemeProperties ( )
overridevirtual

Definition at line 637 of file cuigaldlg.cxx.

Member Function Documentation

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

Definition at line 655 of file cuigaldlg.cxx.

Referenced by FillFilterList().

VclPtr< SfxTabPage > TPGalleryThemeProperties::Create ( TabPageParent  pParent,
const SfxItemSet rSet 
)
static
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 ,
void   
)
private
TPGalleryThemeProperties::DECL_LINK ( PreviewTimerHdl  ,
Timer ,
void   
)
private
TPGalleryThemeProperties::DECL_LINK ( DialogClosedHdl  ,
css::ui::dialogs::DialogClosedEvent *  ,
void   
)
private
void TPGalleryThemeProperties::dispose ( void  )
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 642 of file cuigaldlg.cxx.

References aFilterEntryList, SfxTabPage::dispose(), xDialogListener, and xMediaPlayer.

void TPGalleryThemeProperties::DoPreview ( )
private
void TPGalleryThemeProperties::EndSearchProgressHdl ( sal_Int32  nResult)
private

Definition at line 993 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 269 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 627 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 dispose(), SearchThread::execute(), and FillFilterList().

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 dispose(), 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 dispose(), and DoPreview().


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