LibreOffice Module oox (master) 1
|
#include <diagramhelper.hxx>
Public Member Functions | |
AdvancedDiagramHelper (std::shared_ptr< Diagram > xDiagramPtr, std::shared_ptr<::oox::drawingml::Theme > xTheme, css::awt::Size aImportSize) | |
virtual | ~AdvancedDiagramHelper () |
virtual void | reLayout (SdrObjGroup &rTarget) override |
virtual OUString | getString () const override |
virtual std::vector< std::pair< OUString, OUString > > | getChildren (const OUString &rParentId) const override |
virtual OUString | addNode (const OUString &rText) override |
virtual bool | removeNode (const OUString &rNodeId) override |
virtual std::shared_ptr< svx::diagram::DiagramDataState > | extractDiagramDataState () const override |
virtual void | applyDiagramDataState (const std::shared_ptr< svx::diagram::DiagramDataState > &rState) override |
void | doAnchor (SdrObjGroup &rTarget, ::oox::drawingml::Shape &rRootShape) |
const std::shared_ptr< ::oox::drawingml::Theme > & | getOrCreateThemePtr (rtl::Reference< oox::shape::ShapeFilterBase > &rxFilter) const |
Public Member Functions inherited from svx::diagram::IDiagramHelper | |
IDiagramHelper () | |
virtual | ~IDiagramHelper () |
virtual void | reLayout (SdrObjGroup &rTarget)=0 |
virtual OUString | getString () const=0 |
virtual std::vector< std::pair< OUString, OUString > > | getChildren (const OUString &rParentId) const=0 |
virtual OUString | addNode (const OUString &rText)=0 |
virtual bool | removeNode (const OUString &rNodeId)=0 |
virtual std::shared_ptr< svx::diagram::DiagramDataState > | extractDiagramDataState () const=0 |
virtual void | applyDiagramDataState (const std::shared_ptr< svx::diagram::DiagramDataState > &rState)=0 |
bool | UseDiagramThemeData () const |
bool | UseDiagramModelData () const |
bool | ForceThemePtrRecreation () const |
Private Member Functions | |
bool | hasDiagramData () const |
Private Attributes | |
const std::shared_ptr< Diagram > | mpDiagramPtr |
std::shared_ptr<::oox::drawingml::Theme > | mpThemePtr |
css::awt::Size | maImportSize |
Additional Inherited Members | |
Static Public Member Functions inherited from svx::diagram::IDiagramHelper | |
static void | AddAdditionalVisualization (const SdrObjGroup &rTarget, SdrHdlList &rHdlList) |
Protected Member Functions inherited from svx::diagram::IDiagramHelper | |
void | anchorToSdrObjGroup (SdrObjGroup &rTarget) |
Definition at line 50 of file diagramhelper.hxx.
oox::drawingml::AdvancedDiagramHelper::AdvancedDiagramHelper | ( | std::shared_ptr< Diagram > | xDiagramPtr, |
std::shared_ptr<::oox::drawingml::Theme > | xTheme, | ||
css::awt::Size | aImportSize | ||
) |
Definition at line 42 of file diagramhelper.cxx.
|
virtual |
Definition at line 53 of file diagramhelper.cxx.
|
overridevirtual |
Implements svx::diagram::IDiagramHelper.
Definition at line 162 of file diagramhelper.cxx.
References hasDiagramData(), and mpDiagramPtr.
|
overridevirtual |
Implements svx::diagram::IDiagramHelper.
Definition at line 212 of file diagramhelper.cxx.
References mpDiagramPtr.
void oox::drawingml::AdvancedDiagramHelper::doAnchor | ( | SdrObjGroup & | rTarget, |
::oox::drawingml::Shape & | rRootShape | ||
) |
Definition at line 222 of file diagramhelper.cxx.
References svx::diagram::IDiagramHelper::anchorToSdrObjGroup(), mpDiagramPtr, and rTarget.
|
overridevirtual |
Implements svx::diagram::IDiagramHelper.
Definition at line 202 of file diagramhelper.cxx.
References mpDiagramPtr.
|
overridevirtual |
Implements svx::diagram::IDiagramHelper.
Definition at line 152 of file diagramhelper.cxx.
References hasDiagramData(), and mpDiagramPtr.
const std::shared_ptr<::oox::drawingml::Theme > & oox::drawingml::AdvancedDiagramHelper::getOrCreateThemePtr | ( | rtl::Reference< oox::shape::ShapeFilterBase > & | rxFilter | ) | const |
Definition at line 239 of file diagramhelper.cxx.
References svx::diagram::IDiagramHelper::ForceThemePtrRecreation(), hasDiagramData(), mpDiagramPtr, and mpThemePtr.
Referenced by reLayout().
|
overridevirtual |
Implements svx::diagram::IDiagramHelper.
Definition at line 142 of file diagramhelper.cxx.
References hasDiagramData(), and mpDiagramPtr.
|
private |
Definition at line 37 of file diagramhelper.cxx.
References mpDiagramPtr.
Referenced by addNode(), getChildren(), getOrCreateThemePtr(), getString(), and removeNode().
|
overridevirtual |
Implements svx::diagram::IDiagramHelper.
Definition at line 57 of file diagramhelper.cxx.
References getOrCreateThemePtr(), comphelper::getProcessComponentContext(), SdrModel::getUnoModel(), maImportSize, mpDiagramPtr, rTarget, svx::diagram::IDiagramHelper::UseDiagramModelData(), and svx::diagram::IDiagramHelper::UseDiagramThemeData().
|
overridevirtual |
Implements svx::diagram::IDiagramHelper.
Definition at line 182 of file diagramhelper.cxx.
References hasDiagramData(), and mpDiagramPtr.
|
private |
Definition at line 55 of file diagramhelper.hxx.
Referenced by reLayout().
|
private |
Definition at line 52 of file diagramhelper.hxx.
Referenced by addNode(), applyDiagramDataState(), doAnchor(), extractDiagramDataState(), getChildren(), getOrCreateThemePtr(), getString(), hasDiagramData(), reLayout(), and removeNode().
|
private |
Definition at line 53 of file diagramhelper.hxx.
Referenced by getOrCreateThemePtr().