LibreOffice Module filter (master) 1
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Friends | List of all members
SdrPowerPointImport Class Referenceabstract

#include <svdfppt.hxx>

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

Public Member Functions

 SdrPowerPointImport (PowerPointImportParam &, const OUString &rBaseURL)
 
virtual ~SdrPowerPointImport () override
 
sal_uInt16 GetPageCount (PptPageKind eKind=PPT_SLIDEPAGE) const
 
void SetPageNum (sal_uInt16 nPageNum, PptPageKind=PPT_SLIDEPAGE)
 
Size GetPageSize () const
 
rtl::Reference< SdrObjectImportPageBackgroundObject (const SdrPage &rPage, sal_uInt32 &nBgFileOffset)
 
bool IsNoteOrHandout (sal_uInt16 nPageNum) const
 
bool HasMasterPage (sal_uInt16 nPageNum, PptPageKind ePageKind=PPT_SLIDEPAGE) const
 
sal_uInt16 GetMasterPageIndex (sal_uInt16 nPageNum, PptPageKind ePageKind=PPT_SLIDEPAGE) const
 
void ImportPage (SdrPage *pPage, const PptSlidePersistEntry *pMasterPersist)
 
virtual bool GetColorFromPalette (sal_uInt16 nNum, Color &rColor) const override
 
virtual bool SeekToShape (SvStream &rSt, SvxMSDffClientData *pClientData, sal_uInt32 nId) const override
 
virtual const PptSlideLayoutAtomGetSlideLayoutAtom () const override
 
rtl::Reference< SdrObjectCreateTable (SdrObject *pGroupObject, const sal_uInt32 *pTableArry, SvxMSDffSolverContainer *pSolverContainer, std::vector< rtl::Reference< SdrObject > > &rBackgroundColoredObjects)
 
virtual bool ReadFormControl (tools::SvRef< SotStorage > &rSrc1, css::uno::Reference< css::form::XFormComponent > &rFormComp) const =0
 
- Public Member Functions inherited from SdrEscherImport
 SdrEscherImport (PowerPointImportParam &, const OUString &rBaseURL)
 
virtual ~SdrEscherImport () override
 
virtual bool GetColorFromPalette (sal_uInt16 nNum, Color &rColor) const override
 
virtual bool SeekToShape (SvStream &rSt, SvxMSDffClientData *pClientData, sal_uInt32 nId) const override
 
const PptFontEntityAtomGetFontEnityAtom (sal_uInt32 nNum) const
 
void RecolorGraphic (SvStream &rSt, sal_uInt32 nRecLen, Graphic &rGraph)
 
virtual SdrObjectReadObjText (PPTTextObj *pTextObj, SdrObject *pObj, SdPageCapsule pPage) const
 
virtual rtl::Reference< SdrObjectProcessObj (SvStream &rSt, DffObjData &rData, SvxMSDffClientData &rClientData, tools::Rectangle &rTextRect, SdrObject *pObj) override
 
virtual void ProcessClientAnchor2 (SvStream &rSt, DffRecordHeader &rHd, DffObjData &rObj) override
 
void ImportHeaderFooterContainer (DffRecordHeader const &rHeader, HeaderFooterEntry &rEntry)
 
- Public Member Functions inherited from SvxMSDffManager
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
 

Protected Member Functions

bool SeekToCurrentPage (DffRecordHeader *pRecHd) const
 
bool SeekToDocument (DffRecordHeader *pRecHd) const
 
virtual SdrObjectApplyTextObj (PPTTextObj *pTextObj, SdrTextObj *pText, SdPageCapsule pPage, SfxStyleSheet *, SfxStyleSheet **) const
 
virtual SdrObjectReadObjText (PPTTextObj *pTextObj, SdrObject *pObj, SdPageCapsule pPage) const override
 
virtual rtl::Reference< SdrObjectImportOLE (sal_uInt32 nOLEId, const Graphic &rGraf, const tools::Rectangle &rBoundRect, const tools::Rectangle &rVisArea, const int _nCalledByGroup) const override
 
std::unique_ptr< SvMemoryStreamImportExOleObjStg (sal_uInt32 nPersistPtr, sal_uInt32 &nOleId) const
 
rtl::Reference< SdrPageMakeBlankPage (bool bMaster) const
 
bool ReadFontCollection ()
 
