22#include <com/sun/star/chart/XChartDocument.hpp>
23#include <com/sun/star/drawing/XDrawPageSupplier.hpp>
24#include <com/sun/star/lang/XMultiServiceFactory.hpp>
25#include <com/sun/star/uno/XAggregation.hpp>
26#include <com/sun/star/lang/XServiceInfo.hpp>
35namespace chart {
class ChartView; }
40class Chart2ModelContact;
44 , css::chart::XChartDocument
45 , css::drawing::XDrawPageSupplier
46 , css::lang::XMultiServiceFactory
47 , css::lang::XServiceInfo
48 , css::uno::XAggregation
57 explicit ChartDocumentWrapper(
const css::uno::Reference< css::uno::XComponentContext > & xContext );
65 void setAddIn(
const css::uno::Reference< css::util::XRefreshable >& xAddIn );
66 const css::uno::Reference< css::util::XRefreshable >&
getAddIn()
const {
return m_xAddIn;}
82 virtual css::uno::Reference< css::drawing::XShape > SAL_CALL
getTitle()
override;
83 virtual css::uno::Reference< css::drawing::XShape > SAL_CALL
getSubTitle()
override;
84 virtual css::uno::Reference< css::drawing::XShape > SAL_CALL
getLegend()
override;
85 virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL
getArea()
override;
86 virtual css::uno::Reference< css::chart::XDiagram > SAL_CALL
getDiagram()
override;
87 virtual void SAL_CALL
setDiagram(
const css::uno::Reference<
88 css::chart::XDiagram >& xDiagram )
override;
89 virtual css::uno::Reference< css::chart::XChartData > SAL_CALL
getData()
override;
90 virtual void SAL_CALL
attachData(
const css::uno::Reference<
91 css::chart::XChartData >& xData )
override;
95 const css::uno::Sequence< css::beans::PropertyValue >& Arguments )
override;
96 virtual OUString SAL_CALL
getURL()
override;
97 virtual css::uno::Sequence<
98 css::beans::PropertyValue > SAL_CALL
getArgs()
override;
100 css::frame::XController >& Controller )
override;
102 css::frame::XController >& Controller )
override;
106 virtual css::uno::Reference<
108 virtual void SAL_CALL
setCurrentController(
const css::uno::Reference< css::frame::XController >& Controller )
override;
109 virtual css::uno::Reference<css::uno::XInterface > SAL_CALL
getCurrentSelection()
override;
112 virtual void SAL_CALL
dispose()
override;
113 virtual void SAL_CALL
addEventListener(
const css::uno::Reference< css::lang::XEventListener >& xListener )
override;
114 virtual void SAL_CALL
removeEventListener(
const css::uno::Reference< css::lang::XEventListener >& aListener )
override;
117 virtual css::uno::Any SAL_CALL
queryInterface(
const css::uno::Type& aType )
override;
120 virtual void _disposing(
const css::lang::EventObject& rSource )
override;
123 virtual css::uno::Reference< css::drawing::XDrawPage > SAL_CALL
getDrawPage()
override;
126 virtual css::uno::Reference< css::uno::XInterface > SAL_CALL
createInstance(
const OUString& aServiceSpecifier )
override;
128 const OUString& ServiceSpecifier,
129 const css::uno::Sequence< css::uno::Any >& Arguments )
override;
134 const css::uno::Reference< css::uno::XInterface >& rDelegator )
override;
135 virtual css::uno::Any SAL_CALL
queryAggregation(
const css::uno::Type& aType )
override;
150 css::uno::Reference< css::drawing::XShape >
m_xTitle;
155 css::uno::Reference< css::beans::XPropertySet >
m_xArea;
157 css::uno::Reference< css::util::XRefreshable >
m_xAddIn;
162 css::uno::Reference< css::lang::XMultiServiceFactory>
virtual void SAL_CALL lockControllers() override
virtual void SAL_CALL setDelegator(const css::uno::Reference< css::uno::XInterface > &rDelegator) override
virtual OUString SAL_CALL getURL() override
void setAddIn(const css::uno::Reference< css::util::XRefreshable > &xAddIn)
css::uno::Reference< css::uno::XInterface > m_xDelegator
virtual OUString SAL_CALL getImplementationName() override
XServiceInfo declarations.
css::uno::Reference< css::lang::XMultiServiceFactory > m_xShapeFactory
virtual void SAL_CALL addEventListener(const css::uno::Reference< css::lang::XEventListener > &xListener) override
css::uno::Reference< css::drawing::XShape > m_xSubTitle
void setUpdateAddIn(bool bUpdateAddIn)
virtual css::uno::Reference< css::chart::XChartData > SAL_CALL getData() override
rtl::Reference< SvxDrawPage > impl_getDrawPage() const
void setBaseDiagram(const OUString &rBaseDiagram)
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL getArea() override
css::uno::Reference< css::chart::XDiagram > m_xDiagram
virtual css::uno::Any SAL_CALL queryAggregation(const css::uno::Type &aType) override
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstance(const OUString &aServiceSpecifier) override
virtual css::uno::Reference< css::drawing::XShape > SAL_CALL getSubTitle() override
virtual css::uno::Sequence< OUString > SAL_CALL getAvailableServiceNames() override
virtual css::uno::Reference< css::beans::XPropertySet > getInnerPropertySet() override
virtual css::uno::Reference< css::drawing::XShape > SAL_CALL getLegend() override
virtual void SAL_CALL connectController(const css::uno::Reference< css::frame::XController > &Controller) override
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getCurrentSelection() override
virtual sal_Bool SAL_CALL hasControllersLocked() override
virtual ~ChartDocumentWrapper() override
virtual css::uno::Reference< css::frame::XController > SAL_CALL getCurrentController() override
css::uno::Reference< css::drawing::XShape > m_xTitle
const css::uno::Reference< css::util::XRefreshable > & getAddIn() const
virtual void SAL_CALL setDiagram(const css::uno::Reference< css::chart::XDiagram > &xDiagram) override
virtual css::uno::Reference< css::drawing::XShape > SAL_CALL getTitle() override
virtual void SAL_CALL removeEventListener(const css::uno::Reference< css::lang::XEventListener > &aListener) override
virtual sal_Bool SAL_CALL attachResource(const OUString &URL, const css::uno::Sequence< css::beans::PropertyValue > &Arguments) override
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceWithArguments(const OUString &ServiceSpecifier, const css::uno::Sequence< css::uno::Any > &Arguments) override
ChartDocumentWrapper(const css::uno::Reference< css::uno::XComponentContext > &xContext)
css::uno::Reference< css::util::XRefreshable > m_xAddIn
virtual css::uno::Reference< css::drawing::XDrawPage > SAL_CALL getDrawPage() override
css::uno::Reference< css::beans::XPropertySet > m_xArea
css::uno::Reference< css::drawing::XShape > m_xLegend
virtual std::vector< std::unique_ptr< WrappedProperty > > createWrappedProperties() override
virtual void SAL_CALL setCurrentController(const css::uno::Reference< css::frame::XController > &Controller) override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual void SAL_CALL dispose() override
std::shared_ptr< Chart2ModelContact > m_spChart2ModelContact
virtual void SAL_CALL unlockControllers() override
const OUString & getBaseDiagram() const
bool getUpdateAddIn() const
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getArgs() override
rtl::Reference< ChartView > m_xChartView
css::uno::Reference< css::drawing::XShapes > getAdditionalShapes() const
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &aType) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual css::uno::Reference< css::chart::XDiagram > SAL_CALL getDiagram() override
virtual void SAL_CALL attachData(const css::uno::Reference< css::chart::XChartData > &xData) override
css::uno::Reference< css::chart::XChartData > m_xChartData
virtual const css::uno::Sequence< css::beans::Property > & getPropertySequence() override
virtual void SAL_CALL disconnectController(const css::uno::Reference< css::frame::XController > &Controller) override
virtual void _disposing(const css::lang::EventObject &rSource) override