35 return "com.sun.star.comp.framework.UriAbbreviation";
45 return {
"com.sun.star.util.UriAbbreviation" };
55 OUString aResult( aString );
56 if ( xStringWidth.is() )
68extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
70 css::uno::XComponentContext* context, css::uno::Sequence<css::uno::Any>
const& )
constexpr OUStringLiteral sServiceName
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual OUString SAL_CALL abbreviateString(const css::uno::Reference< css::util::XStringWidth > &xStringWidth, ::sal_Int32 nWidth, const OUString &aString) override
virtual sal_Bool SAL_CALL supportsService(const OUString &sServiceName) override
virtual OUString SAL_CALL getImplementationName() override
UriAbbreviation(css::uno::Reference< css::uno::XComponentContext > const &context)
bool CPPUHELPER_DLLPUBLIC supportsService(css::lang::XServiceInfo *implementation, rtl::OUString const &name)
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * framework_UriAbbreviation_get_implementation(css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)