PptSlidePersistListGetPageList (PptPageKind ePageKind) const
 
sal_uInt32 GetCurrentPageId ()
 
sal_uInt32 GetMasterPageId (sal_uInt16 nPageNum, PptPageKind ePageKind) const
 
sal_uInt32 GetNotesPageId (sal_uInt16 nPageNum) const
 
void SeekOle (SfxObjectShell *pShell, sal_uInt32 nFilterOptions)
 
void ApplyTextAnchorAttributes (PPTTextObj const &rTextObj, SfxItemSet &rSet) const
 
bool IsVerticalText () const
 
virtual SdrObjectReadObjText (PPTTextObj *pTextObj, SdrObject *pObj, SdPageCapsule pPage) const
 
- Protected Member Functions inherited from SdrEscherImport
bool ReadString (OUString &rStr) const
 
virtual const PptSlideLayoutAtomGetSlideLayoutAtom () const
 
- Protected Member Functions inherited from SvxMSDffManager
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 bool SeekToContentOfProgTag (sal_Int32 nVersion, SvStream &rSt, const DffRecordHeader &rProgTagBinaryDataHd, DffRecordHeader &rContentHd)
 
static SdrOutlinerGetDrawOutliner (SdrTextObj const *pSdrText)
 
static void ReadObjText (const OUString &rText, SdrObject *pObj)
 
static void ReadObjText (SvStream &rStream, SdrObject *pObj)
 
- Static Protected Member Functions inherited from SvxMSDffManager
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

bool m_bOk
 
PptUserEditAtom m_aUserEditAtom
 
PptColorSchemeAtom m_aPageColors
 
::std::vector< SdHyperlinkEntrym_aHyperList
 
std::unique_ptr< sal_uInt32[]> m_pPersistPtr
 
sal_uInt32 m_nPersistPtrCnt
 
const PPTStyleSheetm_pPPTStyleSheet
 
const PPTStyleSheetm_pDefaultSheet
 
std::unique_ptr< PptSlidePersistListm_pMasterPages
 
std::unique_ptr< PptSlidePersistListm_pSlidePages
 
std::unique_ptr< PptSlidePersistListm_pNotePages
 
sal_uInt16 m_nCurrentPageNum
 
sal_uLong m_nDocStreamPos
 
sal_uInt16 m_nPageColorsNum
 
PptPageKind m_ePageColorsKind
 
PptPageKind m_eCurrentPageKind
 
- Protected Attributes inherited from SdrEscherImport
PptDocumentAtom aDocAtom
 
DffRecordManager aDocRecManager
 
::std::vector< PPTOleEntryaOleObjectList
 
std::optional< std::vector< PptFontEntityAtom > > m_xFonts
 
sal_uInt32 nStreamLen
 
- Protected Attributes inherited from SvxMSDffManager
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...
 

Friends

class PPTTextObj
 
class PPTExtParaProv
 
struct PPTStyleSheet
 
class PPTNumberFormatCreator
 

Additional Inherited Members

- Static Public Member Functions inherited from SdrEscherImport
static void ReadObjText (const OUString &rText, SdrObject *pObj)
 
static void ReadObjText (SvStream &rStream, SdrObject *pObj)
 
- Static Public Member Functions inherited from SvxMSDffManager
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 inherited from SdrEscherImport
PowerPointImportParamrImportParam
 
- Public Attributes inherited from SvxMSDffManager
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 inherited from SvxMSDffManager
typedef std::map< sal_uInt32, sal_uInt64 > OffsetMap
 

Detailed Description

Definition at line 558 of file svdfppt.hxx.

Constructor & Destructor Documentation

◆ SdrPowerPointImport()

SdrPowerPointImport::SdrPowerPointImport ( PowerPointImportParam rParam,
const OUString &  rBaseURL 
)

Definition at line 1308 of file svdfppt.cxx.

