LibreOffice Module sd (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ImplSdPPTImport Class Reference

#include <pptin.hxx>

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

Public Member Functions

OUString ReadSound (sal_uInt32 nSoundRef) const
 
OUString ReadMedia (sal_uInt32 nMediaRef) const
 
 ImplSdPPTImport (SdDrawDocument *pDoc, SotStorage &rStorage, SfxMedium &rMed, PowerPointImportParam &)
 
virtual ~ImplSdPPTImport () override
 
bool Import ()
 
virtual bool ReadFormControl (tools::SvRef< SotStorage > &rSrc1, css::uno::Reference< css::form::XFormComponent > &rFormComp) const override
 
- Public Member Functions inherited from SdrPowerPointImport
 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)
 
 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)
 
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
 
OUString GetPropertyString (sal_uInt32 nId, SvStream &rStrm) const
 
bool SeekToContent (sal_uInt32 nRecType, SvStream &rSt) const
 
void InitializePropSet (sal_uInt16 nPropSetType) const
 

Private Member Functions

void SetHeaderFooterPageSettings (SdPage *pPage, const PptSlidePersistEntry *pMasterPersist)
 
void ImportPageEffect (SdPage *pPage, const bool bNewAnimationsUsed)
 
void FillSdAnimationInfo (SdAnimationInfo *pInfo, const PptInteractiveInfoAtom &rIAtom, const OUString &rMacroName)
 
virtual rtl::Reference< SdrObjectProcessObj (SvStream &rSt, DffObjData &rData, SvxMSDffClientData &rClientData, ::tools::Rectangle &rTextRect, SdrObject *pObj) override
 
virtual SdrObjectApplyTextObj (PPTTextObj *pTextObj, SdrTextObj *pText, SdPageCapsule pPage, SfxStyleSheet *, SfxStyleSheet **) const override
 

Private Attributes

tools::SvRef< SotStorageStreammxPicturesStream
 
SfxMediummrMed
 
SotStoragemrStorage
 
DffRecordHeader maDocHd
 
std::vector< OUString > maSlideNameList
 
bool mbDocumentFound
 
sal_uInt32 mnFilterOptions
 
SdDrawDocumentmpDoc
 
PresChange mePresChange
 
SdrLayerID mnBackgroundObjectsLayerID
 
tAnimationMap maAnimations
 

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)
 
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)
 
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)
 
static void ExtractOwnStream (SotStorage &rSrcStg, SvMemoryStream &rMemStream)
 
- 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
 
- Protected Member Functions inherited from SdrPowerPointImport
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)
 
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
 
- Static Protected Member Functions inherited from SdrPowerPointImport
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 inherited from SdrPowerPointImport
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
 
std::vector< std::pair< DffObjData, std::shared_ptr< DffRecordHeader > > > maPendingGroupData
 
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
 

Detailed Description

Definition at line 44 of file pptin.hxx.

Constructor & Destructor Documentation

◆ ImplSdPPTImport()

ImplSdPPTImport::ImplSdPPTImport ( SdDrawDocument pDoc,
SotStorage rStorage,
SfxMedium rMed,
PowerPointImportParam rParam 
)

◆ ~ImplSdPPTImport()

ImplSdPPTImport::~ImplSdPPTImport ( )
overridevirtual

Member Function Documentation

◆ ApplyTextObj()

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

Reimplemented from SdrPowerPointImport.

Definition at line 2185 of file pptin.cxx.

