LibreOffice Module sc (master)  1
Classes | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
XclImpSolverContainer Class Reference

The solver container collects all connector rules for connected objects. More...

#include <xiescher.hxx>

Inheritance diagram for XclImpSolverContainer:
[legend]
Collaboration diagram for XclImpSolverContainer:
[legend]

Classes

struct  XclImpSdrInfo
 Stores data about an SdrObject processed during import. More...
 

Public Member Functions

void InsertSdrObjectInfo (SdrObject &rSdrObj, sal_uInt32 nDffShapeId, ShapeFlag nDffFlags)
 Inserts information about a new SdrObject. More...
 
void RemoveSdrObjectInfo (SdrObject &rSdrObj)
 Removes information of an SdrObject (and all child objects if it is a group). More...
 
void UpdateConnectorRules ()
 Inserts the SdrObject pointers into all connector rules. More...
 
void RemoveConnectorRules ()
 Removes all contained connector rules. More...
 
- Public Member Functions inherited from SvxMSDffSolverContainer
 SvxMSDffSolverContainer ()
 
 ~SvxMSDffSolverContainer ()
 
SvxMSDffSolverContaineroperator= (SvxMSDffSolverContainer const &)=delete
 
 SvxMSDffSolverContainer (SvxMSDffSolverContainer const &)=delete
 

Private Types

typedef std::map< sal_uInt32, XclImpSdrInfoXclImpSdrInfoMap
 
typedef std::map< SdrObject *, sal_uInt32 > XclImpSdrObjMap
 

Private Member Functions

void UpdateConnection (sal_uInt32 nDffShapeId, SdrObject *&rpSdrObj, ShapeFlag *pnDffFlags=nullptr)
 Updates the data of a connected shape in a connector rule. More...
 

Private Attributes

XclImpSdrInfoMap maSdrInfoMap
 
XclImpSdrObjMap maSdrObjMap
 Maps shape IDs to SdrObjects and flags. More...
 

Additional Inherited Members

- Public Attributes inherited from SvxMSDffSolverContainer
::std::vector< std::unique_ptr< SvxMSDffConnectorRule > > aCList
 

Detailed Description

The solver container collects all connector rules for connected objects.

Definition at line 865 of file xiescher.hxx.

Member Typedef Documentation

Definition at line 893 of file xiescher.hxx.

Definition at line 894 of file xiescher.hxx.

Member Function Documentation

void XclImpSolverContainer::InsertSdrObjectInfo ( SdrObject rSdrObj,
sal_uInt32  nDffShapeId,
ShapeFlag  nDffFlags 
)

Inserts information about a new SdrObject.

Definition at line 3210 of file xiescher.cxx.

References maSdrInfoMap, and maSdrObjMap.

Referenced by XclImpDffConverter::ProcessObj().

void XclImpSolverContainer::RemoveConnectorRules ( )

Removes all contained connector rules.

Definition at line 3252 of file xiescher.cxx.

References SvxMSDffSolverContainer::aCList, maSdrInfoMap, and maSdrObjMap.

Referenced by XclImpDffConverter::ProcessDgContainer().

void XclImpSolverContainer::RemoveSdrObjectInfo ( SdrObject rSdrObj)

Removes information of an SdrObject (and all child objects if it is a group).

Definition at line 3219 of file xiescher.cxx.

References maSdrInfoMap, maSdrObjMap, and SdrObjListIter::Next().

Referenced by XclImpDffConverter::InsertSdrObject().

void XclImpSolverContainer::UpdateConnection ( sal_uInt32  nDffShapeId,
SdrObject *&  rpSdrObj,
ShapeFlag pnDffFlags = nullptr 
)
private

Updates the data of a connected shape in a connector rule.

Definition at line 3259 of file xiescher.cxx.

References maSdrInfoMap.

Referenced by UpdateConnectorRules().

void XclImpSolverContainer::UpdateConnectorRules ( )

Inserts the SdrObject pointers into all connector rules.

Definition at line 3242 of file xiescher.cxx.

References SvxMSDffSolverContainer::aCList, and UpdateConnection().

Referenced by XclImpDffConverter::ProcessDgContainer().

Member Data Documentation

XclImpSdrInfoMap XclImpSolverContainer::maSdrInfoMap
private
XclImpSdrObjMap XclImpSolverContainer::maSdrObjMap
private

Maps shape IDs to SdrObjects and flags.

Definition at line 897 of file xiescher.hxx.

Referenced by InsertSdrObjectInfo(), RemoveConnectorRules(), and RemoveSdrObjectInfo().


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