References PptSlidePersistEntry::aColorScheme, PowerPointImportParam::aCurrentUserAtom, SdrEscherImport::aDocAtom, SdrEscherImport::aDocRecManager, PptUserEditAtom::aHd, PPTTextSpecInfoAtomInterpreter::aList, PptSlidePersistEntry::aNotesAtom, PptSlidePersistEntry::aPersistAtom, PptSlidePersistEntry::aSlideAtom, PptSlidePersistEntry::bNotesMaster, PPTTextSpecInfoAtomInterpreter::bValid, checkSeek(), DffRecordManager::Consume(), DFF_msofbtDg, DFF_msofbtDgContainer, DFF_msofbtSolverContainer, PptSlidePersistEntry::ePageKind, ERRCODE_NONE, SvStream::GetError(), GetPageList(), DffRecordHeader::GetRecBegFilePos(), DffRecordHeader::GetRecEndFilePos(), DffRecordManager::GetRecordHeader(), SvStream::good(), gentoken::i, SdrEscherImport::ImportHeaderFooterContainer(), DffRecordManager::Last(), m_aUserEditAtom, m_bOk, m_nDocStreamPos, m_nPersistPtrCnt, m_pDefaultSheet, m_pMasterPages, m_pNotePages, m_pPersistPtr, m_pPPTStyleSheet, m_pSlidePages, SdrEscherImport::m_xFonts, PptCurrentUserAtom::nCurrentUserEdit, PptUserEditAtom::nDocumentRef, PptSlidePersistEntry::nDrawingDgId, PptDocumentAtom::nHandoutMasterPersist, PowerPointImportParam::nImportFlags, PptSlideAtom::nMasterId, PptUserEditAtom::nMaxPersistWritten, PptDocumentAtom::nNotesMasterPersist, PptUserEditAtom::nOffsetLastEdit, PptUserEditAtom::nOffsetPersistDirectory, PptSlidePersistAtom::nPsrReference, DffRecordHeader::nRecInstance, DffRecordHeader::nRecType, PptSlidePersistEntry::nSlidePersistEndOffset, SdrEscherImport::nStreamLen, pE, PPT_IMPORTFLAGS_NO_TEXT_ASSERT, PPT_MASTERPAGE, PPT_PST_ColorSchemeAtom, PPT_PST_Document, PPT_PST_DocumentAtom, PPT_PST_Environment, PPT_PST_HeadersFooters, PPT_PST_List, PPT_PST_NotesAtom, PPT_PST_PersistPtrIncrementalBlock, PPT_PST_PPDrawing, PPT_PST_SlideAtom, PPT_PST_SlideListWithText, PPT_PST_SlidePersistAtom, PPT_PST_TxPFStyleAtom, PPT_PST_TxSIStyleAtom, PPT_PST_UserEditAtom, DffRecordManager::Prev(), PptSlidePersistList::push_back(), PPTTextParagraphStyleAtomInterpreter::Read(), PPTTextSpecInfoAtomInterpreter::Read(), ReadDffRecordHeader(), ReadFontCollection(), ReadPptColorSchemeAtom(), ReadPptDocumentAtom(), ReadPptNotesAtom(), ReadPptSlideAtom(), ReadPptSlidePersistAtom(), ReadPptUserEditAtom(), ReadSvxMSDffSolverContainer(), SvStream::ReadUInt32(), SdrEscherImport::rImportParam, SvxMSDffManager::rStCtrl, SAL_MAX_UINT32, SvStream::Seek(), SEEK_FROM_CURRENT, DffRecordHeader::SeekToBegOfRecord(), DffRecordHeader::SeekToContent(), DffRecordHeader::SeekToEndOfRecord(), SvxMSDffManager::SeekToRec(), SvxMSDffManager::SetDgContainer(), PptSlidePersistList::size(), SvStream::Tell(), SvStream::TellEnd(), PptSlidePersistEntry::xSolverContainer, and PptSlidePersistEntry::xStyleSheet.

◆ ~SdrPowerPointImport()

SdrPowerPointImport::~SdrPowerPointImport ( )
overridevirtual

Definition at line 1673 of file svdfppt.cxx.

References m_pMasterPages, m_pNotePages, and m_pSlidePages.

Member Function Documentation

◆ ApplyTextAnchorAttributes()

void SdrPowerPointImport::ApplyTextAnchorAttributes ( PPTTextObj const &  rTextObj,
SfxItemSet rSet 
) const
protected

◆ ApplyTextObj()

SdrObject * SdrPowerPointImport::ApplyTextObj ( PPTTextObj pTextObj,
SdrTextObj pText,
SdPageCapsule  pPage,
SfxStyleSheet pSheet,
SfxStyleSheet **  ppStyleSheetAry 
) const
protectedvirtual

◆ CreateTable()

