LibreOffice Module sd (master) 1
|
#include <pptin.hxx>
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< SdrObject > | ImportPageBackgroundObject (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 PptSlideLayoutAtom * | GetSlideLayoutAtom () const override |
rtl::Reference< SdrObject > | CreateTable (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 PptFontEntityAtom * | GetFontEnityAtom (sal_uInt32 nNum) const |
void | RecolorGraphic (SvStream &rSt, sal_uInt32 nRecLen, Graphic &rGraph) |
virtual SdrObject * | ReadObjText (PPTTextObj *pTextObj, SdrObject *pObj, SdPageCapsule pPage) const |
virtual rtl::Reference< SdrObject > | ProcessObj (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) |
SdrModel * | GetModel () 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< SdrObject > | ImportObj (SvStream &rSt, SvxMSDffClientData &rData, tools::Rectangle &rClientRect, const tools::Rectangle &rGlobalChildRect, int nCalledByGroup, sal_Int32 *pShapeId) |
rtl::Reference< SdrObject > | ImportGroup (const DffRecordHeader &rHd, SvStream &rSt, SvxMSDffClientData &rData, tools::Rectangle &rClientRect, const tools::Rectangle &rGlobalChildRect, int nCalledByGroup, sal_Int32 *pShapeId) |
rtl::Reference< SdrObject > | ImportShape (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_ById * | GetShapeInfos () const |
const SvxMSDffShapeOrders * | GetShapeOrders () 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) |
SdrObject * | getShapeForId (sal_Int32 nShapeId) |
Public Member Functions inherited from DffPropertyReader | |
DffPropertyReader (const SvxMSDffManager &rManager) | |
~DffPropertyReader () | |
DffPropertyReader & | operator= (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< SdrObject > | ProcessObj (SvStream &rSt, DffObjData &rData, SvxMSDffClientData &rClientData, ::tools::Rectangle &rTextRect, SdrObject *pObj) override |
virtual SdrObject * | ApplyTextObj (PPTTextObj *pTextObj, SdrTextObj *pText, SdPageCapsule pPage, SfxStyleSheet *, SfxStyleSheet **) const override |
Private Attributes | |
tools::SvRef< SotStorageStream > | mxPicturesStream |
SfxMedium & | mrMed |
SotStorage & | mrStorage |
DffRecordHeader | maDocHd |
std::vector< OUString > | maSlideNameList |
bool | mbDocumentFound |
sal_uInt32 | mnFilterOptions |
SdDrawDocument * | mpDoc |
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< SdrOle2Obj > | 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 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 | |
PowerPointImportParam & | rImportParam |
Public Attributes inherited from SvxMSDffManager | |
std::unique_ptr< DffPropertyReader > | pSecPropSet |
std::unordered_map< sal_uInt32, Graphic > | aEscherBlipCache |
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 SdrObject * | ApplyTextObj (PPTTextObj *pTextObj, SdrTextObj *pText, SdPageCapsule pPage, SfxStyleSheet *, SfxStyleSheet **) const |
virtual SdrObject * | ReadObjText (PPTTextObj *pTextObj, SdrObject *pObj, SdPageCapsule pPage) const override |
virtual rtl::Reference< SdrObject > | ImportOLE (sal_uInt32 nOLEId, const Graphic &rGraf, const tools::Rectangle &rBoundRect, const tools::Rectangle &rVisArea, const int _nCalledByGroup) const override |
std::unique_ptr< SvMemoryStream > | ImportExOleObjStg (sal_uInt32 nPersistPtr, sal_uInt32 &nOleId) const |
rtl::Reference< SdrPage > | MakeBlankPage (bool bMaster) const |
bool | ReadFontCollection () |
PptSlidePersistList * | GetPageList (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 SdrObject * | ReadObjText (PPTTextObj *pTextObj, SdrObject *pObj, SdPageCapsule pPage) const |
Protected Member Functions inherited from SdrEscherImport | |
bool | ReadString (OUString &rStr) const |
virtual const PptSlideLayoutAtom * | GetSlideLayoutAtom () 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< SdrObject > | ImportGraphic (SvStream &, SfxItemSet &, const DffObjData &) |
virtual rtl::Reference< SdrObject > | ImportOLE (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< SdrObject > | ProcessObj (SvStream &rSt, DffObjData &rData, SvxMSDffClientData &rClientData, tools::Rectangle &rTextRect, SdrObject *pObj) |
void | NotifyFreeObj (SvxMSDffClientData &rData, SdrObject *pObj) |
void | FreeObj (SvxMSDffClientData &rData, SdrObject *pObj) |
virtual SdrObject * | FinalizeObj (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 SdrOutliner * | GetDrawOutliner (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< SdHyperlinkEntry > | m_aHyperList |
std::unique_ptr< sal_uInt32[]> | m_pPersistPtr |
sal_uInt32 | m_nPersistPtrCnt |
const PPTStyleSheet * | m_pPPTStyleSheet |
const PPTStyleSheet * | m_pDefaultSheet |
std::unique_ptr< PptSlidePersistList > | m_pMasterPages |
std::unique_ptr< PptSlidePersistList > | m_pSlidePages |
std::unique_ptr< PptSlidePersistList > | m_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< PPTOleEntry > | aOleObjectList |
std::optional< std::vector< PptFontEntityAtom > > | m_xFonts |
sal_uInt32 | nStreamLen |
Protected Attributes inherited from SvxMSDffManager | |
OUString | maBaseURL |
sal_uInt32 | mnIdClusters |
std::vector< FIDCL > | maFidcls |
OffsetMap | maDgOffsetTable |
std::vector< std::pair< DffObjData, std::shared_ptr< DffRecordHeader > > > | maPendingGroupData |
SvStream & | rStCtrl |
SvStream * | pStData |
SvStream * | pStData2 |
SdrModel * | pSdrModel |
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 |
ImplSdPPTImport::ImplSdPPTImport | ( | SdDrawDocument * | pDoc, |
SotStorage & | rStorage, | ||
SfxMedium & | rMed, | ||
PowerPointImportParam & | rParam | ||
) |
Definition at line 163 of file pptin.cxx.
References DFF_msofbtDggContainer, SvtFilterOptions::Get(), tools::SvRef< typename T >::get(), DffRecordHeader::GetRecBegFilePos(), DffRecordHeader::GetRecEndFilePos(), SvxMSDffManager::InitSvxMSDffManager(), SvtFilterOptions::IsExcel2Calc(), SvtFilterOptions::IsLoadPPointBasicCode(), SvtFilterOptions::IsMathType2Math(), SvtFilterOptions::IsPowerPoint2Impress(), SvtFilterOptions::IsWinWord2Writer(), SdrPowerPointImport::m_bOk, maDocHd, Manual, mbDocumentFound, mnFilterOptions, mpDoc, mxPicturesStream, SdrEscherImport::nStreamLen, OLE_EXCEL_2_STARCALC, OLE_MATHTYPE_2_STARMATH, OLE_POWERPOINT_2_STARIMPRESS, OLE_WINWORD_2_STARWRITER, SotStorage::OpenSotStream(), PPT_PST_Document, PPT_PST_PPDrawingGroup, SvxMSDffManager::pStData, SvxMSDffManager::rStCtrl, SvStream::Seek(), SdrPowerPointImport::SeekToDocument(), SvxMSDffManager::SeekToRec(), SvxMSDffManager::SetModel(), SvxMSDffManager::SetSvxMSDffSettings(), SVXMSDFF_SETTINGS_CROP_BITMAPS, SVXMSDFF_SETTINGS_IMPORT_PPT, and SvStream::Tell().
|
overridevirtual |
Definition at line 221 of file pptin.cxx.
References tools::SvRef< typename T >::clear(), mxPicturesStream, and SvxMSDffManager::pStData.
|
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().
|
private |
Definition at line 2076 of file pptin.cxx.
References SdHyperlinkEntry::aConvSubString, SdHyperlinkEntry::aTarget, aURL, SfxMedium::GetBaseURL(), SdAnimationInfo::GetBookmark(), SdDrawDocument::GetDocSh(), URIHelper::GetMaybeFileHdl(), SfxObjectShell::GetMedium(), SdrPowerPointImport::m_aHyperList, SdAnimationInfo::meClickAction, mpDoc, PptInteractiveInfoAtom::nAction, PptInteractiveInfoAtom::nExHyperlinkId, PptInteractiveInfoAtom::nHyperlinkType, PptInteractiveInfoAtom::nJump, PptInteractiveInfoAtom::nSoundRef, ReadSound(), SdAnimationInfo::SetBookmark(), and URIHelper::SmartRel2Abs().
Referenced by ProcessObj().
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.
|
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().
|
overrideprivatevirtual |
Definition at line 2588 of file pptin.cxx.
References DffRecordManager::Current(), DFF_msofbtClientData, DFF_Prop_hspMaster, DynCastSdrTextObj(), ERRCODE_NONE, FillSdAnimationInfo(), SfxItemSet::Get(), SvStream::GetError(), DffPropSet::GetPropertyValue(), DffRecordHeader::GetRecEndFilePos(), SdDrawDocument::GetShapeUserData(), SdrTextObj::HasText(), DffPropSet::IsProperty(), maAnimations, SvxMSDffManager::maShapeRecords, SvxMSDffManager::MSO_CLR_ToColor(), PptInteractiveInfoAtom::nAction, DffRecordHeader::nRecType, nRef, SdPageCapsule::page, Page, ProcessData::pPage, PPT_PST_AnimationInfo, PPT_PST_AnimationInfoAtom, PPT_PST_CString, PPT_PST_ExObjRefAtom, PPT_PST_InteractiveInfo, PPT_PST_InteractiveInfoAtom, SdrEscherImport::ProcessObj(), ReadDffRecordHeader(), ReadMedia(), ReadPptInteractiveInfoAtom(), ReadSound(), SdrEscherImport::ReadString(), SvStream::ReadUInt32(), SvxMSDffManager::rStCtrl, DffPropSet::SanitizeEndPos(), SvStream::Seek(), SEEK_FROM_CURRENT_AND_RESTART, DffRecordHeader::SeekToContent(), DffRecordManager::SeekToContent(), DffRecordHeader::SeekToEndOfRecord(), SvxMSDffManager::SeekToRec(), SdrPowerPointImport::SeekToShape(), SvStream::Tell(), XATTR_FILLSTYLE(), and XATTR_LINESTYLE().
|
overridevirtual |
Implements SdrPowerPointImport.
Definition at line 2749 of file pptin.cxx.
References SdDrawDocument::GetDocSh(), mpDoc, oox::ole::MSConvertOCXControls::ReadOCXStorage(), and xModel.
OUString ImplSdPPTImport::ReadMedia | ( | sal_uInt32 | nMediaRef | ) | const |
Definition at line 2006 of file pptin.cxx.
References SdrEscherImport::aDocRecManager, aStr, INetURLObject::GetMainURL(), DffRecordHeader::GetRecEndFilePos(), DffRecordManager::GetRecordHeader(), DffRecordHeader::nRecType, nRef, PPT_PST_CString, PPT_PST_ExAviMovie, PPT_PST_ExMCIMovie, PPT_PST_ExMediaAtom, PPT_PST_ExObjList, PPT_PST_ExVideo, ReadDffRecordHeader(), SdrEscherImport::ReadString(), SvStream::ReadUInt32(), SvxMSDffManager::rStCtrl, DffPropSet::SanitizeEndPos(), DffRecordHeader::SeekToBegOfRecord(), DffRecordHeader::SeekToContent(), DffRecordHeader::SeekToEndOfRecord(), SvxMSDffManager::SeekToRec(), SvStream::Tell(), and INetURLObject::Unambiguous.
Referenced by ProcessObj().
OUString ImplSdPPTImport::ReadSound | ( | sal_uInt32 | nSoundRef | ) | const |
Definition at line 1891 of file pptin.cxx.
References aBuf, INetURLObject::Append(), aURL, utl::UcbStreamHelper::CreateStream(), ERRCODE_NONE, GalleryExplorer::FillObjList(), GALLERY_THEME_SOUNDS, GALLERY_THEME_USERSOUNDS, SvtPathOptions::GetGalleryPath(), INetURLObject::GetMainURL(), DffRecordHeader::GetRecEndFilePos(), GalleryExplorer::InsertURL(), utl::ConfigManager::IsFuzzing(), n, INetURLObject::NONE, DffRecordHeader::nRecLen, PPT_PST_CString, PPT_PST_Sound, PPT_PST_SoundCollection, PPT_PST_SoundData, SvStream::ReadBytes(), SdrEscherImport::ReadString(), SvStream::remainingSize(), SvxMSDffManager::rStCtrl, SAL_WARN, SvStream::Seek(), SdrPowerPointImport::SeekToDocument(), DffRecordHeader::SeekToEndOfRecord(), SvxMSDffManager::SeekToRec(), and SvStream::Tell().
Referenced by FillSdAnimationInfo(), ImportPageEffect(), ppt::AnimationImporter::importTargetElementContainer(), and ProcessObj().
|
private |
Definition at line 1429 of file pptin.cxx.
References SdrEscherImport::aDocAtom, PptSlideAtom::aLayout, PptSlidePersistEntry::aSlideAtom, PptDocumentAtom::bTitlePlaceholdersOmitted, bVisible, PptSlideLayoutAtom::eLayout, PPTFieldEntry::GetDateTime(), SdPage::getHeaderFooterSettings(), SdrPowerPointImport::GetPageList(), i, SvxMSDffManager::ImportObj(), HeaderFooterEntry::IsToDisplay(), SdrPowerPointImport::m_eCurrentPageKind, SdrPowerPointImport::m_nCurrentPageNum, sd::HeaderFooterSettings::maDateTimeText, sd::HeaderFooterSettings::maFooterText, sd::HeaderFooterSettings::maHeaderText, sd::HeaderFooterSettings::mbDateTimeIsFixed, sd::HeaderFooterSettings::mbDateTimeVisible, sd::HeaderFooterSettings::mbFooterVisible, sd::HeaderFooterSettings::mbHeaderVisible, sd::HeaderFooterSettings::mbSlideNumberVisible, sd::HeaderFooterSettings::meDateFormat, sd::HeaderFooterSettings::meTimeFormat, HeaderFooterEntry::nAtom, SdPage::NbcInsertObject(), HeaderFooterEntry::NeedToImportInstance(), HeaderFooterEntry::pPlaceholder, PPT_SLIDEPAGE, SvxMSDffManager::rStCtrl, SvStream::Seek(), SdPage::setHeaderFooterSettings(), PptSlidePersistList::size(), and PptSlidePersistEntry::xHeaderFooterEntry.
Referenced by Import().
|
private |
Definition at line 57 of file pptin.hxx.
Referenced by ImportPageEffect(), and ProcessObj().
|
private |
Definition at line 49 of file pptin.hxx.
Referenced by ImplSdPPTImport(), and Import().
|
private |
|
private |
Definition at line 51 of file pptin.hxx.
Referenced by ImplSdPPTImport(), and Import().
|
private |
Definition at line 54 of file pptin.hxx.
Referenced by Import(), and ImportPageEffect().
|
private |
Definition at line 55 of file pptin.hxx.
Referenced by Import(), and ImportPageEffect().
|
private |
Definition at line 52 of file pptin.hxx.
Referenced by ImplSdPPTImport(), and Import().
|
private |
Definition at line 53 of file pptin.hxx.
Referenced by ApplyTextObj(), FillSdAnimationInfo(), ImplSdPPTImport(), Import(), and ReadFormControl().
|
private |
|
private |
|
private |
Definition at line 46 of file pptin.hxx.
Referenced by ImplSdPPTImport(), and ~ImplSdPPTImport().