LibreOffice Module filter (master) 1
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Types | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | Friends | List of all members
SvxMSDffManager Class Reference

abstract base class for Escher imports More...

#include <msdffimp.hxx>

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

Public Member Functions

Color MSO_TEXT_CLR_ToColor (sal_uInt32 nColorCode) const
 
Color MSO_CLR_ToColor (sal_uInt32 nColorCode, sal_uInt16 nContextProperty=DFF_Prop_lineColor) const
 
virtual bool SeekToShape (SvStream &rSt, SvxMSDffClientData *pClientData, sal_uInt32 nId) const
 
bool SeekToRec2 (sal_uInt16 nRecId1, sal_uInt16 nRecId2, sal_uLong nMaxFilePos) const
 
 SvxMSDffManager (SvStream &rStCtrl, OUString aBaseURL, sal_uInt32 nOffsDgg, SvStream *pStData, SdrModel *pSdrModel_, tools::Long nApplicationScale, Color mnDefaultColor_, SvStream *pStData2_=nullptr, bool bSkipImages=false)
 constructor More...
 
 SvxMSDffManager (SvStream &rStCtrl, OUString aBaseURL)
 
void InitSvxMSDffManager (sal_uInt32 nOffsDgg_, SvStream *pStData_, sal_uInt32 nSvxMSDffOLEConvFlags)
 
void SetDgContainer (SvStream &rSt)
 
virtual ~SvxMSDffManager ()
 
sal_uInt32 GetSvxMSDffSettings () const
 
void SetSvxMSDffSettings (sal_uInt32 nSettings)
 
void SetModel (SdrModel *pModel, tools::Long nApplicationScale)
 
SdrModelGetModel () const
 
void Scale (sal_Int32 &rVal) const
 
void Scale (Point &rPos) const
 
void Scale (Size &rSiz) const
 
void ScaleEmu (sal_Int32 &rVal) const
 
sal_uInt32 ScalePt (sal_uInt32 nPt) const
 
sal_Int32 ScalePoint (sal_Int32 nVal) const
 
bool GetBLIP (sal_uLong nIdx, Graphic &rData, tools::Rectangle *pVisArea=nullptr)
 Request for a specific BLIP. More...
 
bool GetShape (sal_uLong nId, rtl::Reference< SdrObject > &rpData, SvxMSDffImportData &rData)
 
rtl::Reference< SdrObjectImportObj (SvStream &rSt, SvxMSDffClientData &rData, tools::Rectangle &rClientRect, const tools::Rectangle &rGlobalChildRect, int nCalledByGroup, sal_Int32 *pShapeId)
 
rtl::Reference< SdrObjectImportGroup (const DffRecordHeader &rHd, SvStream &rSt, SvxMSDffClientData &rData, tools::Rectangle &rClientRect, const tools::Rectangle &rGlobalChildRect, int nCalledByGroup, sal_Int32 *pShapeId)
 
rtl::Reference< SdrObjectImportShape (const DffRecordHeader &rHd, SvStream &rSt, SvxMSDffClientData &rData, tools::Rectangle &rClientRect, const tools::Rectangle &rGlobalChildRect, int nCalledByGroup, sal_Int32 *pShapeId)
 
tools::Rectangle GetGlobalChildAnchor (const DffRecordHeader &rHd, SvStream &rSt, tools::Rectangle &aClientRect)
 
void GetGroupAnchors (const DffRecordHeader &rHd, SvStream &rSt, tools::Rectangle &rGroupClientAnchor, tools::Rectangle &rGroupChildAnchor, const tools::Rectangle &rClientRect, const tools::Rectangle &rGlobalChildRect)
 
const SvxMSDffShapeInfos_ByIdGetShapeInfos () const
 
const SvxMSDffShapeOrdersGetShapeOrders () const
 
void StoreShapeOrder (sal_uLong nId, sal_uLong nTxBx, SdrObject *pObject, SwFlyFrameFormat *pFly=nullptr) const
 
void ExchangeInShapeOrder (SdrObject const *pOldObject, sal_uLong nTxBx, SdrObject *pObject) const
 
void RemoveFromShapeOrder (SdrObject const *pObject) const
 
void insertShapeId (sal_Int32 nShapeId, SdrObject *pShape)
 
void removeShapeId (SdrObject const *pShape)
 
SdrObjectgetShapeForId (sal_Int32 nShapeId)
 
- Public Member Functions inherited from DffPropertyReader
 DffPropertyReader (const SvxMSDffManager &rManager)
 
 ~DffPropertyReader ()
 
DffPropertyReaderoperator= (DffPropertyReader const &)=delete
 
 DffPropertyReader (DffPropertyReader const &)=delete
 
void ReadPropSet (SvStream &rIn, SvxMSDffClientData *pClientData) const
 
void SetDefaultPropSet (SvStream &rIn, sal_uInt32 nOffDgg) const
 
void ApplyAttributes (SvStream &rIn, SfxItemSet &rSet) const
 
void ApplyAttributes (SvStream &rIn, SfxItemSet &rSet, DffObjData const &rObjData) const
 
void ImportGradientColor (SfxItemSet &aSet, sal_uInt32 eMSO_FillType, double dTrans, double dBackTrans) const
 
- Public Member Functions inherited from DffPropSet
 DffPropSet ()
 
 ~DffPropSet ()
 
bool IsProperty (sal_uInt32 nRecType) const
 
bool IsHardAttribute (sal_uInt32 nId) const
 
sal_uInt32 GetPropertyValue (sal_uInt32 nId, sal_uInt32 nDefault) const
 
bool GetPropertyBool (sal_uInt32 nId) const
 Returns a boolean property by its real identifier. More...
 
OUString GetPropertyString (sal_uInt32 nId, SvStream &rStrm) const
 Returns a string property. More...
 
bool SeekToContent (sal_uInt32 nRecType, SvStream &rSt) const
 
void InitializePropSet (sal_uInt16 nPropSetType) const
 

Static Public Member Functions

static bool SeekToRec (SvStream &rSt, sal_uInt16 nRecId, sal_uLong nMaxFilePos, DffRecordHeader *pRecHd=nullptr, sal_uLong nSkipCount=0)
 
static OUString MSDFFReadZString (SvStream &rIn, sal_uInt32 nMaxLen, bool bUniCode)
 
static bool ReadCommonRecordHeader (SvStream &rSt, sal_uInt8 &rVer, sal_uInt16 &rInst, sal_uInt16 &rFbt, sal_uInt32 &rLength)
 
static bool MakeContentStream (SotStorage *pStor, const GDIMetaFile &)
 
static void ReadObjText (SvStream &rStream, SdrObject *pObj)
 
static bool ConvertToOle2 (SvStream &rStm, sal_uInt32 nLen, const GDIMetaFile *, const tools::SvRef< SotStorage > &rDest)
 
static bool GetBLIPDirect (SvStream &rBLIPStream, Graphic &rData, tools::Rectangle *pVisArea=nullptr)
 read a BLIP out of an already positioned stream More...
 