rtl::Reference< SdrObject > SdrPowerPointImport::CreateTable ( SdrObject pGroupObject,
const sal_uInt32 *  pTableArry,
SvxMSDffSolverContainer pSolverContainer,
std::vector< rtl::Reference< SdrObject > > &  rBackgroundColoredObjects 
)

◆ GetColorFromPalette()

bool SdrPowerPointImport::GetColorFromPalette ( sal_uInt16  nNum,
Color rColor 
) const
overridevirtual

◆ GetCurrentPageId()

sal_uInt32 SdrPowerPointImport::GetCurrentPageId ( )
protected

Definition at line 2441 of file svdfppt.cxx.

References GetPageList(), m_eCurrentPageKind, m_nCurrentPageNum, and size.

Referenced by PPTTextObj::PPTTextObj().

◆ GetDrawOutliner()

SdrOutliner * SdrPowerPointImport::GetDrawOutliner ( SdrTextObj const *  pSdrText)
staticprotected

Definition at line 2218 of file svdfppt.cxx.

References SdrTextObj::ImpGetDrawOutliner().

◆ GetMasterPageId()

sal_uInt32 SdrPowerPointImport::GetMasterPageId ( sal_uInt16  nPageNum,
PptPageKind  ePageKind 
) const
protected

Definition at line 3001 of file svdfppt.cxx.

References GetPageList(), and size.

Referenced by GetMasterPageIndex(), and HasMasterPage().

◆ GetMasterPageIndex()

sal_uInt16 SdrPowerPointImport::GetMasterPageIndex ( sal_uInt16  nPageNum,
PptPageKind  ePageKind = PPT_SLIDEPAGE 
) const

◆ GetNotesPageId()

sal_uInt32 SdrPowerPointImport::GetNotesPageId ( sal_uInt16  nPageNum) const
protected

Definition at line 3009 of file svdfppt.cxx.

References GetPageList(), PPT_SLIDEPAGE, and size.

◆ GetPageCount()

sal_uInt16 SdrPowerPointImport::GetPageCount ( PptPageKind  eKind = PPT_SLIDEPAGE) const

Definition at line 2471 of file svdfppt.cxx.

References GetPageList(), and PptSlidePersistList::size().

◆ GetPageList()

PptSlidePersistList * SdrPowerPointImport::GetPageList ( PptPageKind  ePageKind) const
protected

◆ GetPageSize()

Size SdrPowerPointImport::GetPageSize ( ) const

◆ GetSlideLayoutAtom()

const PptSlideLayoutAtom * SdrPowerPointImport::GetSlideLayoutAtom ( ) const
overridevirtual

Reimplemented from SdrEscherImport.

Definition at line 2982 of file svdfppt.cxx.

References GetPageList(), PptSlidePersistList::is_null(), m_eCurrentPageKind, m_nCurrentPageNum, and size.

◆ HasMasterPage()

bool SdrPowerPointImport::HasMasterPage ( sal_uInt16  nPageNum,
PptPageKind  ePageKind = PPT_SLIDEPAGE 
) const

◆ ImportExOleObjStg()

std::unique_ptr< SvMemoryStream > SdrPowerPointImport::ImportExOleObjStg ( sal_uInt32  nPersistPtr,
sal_uInt32 &  nOleId 
) const
protected

◆ ImportOLE()

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

◆ ImportPage()

void SdrPowerPointImport::ImportPage ( SdrPage pPage,
const PptSlidePersistEntry pMasterPersist 
)

Definition at line 2756 of file svdfppt.cxx.

