LibreOffice Module reportdesign (master)
1
|
#include <RptModel.hxx>
Private Member Functions | |
virtual css::uno::Reference< css::uno::XInterface > | createUnoModel () override |
OReportModel (const OReportModel &)=delete | |
void | operator= (const OReportModel &rSrcModel)=delete |
Private Attributes | |
rtl::Reference< OXUndoEnvironment > | m_xUndoEnv |
::dbaui::DBSubComponentController * | m_pController |
::reportdesign::OReportDefinition * | m_pReportDefinition |
Friends | |
class | OReportPage |
Definition at line 40 of file RptModel.hxx.
|
privatedelete |
rptui::OReportModel::OReportModel | ( | ::reportdesign::OReportDefinition * | _pReportDefinition | ) |
Definition at line 43 of file RptModel.cxx.
References m_xUndoEnv, and SdrModel::SetSdrUndoFactory().
|
overridevirtual |
Definition at line 55 of file RptModel.cxx.
References detachController().
|
overridevirtual |
Reimplemented from SdrModel.
Definition at line 69 of file RptModel.cxx.
|
inline |
Definition at line 69 of file RptModel.hxx.
OReportPage * rptui::OReportModel::createNewPage | ( | const css::uno::Reference< css::report::XSection > & | _xSection | ) |
Definition at line 95 of file RptModel.cxx.
References SdrModel::InsertPage(), m_xUndoEnv, and OReportPage.
uno::Reference< uno::XInterface > rptui::OReportModel::createShape | ( | const OUString & | aServiceSpecifier, |
css::uno::Reference< css::drawing::XShape > & | _rShape, | ||
sal_Int32 | nOrientation = -1 |
||
) |
Definition at line 138 of file RptModel.cxx.
References reportdesign::OReportDefinition::getContext(), m_pReportDefinition, PROPERTY_FORMATSSUPPLIER, SERVICE_FIXEDLINE, SERVICE_FIXEDTEXT, SERVICE_FORMATTEDFIELD, SERVICE_IMAGECONTROL, SERVICE_REPORTDEFINITION, and reportdesign::OFormattedField::setPropertyValue().
Referenced by reportdesign::OReportDrawPage::CreateShape().
|
overrideprivatevirtual |
Reimplemented from SdrModel.
Definition at line 133 of file RptModel.cxx.
References getReportDefinition().
void rptui::OReportModel::detachController | ( | ) |
Definition at line 60 of file RptModel.cxx.
References SdrModel::ClearUndoBuffer(), m_pController, m_pReportDefinition, and m_xUndoEnv.
Referenced by ~OReportModel().
|
inline |
Definition at line 68 of file RptModel.hxx.
Referenced by rptui::FormatNormalizer::impl_ensureUpToDateFieldList_nothrow().
OReportPage * rptui::OReportModel::getPage | ( | const css::uno::Reference< css::report::XSection > & | _xSection | ) |
returns the page which belongs to a section
_xSection |
Definition at line 104 of file RptModel.cxx.
References SdrModel::GetPage(), SdrModel::GetPageCount(), rptui::OReportPage::getSection(), i, and nCount.
|
overridevirtual |
Reimplemented from SdrModel.
Definition at line 117 of file RptModel.cxx.
References getReportDefinition(), PROPERTY_NUMBERINGTYPE, and SVX_NUM_ARABIC.
uno::Reference< report::XReportDefinition > rptui::OReportModel::getReportDefinition | ( | ) | const |
returns the XReportDefinition which the OReportModel belongs to
Definition at line 126 of file RptModel.cxx.
References m_pReportDefinition.
Referenced by createUnoModel(), GetPageNumType(), and rptui::FormatNormalizer::impl_lateInit().
|
inline |
Definition at line 65 of file RptModel.hxx.
Referenced by rptui::DlgEdFunc::colorizeOverlappedObject(), rptui::OUnoObject::CreateMediator(), rptui::OCustomShape::EndCreate(), rptui::OOle2Obj::EndCreate(), rptui::OCustomShape::getUnoShape(), rptui::OOle2Obj::getUnoShape(), rptui::OOle2Obj::initializeChart(), rptui::OOle2Obj::initializeOle(), rptui::OCustomShape::NbcMove(), rptui::OOle2Obj::NbcMove(), rptui::OUnoObject::NbcMove(), and rptui::DlgEdFunc::unColorizeOverlappedObj().
|
privatedelete |
|
overridevirtual |
Reimplemented from SdrModel.
Definition at line 89 of file RptModel.cxx.
References SdrModel::RemovePage().
|
overridevirtual |
Reimplemented from SdrModel.
Definition at line 76 of file RptModel.cxx.
References SdrModel::SetChanged(), and SetModified().
Referenced by rptui::OReportPage::resetSpecialMode().
void rptui::OReportModel::SetModified | ( | bool | _bModified | ) |
Definition at line 83 of file RptModel.cxx.
References m_pController, and dbaui::DBSubComponentController::setModified().
Referenced by SetChanged().
|
friend |
Definition at line 42 of file RptModel.hxx.
Referenced by createNewPage().
|
private |
Definition at line 46 of file RptModel.hxx.
Referenced by detachController(), and SetModified().
|
private |
Definition at line 47 of file RptModel.hxx.
Referenced by createShape(), detachController(), and getReportDefinition().
|
private |
Definition at line 45 of file RptModel.hxx.
Referenced by createNewPage(), detachController(), and OReportModel().