References aName, DffPropertyReader::ApplyAttributes(), SdrPowerPointImport::ApplyTextAnchorAttributes(), SdrPowerPointImport::ApplyTextObj(), PPTParagraphObj::ApplyTo(), tools::Rectangle::Bottom(), Calc, Chart, PPTTextObj::Count(), SdPage::CreatePresObj(), DateTime, DBG_ASSERT, PptSlideLayoutAtom::eLayout, SfxStyleSheetBasePool::Find(), PPTParagraphObj::First(), PPTTextObj::First(), Footer, PPTTextObj::GetDestinationInstance(), SdrPowerPointImport::GetDrawOutliner(), PPTTextObj::GetInstance(), SdrModel::GetItemPool(), SfxStyleSheetBase::GetItemSet(), SdPage::GetLayoutName(), SdrObject::GetLogicRect(), SdrTextObj::GetLogicRect(), SdrObject::GetMergedItem(), SdrObject::GetMergedItemSet(), PPTTextObj::GetOEPlaceHolderAtom(), SdPage::GetPageKind(), SdDrawDocument::GetPool(), SdPage::GetPresObjText(), PPTTextObj::GetShapeType(), tools::Rectangle::GetSize(), SdrPowerPointImport::GetSlideLayoutAtom(), SdPage::GetStyleSheetForPresObj(), SdrModel::GetStyleSheetPool(), PPTParagraphObj::GetTextSize(), Graphic, Handout, Header, Size::Height(), SdPage::InsertPresObj(), tools::Rectangle::Left(), SdrPowerPointImport::m_eCurrentPageKind, makeSdrTextAutoGrowHeightItem(), makeSdrTextMinFrameHeightItem(), MAX_USER_MOVE, mpDoc, mso_sptPictureFrame, mso_sptRectangle, mso_sptTextBox, SdrObject::NbcSetStyleSheet(), NONE, Notes, Object, OrgChart, Outline, SdPageCapsule::page, PPT_MASTERPAGE, PPT_NOTEPAGE, SvxMSDffManager::pSdrModel, SfxItemSet::Put(), tools::Rectangle::Right(), SvxMSDffManager::rStCtrl, SDRATTR_TEXT_HORZADJUST(), SDRATTR_TEXT_LEFTDIST(), SDRATTR_TEXT_LOWERDIST(), SDRATTR_TEXT_RIGHTDIST(), SDRATTR_TEXT_UPPERDIST(), SDRATTR_TEXT_VERTADJUST(), SdResId(), SdrObject::SetEmptyPresObj(), SdrObject::SetLogicRect(), SdrObject::SetMergedItemSet(), SdrObject::SetNotVisibleAsMaster(), SdPage::SetObjText(), SdrObject::SetUserCall(), SlideNumber, Table, Text, Title, tools::Rectangle::Top(), SdrPage::TRG_GetMasterPage(), SdrPage::TRG_HasMasterPage(), and Size::Width().

◆ FillSdAnimationInfo()

void ImplSdPPTImport::FillSdAnimationInfo ( SdAnimationInfo pInfo,
const PptInteractiveInfoAtom rIAtom,
const OUString &  rMacroName 
)
private

◆ Import()

bool ImplSdPPTImport::Import ( )

Definition at line 228 of file pptin.cxx.