static rtl::Reference< SdrOle2ObjCreateSdrOLEFromStorage (SdrModel &rSdrModel, const OUString &rStorageName, tools::SvRef< SotStorage > const &rSrcStorage, const css::uno::Reference< css::embed::XStorage > &xDestStg, const Graphic &rGraf, const tools::Rectangle &rBoundRect, const tools::Rectangle &rVisArea, SvStream *pDataStrrm, ErrCode &rError, sal_uInt32 nConvertFlags, sal_Int64 nAspect, OUString const &rBaseURL)
 
static void SolveSolver (const SvxMSDffSolverContainer &rSolver)
 Create connections between shapes. More...
 
static bool SetPropValue (const css::uno::Any &rAny, const css::uno::Reference< css::beans::XPropertySet > &rXPropSet, const OUString &rPropertyName)
 
static OUString GetFilterNameFromClassID (const SvGlobalName &aGlobName)
 Determines an ODF filter name (if there is one) for aGlobName. More...
 
static void ExtractOwnStream (SotStorage &rSrcStg, SvMemoryStream &rMemStream)
 Extracts ODF data from rSrcStg. More...
 
- Static Public Member Functions inherited from DffPropertyReader
static Degree100 Fix16ToAngle (sal_Int32 nAngle)
 
- Static Public Member Functions inherited from DffPropSet
static sal_uLong SanitizeEndPos (SvStream &rIn, sal_uLong nEndRecPos)
 

Public Attributes

std::unique_ptr< DffPropertyReaderpSecPropSet
 
std::unordered_map< sal_uInt32, GraphicaEscherBlipCache
 
DffRecordManager maShapeRecords
 
Color mnDefaultColor
 
bool mbSkipImages
 
- Public Attributes inherited from DffPropertyReader
Degree100 mnFix16Angle
 
bool mbRotateGranientFillWithAngle
 

Protected Types

typedef std::map< sal_uInt32, sal_uInt64 > OffsetMap
 

Protected Member Functions

void GetCtrlData (sal_uInt32 nOffsDgg)
 
void GetDrawingGroupContainerData (SvStream &rSt, sal_uInt32 nLenDgg)
 
void GetDrawingContainerData (SvStream &rSt, sal_uInt32 nLenDg, sal_uInt16 nDrawingContainerId)
 
bool GetShapeGroupContainerData (SvStream &rSt, sal_uInt32 nLenShapeGroupCont, bool bPatriarch, sal_uInt16 nDrawingContainerId)
 
bool GetShapeContainerData (SvStream &rSt, sal_uInt32 nLenShapeCont, sal_uInt64 nPosGroup, sal_uInt16 nDrawingContainerId)
 
rtl::Reference< SdrObjectImportGraphic (SvStream &, SfxItemSet &, const DffObjData &)
 
virtual rtl::Reference< SdrObjectImportOLE (sal_uInt32 nOLEId, const Graphic &rGraf, const tools::Rectangle &rBoundRect, const tools::Rectangle &rVisArea, const int _nCalledByGroup) const
 
virtual void ProcessClientAnchor2 (SvStream &rStData, DffRecordHeader &rHd, DffObjData &)
 
virtual rtl::Reference< SdrObjectProcessObj (SvStream &rSt, DffObjData &rData, SvxMSDffClientData &rClientData, tools::Rectangle &rTextRect, SdrObject *pObj)
 
void NotifyFreeObj (SvxMSDffClientData &rData, SdrObject *pObj)
 
void FreeObj (SvxMSDffClientData &rData, SdrObject *pObj)
 
virtual SdrObjectFinalizeObj (DffObjData &rData, SdrObject *pObj)
 Object finalization, used by the Excel filter to correctly compute the object anchoring after nested objects have been imported. More...
 
virtual bool GetColorFromPalette (sal_uInt16 nNum, Color &rColor) const
 
virtual bool GetOLEStorageName (sal_uInt32 nOLEId, OUString &rStorageName, tools::SvRef< SotStorage > &rSrcStorage, css::uno::Reference< css::embed::XStorage > &xDestStg) const
 
virtual bool ShapeHasText (sal_uLong nShapeId, sal_uLong nFilePos) const
 Prevent that (rounded) rectangles with wrapped text will always be converted into SdrRectObj( SdrObjKind::Text ). More...
 

Static Protected Member Functions

static css::uno::Reference< css::embed::XEmbeddedObject > CheckForConvertToSOObj (sal_uInt32 nConvertFlags, SotStorage &rSrcStg, const css::uno::Reference< css::embed::XStorage > &xDestStg, const Graphic &rGrf, const tools::Rectangle &rVisArea, OUString const &rBaseURL)
 
static void ProcessClientAnchor (SvStream &rStData, sal_uInt32 nDatLen, std::unique_ptr< char[]> &rpBuff, sal_uInt32 &rBuffLen)
 
static void ProcessClientData (SvStream &rStData, sal_uInt32 nDatLen, std::unique_ptr< char[]> &rpBuff, sal_uInt32 &rBuffLen)
 
static void ReadObjText (const OUString &rText, SdrObject *pObj)
 

Protected Attributes

OUString maBaseURL
 
sal_uInt32 mnIdClusters
 
std::vector< FIDCLmaFidcls
 
OffsetMap maDgOffsetTable
 array of fileoffsets More...
 
std::vector< std::pair< DffObjData, std::shared_ptr< DffRecordHeader > > > maPendingGroupData
 When importing Excel files, cell anchor computations for non-page-anchored groups must be done after all nested groups have been processed; for each open group, the pending data is stored here. More...
 
SvStreamrStCtrl
 
SvStreampStData
 
SvStreampStData2
 
SdrModelpSdrModel
 
tools::Long nMapMul
 
tools::Long nMapDiv
 
tools::Long nMapXOfs
 
tools::Long nMapYOfs
 
tools::Long nEmuMul
 
tools::Long nEmuDiv
 
tools::Long nPntMul
 
tools::Long nPntDiv
 
bool bNeedMap
 
sal_Int32 nMinAllowedVal
 
sal_Int32 nMaxAllowedVal
 
sal_uInt32 nSvxMSDffSettings
 
sal_uInt32 nSvxMSDffOLEConvFlags
 
SvxMSDffShapeIdContainer maShapeIdContainer
 stores a reference to an imported SdrObject with its shape id if it has one More...
 

Private Member Functions

void CheckTxBxStoryChain ()
 
void GetFidclData (sal_uInt32 nOffsDgg)
 

Private Attributes

std::unique_ptr< SvxMSDffBLIPInfosm_pBLIPInfos
 
std::unique_ptr< SvxMSDffShapeInfos_ByTxBxCompm_xShapeInfosByTxBxComp
 
std::unique_ptr< SvxMSDffShapeInfos_ByIdm_xShapeInfosById
 
SvxMSDffShapeOrders m_aShapeOrders
 
sal_uInt32 nOffsDgg
 
sal_uInt16 nBLIPCount
 
ShapeFlag nGroupShapeFlags
 

