27#include <com/sun/star/uno/Reference.hxx>
28#include <com/sun/star/uno/Sequence.hxx>
35 namespace uno {
class XComponentContext; }
41 namespace xpath {
class XXPathAPI; }
76 css::uno::Reference< css::uno::XComponentContext >
const & context,
77 css::uno::Reference< css::xml::dom::XNode >
const & element);
95 OUString getVersion()
const;
112 css::uno::Sequence< OUString > getSupportedPlatforms()
const;
119 std::pair< OUString, OUString > getLocalizedPublisherNameAndURL()
const;
126 OUString getLocalizedReleaseNotesURL()
const;
132 OUString getLocalizedLicenseURL()
const;
139 ::std::optional<SimpleLicenseAttributes> getSimpleLicenseAttributes()
const;
145 OUString getLocalizedDisplayName()
const;
166 ::std::optional< OUString > getLocalizedUpdateWebsiteURL()
const;
172 OUString getLocalizedDescriptionURL()
const;
179 css::uno::Reference< css::xml::dom::XNodeList >
180 getDependencies()
const;
188 css::uno::Sequence< OUString > getUpdateInformationUrls()
const;
200 css::uno::Sequence< OUString > getUpdateDownloadUrls()
const;
205 OUString getIconURL(
bool bHighContrast )
const;
207 bool hasDescription()
const;
210 SAL_DLLPRIVATE ::std::optional< OUString > getOptionalValue(
211 OUString
const & expression)
const;
213 SAL_DLLPRIVATE css::uno::Sequence< OUString > getUrls(
214 OUString
const & expression)
const;
225 SAL_DLLPRIVATE css::uno::Reference< css::xml::dom::XNode >
226 getLocalizedChild( OUString
const & sParent)
const;
227 SAL_DLLPRIVATE css::uno::Reference< css::xml::dom::XNode>
229 css::uno::Reference< css::xml::dom::XNode >
const & xParent,
230 std::u16string_view rTag)
const;
239 SAL_DLLPRIVATE css::uno::Reference< css::xml::dom::XNode>
240 getChildWithDefaultLocale(
241 css::uno::Reference< css::xml::dom::XNode >
const & xParent)
const;
246 SAL_DLLPRIVATE OUString getLocalizedHREFAttrFromChild(
247 OUString
const & sXPathParent,
bool * out_bParentExists)
const;
253 SAL_DLLPRIVATE OUString
254 getNodeValueFromExpression(OUString
const & expression)
const;
260 checkDenylist()
const;
264 SAL_DLLPRIVATE
static bool
265 checkDenylistVersion(std::u16string_view currentversion,
266 css::uno::Sequence< OUString >
const & versions);
268 css::uno::Reference< css::uno::XComponentContext >
m_context;
270 css::uno::Reference< css::xml::xpath::XXPathAPI >
m_xpath;
Access to the content of an XML description element.
css::uno::Reference< css::xml::xpath::XXPathAPI > m_xpath
css::uno::Reference< css::xml::dom::XNode > m_element
bool hasDescription() const
css::uno::Reference< css::uno::XComponentContext > m_context
#define DESKTOP_DEPLOYMENTMISC_DLLPUBLIC
DESKTOP_DEPLOYMENTMISC_DLLPUBLIC DescriptionInfoset getDescriptionInfoset(std::u16string_view sExtensionFolderURL)
creates a DescriptionInfoset object.
DESKTOP_DEPLOYMENTMISC_DLLPUBLIC OUString getIdentifier(css::uno::Reference< css::deployment::XPackage > const &package)
Gets the identifier of a package.