LibreOffice Module chart2 (master) 1
|
#include <ChartDocumentWrapper.hxx>
Public Member Functions | |
ChartDocumentWrapper (const css::uno::Reference< css::uno::XComponentContext > &xContext) | |
virtual | ~ChartDocumentWrapper () override |
virtual OUString SAL_CALL | getImplementationName () override |
XServiceInfo declarations. More... | |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
void | setAddIn (const css::uno::Reference< css::util::XRefreshable > &xAddIn) |
const css::uno::Reference< css::util::XRefreshable > & | getAddIn () const |
void | setUpdateAddIn (bool bUpdateAddIn) |
bool | getUpdateAddIn () const |
void | setBaseDiagram (const OUString &rBaseDiagram) |
const OUString & | getBaseDiagram () const |
css::uno::Reference< css::drawing::XShapes > | getAdditionalShapes () const |
rtl::Reference< SvxDrawPage > | impl_getDrawPage () const |
Protected Member Functions | |
virtual css::uno::Reference< css::drawing::XShape > SAL_CALL | getTitle () override |
virtual css::uno::Reference< css::drawing::XShape > SAL_CALL | getSubTitle () override |
virtual css::uno::Reference< css::drawing::XShape > SAL_CALL | getLegend () override |
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL | getArea () override |
virtual css::uno::Reference< css::chart::XDiagram > SAL_CALL | getDiagram () override |
virtual void SAL_CALL | setDiagram (const css::uno::Reference< css::chart::XDiagram > &xDiagram) override |
virtual css::uno::Reference< css::chart::XChartData > SAL_CALL | getData () override |
virtual void SAL_CALL | attachData (const css::uno::Reference< css::chart::XChartData > &xData) override |
virtual sal_Bool SAL_CALL | attachResource (const OUString &URL, const css::uno::Sequence< css::beans::PropertyValue > &Arguments) override |
virtual OUString SAL_CALL | getURL () override |
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL | getArgs () override |
virtual void SAL_CALL | connectController (const css::uno::Reference< css::frame::XController > &Controller) override |
virtual void SAL_CALL | disconnectController (const css::uno::Reference< css::frame::XController > &Controller) override |
virtual void SAL_CALL | lockControllers () override |
virtual void SAL_CALL | unlockControllers () override |
virtual sal_Bool SAL_CALL | hasControllersLocked () override |
virtual css::uno::Reference< css::frame::XController > SAL_CALL | getCurrentController () override |
virtual void SAL_CALL | setCurrentController (const css::uno::Reference< css::frame::XController > &Controller) override |
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL | getCurrentSelection () override |
virtual void SAL_CALL | dispose () override |
virtual void SAL_CALL | addEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override |
virtual void SAL_CALL | removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &aType) override |
virtual void | _disposing (const css::lang::EventObject &rSource) override |
virtual css::uno::Reference< css::drawing::XDrawPage > SAL_CALL | getDrawPage () override |
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL | createInstance (const OUString &aServiceSpecifier) override |
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL | createInstanceWithArguments (const OUString &ServiceSpecifier, const css::uno::Sequence< css::uno::Any > &Arguments) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getAvailableServiceNames () override |
virtual void SAL_CALL | setDelegator (const css::uno::Reference< css::uno::XInterface > &rDelegator) override |
virtual css::uno::Any SAL_CALL | queryAggregation (const css::uno::Type &aType) override |
virtual const css::uno::Sequence< css::beans::Property > & | getPropertySequence () override |
virtual std::vector< std::unique_ptr< WrappedProperty > > | createWrappedProperties () override |
virtual css::uno::Reference< css::beans::XPropertySet > | getInnerPropertySet () override |
Protected Member Functions inherited from utl::OEventListenerAdapter | |
OEventListenerAdapter () | |
virtual | ~OEventListenerAdapter () |
void | startComponentListening (const css::uno::Reference< css::lang::XComponent > &_rxComp) |
void | stopComponentListening (const css::uno::Reference< css::lang::XComponent > &_rxComp) |
void | stopAllComponentListening () |
virtual void | _disposing (const css::lang::EventObject &_rSource)=0 |
Private Member Functions | |
void | impl_resetAddIn () |
Private Attributes | |
std::shared_ptr< Chart2ModelContact > | m_spChart2ModelContact |
css::uno::Reference< css::uno::XInterface > | m_xDelegator |
css::uno::Reference< css::drawing::XShape > | m_xTitle |
css::uno::Reference< css::drawing::XShape > | m_xSubTitle |
css::uno::Reference< css::drawing::XShape > | m_xLegend |
css::uno::Reference< css::chart::XChartData > | m_xChartData |
css::uno::Reference< css::chart::XDiagram > | m_xDiagram |
css::uno::Reference< css::beans::XPropertySet > | m_xArea |
css::uno::Reference< css::util::XRefreshable > | m_xAddIn |
OUString | m_aBaseDiagram |
bool | m_bUpdateAddIn |
rtl::Reference< ChartView > | m_xChartView |
css::uno::Reference< css::lang::XMultiServiceFactory > | m_xShapeFactory |
bool | m_bIsDisposed |
Definition at line 53 of file ChartDocumentWrapper.hxx.
|
explicit |
Definition at line 632 of file ChartDocumentWrapper.cxx.
References make_shared().
|
overridevirtual |
Definition at line 640 of file ChartDocumentWrapper.cxx.
References utl::OEventListenerAdapter::stopAllComponentListening().
|
overrideprotectedvirtual |
Implements utl::OEventListenerAdapter.
Definition at line 1349 of file ChartDocumentWrapper.cxx.
References m_xAddIn, m_xArea, m_xChartData, m_xChartView, m_xDiagram, m_xLegend, m_xSubTitle, and m_xTitle.
|
overrideprotectedvirtual |
Definition at line 1011 of file ChartDocumentWrapper.cxx.
References m_spChart2ModelContact, and xModel.
|
overrideprotectedvirtual |
Definition at line 757 of file ChartDocumentWrapper.cxx.
References m_spChart2ModelContact, and m_xChartData.
|
overrideprotectedvirtual |
Definition at line 767 of file ChartDocumentWrapper.cxx.
References m_spChart2ModelContact, URL, and xModel.
|
overrideprotectedvirtual |
Definition at line 793 of file ChartDocumentWrapper.cxx.
References m_spChart2ModelContact, and xModel.
|
overrideprotectedvirtual |
Definition at line 1049 of file ChartDocumentWrapper.cxx.
References aArguments, Any, CHART_VIEW_SERVICE_NAME, DBG_UNHANDLED_EXCEPTION, chart::AxisHelper::getCoordinateSystemByIndex(), AllSettings::GetMathLayoutRTL(), m_spChart2ModelContact, m_xChartView, m_xShapeFactory, chart::AxisHelper::setRTLAxisLayout(), and chart::Diagram::tTemplateWithServiceName::xChartTypeTemplate.
Referenced by createInstanceWithArguments(), and setBaseDiagram().
|
overrideprotectedvirtual |
Definition at line 1296 of file ChartDocumentWrapper.cxx.
References createInstance().
|
overrideprotectedvirtual |
Definition at line 1379 of file ChartDocumentWrapper.cxx.
References Any, and m_spChart2ModelContact.
|
overrideprotectedvirtual |
Definition at line 800 of file ChartDocumentWrapper.cxx.
References m_spChart2ModelContact, and xModel.
|
overrideprotectedvirtual |
Definition at line 855 of file ChartDocumentWrapper.cxx.
References DBG_UNHANDLED_EXCEPTION, chart::DisposeHelper::DisposeAndClear(), impl_resetAddIn(), m_bIsDisposed, m_spChart2ModelContact, m_xArea, m_xChartData, m_xChartView, m_xDelegator, m_xDiagram, m_xLegend, m_xShapeFactory, m_xSubTitle, m_xTitle, and utl::OEventListenerAdapter::stopAllComponentListening().
Referenced by setDelegator().
|
inline |
Definition at line 66 of file ChartDocumentWrapper.hxx.
References m_xAddIn.
Referenced by chart::wrapper::WrappedAddInProperty::getPropertyValue().
Reference< drawing::XShapes > chart::wrapper::ChartDocumentWrapper::getAdditionalShapes | ( | ) | const |
Definition at line 969 of file ChartDocumentWrapper.cxx.
References chart::DrawModelWrapper::getChartRootShape(), comphelper::getProcessComponentContext(), and impl_getDrawPage().
Referenced by chart::wrapper::WrappedAdditionalShapesProperty::getPropertyValue().
|
overrideprotectedvirtual |
Definition at line 687 of file ChartDocumentWrapper.cxx.
References m_spChart2ModelContact, and m_xArea.
|
overrideprotectedvirtual |
Definition at line 785 of file ChartDocumentWrapper.cxx.
References m_spChart2ModelContact, and xModel.
|
overrideprotectedvirtual |
Definition at line 1305 of file ChartDocumentWrapper.cxx.
References comphelper::mapKeysToSequence().
|
inline |
Definition at line 72 of file ChartDocumentWrapper.hxx.
References m_aBaseDiagram.
Referenced by chart::wrapper::WrappedBaseDiagramProperty::getPropertyValue().
|
overrideprotectedvirtual |
Definition at line 830 of file ChartDocumentWrapper.cxx.
References m_spChart2ModelContact, and xModel.
|
overrideprotectedvirtual |
Definition at line 846 of file ChartDocumentWrapper.cxx.
References m_spChart2ModelContact, and xModel.
|
overrideprotectedvirtual |
Definition at line 746 of file ChartDocumentWrapper.cxx.
References m_spChart2ModelContact, and m_xChartData.
|
overrideprotectedvirtual |
Definition at line 697 of file ChartDocumentWrapper.cxx.
References DBG_UNHANDLED_EXCEPTION, m_spChart2ModelContact, and m_xDiagram.
|
overrideprotectedvirtual |
Definition at line 1026 of file ChartDocumentWrapper.cxx.
References impl_getDrawPage().
|
overridevirtual |
XServiceInfo declarations.
Definition at line 1398 of file ChartDocumentWrapper.cxx.
References CHART_CHARTAPIWRAPPER_IMPLEMENTATION_NAME.
|
overrideprotectedvirtual |
Definition at line 1370 of file ChartDocumentWrapper.cxx.
|
overrideprotectedvirtual |
Definition at line 677 of file ChartDocumentWrapper.cxx.
References m_spChart2ModelContact, and m_xLegend.
|
overrideprotectedvirtual |
Definition at line 1374 of file ChartDocumentWrapper.cxx.
|
overrideprotectedvirtual |
Definition at line 667 of file ChartDocumentWrapper.cxx.
References m_spChart2ModelContact, m_xSubTitle, and chart::TitleHelper::SUB_TITLE.
|
overridevirtual |
Definition at line 1408 of file ChartDocumentWrapper.cxx.
References CHART_CHARTAPIWRAPPER_SERVICE_NAME.
|
overrideprotectedvirtual |
Definition at line 657 of file ChartDocumentWrapper.cxx.
References m_spChart2ModelContact, m_xTitle, and chart::TitleHelper::MAIN_TITLE.
|
inline |
Definition at line 69 of file ChartDocumentWrapper.hxx.
References m_bUpdateAddIn.
Referenced by chart::wrapper::WrappedRefreshAddInAllowedProperty::getPropertyValue().
|
overrideprotectedvirtual |
Definition at line 777 of file ChartDocumentWrapper.cxx.
References m_spChart2ModelContact, and xModel.
|
overrideprotectedvirtual |
Definition at line 822 of file ChartDocumentWrapper.cxx.
References m_spChart2ModelContact, and xModel.
rtl::Reference< SvxDrawPage > chart::wrapper::ChartDocumentWrapper::impl_getDrawPage | ( | ) | const |
css::uno::RuntimeException |
Definition at line 1031 of file ChartDocumentWrapper.cxx.
References m_spChart2ModelContact.
Referenced by getAdditionalShapes(), and getDrawPage().
|
private |
Definition at line 897 of file ChartDocumentWrapper.cxx.
References aSeq, DBG_UNHANDLED_EXCEPTION, and m_xAddIn.
Referenced by dispose(), and setAddIn().
|
overrideprotectedvirtual |
Definition at line 808 of file ChartDocumentWrapper.cxx.
References m_spChart2ModelContact, and xModel.
|
overrideprotectedvirtual |
Definition at line 1343 of file ChartDocumentWrapper.cxx.
Referenced by queryInterface().
|
overrideprotectedvirtual |
Definition at line 647 of file ChartDocumentWrapper.cxx.
References m_xDelegator, and queryAggregation().
|
overrideprotectedvirtual |
Definition at line 1018 of file ChartDocumentWrapper.cxx.
References m_spChart2ModelContact, and xModel.
void chart::wrapper::ChartDocumentWrapper::setAddIn | ( | const css::uno::Reference< css::util::XRefreshable > & | xAddIn | ) |
Definition at line 944 of file ChartDocumentWrapper.cxx.
References aSeq, impl_resetAddIn(), m_spChart2ModelContact, and m_xAddIn.
Referenced by setDiagram(), and chart::wrapper::WrappedAddInProperty::setPropertyValue().
void chart::wrapper::ChartDocumentWrapper::setBaseDiagram | ( | const OUString & | rBaseDiagram | ) |
Definition at line 934 of file ChartDocumentWrapper.cxx.
References createInstance(), m_aBaseDiagram, m_spChart2ModelContact, and setDiagram().
Referenced by chart::wrapper::WrappedBaseDiagramProperty::setPropertyValue().
|
overrideprotectedvirtual |
Definition at line 838 of file ChartDocumentWrapper.cxx.
References m_spChart2ModelContact, and xModel.
|
overrideprotectedvirtual |
Definition at line 1311 of file ChartDocumentWrapper.cxx.
References DBG_UNHANDLED_EXCEPTION, dispose(), m_bIsDisposed, m_spChart2ModelContact, and m_xDelegator.
|
overrideprotectedvirtual |
Definition at line 714 of file ChartDocumentWrapper.cxx.
References DBG_UNHANDLED_EXCEPTION, m_spChart2ModelContact, m_xDiagram, and setAddIn().
Referenced by setBaseDiagram().
void chart::wrapper::ChartDocumentWrapper::setUpdateAddIn | ( | bool | bUpdateAddIn | ) |
Definition at line 964 of file ChartDocumentWrapper.cxx.
References m_bUpdateAddIn.
Referenced by chart::wrapper::WrappedRefreshAddInAllowedProperty::setPropertyValue().
|
overridevirtual |
Definition at line 1403 of file ChartDocumentWrapper.cxx.
References cppu::supportsService().
|
overrideprotectedvirtual |
Definition at line 815 of file ChartDocumentWrapper.cxx.
References m_spChart2ModelContact, and xModel.
|
private |
Definition at line 158 of file ChartDocumentWrapper.hxx.
Referenced by getBaseDiagram(), and setBaseDiagram().
|
private |
Definition at line 165 of file ChartDocumentWrapper.hxx.
Referenced by dispose(), and setDelegator().
|
private |
Definition at line 159 of file ChartDocumentWrapper.hxx.
Referenced by getUpdateAddIn(), and setUpdateAddIn().
|
private |
Definition at line 146 of file ChartDocumentWrapper.hxx.
Referenced by addEventListener(), attachData(), attachResource(), connectController(), createInstance(), createWrappedProperties(), disconnectController(), dispose(), getArea(), getArgs(), getCurrentController(), getCurrentSelection(), getData(), getDiagram(), getLegend(), getSubTitle(), getTitle(), getURL(), hasControllersLocked(), impl_getDrawPage(), lockControllers(), removeEventListener(), setAddIn(), setBaseDiagram(), setCurrentController(), setDelegator(), setDiagram(), and unlockControllers().
|
private |
Definition at line 157 of file ChartDocumentWrapper.hxx.
Referenced by _disposing(), getAddIn(), impl_resetAddIn(), and setAddIn().
|
private |
Definition at line 155 of file ChartDocumentWrapper.hxx.
Referenced by _disposing(), dispose(), and getArea().
|
private |
Definition at line 153 of file ChartDocumentWrapper.hxx.
Referenced by _disposing(), attachData(), dispose(), and getData().
|
private |
Definition at line 161 of file ChartDocumentWrapper.hxx.
Referenced by _disposing(), createInstance(), and dispose().
|
private |
Definition at line 148 of file ChartDocumentWrapper.hxx.
Referenced by dispose(), queryInterface(), and setDelegator().
|
private |
Definition at line 154 of file ChartDocumentWrapper.hxx.
Referenced by _disposing(), dispose(), getDiagram(), and setDiagram().
|
private |
Definition at line 152 of file ChartDocumentWrapper.hxx.
Referenced by _disposing(), dispose(), and getLegend().
|
private |
Definition at line 163 of file ChartDocumentWrapper.hxx.
Referenced by createInstance(), and dispose().
|
private |
Definition at line 151 of file ChartDocumentWrapper.hxx.
Referenced by _disposing(), dispose(), and getSubTitle().
|
private |
Definition at line 150 of file ChartDocumentWrapper.hxx.
Referenced by _disposing(), dispose(), and getTitle().