Friends

class DffPropertyReader
 

Detailed Description

abstract base class for Escher imports

Purpose: access to objects in Drawing File Format

Note: The method ProcessUserDefinedRecord() has to be implemented in the inheriting class(es) that is/are eventually used for PowerPoint, Word, or Excel importing.

Status: Currently only access to BLIPs (will be extended later)

Definition at line 414 of file msdffimp.hxx.

Member Typedef Documentation

◆ OffsetMap

typedef std::map<sal_uInt32, sal_uInt64> SvxMSDffManager::OffsetMap
protected

Definition at line 428 of file msdffimp.hxx.

Constructor & Destructor Documentation

◆ SvxMSDffManager() [1/2]

SvxMSDffManager::SvxMSDffManager ( SvStream rStCtrl,
OUString  aBaseURL,
sal_uInt32  nOffsDgg,
SvStream pStData,
SdrModel pSdrModel_,
tools::Long  nApplicationScale,
Color  mnDefaultColor_,
SvStream pStData2_ = nullptr,
bool  bSkipImages = false 
)

constructor

sets nBLIPCount

Parameters
rStCtrlManagement stream with containers, FBSE objects and shapes (mandatory; stream needs to be open already)
rBaseURL???
nOffsDggoffset in rStrCtrl; beginning of the drawing group container
pStDatadata stream in that the BLIPs are stored (if NULL it is assumed that all BLIPs are also in the rStCtrl; stream needs to be open already)
pSdrModel_??? (can be empty during Ctor call but needs to be set via SetModel() later in that case!)
nApplicationScale???
mnDefaultColor_???
nDefaultFontHeight_???
pStData2_???
bSkipImagesskipping images for text extraction/indexing

Definition at line 5759 of file msdffimp.cxx.

References CheckTxBxStoryChain(), GetCtrlData(), nOffsDgg, NONE, pStData, rStCtrl, SvStream::Seek(), DffPropertyReader::SetDefaultPropSet(), SetModel(), and SvStream::Tell().

◆ SvxMSDffManager() [2/2]

SvxMSDffManager::SvxMSDffManager ( SvStream rStCtrl,
OUString  aBaseURL 
)

Definition at line 5810 of file msdffimp.cxx.

References NONE, and SetModel().

◆ ~SvxMSDffManager()

SvxMSDffManager::~SvxMSDffManager ( )
virtual

Definition at line 5830 of file msdffimp.cxx.

Member Function Documentation

◆ CheckForConvertToSOObj()

css::uno::Reference< css::embed::XEmbeddedObject > SvxMSDffManager::CheckForConvertToSOObj ( sal_uInt32  nConvertFlags,
SotStorage rSrcStg,
const css::uno::Reference< css::embed::XStorage > &  xDestStg,
const Graphic rGrf,
const tools::Rectangle rVisArea,
OUString const &  rBaseURL 
)
staticprotected

◆ CheckTxBxStoryChain()

void SvxMSDffManager::CheckTxBxStoryChain ( )
private

Definition at line 5923 of file msdffimp.cxx.

References m_xShapeInfosById, and m_xShapeInfosByTxBxComp.

Referenced by InitSvxMSDffManager(), and SvxMSDffManager().

◆ ConvertToOle2()

bool SvxMSDffManager::ConvertToOle2 ( SvStream rStm,
sal_uInt32  nLen,
const GDIMetaFile pMtf,
const tools::SvRef< SotStorage > &  rDest 
)
static

◆ CreateSdrOLEFromStorage()

rtl::Reference< SdrOle2Obj > SvxMSDffManager::CreateSdrOLEFromStorage ( SdrModel rSdrModel,
const OUString &  rStorageName,
tools::SvRef< SotStorage > const &  rSrcStorage,
const css::uno::Reference< css::embed::XStorage > &  xDestStg,
const Graphic rGraf,
const tools::Rectangle rBoundRect,
const tools::Rectangle rVisArea,
SvStream pDataStrrm,
ErrCode rError,
sal_uInt32  nConvertFlags,
sal_Int64  nAspect,
OUString const &  rBaseURL 
)
static

◆ ExchangeInShapeOrder()

void SvxMSDffManager::ExchangeInShapeOrder ( SdrObject const *  pOldObject,
sal_uLong  nTxBx,
SdrObject pObject 
) const

Definition at line 5727 of file msdffimp.cxx.

References m_aShapeOrders, and pObject.

◆ ExtractOwnStream()

void SvxMSDffManager::ExtractOwnStream ( SotStorage rSrcStg,
SvMemoryStream rMemStream 
)
static

Extracts ODF data from rSrcStg.

Definition at line 7108 of file msdffimp.cxx.

References SotStorage::OpenSotStream().

Referenced by CheckForConvertToSOObj().

◆ FinalizeObj()

SdrObject * SvxMSDffManager::FinalizeObj ( DffObjData rData,
SdrObject pObj 
)
protectedvirtual

Object finalization, used by the Excel filter to correctly compute the object anchoring after nested objects have been imported.

Definition at line 5704 of file msdffimp.cxx.

Referenced by ImportGroup(), and ImportShape().

◆ FreeObj()

void SvxMSDffManager::FreeObj ( SvxMSDffClientData rData,
SdrObject pObj 
)
protected

Definition at line 5181 of file msdffimp.cxx.

References NotifyFreeObj().

Referenced by ImportGroup().

◆ GetBLIP()

bool SvxMSDffManager::GetBLIP ( sal_uLong  nIdx,
Graphic rData,
tools::Rectangle pVisArea = nullptr 
)

Request for a specific BLIP.

Access to a BLIP at runtime (if the Blip-Number is already known)

Parameters
[in]nIdxnumber of the requested BLIP (mandatory)
[out]rDataalready converted data (insert directly as graphics into our documents)
pVisArea???
Returns
true if successful, false otherwise

Definition at line 6430 of file msdffimp.cxx.

References aEscherBlipCache, checkSeek(), GetBLIPDirect(), SvStream::GetError(), Graphic::GetType(), m_pBLIPInfos, pStData, pStData2, SvStream::ResetError(), rStCtrl, SvStream::Seek(), and SvStream::Tell().

Referenced by PPTPortionObj::ApplyTo(), and ImportGraphic().

◆ GetBLIPDirect()

bool SvxMSDffManager::GetBLIPDirect ( SvStream rBLIPStream,
Graphic rData,
tools::Rectangle pVisArea = nullptr 
)
static

◆ GetColorFromPalette()

bool SvxMSDffManager::GetColorFromPalette ( sal_uInt16  nNum,
Color rColor 
) const
protectedvirtual

Reimplemented in SdrEscherImport, and SdrPowerPointImport.

Definition at line 3412 of file msdffimp.cxx.

References COL_WHITE().

Referenced by MSO_CLR_ToColor().

◆ GetCtrlData()

void SvxMSDffManager::GetCtrlData ( sal_uInt32  nOffsDgg)
protected

◆ GetDrawingContainerData()

