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 868 of file xiescher.hxx.

Member Typedef Documentation

◆ XclImpSdrInfoMap

Definition at line 896 of file xiescher.hxx.

◆ XclImpSdrObjMap

Definition at line 897 of file xiescher.hxx.

Member Function Documentation

◆ InsertSdrObjectInfo()

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

Inserts information about a new SdrObject.

Definition at line 3251 of file xiescher.cxx.

References maSdrInfoMap, and maSdrObjMap.

Referenced by XclImpDffConverter::ProcessObj().

◆ RemoveConnectorRules()

void XclImpSolverContainer::RemoveConnectorRules ( )

Removes all contained connector rules.

Definition at line 3293 of file xiescher.cxx.

References SvxMSDffSolverContainer::aCList, maSdrInfoMap, and maSdrObjMap.

Referenced by XclImpDffConverter::ProcessDgContainer().

◆ RemoveSdrObjectInfo()

void XclImpSolverContainer::RemoveSdrObjectInfo ( SdrObject rSdrObj)

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

Definition at line 3260 of file xiescher.cxx.

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

Referenced by XclImpDffConverter::InsertSdrObject(), and RemoveSdrObjectInfo().

◆ UpdateConnection()

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 3300 of file xiescher.cxx.

References maSdrInfoMap.

Referenced by UpdateConnectorRules().

◆ UpdateConnectorRules()

void XclImpSolverContainer::UpdateConnectorRules ( )

Inserts the SdrObject pointers into all connector rules.

Definition at line 3283 of file xiescher.cxx.

References SvxMSDffSolverContainer::aCList, and UpdateConnection().

Referenced by XclImpDffConverter::ProcessDgContainer().

Member Data Documentation

◆ maSdrInfoMap

XclImpSdrInfoMap XclImpSolverContainer::maSdrInfoMap
private

◆ maSdrObjMap

XclImpSdrObjMap XclImpSolverContainer::maSdrObjMap
private

Maps shape IDs to SdrObjects and flags.

Definition at line 900 of file xiescher.hxx.

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


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