20#include <config_wasm_strip.h>
29#include <com/sun/star/beans/XPropertySet.hpp>
30#include <com/sun/star/frame/XModel.hpp>
31#include <com/sun/star/xml/sax/XFastSAXSerializable.hpp>
39#
if ENABLE_WASM_STRIP_CHART
99 virtual ::Color getSchemeColor( sal_Int32 nToken )
const override;
106ShapeGraphicHelper::ShapeGraphicHelper(
const ShapeFilterBase& rFilter ) :
112::Color ShapeGraphicHelper::getSchemeColor( sal_Int32 nToken )
const
114 return mrFilter.getSchemeColor( nToken );
119 GraphicHelper* pGraphicHelper =
new ShapeGraphicHelper(*
this);
120 if (mxGraphicMapper.is())
122 return pGraphicHelper;
125::Color ShapeFilterBase::getSchemeColor( sal_Int32 nToken )
const
130 mpTheme->getClrScheme().getColor(
nToken, nColor );
const ShapeFilterBase & mrFilter
Provides helper functions for colors, device measurement conversion, graphics, and graphic objects ha...
void setGraphicMapper(css::uno::Reference< css::graphic::XGraphicMapper > const &rxGraphicMapper)
const css::uno::Reference< css::frame::XModel > & getModel() const
Returns the document model (always existing).
const css::uno::Reference< css::uno::XComponentContext > & getComponentContext() const
Returns the component context passed in the filter constructor (always existing).
virtual ::oox::ole::VbaProject * implCreateVbaProject() const override
Derived classes create a VBA project manager object.
virtual ::oox::vml::Drawing * getVmlDrawing() override
Has to be implemented by each filter to return the collection of VML shapes.
::oox::drawingml::ThemePtr mpTheme
std::shared_ptr< ::oox::drawingml::chart::ChartConverter > mxChartConv
virtual std::shared_ptr<::oox::drawingml::Theme > getCurrentThemePtr() const override
May be implemented by filters which handle Diagrams, default returns empty ptr.
ShapeFilterBase(const css::uno::Reference< css::uno::XComponentContext > &rxContext)
virtual OUString SAL_CALL getImplementationName() override
virtual ~ShapeFilterBase() override
virtual const ::oox::drawingml::Theme * getCurrentTheme() const override
Has to be implemented by each filter, returns the current theme.
virtual ::oox::drawingml::table::TableStyleListPtr getTableStyles() override
Has to be implemented by each filter to return TableStyles.
virtual ::oox::drawingml::chart::ChartConverter * getChartConverter() override
Has to be implemented by each filter, returns a filter-specific chart converter object,...
void setCurrentTheme(const ::oox::drawingml::ThemePtr &pTheme)
Represents the collection of VML shapes for a complete draw page.
if(aStr !=aBuf) UpdateName_Impl(m_xFollowLb.get()
Reference< XComponentContext > getComponentContext(Reference< XMultiServiceFactory > const &factory)
std::shared_ptr< T > make_shared(Args &&... args)
std::shared_ptr< TableStyleList > TableStyleListPtr
std::shared_ptr< Theme > ThemePtr