References ProcessData::aBackgroundColoredObjects, PptSlidePersistEntry::aSlideAtom, Background, PptSlidePersistEntry::bStarDrawFiller, SdrPageProperties::ClearItem(), COL_WHITE(), CreateTable(), DFF_msofbtDgContainer, DFF_msofbtSp, DFF_msofbtSpContainer, DFF_msofbtSpgrContainer, PptSlidePersistEntry::ePageKind, ERRCODE_NONE, SvStream::GetError(), GetMasterPageIndex(), GetPageList(), DffRecordHeader::GetRecEndFilePos(), SdrPage::getSdrPageProperties(), SdrPage::GetSize(), SvStream::good(), HasMasterPage(), ImportComment10(), SdrEscherImport::ImportHeaderFooterContainer(), SvxMSDffManager::ImportObj(), SvxMSDffManager::insertShapeId(), m_eCurrentPageKind, m_nCurrentPageNum, m_pMasterPages, SdrObjList::NbcInsertObject(), PptSlideAtom::nFlags, nPos, DffRecordHeader::nRecType, PptSlidePersistEntry::pBObj, pE, pObject, PPT_MASTERPAGE, PPT_PST_Comment10, PPT_PST_HeadersFooters, PPT_PST_PPDrawing, PPT_PST_ProgTags, PPT_SLIDEPAGE, PPTSLIDEPERSIST_ENTRY_NOTFOUND, ProcessData::pTableRowProperties, SfxItemSet::Put(), SdrPageProperties::PutItemSet(), ReadDffRecordHeader(), SvStream::ReadUInt32(), ProcessData::rPersistEntry, SvxMSDffManager::rStCtrl, SAL_WARN, DffPropSet::SanitizeEndPos(), SvStream::Seek(), DffRecordHeader::SeekToBegOfRecord(), SeekToContentOfProgTag(), SeekToCurrentPage(), DffRecordHeader::SeekToEndOfRecord(), SvxMSDffManager::SeekToRec(), PptSlidePersistList::size(), SvxMSDffManager::SolveSolver(), SvStream::Tell(), PptSlidePersistEntry::xHeaderFooterEntry, and PptSlidePersistEntry::xSolverContainer.

◆ ImportPageBackgroundObject()

rtl::Reference< SdrObject > SdrPowerPointImport::ImportPageBackgroundObject ( const SdrPage rPage,
sal_uInt32 &  nBgFileOffset 
)

◆ IsNoteOrHandout()

bool SdrPowerPointImport::IsNoteOrHandout ( sal_uInt16  nPageNum) const

Definition at line 2993 of file svdfppt.cxx.

References m_eCurrentPageKind, PPT_MASTERPAGE, and PPT_NOTEPAGE.

Referenced by GetPageSize().

◆ IsVerticalText()

bool SdrPowerPointImport::IsVerticalText ( ) const
protected

◆ MakeBlankPage()

rtl::Reference< SdrPage > SdrPowerPointImport::MakeBlankPage ( bool  bMaster) const
protected

Definition at line 2672 of file svdfppt.cxx.

References SdrModel::AllocPage(), GetPageSize(), and SvxMSDffManager::pSdrModel.

◆ ReadFontCollection()

bool SdrPowerPointImport::ReadFontCollection ( )
protected

◆ ReadFormControl()

virtual bool SdrPowerPointImport::ReadFormControl ( tools::SvRef< SotStorage > &  rSrc1,
css::uno::Reference< css::form::XFormComponent > &  rFormComp 
) const
pure virtual

◆ ReadObjText() [1/4]

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

Definition at line 483 of file msdffimp.cxx.

◆ ReadObjText() [2/4]

SdrObject * SdrEscherImport::ReadObjText ( PPTTextObj pTextObj,
SdrObject pObj,
SdPageCapsule  pPage 
) const
protectedvirtual

Reimplemented from SdrEscherImport.

Definition at line 493 of file svdfppt.cxx.

◆ ReadObjText() [3/4]

SdrObject * SdrPowerPointImport::ReadObjText ( PPTTextObj pTextObj,
SdrObject pObj,
SdPageCapsule  pPage 
) const
overrideprotectedvirtual

Reimplemented from SdrEscherImport.

Definition at line 2227 of file svdfppt.cxx.

References ApplyTextObj(), and DynCastSdrTextObj().

◆ ReadObjText() [4/4]

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

Definition at line 483 of file msdffimp.cxx.

◆ SeekOle()

void SdrPowerPointImport::SeekOle ( SfxObjectShell pShell,
sal_uInt32  nFilterOptions 
)
protected

◆ SeekToContentOfProgTag()

bool SdrPowerPointImport::SeekToContentOfProgTag ( sal_Int32  nVersion,
SvStream rSt,
const DffRecordHeader rProgTagBinaryDataHd,
DffRecordHeader rContentHd 
)
staticprotected

◆ SeekToCurrentPage()

bool SdrPowerPointImport::SeekToCurrentPage ( DffRecordHeader pRecHd) const
protected

◆ SeekToDocument()

bool SdrPowerPointImport::SeekToDocument ( DffRecordHeader pRecHd) const
protected

◆ SeekToShape()

