LibreOffice Module oox (master) 1
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
oox::drawingml::DiagramData Class Reference

#include <datamodel.hxx>

Inheritance diagram for oox::drawingml::DiagramData:
[legend]
Collaboration diagram for oox::drawingml::DiagramData:
[legend]

Public Types

typedef std::map< OUString, ShapePtrPointShapeMap
 
- Public Types inherited from svx::diagram::DiagramData
typedef std::map< OUString, Point * > PointNameMap
 
typedef std::map< OUString, std::vector< Point * > > PointsNameMap
 
typedef std::map< OUString, const Connection * > ConnectionNameMap
 
typedef std::map< OUString, std::map< sal_Int32, SourceIdAndDepth > > StringMap
 

Public Member Functions

 DiagramData ()
 
virtual ~DiagramData ()
 
virtual void buildDiagramDataModel (bool bClearOoxShapes)
 
FillPropertiesPtrgetBackgroundShapeFillProperties ()
 
virtual void dump () const
 
ShapegetOrCreateAssociatedShape (const svx::diagram::Point &rPoint, bool bCreateOnDemand=false) const
 
void secureDataFromShapeToModelAfterDiagramImport (::oox::drawingml::Shape &rRootShape)
 
void restoreDataFromShapeToModelAfterDiagramImport (::oox::drawingml::Shape &rRootShape)
 
- Public Member Functions inherited from svx::diagram::DiagramData
virtual ~DiagramData ()
 
virtual void buildDiagramDataModel (bool bClearOoxShapes)
 
virtual void dump () const=0
 
ConnectionsgetConnections ()
 
PointsgetPoints ()
 
StringMapgetPresOfNameMap ()
 
PointNameMapgetPointNameMap ()
 
PointsNameMapgetPointsPresNameMap ()
 
::std::vector< OUString > & getExtDrawings ()
 
const PointgetRootPoint () const
 
OUString getString () const
 
std::vector< std::pair< OUString, OUString > > getChildren (const OUString &rParentId) const
 
const css::uno::Reference< css::xml::dom::XDocument > & getThemeDocument () const
 
void setThemeDocument (const css::uno::Reference< css::xml::dom::XDocument > &xRef)
 
const OUString & getBackgroundShapeModelID () const
 
void setBackgroundShapeModelID (const OUString &rModelID)
 
OUString addNode (const OUString &rText)
 
bool removeNode (const OUString &rNodeId)
 
DiagramDataStatePtr extractDiagramDataState () const
 
void applyDiagramDataState (const DiagramDataStatePtr &rState)
 

Static Public Member Functions

static void restoreDataFromModelToShapeAfterReCreation (const svx::diagram::Point &rPoint, Shape &rNewShape)
 

Protected Member Functions

void secureStyleDataFromShapeToModel (::oox::drawingml::Shape &rShape)
 
void restoreStyleDataFromShapeToModel (::oox::drawingml::Shape &rShape)
 
- Protected Member Functions inherited from svx::diagram::DiagramData
 DiagramData ()
 
void getChildrenString (OUStringBuffer &rBuf, const Point *pPoint, sal_Int32 nLevel) const
 
void addConnection (TypeConstant nType, const OUString &sSourceId, const OUString &sDestId)
 

Protected Attributes

FillPropertiesPtr mpBackgroundShapeFillProperties
 
PointShapeMap maPointShapeMap
 
- Protected Attributes inherited from svx::diagram::DiagramData
::std::vector< OUString > maExtDrawings
 
Connections maConnections
 
Points maPoints
 
PointStylePtr maBackgroundShapeStyle
 
css::uno::Reference< css::xml::dom::XDocument > mxThemeDocument
 
PointNameMap maPointNameMap
 
PointsNameMap maPointsPresNameMap
 
ConnectionNameMap maConnectionNameMap
 
StringMap maPresOfNameMap
 
OUString msBackgroundShapeModelID
 

Detailed Description

Definition at line 36 of file datamodel.hxx.

Member Typedef Documentation

◆ PointShapeMap

Definition at line 39 of file datamodel.hxx.

Constructor & Destructor Documentation

◆ DiagramData()

oox::drawingml::DiagramData::DiagramData ( )

Definition at line 402 of file datamodel.cxx.

References make_shared().

◆ ~DiagramData()

oox::drawingml::DiagramData::~DiagramData ( )
virtual

Reimplemented from svx::diagram::DiagramData.

Definition at line 408 of file datamodel.cxx.

Member Function Documentation

◆ buildDiagramDataModel()

void oox::drawingml::DiagramData::buildDiagramDataModel ( bool  bClearOoxShapes)
virtual

◆ dump()

void oox::drawingml::DiagramData::dump ( ) const
virtual

◆ getBackgroundShapeFillProperties()

FillPropertiesPtr & oox::drawingml::DiagramData::getBackgroundShapeFillProperties ( )
inline

Definition at line 47 of file datamodel.hxx.

References mpBackgroundShapeFillProperties.

◆ getOrCreateAssociatedShape()

Shape * oox::drawingml::DiagramData::getOrCreateAssociatedShape ( const svx::diagram::Point rPoint,
bool  bCreateOnDemand = false 
) const

◆ restoreDataFromModelToShapeAfterReCreation()

void oox::drawingml::DiagramData::restoreDataFromModelToShapeAfterReCreation ( const svx::diagram::Point rPoint,
Shape rNewShape 
)
static

◆ restoreDataFromShapeToModelAfterDiagramImport()

void oox::drawingml::DiagramData::restoreDataFromShapeToModelAfterDiagramImport ( ::oox::drawingml::Shape rRootShape)

◆ restoreStyleDataFromShapeToModel()

void oox::drawingml::DiagramData::restoreStyleDataFromShapeToModel ( ::oox::drawingml::Shape rShape)
protected

◆ secureDataFromShapeToModelAfterDiagramImport()

void oox::drawingml::DiagramData::secureDataFromShapeToModelAfterDiagramImport ( ::oox::drawingml::Shape rRootShape)

◆ secureStyleDataFromShapeToModel()

void oox::drawingml::DiagramData::secureStyleDataFromShapeToModel ( ::oox::drawingml::Shape rShape)
protected

Member Data Documentation

◆ maPointShapeMap

PointShapeMap oox::drawingml::DiagramData::maPointShapeMap
protected

Definition at line 69 of file datamodel.hxx.

Referenced by buildDiagramDataModel(), and getOrCreateAssociatedShape().

◆ mpBackgroundShapeFillProperties

FillPropertiesPtr oox::drawingml::DiagramData::mpBackgroundShapeFillProperties
protected

Definition at line 65 of file datamodel.hxx.

Referenced by getBackgroundShapeFillProperties().


The documentation for this class was generated from the following files: