Lines Matching refs:OUString

68 using ::rtl::OUString;
99 ::rtl::OUString( in item()
105 ::rtl::OUString getNodeValue( in getNodeValue()
113 (::rtl::OUString( in getNodeValue()
140 const ::rtl::OUString& installDir,
150 ::rtl::OUString getExtensionRootUrl() const in getExtensionRootUrl()
158 ::rtl::OUString m_sExtensionRootUrl;
194 const OUString& installDir, in ExtensionDescription()
203 OUString sDescriptionUri(installDir + OUSTR("/description.xml")); in ExtensionDescription()
264 OUString nsDescription = xRoot->getNamespaceURI(); in ExtensionDescription()
343 DescriptionInfoset getDescriptionInfoset(OUString const & sExtensionFolderURL) in getDescriptionInfoset()
358 (OUString( in getDescriptionInfoset()
377 ::rtl::OUString( in DescriptionInfoset()
383 ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("desc")), in DescriptionInfoset()
386 ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("xlink")), in DescriptionInfoset()
387 ::rtl::OUString( in DescriptionInfoset()
394 ::boost::optional< ::rtl::OUString > DescriptionInfoset::getIdentifier() const { in getIdentifier()
396 ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("desc:identifier/@value"))); in getIdentifier()
399 ::rtl::OUString DescriptionInfoset::getNodeValueFromExpression(::rtl::OUString const & expression) … in getNodeValueFromExpression()
409 return n.is() ? getNodeValue(n) : ::rtl::OUString(); in getNodeValueFromExpression()
415 boost::optional< OUString > id(getIdentifier()); in checkBlacklist()
418 OUString currentversion(getVersion()); in checkBlacklist()
426 …::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.configuration.ConfigurationProvider")), … in checkBlacklist()
431 prop.Name = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("nodepath")); in checkBlacklist()
432 …prop.Value <<= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Office.ExtensionDepend… in checkBlacklist()
437 …::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.configuration.ConfigurationAccess")), ar… in checkBlacklist()
446 ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Versions"))); in checkBlacklist()
448 css::uno::Sequence< ::rtl::OUString > blversions; in checkBlacklist()
454 ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Dependencies"))); in checkBlacklist()
455 ::rtl::OUString udeps; in checkBlacklist()
465 … ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.xml.dom.DocumentBuilder")), m_context), in checkBlacklist()
483 m_xpath->selectSingleNode(m_element, ::rtl::OUString( in checkBlacklist()
490 … ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("http://openoffice.org/extensions/description/2006")), in checkBlacklist()
491 … ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("dependencies"))), css::uno::UNO_QUERY_THROW); in checkBlacklist()
493 xCurrentDeps = m_xpath->selectSingleNode(m_element, ::rtl::OUString( in checkBlacklist()
512 ::rtl::OUString currentversion, in checkBlacklistVersion()
513 ::com::sun::star::uno::Sequence< ::rtl::OUString > const & versions) const in checkBlacklistVersion()
524 ::rtl::OUString DescriptionInfoset::getVersion() const in getVersion()
526 return getNodeValueFromExpression( ::rtl::OUString( in getVersion()
530 css::uno::Sequence< ::rtl::OUString > DescriptionInfoset::getSupportedPlaforms() const in getSupportedPlaforms()
536 ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("all"))); in getSupportedPlaforms()
541 m_xpath->selectSingleNode(m_element, ::rtl::OUString( in getSupportedPlaforms()
546 ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("all"))); in getSupportedPlaforms()
550 const ::rtl::OUString value = getNodeValueFromExpression(::rtl::OUString( in getSupportedPlaforms()
553 ::std::vector< ::rtl::OUString> vec; in getSupportedPlaforms()
557 ::rtl::OUString aToken = value.getToken( 0, ',', nIndex ); in getSupportedPlaforms()
575 return m_xpath->selectNodeList(m_element, ::rtl::OUString( in getDependencies()
584 css::uno::Sequence< ::rtl::OUString >
587 ::rtl::OUString( in getUpdateInformationUrls()
592 css::uno::Sequence< ::rtl::OUString >
596 ::rtl::OUString( in getUpdateDownloadUrls()
601 ::rtl::OUString DescriptionInfoset::getIconURL( sal_Bool bHighContrast ) const in getIconURL()
603 css::uno::Sequence< ::rtl::OUString > aStrList = getUrls( ::rtl::OUString( in getIconURL()
605 css::uno::Sequence< ::rtl::OUString > aStrListHC = getUrls( ::rtl::OUString( in getIconURL()
614 return ::rtl::OUString(); in getIconURL()
617 ::boost::optional< ::rtl::OUString > DescriptionInfoset::getLocalizedUpdateWebsiteURL() in getLocalizedUpdateWebsiteURL()
621 …const ::rtl::OUString sURL (getLocalizedHREFAttrFromChild(::rtl::OUString(RTL_CONSTASCII_USTRINGPA… in getLocalizedUpdateWebsiteURL()
625 return ::boost::optional< ::rtl::OUString >(sURL); in getLocalizedUpdateWebsiteURL()
627 return bParentExists ? ::boost::optional< ::rtl::OUString >(::rtl::OUString()) : in getLocalizedUpdateWebsiteURL()
628 ::boost::optional< ::rtl::OUString >(); in getLocalizedUpdateWebsiteURL()
631 ::boost::optional< ::rtl::OUString > DescriptionInfoset::getOptionalValue( in getOptionalValue()
632 ::rtl::OUString const & expression) const in getOptionalValue()
643 ? ::boost::optional< ::rtl::OUString >(getNodeValue(n)) in getOptionalValue()
644 : ::boost::optional< ::rtl::OUString >(); in getOptionalValue()
647 css::uno::Sequence< ::rtl::OUString > DescriptionInfoset::getUrls( in getUrls()
648 ::rtl::OUString const & expression) const in getUrls()
658 css::uno::Sequence< ::rtl::OUString > urls(ns.is() ? ns->getLength() : 0); in getUrls()
665 ::std::pair< ::rtl::OUString, ::rtl::OUString > DescriptionInfoset::getLocalizedPublisherNameAndURL… in getLocalizedPublisherNameAndURL()
668 getLocalizedChild(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("desc:publisher"))); in getLocalizedPublisherNameAndURL()
670 ::rtl::OUString sPublisherName; in getLocalizedPublisherNameAndURL()
671 ::rtl::OUString sURL; in getLocalizedPublisherNameAndURL()
674 const ::rtl::OUString exp1(RTL_CONSTASCII_USTRINGPARAM("text()")); in getLocalizedPublisherNameAndURL()
685 const ::rtl::OUString exp2(RTL_CONSTASCII_USTRINGPARAM("@xlink:href")); in getLocalizedPublisherNameAndURL()
699 ::rtl::OUString DescriptionInfoset::getLocalizedReleaseNotesURL() const in getLocalizedReleaseNotesURL()
701 return getLocalizedHREFAttrFromChild(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in getLocalizedReleaseNotesURL()
705 ::rtl::OUString DescriptionInfoset::getLocalizedDisplayName() const in getLocalizedDisplayName()
708 getLocalizedChild(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("desc:display-name"))); in getLocalizedDisplayName()
711 const ::rtl::OUString exp(RTL_CONSTASCII_USTRINGPARAM("text()")); in getLocalizedDisplayName()
721 return ::rtl::OUString(); in getLocalizedDisplayName()
724 ::rtl::OUString DescriptionInfoset::getLocalizedLicenseURL() const in getLocalizedLicenseURL()
726 return getLocalizedHREFAttrFromChild(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in getLocalizedLicenseURL()
739 ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in getSimpleLicenseAttributes()
748 getNodeValueFromExpression(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in getSimpleLicenseAttributes()
751 ::boost::optional< ::rtl::OUString > suppressOnUpdate = getOptionalValue( in getSimpleLicenseAttributes()
752 ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in getSimpleLicenseAttributes()
756 ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("true"))); in getSimpleLicenseAttributes()
760 ::boost::optional< ::rtl::OUString > suppressIfRequired = getOptionalValue( in getSimpleLicenseAttributes()
761 ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in getSimpleLicenseAttributes()
765 ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("true"))); in getSimpleLicenseAttributes()
775 ::rtl::OUString DescriptionInfoset::getLocalizedDescriptionURL() const in getLocalizedDescriptionURL()
777 return getLocalizedHREFAttrFromChild(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in getLocalizedDescriptionURL()
782 DescriptionInfoset::getLocalizedChild( const ::rtl::OUString & sParent) const in getLocalizedChild()
796 const ::rtl::OUString sLocale = getOfficeLocaleString(); in getLocalizedChild()
818 const & xParent, ::rtl::OUString const & sLocale) const in matchFullLocale()
821 const ::rtl::OUString exp1( in matchFullLocale()
822 ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("*[@lang=\"")) in matchFullLocale()
824 ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("\"]"))); in matchFullLocale()
842 const ::rtl::OUString sLangCountry(officeLocale.Language + in matchCountryAndLanguage()
843 ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("-")) + in matchCountryAndLanguage()
846 const ::rtl::OUString exp1( in matchCountryAndLanguage()
847 ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("*[@lang=\"")) in matchCountryAndLanguage()
849 ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("\"]"))); in matchCountryAndLanguage()
860 const ::rtl::OUString exp2( in matchCountryAndLanguage()
861 ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("*[starts-with(@lang,\"")) in matchCountryAndLanguage()
863 ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("-\")]"))); in matchCountryAndLanguage()
884 const ::rtl::OUString exp1( in matchLanguage()
885 ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("*[@lang=\"")) in matchLanguage()
887 + ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("\"]"))); in matchLanguage()
898 const ::rtl::OUString exp2( in matchLanguage()
899 ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("*[starts-with(@lang,\"")) in matchLanguage()
901 + ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("-\")]"))); in matchLanguage()
916 … if (xParent->getNodeName().equals(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("simple-license")))) in getChildWithDefaultLocale()
920 nodeDefault = m_xpath->selectSingleNode(xParent, ::rtl::OUString( in getChildWithDefaultLocale()
928 const ::rtl::OUString exp1( in getChildWithDefaultLocale()
929 ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("desc:license-text[@license-id = \"")) in getChildWithDefaultLocale()
931 + ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("\"]"))); in getChildWithDefaultLocale()
940 const ::rtl::OUString exp2(RTL_CONSTASCII_USTRINGPARAM("*[1]")); in getChildWithDefaultLocale()
949 ::rtl::OUString DescriptionInfoset::getLocalizedHREFAttrFromChild( in getLocalizedHREFAttrFromChild()
950 ::rtl::OUString const & sXPathParent, bool * out_bParentExists) in getLocalizedHREFAttrFromChild()
956 ::rtl::OUString sURL; in getLocalizedHREFAttrFromChild()
961 const ::rtl::OUString exp(RTL_CONSTASCII_USTRINGPARAM("@xlink:href")); in getLocalizedHREFAttrFromChild()