26#include <com/sun/star/drawing/framework/XResourceId.hpp>
27#include <com/sun/star/lang/XInitialization.hpp>
28#include <com/sun/star/lang/XServiceInfo.hpp>
38typedef ::cppu::WeakImplHelper <
39 css::drawing::framework::XResourceId,
40 css::lang::XInitialization,
41 css::lang::XServiceInfo
63 ResourceId (std::vector<OUString>&& rsResourceURLs);
72 const OUString& rsResourceURL);
83 const OUString& rsResourceURL,
84 const OUString& rsAnchorURL);
96 const OUString& rsResourceURL,
97 const OUString& rsFirstAnchorURL,
98 const css::uno::Sequence<OUString>& rAnchorURLs);
104 virtual OUString SAL_CALL
107 virtual css::util::URL SAL_CALL
113 virtual css::uno::Reference<
114 css::drawing::framework::XResourceId> SAL_CALL
117 virtual css::uno::Sequence<OUString> SAL_CALL
120 virtual OUString SAL_CALL
123 virtual sal_Int16 SAL_CALL
125 css::drawing::framework::XResourceId>& rxResourceId)
override;
129 const css::uno::Reference<
130 css::drawing::framework::XResourceId>& rxResourceId,
131 css::drawing::framework::AnchorBindingMode eMode)
override;
135 const OUString& rsAnchorURL,
136 css::drawing::framework::AnchorBindingMode eMode)
override;
138 virtual css::uno::Reference<
139 css::drawing::framework::XResourceId> SAL_CALL
145 const css::uno::Sequence<css::uno::Any>& aArguments)
override;
159 std::unique_ptr<css::util::URL>
mpURL;
175 css::drawing::framework::XResourceId>& rxId)
const;
191 const OUString* psFirstAnchorURL,
192 const css::uno::Sequence<OUString>* paAnchorURLs,
193 css::drawing::framework::AnchorBindingMode eMode)
const;
205 const ::std::vector<OUString>& rResourceURLs,
206 css::drawing::framework::AnchorBindingMode eMode)
const;
Implementation of the css::drawing::framework::ResourceId service and the css::drawing::framework::XR...
bool IsBoundToAnchor(const OUString *psFirstAnchorURL, const css::uno::Sequence< OUString > *paAnchorURLs, css::drawing::framework::AnchorBindingMode eMode) const
Return whether the called ResourceId object is bound to the anchor consisting of the URLs given by ps...
virtual css::uno::Reference< css::drawing::framework::XResourceId > SAL_CALL clone() override
css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual css::util::URL SAL_CALL getFullResourceURL() override
virtual css::uno::Sequence< OUString > SAL_CALL getAnchorURLs() override
virtual css::uno::Reference< css::drawing::framework::XResourceId > SAL_CALL getAnchor() override
std::unique_ptr< css::util::URL > mpURL
ResourceId()
Create a new, empty resource id.
virtual sal_Int16 SAL_CALL compareTo(const css::uno::Reference< css::drawing::framework::XResourceId > &rxResourceId) override
virtual OUString SAL_CALL getResourceTypePrefix() override
bool IsBoundToAnchor(const ::std::vector< OUString > &rResourceURLs, css::drawing::framework::AnchorBindingMode eMode) const
Return whether the called ResourceId object is bound to the anchor consisting of the URLs in rResourc...
sal_Int16 CompareToExternalImplementation(const css::uno::Reference< css::drawing::framework::XResourceId > &rxId) const
Compare the called ResourceId object to the given XResourceId object reference.
virtual sal_Bool SAL_CALL hasAnchor() override
virtual ~ResourceId() override
sal_Bool SAL_CALL supportsService(OUString const &ServiceName) override
ResourceId(const OUString &rsResourceURL, const OUString &rsFirstAnchorURL, const css::uno::Sequence< OUString > &rAnchorURLs)
Create a new resource id with an anchor that consists of a sequence of URLs that is extended by a fur...
virtual OUString SAL_CALL getResourceURL() override
std::vector< OUString > maResourceURLs
The set of URLs that consist of the resource URL at index 0 and the anchor URLs and indices 1 and abo...
OUString SAL_CALL getImplementationName() override
static css::uno::WeakReference< css::util::XURLTransformer > mxURLTransformerWeak
sal_Int16 CompareToLocalImplementation(const ResourceId &rId) const
Compare the called ResourceId object to the given ResourceId object.
virtual sal_Bool SAL_CALL isBoundToURL(const OUString &rsAnchorURL, css::drawing::framework::AnchorBindingMode eMode) override
virtual sal_Bool SAL_CALL isBoundTo(const css::uno::Reference< css::drawing::framework::XResourceId > &rxResourceId, css::drawing::framework::AnchorBindingMode eMode) override
void SAL_CALL initialize(const css::uno::Sequence< css::uno::Any > &aArguments) override
::cppu::WeakImplHelper< css::drawing::framework::XResourceId, css::lang::XInitialization, css::lang::XServiceInfo > ResourceIdInterfaceBase