27using ::com::sun::star::uno::Any;
28using ::com::sun::star::form::XFormsSupplier2;
41 return css::uno::Sequence<sal_Int8>();
46 Any aRet = ::cppu::queryInterface ( _rType
47 ,
static_cast< XFormsSupplier2*
>(
this )
48 ,
static_cast< XFormsSupplier*
>(
this )
50 if ( !aRet.hasValue() )
64 OUString aShapeType( xDescr->getShapeType() );
66 if ( aShapeType ==
"com.sun.star.drawing.ShapeControl"
67 || aShapeType ==
"com.sun.star.drawing.ControlShape"
70 return new FmFormObj(
GetSdrPage()->getSdrModelFromSdrPage());
94 css::uno::Reference< css::container::XNameContainer > xForms;
98 xForms.set( pFmPage->
GetForms(), css::uno::UNO_QUERY_THROW );
111 bHas = pFormPage->
GetForms(
false ).is();
const css::uno::Reference< css::form::XForms > & GetForms(bool _bForceCreate=true) const
virtual SdrInventor GetObjInventor() const
A SdrPage contains exactly one SdrObjList and a description of the physical page dimensions (size / m...
virtual css::uno::Reference< css::drawing::XShape > CreateShape(SdrObject *pObj) const
SdrPage * GetSdrPage() const
virtual rtl::Reference< SdrObject > CreateSdrObject_(const css::uno::Reference< css::drawing::XShape > &xShape)
virtual css::uno::Reference< css::drawing::XShape > CreateShape(SdrObject *pObj) const override
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override
virtual css::uno::Any SAL_CALL queryAggregation(const css::uno::Type &aType) override
virtual sal_Bool SAL_CALL hasForms() override
virtual ~SvxFmDrawPage() noexcept override
SvxFmDrawPage(SdrPage *pPage)
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
virtual rtl::Reference< SdrObject > CreateSdrObject_(const css::uno::Reference< css::drawing::XShape > &xShape) override
virtual css::uno::Reference< css::container::XNameContainer > SAL_CALL getForms() override
css::uno::Type const & get()
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
virtual css::uno::Any SAL_CALL queryAggregation(css::uno::Type const &rType) SAL_OVERRIDE
css::uno::Sequence< T > concatSequences(const css::uno::Sequence< T > &rS1, const Ss &... rSn)