32#include <FormattedField.hxx>
33#include <FixedText.hxx>
34#include <ImageControl.hxx>
47 ,m_pController(nullptr)
48 ,m_pReportDefinition(_pReportDefinition)
80 OSL_FAIL(
"Who called me!");
117 for (sal_uInt16
i = 0;
i <
nCount && !pPage ; ++
i)
120 if ( pRptPage && pRptPage->
getSection() == _xSection )
129 if ( xReportDefinition.is() )
138 OSL_ENSURE( xReportDefinition.is(),
"OReportModel::getReportDefinition: invalid model at our controller!" );
139 return xReportDefinition;
147uno::Reference< uno::XInterface >
OReportModel::createShape(
const OUString& aServiceSpecifier,uno::Reference< drawing::XShape >& _rShape,sal_Int32 nOrientation)
149 uno::Reference< uno::XInterface > xRet;
157 throw uno::Exception(
"no shape",
nullptr);
164 throw uno::Exception(
"no shape",
nullptr);
170 throw uno::Exception(
"no shape",
nullptr);
176 throw uno::Exception(
"no shape",
nullptr);
182 throw uno::Exception(
"no shape",
nullptr);
184 else if ( _rShape.is() )
188 throw uno::Exception(
"no shape",
nullptr);
virtual rtl::Reference< SdrPage > RemovePage(sal_uInt16 nPgNum)
virtual void InsertPage(SdrPage *pPage, sal_uInt16 nPos=0xFFFF)
virtual void SetChanged(bool bFlg=true)
void SetSdrUndoFactory(SdrUndoFactory *pUndoFactory)
const SdrPage * GetPage(sal_uInt16 nPgNum) const
sal_uInt16 GetPageCount() const
virtual void SAL_CALL setModified(sal_Bool bModified) override
css::uno::Reference< css::uno::XComponentContext > getContext()
virtual SvxNumType GetPageNumType() const override
rtl::Reference< OXUndoEnvironment > m_xUndoEnv
OReportPage * createNewPage(const css::uno::Reference< css::report::XSection > &_xSection)
virtual void SetChanged(bool bFlg=true) override
::dbaui::DBSubComponentController * m_pController
virtual css::uno::Reference< css::uno::XInterface > createUnoModel() override
virtual rtl::Reference< SdrPage > RemovePage(sal_uInt16 nPgNum) override
css::uno::Reference< css::report::XReportDefinition > getReportDefinition() const
returns the XReportDefinition which the OReportModel belongs to
void SetModified(bool _bModified)
OReportPage * getPage(const css::uno::Reference< css::report::XSection > &_xSection)
returns the page which belongs to a section
virtual ~OReportModel() override
OReportModel(const OReportModel &)=delete
css::uno::Reference< css::uno::XInterface > createShape(const OUString &aServiceSpecifier, css::uno::Reference< css::drawing::XShape > &_rShape, sal_Int32 nOrientation=-1)
virtual rtl::Reference< SdrPage > AllocPage(bool bMasterPage) override
::reportdesign::OReportDefinition * m_pReportDefinition
const css::uno::Reference< css::report::XSection > & getSection() const
constexpr OUStringLiteral SERVICE_FIXEDLINE
constexpr OUStringLiteral PROPERTY_NUMBERINGTYPE
constexpr OUStringLiteral SERVICE_IMAGECONTROL
constexpr OUStringLiteral SERVICE_FIXEDTEXT
constexpr OUStringLiteral SERVICE_FORMATTEDFIELD
constexpr OUStringLiteral SERVICE_REPORTDEFINITION
constexpr OUStringLiteral PROPERTY_FORMATSSUPPLIER