References SdHyperlinkEntry::aConvSubString, SdrEscherImport::aDocAtom, aName, PptSlideLayoutAtom::aPlaceholderId, PPTParagraphObj::AppendPortion(), PPTPortionObj::ApplyTo(), PPTParagraphObj::ApplyTo(), SdHyperlinkEntry::aSubAddress, SdHyperlinkEntry::aTarget, AUTOLAYOUT_CHART, AUTOLAYOUT_CHARTTEXT, AUTOLAYOUT_CLIPTEXT, AUTOLAYOUT_HANDOUT6, AUTOLAYOUT_NONE, AUTOLAYOUT_NOTES, AUTOLAYOUT_OBJ, AUTOLAYOUT_OBJTEXT, AUTOLAYOUT_ORG, AUTOLAYOUT_TAB, AUTOLAYOUT_TEXTCHART, AUTOLAYOUT_TEXTCLIP, AUTOLAYOUT_TEXTOBJ, AUTOLAYOUT_TEXTOVEROBJ, AUTOLAYOUT_TITLE, AUTOLAYOUT_TITLE_2CONTENT, AUTOLAYOUT_TITLE_2CONTENT_CONTENT, AUTOLAYOUT_TITLE_2CONTENT_OVER_CONTENT, AUTOLAYOUT_TITLE_2VTEXT, AUTOLAYOUT_TITLE_4CONTENT, AUTOLAYOUT_TITLE_CONTENT, AUTOLAYOUT_TITLE_CONTENT_2CONTENT, AUTOLAYOUT_TITLE_CONTENT_OVER_CONTENT, AUTOLAYOUT_TITLE_ONLY, AUTOLAYOUT_TITLE_VCONTENT, AUTOLAYOUT_VTITLE_VCONTENT, AUTOLAYOUT_VTITLE_VCONTENT_OVER_VCONTENT, PptSlidePersistEntry::bNotesMaster, PptSlidePersistEntry::bStarDrawFiller, checkSeek(), SdrPageProperties::ClearItem(), SfxItemSet::ClearItem(), SdPage::CloneSdrPage(), SdDrawDocument::CreateMissingNotesAndHandoutPages(), SdDrawDocument::CreatePageNumValue(), DBG_ASSERT, SdrModel::DeleteMasterPage(), DFF_msofbtAnimGroup, DFF_msofbtDgContainer, DFF_msofbtSpContainer, DFF_msofbtSpgrContainer, PptUserEditAtom::eLastViewType, PptSlideLayoutAtom::eLayout, SdrModel::EnableUndo(), ERRCODE_NONE, SfxStyleSheetBasePool::Find(), PptSlidePersistList::FindPage(), SdCustomShowList::First(), SdDrawDocument::GetCustomShowList(), Section::GetDictionary(), SdDrawDocument::GetDocSh(), SdrModel::GetDrawOutliner(), SvStream::GetError(), SdDrawDocument::GetFrameView(), SdDrawDocument::GetFrameViewList(), SfxStyleSheetBase::GetItemSet(), SfxMedium::GetItemSet(), SdrModel::GetLayerAdmin(), SdrLayerAdmin::GetLayerID(), SdPage::GetLayoutName(), INetURLObject::GetMainURL(), SdrModel::GetMasterPage(), SdrModel::GetMasterPageCount(), SdrPowerPointImport::GetMasterPageIndex(), SdDrawDocument::GetMasterSdPage(), SfxObjectShell::GetModel(), SdCustomShow::GetName(), SdPage::GetName(), GetName(), SdrPowerPointImport::GetNotesPageId(), PptDocumentAtom::GetNotesPageSize(), SdrObjList::GetObj(), FmFormModel::GetObjectShell(), SdrModel::GetPage(), SdrPowerPointImport::GetPageCount(), SdPage::GetPageKind(), SdrPowerPointImport::GetPageList(), SdDrawDocument::getPresentationSettings(), Section::GetProperty(), DffRecordHeader::GetRecBegFilePos(), DffRecordHeader::GetRecEndFilePos(), SdDrawDocument::GetSdPage(), SdDrawDocument::GetSdPageCount(), SdrPage::getSdrPageProperties(), SdrPowerPointImport::GetSlideLayoutAtom(), PptDocumentAtom::GetSlidesPageSize(), SdPage::GetStyleSheetForMasterPageBackground(), SdrModel::GetStyleSheetPool(), o3tl::getToken(), SdrPage::getUnoPage(), SvStream::good(), Handout, SdrPowerPointImport::HasMasterPage(), i, if(), ppt::AnimationImporter::import(), SvxMSDffManager::ImportObj(), SdrPowerPointImport::ImportPage(), SdrPowerPointImport::ImportPageBackgroundObject(), ImportPageEffect(), SdrModel::InsertMasterPage(), SdrModel::InsertPage(), comphelper::string::isdigitAsciiString(), utl::ConfigManager::IsFuzzing(), SdrModel::isLocked(), SdrModel::IsUndoEnabled(), sfx2::LoadOlePropertySet(), SdrPowerPointImport::m_aHyperList, SdrPowerPointImport::m_aUserEditAtom, SdrPowerPointImport::m_bOk, SdrPowerPointImport::m_eCurrentPageKind, SdrPowerPointImport::m_nCurrentPageNum, SdrPowerPointImport::m_pMasterPages, SdrPowerPointImport::m_pNotePages, SdrPowerPointImport::m_pPPTStyleSheet, SdrPowerPointImport::m_pSlidePages, maDocHd, SdrPowerPointImport::MakeBlankPage(), sd::PresentationSettings::maPresPage, maSlideNameList, MasterPage, sd::PresentationSettings::mbAll, sd::PresentationSettings::mbAnimationAllowed, sd::PresentationSettings::mbCustomShow, mbDocumentFound, sd::PresentationSettings::mbEndless, sd::PresentationSettings::mbFullScreen, sd::PresentationSettings::mbManual, mePresChange, mnBackgroundObjectsLayerID, mnFilterOptions, mpDoc, mrMed, mrStorage, SdPage::NbcInsertObject(), SdCustomShowList::Next(), SdHyperlinkEntry::nIndex, SdHyperlinkEntry::nInfo, INetURLObject::NONE, Notes, nPos, SdHyperlinkEntry::nPrivate1, SdHyperlinkEntry::nPrivate2, SdHyperlinkEntry::nPrivate3, DffRecordHeader::nRecLen, DffRecordHeader::nRecType, nToken, nType, OUStringToOString(), Page, pE, PID_DOCPARTS, PID_HEADINGPAIR, PID_SLIDECOUNT, PPT_MASTERPAGE, PPT_NOTEPAGE, PPT_PST_CString, PPT_PST_ExHyperlink, PPT_PST_ExHyperlinkAtom, PPT_PST_ExObjList, PPT_PST_HashCodeAtom, PPT_PST_HeadersFooters, PPT_PST_NamedShow, PPT_PST_NamedShows, PPT_PST_NamedShowSlides, PPT_PST_PPDrawing, PPT_PST_ProgTags, PPT_PST_SlideTime10Atom, PPT_PST_SSDocInfoAtom, PPT_SLIDEPAGE, PPTSLIDEPERSIST_ENTRY_NOTFOUND, SvxMSDffManager::pSdrModel, SdCustomShowList::push_back(), SfxItemSet::Put(), SdrPageProperties::PutItemSet(), PropItem::Read(), ReadDffRecordHeader(), SvStream::ReadInt16(), SvStream::ReadInt32(), SdrEscherImport::ReadString(), SvStream::ReadUInt16(), SvStream::ReadUInt32(), SvStream::ReadUtf16(), SvStream::remainingSize(), SdPage::RemoveObject(), SvxMSDffManager::rStCtrl, SAL_N_ELEMENTS, SAL_WARN, DffPropSet::SanitizeEndPos(), SvxMSDffManager::Scale(), SD_LT_SEPARATOR, SdResId(), SvStream::Seek(), SdrPowerPointImport::SeekOle(), SvStream::SeekRel(), DffRecordHeader::SeekToBegOfRecord(), DffRecordHeader::SeekToContent(), SdrPowerPointImport::SeekToContentOfProgTag(), SdrPowerPointImport::SeekToCurrentPage(), DffRecordHeader::SeekToEndOfRecord(), SvxMSDffManager::SeekToRec(), SemiAuto, SdPage::SetAutoLayout(), SetHeaderFooterPageSettings(), SdrModel::setLock(), SdPage::SetName(), sd::FrameView::SetPageKind(), SdrPowerPointImport::SetPageNum(), sd::FrameView::SetSelectedPage(), SdrPageProperties::SetStyleSheet(), SdDrawDocument::SetSummationOfParagraphs(), sd::FrameView::SetViewShEditMode(), SfxObjectShell::SetVisArea(), size, PptSlidePersistList::size(), Standard, STR_LAYOUT_OUTLINE, STREAM_SEEK_TO_BEGIN, sUNO_LayerName_background_objects, SvStream::Tell(), Text, Title, VT_BLOB, VT_EMPTY, VT_I4, VT_LPSTR, VT_UI4, VT_VARIANT, and VT_VECTOR.

