24#include <com/sun/star/deployment/XExtensionManager.hpp>
26#include <com/sun/star/uno/Reference.hxx>
27#include <com/sun/star/ucb/XCommandEnvironment.hpp>
28#include <com/sun/star/ucb/XProgressHandler.hpp>
91 css::uno::Sequence<css::uno::Sequence<css::uno::Reference<css::deployment::XPackage>>>
147 virtual void execute()
override;
156 :
public ::cppu::WeakImplHelper<css::ucb::XCommandEnvironment, css::task::XInteractionHandler,
157 css::ucb::XProgressHandler>
164 virtual css::uno::Reference<css::task::XInteractionHandler>
166 virtual css::uno::Reference<css::ucb::XProgressHandler> SAL_CALL
getProgressHandler()
override;
169 virtual void SAL_CALL
170 handle(css::uno::Reference<css::task::XInteractionRequest>
const& xRequest)
override;
173 virtual void SAL_CALL
push(css::uno::Any
const&
Status)
override;
175 virtual void SAL_CALL
pop()
override;
i18nutil::SearchOptions2 m_searchOptions
std::unique_ptr< weld::MenuButton > m_xGearBtn
std::vector< std::shared_ptr< AdditionsItem > > m_aAdditionsItems
std::vector< AdditionInfo > m_aAllExtensionsVector
DECL_LINK(SearchUpdateHdl, weld::Entry &, void)
void SetProgress(const OUString &rProgress)
static bool sortByComment(const AdditionInfo &a, const AdditionInfo &b)
std::unique_ptr< weld::Button > m_xButtonClose
DECL_LINK(CloseButtonHdl, weld::Button &, void)
std::unique_ptr< weld::ScrolledWindow > m_xContentWindow
AdditionsDialog(weld::Window *pParent, const OUString &sAdditionsTag)
std::unique_ptr< weld::Container > m_xContentGrid
std::unique_ptr< weld::Entry > m_xEntrySearch
css::uno::Reference< css::deployment::XExtensionManager > m_xExtensionManager
static bool sortByRating(const AdditionInfo &a, const AdditionInfo &b)
DECL_LINK(FocusOut_Impl, weld::Widget &, void)
~AdditionsDialog() override
static bool sortByDownload(const AdditionInfo &a, const AdditionInfo &b)
DECL_LINK(ImplUpdateDataHdl, Timer *, void)
size_t m_nCurrentListItemCount
::rtl::Reference< SearchAndParseThread > m_pSearchThread
std::unique_ptr< weld::Label > m_xLabelProgress
DECL_LINK(GearHdl, const OUString &, void)
css::uno::Sequence< css::uno::Sequence< css::uno::Reference< css::deployment::XPackage > > > getInstalledExtensions()
std::unique_ptr< weld::Image > m_xImageVoting5
std::unique_ptr< weld::Button > m_xButtonInstall
std::unique_ptr< weld::Label > m_xLabelName
std::unique_ptr< weld::Image > m_xImageVoting4
std::unique_ptr< weld::Builder > m_xBuilder
std::unique_ptr< weld::Image > m_xImageVoting3
std::unique_ptr< weld::Label > m_xLabelDownloadNumber
bool getExtensionFile(OUString &sExtensionFile)
std::unique_ptr< weld::Image > m_xImageVoting1
std::unique_ptr< weld::Image > m_xImageScreenshot
AdditionsDialog * m_pParentDialog
AdditionsItem(weld::Widget *pParent, AdditionsDialog *pParentDialog, const AdditionInfo &additionInfo)
std::unique_ptr< weld::LinkButton > m_xLinkButtonWebsite
DECL_LINK(ShowMoreHdl, weld::Button &, void)
std::unique_ptr< weld::Label > m_xLabelLicense
std::unique_ptr< weld::Label > m_xLabelAuthor
std::unique_ptr< weld::Widget > m_xContainer
std::unique_ptr< weld::LinkButton > m_xLinkButtonComments
std::unique_ptr< weld::Label > m_xLabelVersion
DECL_LINK(InstallHdl, weld::Button &, void)
std::unique_ptr< weld::Label > m_xLabelDescription
std::unique_ptr< weld::Button > m_xButtonShowMore
std::unique_ptr< weld::Image > m_xImageVoting2
virtual void execute() override
virtual ~SearchAndParseThread() override
SearchAndParseThread(AdditionsDialog *pDialog, bool bIsFirstLoading)
AdditionsDialog * m_pAdditionsDialog
void Append(AdditionInfo &additionInfo)
std::atomic< bool > m_bExecute
void CheckInstalledExtensions()
virtual void SAL_CALL push(css::uno::Any const &Status) override
virtual void SAL_CALL handle(css::uno::Reference< css::task::XInteractionRequest > const &xRequest) override
virtual css::uno::Reference< css::task::XInteractionHandler > SAL_CALL getInteractionHandler() override
TmpRepositoryCommandEnv()
virtual void SAL_CALL pop() override
virtual ~TmpRepositoryCommandEnv() override
virtual void SAL_CALL update(css::uno::Any const &Status) override
virtual css::uno::Reference< css::ucb::XProgressHandler > SAL_CALL getProgressHandler() override
OUString sCompatibleVersion