void SvxMSDffManager::GetDrawingContainerData ( SvStream rSt,
sal_uInt32  nLenDg,
sal_uInt16  nDrawingContainerId 
)
protected

◆ GetDrawingGroupContainerData()

void SvxMSDffManager::GetDrawingGroupContainerData ( SvStream rSt,
sal_uInt32  nLenDgg 
)
protected

◆ GetFidclData()

void SvxMSDffManager::GetFidclData ( sal_uInt32  nOffsDgg)
private

◆ GetFilterNameFromClassID()

OUString SvxMSDffManager::GetFilterNameFromClassID ( const SvGlobalName aGlobName)
static

◆ GetGlobalChildAnchor()

tools::Rectangle SvxMSDffManager::GetGlobalChildAnchor ( const DffRecordHeader rHd,
SvStream rSt,
tools::Rectangle aClientRect 
)

◆ GetGroupAnchors()

void SvxMSDffManager::GetGroupAnchors ( const DffRecordHeader rHd,
SvStream rSt,
tools::Rectangle rGroupClientAnchor,
tools::Rectangle rGroupChildAnchor,
const tools::Rectangle rClientRect,
const tools::Rectangle rGlobalChildRect 
)

◆ GetModel()

SdrModel * SvxMSDffManager::GetModel ( ) const
inline

Definition at line 636 of file msdffimp.hxx.

Referenced by ImportOLE().

◆ GetOLEStorageName()

bool SvxMSDffManager::GetOLEStorageName ( sal_uInt32  nOLEId,
OUString &  rStorageName,
tools::SvRef< SotStorage > &  rSrcStorage,
css::uno::Reference< css::embed::XStorage > &  xDestStg 
) const
protectedvirtual

Definition at line 6762 of file msdffimp.cxx.

Referenced by ImportOLE().

◆ GetShape()

bool SvxMSDffManager::GetShape ( sal_uLong  nId,
rtl::Reference< SdrObject > &  rpData,
SvxMSDffImportData rData 
)

◆ GetShapeContainerData()

bool SvxMSDffManager::GetShapeContainerData ( SvStream rSt,
sal_uInt32  nLenShapeCont,
sal_uInt64  nPosGroup,
sal_uInt16  nDrawingContainerId 
)
protected

◆ getShapeForId()

SdrObject * SvxMSDffManager::getShapeForId ( sal_Int32  nShapeId)

Definition at line 7629 of file msdffimp.cxx.

References maShapeIdContainer.

◆ GetShapeGroupContainerData()

bool SvxMSDffManager::GetShapeGroupContainerData ( SvStream rSt,
sal_uInt32  nLenShapeGroupCont,
bool  bPatriarch,
sal_uInt16  nDrawingContainerId 
)
protected

◆ GetShapeInfos()

const SvxMSDffShapeInfos_ById * SvxMSDffManager::GetShapeInfos ( ) const
inline

Definition at line 701 of file msdffimp.hxx.

◆ GetShapeOrders()

const SvxMSDffShapeOrders * SvxMSDffManager::GetShapeOrders ( ) const
inline

Definition at line 704 of file msdffimp.hxx.

◆ GetSvxMSDffSettings()

sal_uInt32 SvxMSDffManager::GetSvxMSDffSettings ( ) const
inline

◆ ImportGraphic()

rtl::Reference< SdrObject > SvxMSDffManager::ImportGraphic ( SvStream rSt,
SfxItemSet rSet,
const DffObjData rObjData 
)
protected

◆ ImportGroup()

rtl::Reference< SdrObject > SvxMSDffManager::ImportGroup ( const DffRecordHeader rHd,
SvStream rSt,
SvxMSDffClientData rData,
tools::Rectangle rClientRect,
const tools::Rectangle rGlobalChildRect,
int  nCalledByGroup,
sal_Int32 *  pShapeId 
)

◆ ImportObj()

rtl::Reference< SdrObject > SvxMSDffManager::ImportObj ( SvStream rSt,
SvxMSDffClientData rData,
tools::Rectangle rClientRect,
const tools::Rectangle rGlobalChildRect,
int  nCalledByGroup,
sal_Int32 *  pShapeId 
)

◆ ImportOLE()

rtl::Reference< SdrObject > SvxMSDffManager::ImportOLE ( sal_uInt32  nOLEId,
const Graphic rGraf,
const tools::Rectangle rBoundRect,
const tools::Rectangle rVisArea,
const int  _nCalledByGroup 
) const
protectedvirtual

◆ ImportShape()

rtl::Reference< SdrObject > SvxMSDffManager::ImportShape ( const DffRecordHeader rHd,
SvStream rSt,
SvxMSDffClientData rData,
tools::Rectangle rClientRect,
const tools::Rectangle rGlobalChildRect,
int  nCalledByGroup,
sal_Int32 *  pShapeId 
)

Definition at line 4262 of file msdffimp.cxx.