◆ ImportPageEffect()

void ImplSdPPTImport::ImportPageEffect ( SdPage pPage,
const bool  bNewAnimationsUsed 
)
private

Definition at line 1523 of file pptin.cxx.

References PptSlidePersistEntry::aPersistAtom, PptSlidePersistEntry::aSlideAtom, Auto, ERRCODE_NONE, SvStream::GetError(), SdrPowerPointImport::GetMasterPageIndex(), SdPage::GetPageKind(), SdrPowerPointImport::GetPageList(), DffRecordHeader::GetRecBegFilePos(), DffRecordHeader::GetRecEndFilePos(), SdrPowerPointImport::HasMasterPage(), PptSlidePersistList::is_null(), SdrObjListIter::IsMore(), SdrPowerPointImport::m_eCurrentPageKind, SdrPowerPointImport::m_nCurrentPageNum, maAnimations, mePresChange, mnBackgroundObjectsLayerID, SdrObjListIter::Next(), PptSlideAtom::nFlags, DffRecordHeader::nRecType, PptSlidePersistAtom::nReserved, PPT_MASTERPAGE, PPT_PST_SSSlideInfoAtom, PPT_SLIDEPAGE, PPT_TRANSITION_TYPE_BLINDS, PPT_TRANSITION_TYPE_CHECKER, PPT_TRANSITION_TYPE_CIRCLE, PPT_TRANSITION_TYPE_COMB, PPT_TRANSITION_TYPE_COVER, PPT_TRANSITION_TYPE_DIAMOND, PPT_TRANSITION_TYPE_DISSOLVE, PPT_TRANSITION_TYPE_FADE, PPT_TRANSITION_TYPE_NEWSFLASH, PPT_TRANSITION_TYPE_NONE, PPT_TRANSITION_TYPE_PLUS, PPT_TRANSITION_TYPE_PULL, PPT_TRANSITION_TYPE_PUSH, PPT_TRANSITION_TYPE_RANDOM, PPT_TRANSITION_TYPE_RANDOM_BARS, PPT_TRANSITION_TYPE_SMOOTHFADE, PPT_TRANSITION_TYPE_SPLIT, PPT_TRANSITION_TYPE_STRIPS, PPT_TRANSITION_TYPE_WEDGE, PPT_TRANSITION_TYPE_WHEEL, PPT_TRANSITION_TYPE_WIPE, PPT_TRANSITION_TYPE_ZOOM, ReadDffRecordHeader(), SvStream::ReadInt16(), SvStream::ReadInt32(), SvStream::ReadSChar(), ReadSound(), SvxMSDffManager::rStCtrl, DffPropSet::SanitizeEndPos(), SvStream::Seek(), SdrPowerPointImport::SeekToCurrentPage(), DffRecordHeader::SeekToEndOfRecord(), SdrLayerIDSet::Set(), SdPage::SetExcluded(), SdPage::SetFadeEffect(), SdPage::SetLoopSound(), SdPage::SetPresChange(), SdPage::SetSound(), SdPage::SetSoundFile(), SdPage::SetStopSound(), SdPage::SetTime(), SdPage::setTransitionDuration(), SdPage::setTransitionFadeColor(), SdPage::setTransitionSubtype(), SdPage::setTransitionType(), size, PptSlidePersistList::size(), Standard, SvStream::Tell(), SdrPage::TRG_GetMasterPageVisibleLayers(), SdrPage::TRG_HasMasterPage(), and SdrPage::TRG_SetMasterPageVisibleLayers().