bool SdrPowerPointImport::SeekToShape ( SvStream rSt,
SvxMSDffClientData pClientData,
sal_uInt32  nId 
) const
overridevirtual

◆ SetPageNum()

void SdrPowerPointImport::SetPageNum ( sal_uInt16  nPageNum,
PptPageKind  eKind = PPT_SLIDEPAGE 
)

Friends And Related Function Documentation

◆ PPTExtParaProv

friend class PPTExtParaProv
friend

Definition at line 563 of file svdfppt.hxx.

◆ PPTNumberFormatCreator

friend class PPTNumberFormatCreator
friend

Definition at line 565 of file svdfppt.hxx.

◆ PPTStyleSheet

friend struct PPTStyleSheet
friend

Definition at line 564 of file svdfppt.hxx.

◆ PPTTextObj

friend class PPTTextObj
friend

Definition at line 562 of file svdfppt.hxx.

Member Data Documentation

◆ m_aHyperList

::std::vector< SdHyperlinkEntry > SdrPowerPointImport::m_aHyperList
protected

Definition at line 570 of file svdfppt.hxx.

Referenced by PPTTextObj::PPTTextObj().

◆ m_aPageColors

PptColorSchemeAtom SdrPowerPointImport::m_aPageColors
protected

Definition at line 569 of file svdfppt.hxx.

Referenced by GetColorFromPalette().

◆ m_aUserEditAtom

PptUserEditAtom SdrPowerPointImport::m_aUserEditAtom
protected

Definition at line 568 of file svdfppt.hxx.

Referenced by SdrPowerPointImport().

◆ m_bOk

bool SdrPowerPointImport::m_bOk
protected

Definition at line 567 of file svdfppt.hxx.

Referenced by SdrPowerPointImport().

◆ m_eCurrentPageKind

PptPageKind SdrPowerPointImport::m_eCurrentPageKind
protected

◆ m_ePageColorsKind

PptPageKind SdrPowerPointImport::m_ePageColorsKind
protected

Definition at line 584 of file svdfppt.hxx.

Referenced by GetColorFromPalette().

◆ m_nCurrentPageNum

sal_uInt16 SdrPowerPointImport::m_nCurrentPageNum
protected

◆ m_nDocStreamPos

sal_uLong SdrPowerPointImport::m_nDocStreamPos
protected

Definition at line 582 of file svdfppt.hxx.

Referenced by SdrPowerPointImport(), and SeekToDocument().

◆ m_nPageColorsNum

sal_uInt16 SdrPowerPointImport::m_nPageColorsNum
protected

Definition at line 583 of file svdfppt.hxx.

Referenced by GetColorFromPalette().

◆ m_nPersistPtrCnt

sal_uInt32 SdrPowerPointImport::m_nPersistPtrCnt
protected

Definition at line 573 of file svdfppt.hxx.

Referenced by ImportExOleObjStg(), SdrPowerPointImport(), SeekOle(), and SeekToCurrentPage().

◆ m_pDefaultSheet

const PPTStyleSheet* SdrPowerPointImport::m_pDefaultSheet
protected

Definition at line 576 of file svdfppt.hxx.

Referenced by SdrPowerPointImport(), and SetPageNum().

◆ m_pMasterPages

std::unique_ptr<PptSlidePersistList> SdrPowerPointImport::m_pMasterPages
protected

◆ m_pNotePages

std::unique_ptr<PptSlidePersistList> SdrPowerPointImport::m_pNotePages
protected

Definition at line 580 of file svdfppt.hxx.

Referenced by GetPageList(), SdrPowerPointImport(), and ~SdrPowerPointImport().

◆ m_pPersistPtr

std::unique_ptr<sal_uInt32[]> SdrPowerPointImport::m_pPersistPtr
protected

Definition at line 572 of file svdfppt.hxx.

Referenced by ImportExOleObjStg(), SdrPowerPointImport(), SeekOle(), and SeekToCurrentPage().

◆ m_pPPTStyleSheet

const PPTStyleSheet* SdrPowerPointImport::m_pPPTStyleSheet
protected

◆ m_pSlidePages

std::unique_ptr<PptSlidePersistList> SdrPowerPointImport::m_pSlidePages
protected

Definition at line 579 of file svdfppt.hxx.

Referenced by GetPageList(), SdrPowerPointImport(), and ~SdrPowerPointImport().


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