LibreOffice Module cui (master) 1
|
#include <cuigaldlg.hxx>
Public Member Functions | |
TPGalleryThemeProperties (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet) | |
virtual | ~TPGalleryThemeProperties () override |
void | SetXChgData (ExchangeData *pData) |
const ExchangeData * | GetXChgData () const |
void | StartSearchFiles (std::u16string_view _rFolderURL, short _nDlgResult) |
Public Member Functions inherited from SfxTabPage | |
void | SetDialogController (SfxOkDialogController *pDialog) |
virtual | ~SfxTabPage () override |
void | set_visible (bool bVisible) |
const SfxItemSet & | GetItemSet () const |
virtual bool | FillItemSet (SfxItemSet *) |
virtual void | Reset (const SfxItemSet *) |
virtual bool | DeferResetToFirstActivation () |
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 SfxItemSet * | GetDialogExampleSet () const |
OUString | GetHelpId () const |
OUString | GetConfigId () const |
bool | IsVisible () const |
weld::Window * | GetFrameWeld () const |
std::unordered_map< OUString, css::uno::Any > & | getAdditionalProperties () |
Static Public Member Functions | |
static std::unique_ptr< SfxTabPage > | Create (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet) |
Static Public Member Functions inherited from SfxTabPage | |
static const SfxPoolItem * | GetItem (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::Toggleable &, 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 &, std::u16string_view) |
Private Attributes | |
ExchangeData * | pData |
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::DialogClosedListener > | xDialogListener |
css::uno::Reference< css::media::XPlayer > | xMediaPlayer |
css::uno::Reference< css::ui::dialogs::XFolderPicker2 > | xFolderPicker |
DialogGalleryPreview | m_aWndPreview |
std::unique_ptr< weld::ComboBox > | m_xCbbFileType |
std::unique_ptr< weld::TreeView > | m_xLbxFound |
std::unique_ptr< weld::Button > | m_xBtnSearch |
std::unique_ptr< weld::Button > | m_xBtnTake |
std::unique_ptr< weld::Button > | m_xBtnTakeAll |
std::unique_ptr< weld::CheckButton > | m_xCbxPreview |
std::unique_ptr< weld::CustomWeld > | m_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 OUString &rID, const SfxItemSet *rAttrSet) | |
sal_uInt16 | GetWhich (sal_uInt16 nSlot, bool bDeep=true) const |
TypedWhichId< T > | GetWhich (TypedWhichId< T > nSlot, bool bDeep=true) const |
const SfxPoolItem * | GetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
const T * | GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
SfxOkDialogController * | GetDialogController () const |
Definition at line 212 of file cuigaldlg.hxx.
TPGalleryThemeProperties::TPGalleryThemeProperties | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rSet | ||
) |
Definition at line 578 of file cuigaldlg.cxx.
References LINK, m_xLbxFound, pData, rSet, and xDialogListener.
|
overridevirtual |
Definition at line 634 of file cuigaldlg.cxx.
References aFilterEntryList, xDialogListener, and xMediaPlayer.
|
staticprivate |
Definition at line 646 of file cuigaldlg.cxx.
Referenced by FillFilterList().
|
static |
Definition at line 641 of file cuigaldlg.cxx.
References rSet.
Referenced by GalleryThemeProperties::GalleryThemeProperties().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 875 of file cuigaldlg.cxx.
References aFoundList, aPreviewString, bInputAllowed, avmedia::MediaWindow::createPlayer(), ERRCODE_IO_NOTEXISTSPATH, SfxTabPage::GetFrameWeld(), INetURLObject::GetMainURL(), ErrorHandler::HandleError(), avmedia::MediaWindow::isMediaURL(), m_aWndPreview, m_xLbxFound, nIndex, INetURLObject::NONE, DialogGalleryPreview::SetGraphic(), INetURLObject::Unambiguous, and xMediaPlayer.
|
private |
Definition at line 983 of file cuigaldlg.cxx.
References aFoundList, bEntriesFound, CuiResId(), m_xBtnTakeAll, m_xCbxPreview, and m_xLbxFound.
Referenced by SearchFiles().
|
private |
Definition at line 656 of file cuigaldlg.cxx.
References addExtension(), aFilterEntryList, aName, aWildcard, CuiResId(), get(), GraphicFilter::GetGraphicFilter(), GraphicFilter::GetImportFormatCount(), GraphicFilter::GetImportFormatName(), GraphicFilter::GetImportFormatShortName(), GraphicFilter::GetImportWildcard(), avmedia::MediaWindow::getMediaFilters(), o3tl::getToken(), i, m_xCbbFileType, nIndex, and u.
Referenced by SetXChgData().
|
inlineoverrideprivatevirtual |
Reimplemented from SfxTabPage.
Definition at line 245 of file cuigaldlg.hxx.
|
inline |
Definition at line 269 of file cuigaldlg.hxx.
References pData.
Referenced by TakeThread::execute().
|
inlineoverrideprivatevirtual |
Reimplemented from SfxTabPage.
Definition at line 244 of file cuigaldlg.hxx.
|
private |
Definition at line 792 of file cuigaldlg.cxx.
References aFoundList, aURL, EndSearchProgressHdl(), SfxTabPage::GetFrameWeld(), m_xCbbFileType, m_xLbxFound, and weld::DialogController::runAsync().
Referenced by StartSearchFiles().
void TPGalleryThemeProperties::SetXChgData | ( | ExchangeData * | pData | ) |
Definition at line 601 of file cuigaldlg.cxx.
References aPreviewTimer, CuiResId(), FillFilterList(), LINK, m_xBtnSearch, m_xBtnTake, m_xBtnTakeAll, m_xCbbFileType, m_xCbxPreview, m_xLbxFound, pData, Timer::SetInvokeHandler(), and Timer::SetTimeout().
void TPGalleryThemeProperties::StartSearchFiles | ( | std::u16string_view | _rFolderURL, |
short | _nDlgResult | ||
) |
Definition at line 624 of file cuigaldlg.cxx.
References aURL, bSearchRecursive, RET_OK, and SearchFiles().
|
private |
Definition at line 843 of file cuigaldlg.cxx.
References bEntriesFound, bTakeAll, SfxTabPage::GetFrameWeld(), m_xLbxFound, and weld::DialogController::runAsync().
|
friend |
Definition at line 214 of file cuigaldlg.hxx.
|
friend |
Definition at line 215 of file cuigaldlg.hxx.
|
friend |
Definition at line 216 of file cuigaldlg.hxx.
|
private |
Definition at line 221 of file cuigaldlg.hxx.
Referenced by SearchThread::execute(), FillFilterList(), and ~TPGalleryThemeProperties().
|
private |
Definition at line 219 of file cuigaldlg.hxx.
Referenced by DoPreview(), EndSearchProgressHdl(), TakeThread::execute(), SearchThread::ImplSearch(), and SearchFiles().
|
private |
Definition at line 223 of file cuigaldlg.hxx.
|
private |
Definition at line 224 of file cuigaldlg.hxx.
Referenced by DoPreview().
|
private |
Definition at line 222 of file cuigaldlg.hxx.
Referenced by SetXChgData().
|
private |
Definition at line 225 of file cuigaldlg.hxx.
Referenced by SearchFiles(), and StartSearchFiles().
|
private |
Definition at line 226 of file cuigaldlg.hxx.
Referenced by EndSearchProgressHdl(), and TakeFiles().
|
private |
Definition at line 227 of file cuigaldlg.hxx.
Referenced by DoPreview().
|
private |
Definition at line 229 of file cuigaldlg.hxx.
Referenced by SearchThread::execute(), and StartSearchFiles().
|
private |
Definition at line 228 of file cuigaldlg.hxx.
Referenced by TakeThread::execute(), and TakeFiles().
|
private |
Definition at line 235 of file cuigaldlg.hxx.
Referenced by DoPreview().
|
private |
Definition at line 238 of file cuigaldlg.hxx.
Referenced by SetXChgData().
|
private |
Definition at line 239 of file cuigaldlg.hxx.
Referenced by SetXChgData().
|
private |
Definition at line 240 of file cuigaldlg.hxx.
Referenced by EndSearchProgressHdl(), and SetXChgData().
|
private |
Definition at line 236 of file cuigaldlg.hxx.
Referenced by SearchThread::execute(), FillFilterList(), SearchFiles(), and SetXChgData().
|
private |
Definition at line 241 of file cuigaldlg.hxx.
Referenced by EndSearchProgressHdl(), and SetXChgData().
|
private |
Definition at line 237 of file cuigaldlg.hxx.
Referenced by DoPreview(), EndSearchProgressHdl(), TakeThread::execute(), SearchThread::ImplSearch(), SearchFiles(), SetXChgData(), TakeFiles(), and TPGalleryThemeProperties().
|
private |
Definition at line 242 of file cuigaldlg.hxx.
|
private |
Definition at line 218 of file cuigaldlg.hxx.
Referenced by GetXChgData(), and SetXChgData().
|
private |
Definition at line 231 of file cuigaldlg.hxx.
Referenced by TPGalleryThemeProperties(), and ~TPGalleryThemeProperties().
|
private |
Definition at line 233 of file cuigaldlg.hxx.
|
private |
Definition at line 232 of file cuigaldlg.hxx.
Referenced by DoPreview(), and ~TPGalleryThemeProperties().