Referenced by Import().

◆ ProcessObj()

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

◆ ReadFormControl()

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

◆ ReadMedia()

OUString ImplSdPPTImport::ReadMedia ( sal_uInt32  nMediaRef) const

◆ ReadSound()

OUString ImplSdPPTImport::ReadSound ( sal_uInt32  nSoundRef) const

◆ SetHeaderFooterPageSettings()

void ImplSdPPTImport::SetHeaderFooterPageSettings ( SdPage pPage,
const PptSlidePersistEntry pMasterPersist 
)
private

Member Data Documentation

◆ maAnimations

tAnimationMap ImplSdPPTImport::maAnimations
private

Definition at line 57 of file pptin.hxx.

Referenced by ImportPageEffect(), and ProcessObj().

◆ maDocHd

DffRecordHeader ImplSdPPTImport::maDocHd
private

Definition at line 49 of file pptin.hxx.

Referenced by ImplSdPPTImport(), and Import().

◆ maSlideNameList

std::vector<OUString> ImplSdPPTImport::maSlideNameList
private

Definition at line 50 of file pptin.hxx.

Referenced by Import().

◆ mbDocumentFound

bool ImplSdPPTImport::mbDocumentFound
private

Definition at line 51 of file pptin.hxx.

Referenced by ImplSdPPTImport(), and Import().

◆ mePresChange

PresChange ImplSdPPTImport::mePresChange
private

Definition at line 54 of file pptin.hxx.

Referenced by Import(), and ImportPageEffect().

◆ mnBackgroundObjectsLayerID

SdrLayerID ImplSdPPTImport::mnBackgroundObjectsLayerID
private

Definition at line 55 of file pptin.hxx.

Referenced by Import(), and ImportPageEffect().

◆ mnFilterOptions

sal_uInt32 ImplSdPPTImport::mnFilterOptions
private

Definition at line 52 of file pptin.hxx.

Referenced by ImplSdPPTImport(), and Import().

◆ mpDoc

SdDrawDocument* ImplSdPPTImport::mpDoc
private

Definition at line 53 of file pptin.hxx.

Referenced by ApplyTextObj(), FillSdAnimationInfo(), ImplSdPPTImport(), Import(), and ReadFormControl().

◆ mrMed

SfxMedium& ImplSdPPTImport::mrMed
private

Definition at line 47 of file pptin.hxx.

Referenced by Import().

◆ mrStorage

SotStorage& ImplSdPPTImport::mrStorage
private

Definition at line 48 of file pptin.hxx.

Referenced by Import().

◆ mxPicturesStream

tools::SvRef<SotStorageStream> ImplSdPPTImport::mxPicturesStream
private

Definition at line 46 of file pptin.hxx.

Referenced by ImplSdPPTImport(), and ~ImplSdPPTImport().


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