22#include <com/sun/star/lang/XServiceInfo.hpp>
23#include <com/sun/star/util/XStringAbbreviation.hpp>
24#include <com/sun/star/uno/XComponentContext.hpp>
31 :
public ::cppu::WeakImplHelper<css::util::XStringAbbreviation, css::lang::XServiceInfo>
34 explicit UriAbbreviation(css::uno::Reference<css::uno::XComponentContext>
const& context);
42 virtual OUString SAL_CALL
43 abbreviateString(
const css::uno::Reference<css::util::XStringWidth>& xStringWidth,
44 ::sal_Int32 nWidth,
const OUString& aString)
override;
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
UriAbbreviation(UriAbbreviation const &)=delete
virtual ~UriAbbreviation() override
virtual OUString SAL_CALL getImplementationName() override
UriAbbreviation & operator=(UriAbbreviation const &)=delete
UriAbbreviation(css::uno::Reference< css::uno::XComponentContext > const &context)