References a, DffObjData::aBoundRect, DffObjData::aChildAnchor, basegfx::B2DPolygon::append(), DffPropertyReader::ApplyAttributes(), Background, DffObjData::bChildAnchor, DffObjData::bClientAnchor, DffObjData::bOpt, DffObjData::bOpt2, tools::Rectangle::Bottom(), BottomRight, tools::Rectangle::BottomRight(), DffObjData::bRotateTextWithShape, DffObjData::bShapeType, bVisible, tools::Rectangle::Center(), o3tl::checked_sub(), SdrCustomShapeGeometryItem::ClearPropertyValue(), DffRecordManager::Consume(), VclPtr< class reference_type >::Create(), basegfx::utils::createPolygonFromEllipseSegment(), DffRecordManager::Current(), basegfx::deg2rad(), DFF_msofbtChildAnchor, DFF_msofbtClientAnchor, DFF_msofbtOPT, DFF_msofbtSp, DFF_msofbtUDefProp, DFF_Prop_cxstyle, DFF_Prop_fc3DLightFace, DFF_Prop_fPrint, DFF_Prop_gtextAlign, DFF_Prop_gtextFBold, DFF_Prop_gtextFItalic, DFF_Prop_gtextFont, DFF_Prop_gtextFStrikethrough, DFF_Prop_gtextSpacing, DFF_Prop_gtextUNICODE, DFF_Prop_pib, DFF_Prop_pibFlags, DFF_Prop_pibName, DFF_Prop_pVertices, DFF_Prop_wzDescription, DFF_Prop_wzName, DffPropertyReader, EE_CHAR_FONTINFO(), EE_CHAR_FONTINFO_CJK(), EE_CHAR_FONTINFO_CTL(), EE_CHAR_FONTWIDTH(), EE_CHAR_ITALIC(), EE_CHAR_KERNING(), EE_CHAR_WEIGHT(), EE_PARA_WRITINGDIR(), DffObjData::eShapeType, FinalizeObj(), First, FlipH, FlipV, basegfx::B2DPolygon::getB2DRange(), basegfx::B2DRange::getCenter(), GetCustomShapeContent(), GetDefaultFonts(), basegfx::Range2D< typename TYPE, typename TRAITS >::getHeight(), tools::Rectangle::GetHeight(), SdrModel::GetItemPool(), SdrObjCustomShape::GetLineGeometry(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMaxX(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMaxY(), SdrObject::GetMergedItem(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMinX(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMinY(), tools::Rectangle::getOpenHeight(), tools::Rectangle::getOpenWidth(), DffPropSet::GetPropertyString(), DffPropSet::GetPropertyValue(), SdrCustomShapeGeometryItem::GetPropertyValueByName(), GetSvxMSDffSettings(), EnhancedCustomShape2d::GetTextRect(), basegfx::Range2D< typename TYPE, typename TRAITS >::getWidth(), tools::Rectangle::GetWidth(), SvStream::good(), Group, gtextFBestFit, gtextFShrinkFit, gtextFStretch, gentoken::i, ImportGraphic(), DffPropSet::InitializePropSet(), tools::Rectangle::IsEmpty(), DffPropSet::IsHardAttribute(), DffPropSet::IsProperty(), ITALIC_NONE, ITALIC_NORMAL, tools::Rectangle::Left(), o3tl::make_unsigned(), makeSdrTextAutoGrowHeightItem(), makeSdrTextAutoGrowWidthItem(), maPendingGroupData, maShapeRecords, DffPropertyReader::mbRotateGranientFillWithAngle, mbSkipImages, DffPropertyReader::mnFix16Angle, tools::Rectangle::Move(), MSDFFReadZString(), mso_alignTextCenter, mso_alignTextInvalid, mso_alignTextLeft, mso_alignTextLetterJust, mso_alignTextRight, mso_alignTextStretch, mso_alignTextWordJust, mso_cxstyleBent, mso_cxstyleCurved, mso_cxstyleStraight, mso_sptArc, mso_sptCurvedConnector5, mso_sptLine, mso_sptNil, mso_sptStraightConnector1, mso_sptTextPlainText, n, nGroupShapeFlags, NONE, NormAngle360(), DffRecordHeader::nRecInstance, DffRecordHeader::nRecLen, DffObjData::nShapeId, DffObjData::nSpFlags, PITCH_DONTKNOW, ProcessClientAnchor2(), ProcessObj(), pSdrModel, pSecPropSet, SfxItemSet::Put(), SvStream::ReadInt32(), ReadObjText(), DffPropertyReader::ReadPropSet(), SvStream::ReadUInt16(), SvStream::ReadUInt32(), tools::Rectangle::Right(), RotatePoint(), DffObjData::rSpHd, Scale(), SDRATTR_CUSTOMSHAPE_GEOMETRY(), SDRTEXTHORZADJUST_BLOCK, SDRTEXTHORZADJUST_CENTER, SDRTEXTHORZADJUST_LEFT, SDRTEXTHORZADJUST_RIGHT, SEEK_FROM_CURRENT_AND_RESTART, DffRecordHeader::SeekToBegOfRecord(), DffPropSet::SeekToContent(), DffRecordManager::SeekToContent(), EnhancedCustomShape2d::SetEnhancedCustomShapeParameter(), vcl::Font::SetFamilyName(), vcl::Font::SetFontSize(), tools::Rectangle::setHeight(), SdrCustomShapeGeometryItem::SetPropertyValue(), Point::setX(), Point::setY(), SVXMSDFF_SETTINGS_IMPORT_EXCEL, SVXMSDFF_SETTINGS_IMPORT_PPT, tools::Rectangle::Top(), TopLeft, tools::Rectangle::TopLeft(), toRadians(), u, use_gtextFBestFit, use_gtextFShrinkFit, use_gtextFStretch, WEIGHT_BOLD, WEIGHT_NORMAL, Point::X(), and Point::Y().

Referenced by ImportGroup(), and ImportObj().

◆ InitSvxMSDffManager()

void SvxMSDffManager::InitSvxMSDffManager ( sal_uInt32  nOffsDgg_,
SvStream pStData_,
sal_uInt32  nSvxMSDffOLEConvFlags 
)

◆ insertShapeId()

void SvxMSDffManager::insertShapeId ( sal_Int32  nShapeId,
SdrObject pShape 
)

Definition at line 7616 of file msdffimp.cxx.

References maShapeIdContainer.

Referenced by ImportGroup(), and SdrPowerPointImport::ImportPage().

◆ MakeContentStream()

bool SvxMSDffManager::MakeContentStream ( SotStorage pStor,
const GDIMetaFile rMtf 
)
static

◆ MSDFFReadZString()

OUString SvxMSDffManager::MSDFFReadZString ( SvStream rIn,
sal_uInt32  nMaxLen,
bool  bUniCode 
)
static

◆ MSO_CLR_ToColor()

Color SvxMSDffManager::MSO_CLR_ToColor ( sal_uInt32  nColorCode,
sal_uInt16  nContextProperty = DFF_Prop_lineColor 
) const

Definition at line 3444 of file msdffimp.cxx.

References COL_BLACK(), COL_WHITE(), DFF_Prop_fillBackColor, DFF_Prop_fillColor, DFF_Prop_fNoLineDrawDash, DFF_Prop_lineBackColor, DFF_Prop_lineColor, DFF_Prop_pictureTransparent, DFF_Prop_shadowColor, Color::GetBlue(), StyleSettings::GetButtonTextColor(), GetColorFromPalette(), StyleSettings::GetDeactiveColor(), StyleSettings::GetFaceColor(), Color::GetGreen(), StyleSettings::GetHighlightColor(), StyleSettings::GetHighlightTextColor(), StyleSettings::GetLabelTextColor(), Color::GetLuminance(), StyleSettings::GetMenuColor(), StyleSettings::GetMenuTextColor(), DffPropSet::GetPropertyValue(), Color::GetRed(), Application::GetSettings(), StyleSettings::GetShadowColor(), AllSettings::GetStyleSettings(), StyleSettings::GetWindowColor(), StyleSettings::GetWindowTextColor(), mnDefaultColor, MSO_CLR_ToColor(), mso_colorFillBackColor, mso_colorFillColor, mso_colorFillThenLine, mso_colorIndexMask, mso_colorLineBackColor, mso_colorLineColor, mso_colorLineOrFillColor, mso_colorShadowColor, mso_colorThis, mso_syscolor3DLight, mso_syscolorActiveCaption, mso_syscolorButtonFace, mso_syscolorButtonHighlight, mso_syscolorButtonShadow, mso_syscolorButtonText, mso_syscolorCaptionText, mso_syscolorGrayText, mso_syscolorHighlight, mso_syscolorHighlightText, mso_syscolorInactiveCaption, mso_syscolorInactiveCaptionText, mso_syscolorInfoBackground, mso_syscolorInfoText, mso_syscolorMenu, mso_syscolorMenuText, mso_syscolorScrollbar, mso_syscolorWindow, mso_syscolorWindowFrame, mso_syscolorWindowText, Color::SetBlue(), Color::SetGreen(), and Color::SetRed().

Referenced by DffPropertyReader::ApplyAttributes(), DffPropertyReader::ApplyCustomShapeGeometryAttributes(), DffPropertyReader::ApplyFillAttributes(), PPTPortionObj::ApplyTo(), GetShadeColors(), DffPropertyReader::ImportGradientColor(), ImportGraphic(), SdrPowerPointImport::ImportPageBackgroundObject(), MSO_CLR_ToColor(), MSO_TEXT_CLR_ToColor(), and SdrEscherImport::RecolorGraphic().

◆ MSO_TEXT_CLR_ToColor()

Color SvxMSDffManager::MSO_TEXT_CLR_ToColor ( sal_uInt32  nColorCode) const

◆ NotifyFreeObj()

void SvxMSDffManager::NotifyFreeObj ( SvxMSDffClientData rData,
SdrObject pObj 
)
protected

◆ ProcessClientAnchor()

void SvxMSDffManager::ProcessClientAnchor ( SvStream rStData,
sal_uInt32  nDatLen,
std::unique_ptr< char[]> &  rpBuff,
sal_uInt32 &  rBuffLen 
)
staticprotected

Definition at line 6734 of file msdffimp.cxx.

References SvStream::ReadBytes(), and SvStream::remainingSize().

Referenced by ProcessObj().

◆ ProcessClientAnchor2()

void SvxMSDffManager::ProcessClientAnchor2 ( SvStream rStData,
DffRecordHeader rHd,
DffObjData  
)
protectedvirtual

Reimplemented in SdrEscherImport.

Definition at line 6757 of file msdffimp.cxx.

Referenced by ImportShape().

◆ ProcessClientData()

void SvxMSDffManager::ProcessClientData ( SvStream rStData,
sal_uInt32  nDatLen,
std::unique_ptr< char[]> &  rpBuff,
sal_uInt32 &  rBuffLen 
)
staticprotected

Definition at line 6745 of file msdffimp.cxx.

References SvStream::ReadBytes(), and SvStream::remainingSize().

Referenced by ProcessObj().

◆ ProcessObj()

rtl::Reference< SdrObject > SvxMSDffManager::ProcessObj ( SvStream rSt,
DffObjData rData,
SvxMSDffClientData rClientData,
tools::Rectangle rTextRect,
SdrObject pObj 
)
protectedvirtual

Reimplemented in SdrEscherImport.

Definition at line 5186 of file msdffimp.cxx.

References a, DffObjData::aBoundRect, tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustRight(), Point::AdjustX(), Point::AdjustY(), DffPropertyReader::ApplyAttributes(), SvxMSDffImportRec::aTextId, DffObjData::bClientAnchor, DffObjData::bClientData, SvxMSDffImportRec::bDrawHell, SvxMSDffImportRec::bHFlip, SvxMSDffImportRec::bHidden, tools::Rectangle::Bottom(), SvxMSDffImportRec::bReplaceByFly, SvxMSDffShapeInfo::bReplaceByFly, SvxMSDffImportRec::bVFlip, tools::Rectangle::Center(), DffRecordManager::Current(), DFF_msofbtClientAnchor, DFF_msofbtClientData, DFF_msofbtUDefProp, DFF_Prop_anchorText, DFF_Prop_cropFromBottom, DFF_Prop_cropFromLeft, DFF_Prop_cropFromRight, DFF_Prop_cropFromTop, DFF_Prop_dxTextLeft, DFF_Prop_dxTextRight, DFF_Prop_dxWrapDistLeft, DFF_Prop_dxWrapDistRight, DFF_Prop_dyTextBottom, DFF_Prop_dyTextTop, DFF_Prop_dyWrapDistBottom, DFF_Prop_dyWrapDistTop, DFF_Prop_FitTextToShape, DFF_Prop_fNoLineDrawDash, DFF_Prop_fPrint, DFF_Prop_hspNext, DFF_Prop_lineDashing, DFF_Prop_lineStyle, DFF_Prop_lTxid, DFF_Prop_pWrapPolygonVertices, DFF_Prop_txflTextFlow, DFF_Prop_WrapText, SvxMSDffImportRec::eLineDashing, SvxMSDffImportRec::eLineStyle, SvxMSDffImportRec::eShapeType, DffObjData::eShapeType, FlipH, FlipV, o3tl::strong_int< typename UNDERLYING_TYPE, typename PHANTOM_TYPE >::get(), tools::Rectangle::GetHeight(), SdrModel::GetItemPool(), SfxItemSet::GetItemState(), DffPropSet::GetPropertyValue(), DffRecordHeader::GetRecBegFilePos(), tools::Rectangle::GetWidth(), SvStream::good(), Group, gentoken::i, SvxMSDffImportData::insert(), tools::Rectangle::IsEmpty(), SvxMSDffImportRec::isHorizontalRule, DffPropSet::IsProperty(), tools::Rectangle::Left(), m_xShapeInfosById, makeSdrTextAutoGrowHeightItem(), makeSdrTextAutoGrowWidthItem(), makeSdrTextContourFrameItem(), makeSdrTextLeftDistItem(), makeSdrTextLowerDistItem(), makeSdrTextMinFrameHeightItem(), makeSdrTextMinFrameWidthItem(), makeSdrTextRightDistItem(), makeSdrTextUpperDistItem(), maShapeRecords, mnDefaultColor, DffPropertyReader::mnFix16Angle, mso_anchorBottom, mso_anchorBottomCentered, mso_anchorMiddle, mso_anchorMiddleCentered, mso_anchorTop, mso_anchorTopCentered, mso_lineSimple, mso_lineSolid, MSO_LineStyle_NONE, mso_sptRectangle, mso_sptTextBox, mso_sptTextSimple, mso_txflBtoT, mso_txflHorzA, mso_txflHorzN, mso_txflTtoBA, mso_txflTtoBN, mso_txflVertN, mso_wrapByPoints, mso_wrapNone, mso_wrapSquare, DffObjData::nCalledByGroup, SvxMSDffImportRec::nClientAnchorLen, SvxMSDffImportRec::nClientDataLen, SvxMSDffImportRec::nCropFromBottom, SvxMSDffImportRec::nCropFromLeft, SvxMSDffImportRec::nCropFromRight, SvxMSDffImportRec::nCropFromTop, SvxMSDffImportRec::nDxTextLeft, SvxMSDffImportRec::nDxTextRight, SvxMSDffImportRec::nDxWrapDistLeft, SvxMSDffImportRec::nDxWrapDistRight, SvxMSDffImportRec::nDyTextBottom, SvxMSDffImportRec::nDyTextTop, SvxMSDffImportRec::nDyWrapDistBottom, SvxMSDffImportRec::nDyWrapDistTop, SvxMSDffImportRec::nGroupShapeBooleanProperties, SvxMSDffImportRec::nNextShapeId, DffRecordHeader::nRecLen, MSDffTxId::nSequence, SvxMSDffImportRec::nShapeId, DffObjData::nShapeId, DffObjData::nSpFlags, MSDffTxId::nTxBxS, SvxMSDffImportRec::nXAlign, SvxMSDffImportRec::nXRelTo, SvxMSDffImportRec::nYAlign, SvxMSDffImportRec::nYRelTo, SvxMSDffImportRec::pClientAnchorBuffer, SvxMSDffImportRec::pClientDataBuffer, SvxMSDffImportRec::pObj, ProcessClientAnchor(), ProcessClientData(), pSdrModel, SfxItemSet::Put(), SvxMSDffImportRec::pWrapPolygon, SvStream::ReadInt16(), SvStream::ReadInt32(), SvStream::ReadUInt16(), SvStream::ReadUInt32(), SvxMSDffImportRec::relativeHorizontalWidth, SvStream::remainingSize(), tools::Rectangle::Right(), DffObjData::rSpHd, ScaleEmu(), SDRTEXTHORZADJUST_CENTER, SDRTEXTVERTADJUST_BOTTOM, SDRTEXTVERTADJUST_CENTER, SDRTEXTVERTADJUST_TOP, SEEK_FROM_CURRENT_AND_RESTART, DffPropSet::SeekToContent(), DffRecordManager::SeekToContent(), tools::Rectangle::SetBottom(), tools::Rectangle::SetRight(), ShapeHasText(), StoreShapeOrder(), tools::Rectangle::Top(), tools::Rectangle::TopLeft(), toRadians(), and XATTR_FILLCOLOR().

Referenced by ImportShape().

◆ ReadCommonRecordHeader()

bool SvxMSDffManager::ReadCommonRecordHeader ( SvStream rSt,
sal_uInt8 rVer,
sal_uInt16 &  rInst,
sal_uInt16 &  rFbt,
sal_uInt32 &  rLength 
)
static

◆ ReadObjText() [1/2]

void SvxMSDffManager::ReadObjText ( const OUString &  rText,
SdrObject pObj 
)
staticprotected

◆ ReadObjText() [2/2]

void SvxMSDffManager::ReadObjText ( SvStream rStream,
SdrObject pObj 
)
static

◆ RemoveFromShapeOrder()

void SvxMSDffManager::RemoveFromShapeOrder ( SdrObject const *  pObject) const

Definition at line 5743 of file msdffimp.cxx.

References m_aShapeOrders, and pObject.

◆ removeShapeId()

void SvxMSDffManager::removeShapeId ( SdrObject const *  pShape)

Definition at line 7621 of file msdffimp.cxx.

References maShapeIdContainer.

Referenced by SdrPowerPointImport::CreateTable().

◆ Scale() [1/3]

void SvxMSDffManager::Scale ( Point rPos) const

◆ Scale() [2/3]

void SvxMSDffManager::Scale ( sal_Int32 &  rVal) const

◆ Scale() [3/3]

void SvxMSDffManager::Scale ( Size rSiz) const

◆ ScaleEmu()

void SvxMSDffManager::ScaleEmu ( sal_Int32 &  rVal) const

◆ ScalePoint()

sal_Int32 SvxMSDffManager::ScalePoint ( sal_Int32  nVal) const

Definition at line 3213 of file msdffimp.cxx.

References BigMulDiv(), nPntDiv, and nPntMul.

Referenced by PPTPortionObj::ApplyTo(), and PPTParagraphObj::ApplyTo().

◆ ScalePt()

sal_uInt32 SvxMSDffManager::ScalePt ( sal_uInt32  nPt) const

◆ SeekToRec()

bool SvxMSDffManager::SeekToRec ( SvStream rSt,
sal_uInt16  nRecId,
sal_uLong  nMaxFilePos,
DffRecordHeader pRecHd = nullptr,
sal_uLong  nSkipCount = 0 
)
static

◆ SeekToRec2()

bool SvxMSDffManager::SeekToRec2 ( sal_uInt16  nRecId1,
sal_uInt16  nRecId2,
sal_uLong  nMaxFilePos 
) const

◆ SeekToShape()

bool SvxMSDffManager::SeekToShape ( SvStream rSt,
SvxMSDffClientData pClientData,
sal_uInt32  nId 
) const
virtual

◆ SetDgContainer()

void SvxMSDffManager::SetDgContainer ( SvStream rSt)

◆ SetModel()

void SvxMSDffManager::SetModel ( SdrModel pModel,
tools::Long  nApplicationScale 
)

◆ SetPropValue()

bool SvxMSDffManager::SetPropValue ( const css::uno::Any &  rAny,
const css::uno::Reference< css::beans::XPropertySet > &  rXPropSet,
const OUString &  rPropertyName 
)
static

Definition at line 7485 of file msdffimp.cxx.

◆ SetSvxMSDffSettings()

void SvxMSDffManager::SetSvxMSDffSettings ( sal_uInt32  nSettings)
inline

Definition at line 626 of file msdffimp.hxx.

◆ ShapeHasText()

bool SvxMSDffManager::ShapeHasText ( sal_uLong  nShapeId,
sal_uLong  nFilePos 
) const
protectedvirtual

Prevent that (rounded) rectangles with wrapped text will always be converted into SdrRectObj( SdrObjKind::Text ).

Returns
true means "conversion".

Definition at line 6767 of file msdffimp.cxx.

Referenced by ProcessObj().

◆ SolveSolver()

void SvxMSDffManager::SolveSolver ( const SvxMSDffSolverContainer rSolver)
static

Create connections between shapes.

This method should be called after a page is imported.

Parameters
rSolvercontains necessary data that is collected during the import of each shape

Definition at line 461 of file msdffimp.cxx.

References SvxMSDffSolverContainer::aCList, gentoken::i, SvxMSDffConnectorRule::ncptiA, SvxMSDffConnectorRule::nSpFlagsA, SvxMSDffConnectorRule::pAObj, SvxMSDffConnectorRule::pBObj, and SvxMSDffConnectorRule::pCObj.

Referenced by SdrPowerPointImport::ImportPage().

◆ StoreShapeOrder()

void SvxMSDffManager::StoreShapeOrder ( sal_uLong  nId,
sal_uLong  nTxBx,
SdrObject pObject,
SwFlyFrameFormat pFly = nullptr 
) const

Definition at line 5710 of file msdffimp.cxx.

References m_aShapeOrders, nId, and pObject.

Referenced by ProcessObj().

Friends And Related Function Documentation

◆ DffPropertyReader

friend class DffPropertyReader
friend

Definition at line 442 of file msdffimp.hxx.

Referenced by ImportShape().

Member Data Documentation

◆ aEscherBlipCache

std::unordered_map<sal_uInt32, Graphic> SvxMSDffManager::aEscherBlipCache

Definition at line 551 of file msdffimp.hxx.

Referenced by GetBLIP().

◆ bNeedMap

bool SvxMSDffManager::bNeedMap
protected

Definition at line 457 of file msdffimp.hxx.

Referenced by Scale(), and SetModel().

◆ m_aShapeOrders

SvxMSDffShapeOrders SvxMSDffManager::m_aShapeOrders
private

◆ m_pBLIPInfos

std::unique_ptr<SvxMSDffBLIPInfos> SvxMSDffManager::m_pBLIPInfos
private

Definition at line 416 of file msdffimp.hxx.

Referenced by GetBLIP(), and GetDrawingGroupContainerData().

◆ m_xShapeInfosById

std::unique_ptr<SvxMSDffShapeInfos_ById> SvxMSDffManager::m_xShapeInfosById
private

Definition at line 418 of file msdffimp.hxx.

Referenced by CheckTxBxStoryChain(), GetShape(), and ProcessObj().

◆ m_xShapeInfosByTxBxComp

std::unique_ptr<SvxMSDffShapeInfos_ByTxBxComp> SvxMSDffManager::m_xShapeInfosByTxBxComp
private

Definition at line 417 of file msdffimp.hxx.

Referenced by CheckTxBxStoryChain(), and GetShapeContainerData().

◆ maBaseURL

OUString SvxMSDffManager::maBaseURL
protected

Definition at line 430 of file msdffimp.hxx.

Referenced by ImportGraphic(), ImportOLE(), and SdrPowerPointImport::ImportOLE().

◆ maDgOffsetTable

OffsetMap SvxMSDffManager::maDgOffsetTable
protected

array of fileoffsets

Definition at line 433 of file msdffimp.hxx.

Referenced by SeekToShape(), and SetDgContainer().

◆ maFidcls

std::vector<FIDCL> SvxMSDffManager::maFidcls
protected

Definition at line 432 of file msdffimp.hxx.

Referenced by GetFidclData(), SdrEscherImport::ProcessObj(), and SeekToShape().

◆ maPendingGroupData

std::vector< std::pair<DffObjData, std::shared_ptr<DffRecordHeader> > > SvxMSDffManager::maPendingGroupData
protected

When importing Excel files, cell anchor computations for non-page-anchored groups must be done after all nested groups have been processed; for each open group, the pending data is stored here.

The storage also holds a shared_ptr to the DffObjData ow DffRecordHeader to avoid it going out of scope except when needed

Definition at line 440 of file msdffimp.hxx.

Referenced by ImportGroup(), and ImportShape().

◆ maShapeIdContainer

SvxMSDffShapeIdContainer SvxMSDffManager::maShapeIdContainer
protected

stores a reference to an imported SdrObject with its shape id if it has one

Definition at line 465 of file msdffimp.hxx.

Referenced by getShapeForId(), insertShapeId(), and removeShapeId().

◆ maShapeRecords

DffRecordManager SvxMSDffManager::maShapeRecords

◆ mbSkipImages

bool SvxMSDffManager::mbSkipImages

Definition at line 556 of file msdffimp.hxx.

Referenced by ImportShape().

◆ mnDefaultColor

Color SvxMSDffManager::mnDefaultColor

Definition at line 554 of file msdffimp.hxx.

Referenced by MSO_CLR_ToColor(), and ProcessObj().

◆ mnIdClusters

sal_uInt32 SvxMSDffManager::mnIdClusters
protected

Definition at line 431 of file msdffimp.hxx.

Referenced by GetFidclData(), SdrEscherImport::ProcessObj(), and SeekToShape().

◆ nBLIPCount

sal_uInt16 SvxMSDffManager::nBLIPCount
private

Definition at line 421 of file msdffimp.hxx.

Referenced by GetDrawingGroupContainerData().

◆ nEmuDiv

tools::Long SvxMSDffManager::nEmuDiv
protected

Definition at line 454 of file msdffimp.hxx.

Referenced by ScaleEmu(), and SetModel().

◆ nEmuMul

tools::Long SvxMSDffManager::nEmuMul
protected

Definition at line 453 of file msdffimp.hxx.

Referenced by ScaleEmu(), and SetModel().

◆ nGroupShapeFlags

ShapeFlag SvxMSDffManager::nGroupShapeFlags
private

Definition at line 422 of file msdffimp.hxx.

Referenced by ImportGroup(), and ImportShape().

◆ nMapDiv

tools::Long SvxMSDffManager::nMapDiv
protected

Definition at line 450 of file msdffimp.hxx.

Referenced by SdrPowerPointImport::GetPageSize(), Scale(), and SetModel().

◆ nMapMul

tools::Long SvxMSDffManager::nMapMul
protected

Definition at line 449 of file msdffimp.hxx.

Referenced by SdrPowerPointImport::GetPageSize(), Scale(), and SetModel().

◆ nMapXOfs

tools::Long SvxMSDffManager::nMapXOfs
protected

Definition at line 451 of file msdffimp.hxx.

Referenced by Scale(), and SetModel().

◆ nMapYOfs

tools::Long SvxMSDffManager::nMapYOfs
protected

Definition at line 452 of file msdffimp.hxx.

Referenced by Scale(), and SetModel().

◆ nMaxAllowedVal

sal_Int32 SvxMSDffManager::nMaxAllowedVal
protected

Definition at line 459 of file msdffimp.hxx.

Referenced by Scale(), and SetModel().

◆ nMinAllowedVal

sal_Int32 SvxMSDffManager::nMinAllowedVal
protected

Definition at line 458 of file msdffimp.hxx.

Referenced by Scale(), and SetModel().

◆ nOffsDgg

sal_uInt32 SvxMSDffManager::nOffsDgg
private

Definition at line 420 of file msdffimp.hxx.

Referenced by InitSvxMSDffManager(), and SvxMSDffManager().

◆ nPntDiv

tools::Long SvxMSDffManager::nPntDiv
protected

Definition at line 456 of file msdffimp.hxx.

Referenced by ScalePoint(), and SetModel().

◆ nPntMul

tools::Long SvxMSDffManager::nPntMul
protected

Definition at line 455 of file msdffimp.hxx.

Referenced by ScalePoint(), and SetModel().

◆ nSvxMSDffOLEConvFlags

sal_uInt32 SvxMSDffManager::nSvxMSDffOLEConvFlags
protected

Definition at line 461 of file msdffimp.hxx.

Referenced by ImportOLE(), SdrPowerPointImport::ImportOLE(), and InitSvxMSDffManager().

◆ nSvxMSDffSettings

sal_uInt32 SvxMSDffManager::nSvxMSDffSettings
protected

Definition at line 460 of file msdffimp.hxx.

◆ pSdrModel

SdrModel* SvxMSDffManager::pSdrModel
protected

◆ pSecPropSet

std::unique_ptr<DffPropertyReader> SvxMSDffManager::pSecPropSet

◆ pStData

SvStream* SvxMSDffManager::pStData
protected

Definition at line 445 of file msdffimp.hxx.

Referenced by GetBLIP(), GetShape(), ImportOLE(), InitSvxMSDffManager(), and SvxMSDffManager().

◆ pStData2

SvStream* SvxMSDffManager::pStData2
protected

Definition at line 446 of file msdffimp.hxx.

Referenced by GetBLIP().

◆ rStCtrl

SvStream& SvxMSDffManager::rStCtrl
protected

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