19#ifndef INCLUDED_SVX_UNOPAGE_HXX
20#define INCLUDED_SVX_UNOPAGE_HXX
22#include <com/sun/star/lang/XComponent.hpp>
24#include <com/sun/star/lang/XServiceInfo.hpp>
25#include <com/sun/star/drawing/XDrawPage.hpp>
26#include <com/sun/star/drawing/XShapes2.hpp>
27#include <com/sun/star/drawing/XShapes3.hpp>
28#include <com/sun/star/drawing/XShapeGrouper.hpp>
29#include <com/sun/star/lang/XUnoTunnel.hpp>
52 css::drawing::XShapeGrouper,
53 css::drawing::XShapes2,
54 css::drawing::XShapes3,
55 css::lang::XServiceInfo,
56 css::lang::XUnoTunnel,
57 css::lang::XComponent>
67 void SelectObjectsInView(
const css::uno::Reference< css::drawing::XShapes >& aShapes,
SdrPageView* pPageView )
noexcept;
68 void SelectObjectInView(
const css::uno::Reference< css::drawing::XShape >& xShape,
SdrPageView* pPageView )
noexcept;
70 virtual void disposing() noexcept;
80 rtl::Reference<SdrObject> CreateSdrObject(
const css::uno::Reference< css::drawing::XShape >& xShape,
bool bBeginning =
false ) noexcept;
83 static
void GetTypeAndInventor(
SdrObjKind& rType,
SdrInventor& rInventor, const OUString& aName ) noexcept;
88 virtual
rtl::Reference<
SdrObject> CreateSdrObject_( const css::
uno::Reference< css::
drawing::XShape >& xShape );
101 virtual
void SAL_CALL release() noexcept override;
104 virtual
void SAL_CALL add( const css::
uno::Reference< css::
drawing::XShape >& xShape ) override;
105 virtual
void SAL_CALL remove( const css::
uno::Reference< css::
drawing::XShape >& xShape ) override;
108 virtual
void SAL_CALL addTop( const css::
uno::Reference< css::
drawing::XShape >& xShape ) override;
109 virtual
void SAL_CALL addBottom( const css::
uno::Reference< css::
drawing::XShape >& xShape ) override;
112 virtual
void SAL_CALL sort( const css::
uno::Sequence< sal_Int32 >& sortOrder ) override;
115 virtual css::
uno::
Type SAL_CALL getElementType() override;
116 virtual
sal_Bool SAL_CALL hasElements() override;
119 virtual sal_Int32 SAL_CALL getCount() override ;
120 virtual css::
uno::Any SAL_CALL getByIndex( sal_Int32
Index ) override;
123 virtual css::
uno::Reference< css::
drawing::XShapeGroup > SAL_CALL group( const css::
uno::Reference< css::
drawing::XShapes >& xShapes ) override;
124 virtual
void SAL_CALL ungroup( const css::
uno::Reference< css::
drawing::XShapeGroup >& aGroup ) override;
127 virtual OUString SAL_CALL getImplementationName() override;
128 virtual
sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
129 virtual css::
uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
132 virtual
void SAL_CALL dispose() override;
133 virtual
void SAL_CALL addEventListener( const css::
uno::Reference< css::lang::XEventListener >& aListener ) override;
134 virtual
void SAL_CALL removeEventListener( const css::
uno::Reference< css::lang::XEventListener >& aListener ) override;
A SdrPage contains exactly one SdrObjList and a description of the physical page dimensions (size / m...
std::unique_ptr< SdrView > mpView
cppu::OBroadcastHelper mrBHelper
#define SVXCORE_DLLPUBLIC