LibreOffice Module svx (master) 1
Classes | Typedefs | Enumerations | Functions
svx::diagram Namespace Reference

Classes

struct  Connection
 A Connection. More...
 
class  DiagramData
 The collected Diagram ModelData. More...
 
class  DiagramDataState
 Snippet of Diagram ModelData for Diagram-defining data undo/redo. More...
 
class  DiagramFrameHdl
 
class  IDiagramHelper
 
struct  Point
 A point. More...
 
struct  PointStyle
 Styles for a Point (FillStyle/LineStyle/...) More...
 
struct  TextBody
 Text and properties for a point For proof of concept to make TextData available in svx level this is in a first run pretty simple, but may need to be extended accordingly up to similar data as in oox::drawingml::TextBody. More...
 

Typedefs

typedef std::vector< ConnectionConnections
 
typedef std::shared_ptr< TextBodyTextBodyPtr
 
typedef std::shared_ptr< PointStylePointStylePtr
 
typedef std::vector< PointPoints
 
typedef std::shared_ptr< DiagramDataStateDiagramDataStatePtr
 
typedef std::shared_ptr< DiagramDataDiagramDataPtr
 

Enumerations

enum  TypeConstant {
  XML_none = 0 ,
  XML_type = 395 ,
  XML_asst = 680 ,
  XML_doc = 1924 ,
  XML_node = 3596 ,
  XML_norm = 3609 ,
  XML_parOf = 3878 ,
  XML_parTrans = 3879 ,
  XML_pres = 4085 ,
  XML_presOf = 4090 ,
  XML_presParOf = 4091 ,
  XML_rel = 4298 ,
  XML_sibTrans = 4746
}
 

Functions

static sal_Int32 calcDepth (std::u16string_view rNodeName, const svx::diagram::Connections &rCnx)
 

Typedef Documentation

◆ Connections

typedef std::vector< Connection > svx::diagram::Connections

Definition at line 70 of file datamodel.hxx.

◆ DiagramDataPtr

typedef std::shared_ptr< DiagramData > svx::diagram::DiagramDataPtr

Definition at line 268 of file datamodel.hxx.

◆ DiagramDataStatePtr

Definition at line 171 of file datamodel.hxx.

◆ Points

typedef std::vector< Point > svx::diagram::Points

Definition at line 155 of file datamodel.hxx.

◆ PointStylePtr

typedef std::shared_ptr< PointStyle > svx::diagram::PointStylePtr

Definition at line 96 of file datamodel.hxx.

◆ TextBodyPtr

typedef std::shared_ptr< TextBody > svx::diagram::TextBodyPtr

Definition at line 86 of file datamodel.hxx.

Enumeration Type Documentation

◆ TypeConstant

Enumerator
XML_none 
XML_type 
XML_asst 
XML_doc 
XML_node 
XML_norm 
XML_parOf 
XML_parTrans 
XML_pres 
XML_presOf 
XML_presParOf 
XML_rel 
XML_sibTrans 

Definition at line 36 of file datamodel.hxx.

Function Documentation

◆ calcDepth()

static sal_Int32 svx::diagram::calcDepth ( std::u16string_view  rNodeName,
const svx::diagram::Connections rCnx 
)
static

Definition at line 319 of file datamodel.cxx.

References calcDepth(), and XML_parOf.

Referenced by svx::diagram::DiagramData::buildDiagramDataModel(), and calcDepth().