LibreOffice Module filter (master) 1
|
#include <svdfppt.hxx>
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< 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) | |
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) |
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) |
Request for a specific BLIP. More... | |
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 |
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 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) |
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 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) |
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< 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) |
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 | |
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 |
Definition at line 558 of file svdfppt.hxx.
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.
|
overridevirtual |
Definition at line 1673 of file svdfppt.cxx.
References m_pMasterPages, m_pNotePages, and m_pSlidePages.
|
protected |
Definition at line 7694 of file svdfppt.cxx.
References DFF_Prop_anchorText, DffPropSet::GetPropertyValue(), PPTTextObj::GetTextFlags(), IsVerticalText(), mso_anchorBottom, mso_anchorBottomCentered, mso_anchorMiddle, mso_anchorMiddleCentered, mso_anchorTop, mso_anchorTopCentered, PPT_TEXTOBJ_FLAGS_PARA_ALIGNMENT_USED_BLOCK, PPT_TEXTOBJ_FLAGS_PARA_ALIGNMENT_USED_CENTER, PPT_TEXTOBJ_FLAGS_PARA_ALIGNMENT_USED_LEFT, PPT_TEXTOBJ_FLAGS_PARA_ALIGNMENT_USED_RIGHT, SfxItemSet::Put(), rSet, SDRTEXTHORZADJUST_BLOCK, SDRTEXTHORZADJUST_CENTER, SDRTEXTHORZADJUST_LEFT, SDRTEXTHORZADJUST_RIGHT, SDRTEXTVERTADJUST_BLOCK, SDRTEXTVERTADJUST_BOTTOM, SDRTEXTVERTADJUST_CENTER, and SDRTEXTVERTADJUST_TOP.
|
protectedvirtual |
Definition at line 2238 of file svdfppt.cxx.
References PPTPortionObj::ApplyTo(), PPTPortionObj::Count(), PPTTextObj::Count(), PptFontEntityAtom::eCharSet, EE_PARA_BULLETSTATE(), EE_PARA_OUTLLEVEL(), PPTTextObj::First(), PPTPortionObj::GetAttrib(), PPTTextObj::GetCurrentIndex(), PPTTextObj::GetDestinationInstance(), SdrEscherImport::GetFontEnityAtom(), PPTTextObj::GetInstance(), SdrTextObj::GetObjIdentifier(), SdrObject::GetObjInventor(), PPTPortionObj::GetTextField(), PPTTextObj::GetVertical(), gentoken::i, SdrTextObj::ImpGetDrawOutliner(), PPTCharPropSet::maString, PPTCharPropSet::mpFieldItem, ESelection::nEndPos, PPTTextObj::Next(), ESelection::nStartPos, PPT_CharAttr_Font, PPT_ParaAttr_BulletOn, pS, SfxItemSet::Put(), and SdrObject::SetOutlinerParaObject().
Referenced by ReadObjText().
rtl::Reference< SdrObject > SdrPowerPointImport::CreateTable | ( | SdrObject * | pGroupObject, |
const sal_uInt32 * | pTableArry, | ||
SvxMSDffSolverContainer * | pSolverContainer, | ||
std::vector< rtl::Reference< SdrObject > > & | rBackgroundColoredObjects | ||
) |
Definition at line 7504 of file svdfppt.cxx.
References SvxMSDffSolverContainer::aCList, ApplyCellAttributes(), ApplyCellLineAttributes(), tools::Rectangle::Bottom(), CreateTableColumns(), CreateTableRows(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), Exception, GetCellPosition(), GetLinePositions(), SdrObject::GetOutlinerParaObject(), SdrObject::GetSnapRect(), SdrObjGroup::GetSubList(), gentoken::i, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), IsLine(), SdrObjListIter::IsMore(), tools::Rectangle::Left(), MergeCells(), SdrObjListIter::Next(), SvxMSDffManager::pSdrModel, SvxMSDffManager::removeShapeId(), SdrObjListIter::Reset(), tools::Rectangle::Right(), SdrText::SetOutlinerParaObject(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size(), and tools::Rectangle::Top().
Referenced by ImportPage().
|
overridevirtual |
Reimplemented from SdrEscherImport.
Definition at line 2547 of file svdfppt.cxx.
References PptSlidePersistEntry::aColorScheme, PptSlidePersistEntry::aSlideAtom, PptColorSchemeAtom::GetColor(), GetMasterPageIndex(), GetPageList(), HasMasterPage(), PptSlidePersistList::is_null(), m_aPageColors, m_eCurrentPageKind, m_ePageColorsKind, m_nCurrentPageNum, m_nPageColorsNum, m_pMasterPages, PptSlideAtom::nFlags, PptSlideAtom::nMasterId, PPT_MASTERPAGE, PPTSLIDEPERSIST_ENTRY_NOTFOUND, SAL_WARN, and size.
|
protected |
Definition at line 2441 of file svdfppt.cxx.
References GetPageList(), m_eCurrentPageKind, m_nCurrentPageNum, and size.
Referenced by PPTTextObj::PPTTextObj().
|
staticprotected |
Definition at line 2218 of file svdfppt.cxx.
References SdrTextObj::ImpGetDrawOutliner().
|
protected |
Definition at line 3001 of file svdfppt.cxx.
References GetPageList(), and size.
Referenced by GetMasterPageIndex(), and HasMasterPage().
sal_uInt16 SdrPowerPointImport::GetMasterPageIndex | ( | sal_uInt16 | nPageNum, |
PptPageKind | ePageKind = PPT_SLIDEPAGE |
||
) | const |
Definition at line 3026 of file svdfppt.cxx.
References GetMasterPageId(), m_pMasterPages, nId, PPT_NOTEPAGE, and PPTSLIDEPERSIST_ENTRY_NOTFOUND.
Referenced by GetColorFromPalette(), ImportPage(), SeekToShape(), and SetPageNum().
|
protected |
Definition at line 3009 of file svdfppt.cxx.
References GetPageList(), PPT_SLIDEPAGE, and size.
sal_uInt16 SdrPowerPointImport::GetPageCount | ( | PptPageKind | eKind = PPT_SLIDEPAGE | ) | const |
Definition at line 2471 of file svdfppt.cxx.
References GetPageList(), and PptSlidePersistList::size().
|
protected |
Definition at line 2204 of file svdfppt.cxx.
References m_pMasterPages, m_pNotePages, m_pSlidePages, PPT_MASTERPAGE, PPT_NOTEPAGE, and PPT_SLIDEPAGE.
Referenced by GetColorFromPalette(), GetCurrentPageId(), GetMasterPageId(), GetNotesPageId(), GetPageCount(), GetSlideLayoutAtom(), ImportPage(), PPTTextObj::PPTTextObj(), SdrPowerPointImport(), SeekToCurrentPage(), SeekToShape(), and SetPageNum().
Size SdrPowerPointImport::GetPageSize | ( | ) | const |
Definition at line 2517 of file svdfppt.cxx.
References Size::AdjustHeight(), Size::AdjustWidth(), SdrEscherImport::aDocAtom, BigMulDiv(), Fraction::GetDenominator(), GetMapFactor(), PptDocumentAtom::GetNotesPageSize(), Fraction::GetNumerator(), SdrModel::GetScaleUnit(), PptDocumentAtom::GetSlidesPageSize(), Size::Height(), IsInch(), IsNoteOrHandout(), m_nCurrentPageNum, SvxMSDffManager::nMapDiv, SvxMSDffManager::nMapMul, SvxMSDffManager::pSdrModel, SvxMSDffManager::Scale(), Size::setHeight(), Size::setWidth(), Size::Width(), and X.
Referenced by MakeBlankPage().
|
overridevirtual |
Reimplemented from SdrEscherImport.
Definition at line 2982 of file svdfppt.cxx.
References GetPageList(), PptSlidePersistList::is_null(), m_eCurrentPageKind, m_nCurrentPageNum, and size.
bool SdrPowerPointImport::HasMasterPage | ( | sal_uInt16 | nPageNum, |
PptPageKind | ePageKind = PPT_SLIDEPAGE |
||
) | const |
Definition at line 3017 of file svdfppt.cxx.
References SdrEscherImport::aDocAtom, GetMasterPageId(), PptDocumentAtom::nNotesMasterPersist, PPT_MASTERPAGE, and PPT_NOTEPAGE.
Referenced by GetColorFromPalette(), ImportPage(), SeekToShape(), and SetPageNum().
|
protected |
Definition at line 1979 of file svdfppt.cxx.
References ZCodec::BeginCompression(), ZCodec::Decompress(), DFF_PST_ExOleObjStg, ZCodec::EndCompression(), m_nPersistPtrCnt, m_pPersistPtr, DffRecordHeader::nRecLen, DffRecordHeader::nRecType, ReadDffRecordHeader(), SvStream::ReadUInt32(), SvxMSDffManager::rStCtrl, SvStream::Seek(), and SvStream::Tell().
Referenced by SeekOle().
|
overrideprotectedvirtual |
Reimplemented from SvxMSDffManager.
Definition at line 1798 of file svdfppt.cxx.
References SdrEscherImport::aOleObjectList, SvxMSDffManager::CheckForConvertToSOObj(), utl::TempFileFast::CloseStream(), DffRecordManager::Current(), DFF_msofbtClientData, ERRCODE_NONE, SvStream::GetError(), Graphic::GetPrefMapMode(), Graphic::GetPrefSize(), DffRecordHeader::GetRecEndFilePos(), SdrObject::getSdrObjectFromXShape(), tools::Rectangle::GetSize(), utl::TempFileFast::GetStream(), Size::Height(), tools::SvRef< typename T >::is(), tools::Rectangle::IsEmpty(), OutputDevice::LogicToLogic(), m_eCurrentPageKind, SvxMSDffManager::maBaseURL, SvxMSDffManager::maShapeRecords, DffRecordHeader::nRecLen, DffRecordHeader::nRecType, SvxMSDffManager::nSvxMSDffOLEConvFlags, SotStorage::OpenOLEStorage(), PPT_PST_ExControl, PPT_PST_RecolorInfoAtom, SvxMSDffManager::pSdrModel, ReadDffRecordHeader(), PPTConvertOCXControls::ReadOCXStream(), SdrEscherImport::RecolorGraphic(), SvxMSDffManager::rStCtrl, DffPropSet::SanitizeEndPos(), SdrPowerPointOLEDecompress(), SvStream::Seek(), SEEK_FROM_CURRENT_AND_RESTART, SvStream::SeekRel(), DffRecordManager::SeekToContent(), DffRecordHeader::SeekToEndOfRecord(), svt::EmbeddedObjectRef::SetGraphic(), Storage, SvStream::Tell(), VCLUnoHelper::UnoEmbed2VCLMapUnit(), Size::Width(), xModel, and xTarget.
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.
rtl::Reference< SdrObject > SdrPowerPointImport::ImportPageBackgroundObject | ( | const SdrPage & | rPage, |
sal_uInt32 & | nBgFileOffset | ||
) |
Definition at line 3041 of file svdfppt.cxx.
References DffPropertyReader::ApplyAttributes(), DFF_msofbtDgContainer, DFF_msofbtOPT, DFF_msofbtSpContainer, DFF_Prop_fillColor, DFF_Prop_Rotation, DffPropertyReader::Fix16ToAngle(), SdrPage::GetHeight(), SdrModel::GetItemPool(), SdrPage::GetLeftBorder(), SdrPage::GetLowerBorder(), DffPropSet::GetPropertyValue(), DffRecordHeader::GetRecBegFilePos(), DffRecordHeader::GetRecEndFilePos(), SdrPage::GetRightBorder(), SdrPage::GetUpperBorder(), SdrPage::GetWidth(), DffPropertyReader::mnFix16Angle, SvxMSDffManager::MSO_CLR_ToColor(), PPT_PST_PPDrawing, SvxMSDffManager::pSdrModel, DffPropSet::ReadDffPropSet, SvxMSDffManager::rStCtrl, SvStream::Seek(), SeekToCurrentPage(), SvxMSDffManager::SeekToRec(), and SvStream::Tell().
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().
|
protected |
Definition at line 7674 of file svdfppt.cxx.
References DFF_Prop_txflTextFlow, DffPropSet::GetPropertyValue(), DffPropSet::IsProperty(), mso_txflTtoBA, mso_txflTtoBN, and mso_txflVertN.
Referenced by ApplyTextAnchorAttributes().
|
protected |
Definition at line 2672 of file svdfppt.cxx.
References SdrModel::AllocPage(), GetPageSize(), and SvxMSDffManager::pSdrModel.
|
protected |
Definition at line 2155 of file svdfppt.cxx.
References SdrEscherImport::aDocRecManager, PptFontEntityAtom::aName, PptFontEntityAtom::eCharSet, PptFontEntityAtom::eFamily, PptFontEntityAtom::ePitch, DffRecordHeader::GetRecEndFilePos(), DffRecordManager::GetRecordHeader(), SdrEscherImport::m_xFonts, PPT_PST_Environment, PPT_PST_FontCollection, PPT_PST_FontEntityAtom, ReadPptFontEntityAtom(), SvxMSDffManager::rStCtrl, SvStream::Seek(), DffRecordHeader::SeekToContent(), SvxMSDffManager::SeekToRec(), vcl::Font::SetCharSet(), vcl::Font::SetFamily(), vcl::Font::SetFamilyName(), vcl::Font::SetFontHeight(), vcl::Font::SetPitch(), and SvStream::Tell().
Referenced by SdrPowerPointImport().
|
pure virtual |
Referenced by PPTConvertOCXControls::ReadOCXStream().
|
staticprotected |
Definition at line 483 of file msdffimp.cxx.
|
protectedvirtual |
Reimplemented from SdrEscherImport.
Definition at line 493 of file svdfppt.cxx.
|
overrideprotectedvirtual |
Reimplemented from SdrEscherImport.
Definition at line 2227 of file svdfppt.cxx.
References ApplyTextObj(), and DynCastSdrTextObj().
Definition at line 483 of file msdffimp.cxx.
|
protected |
Definition at line 2010 of file svdfppt.cxx.
References SdrEscherImport::aDocRecManager, SdrEscherImport::aOleObjectList, DFF_PST_ExOleObjStg, ERRCODE_NONE, tools::SvRef< typename T >::get(), SvxImportMSVBasic::GetMSBasicStorageName(), SvStorageInfo::GetName(), DffRecordHeader::GetRecEndFilePos(), DffRecordManager::GetRecordHeader(), SfxObjectShell::GetStorage(), gentoken::i, ImportExOleObjStg(), tools::SvRef< typename T >::is(), m_nPersistPtrCnt, m_pPersistPtr, PptExOleObjAtom::nAspect, DffRecordHeader::nFilePos, nId, PptExOleObjAtom::nId, PptExOleObjAtom::nPersistPtr, DffRecordHeader::nRecLen, DffRecordHeader::nRecType, SotStorage::OpenOLEStorage(), PPT_PST_ExControl, PPT_PST_ExEmbed, PPT_PST_ExObjList, PPT_PST_ExOleObjAtom, PPT_PST_List, PPT_PST_VBAInfo, PPT_PST_VBAInfoAtom, SvStream::ReadBytes(), ReadDffRecordHeader(), ReadPptExOleObjAtom(), SvStream::ReadUInt32(), SvxMSDffManager::rStCtrl, SvStream::Seek(), SEEK_FROM_CURRENT, DffRecordHeader::SeekToBegOfRecord(), DffRecordHeader::SeekToContent(), SvxMSDffManager::SeekToRec(), and SvStream::Tell().
|
staticprotected |
Definition at line 2391 of file svdfppt.cxx.
References DffRecordHeader::GetRecEndFilePos(), gentoken::i, n, DffRecordHeader::nRecLen, DffRecordHeader::nRecType, nVersion, PPT_PST_BinaryTagData, PPT_PST_CString, PPT_PST_ProgBinaryTag, PPT_PST_ProgTags, read_uInt16s_ToOUString(), ReadDffRecordHeader(), SvStream::Seek(), DffRecordHeader::SeekToContent(), DffRecordHeader::SeekToEndOfRecord(), SvxMSDffManager::SeekToRec(), and SvStream::Tell().
Referenced by ImportPage(), PPTExtParaProv::PPTExtParaProv(), and PPTTextObj::PPTTextObj().
|
protected |
Definition at line 2449 of file svdfppt.cxx.
References GetPageList(), m_eCurrentPageKind, m_nCurrentPageNum, m_nPersistPtrCnt, m_pPersistPtr, SdrEscherImport::nStreamLen, ReadDffRecordHeader(), SvxMSDffManager::rStCtrl, SvStream::Seek(), and size.
Referenced by ImportPage(), and ImportPageBackgroundObject().
|
protected |
Definition at line 2371 of file svdfppt.cxx.
References m_nDocStreamPos, DffRecordHeader::nRecType, PPT_PST_Document, ReadDffRecordHeader(), SvxMSDffManager::rStCtrl, SvStream::Seek(), DffRecordHeader::SeekToBegOfRecord(), and SvStream::Tell().
|
overridevirtual |
Reimplemented from SdrEscherImport.
Definition at line 2606 of file svdfppt.cxx.
References Body, PPTTextObj::Count(), DFF_msofbtClientData, PptSlidePersistEntry::ePageKind, PPTTextObj::GetInstance(), GetMasterPageIndex(), PPTTextObj::GetOEPlaceHolderAtom(), GetPageList(), HalfBody, HasMasterPage(), PptSlidePersistList::is_null(), m_eCurrentPageKind, m_nCurrentPageNum, SvxMSDffManager::maShapeRecords, DffRecordList::nCurrent, nId, PageTitle, DffRecordManager::pCList, PptSlidePersistEntry::pPresentationObjects, PPT_MASTERPAGE, PPT_SLIDEPAGE, QuarterBody, ProcessData::rPersistEntry, SvStream::Seek(), SEEK_FROM_CURRENT_AND_RESTART, DffRecordManager::SeekToContent(), SvxMSDffManager::SeekToShape(), size, Subtitle, SvStream::Tell(), and Title.
void SdrPowerPointImport::SetPageNum | ( | sal_uInt16 | nPageNum, |
PptPageKind | eKind = PPT_SLIDEPAGE |
||
) |
Definition at line 2479 of file svdfppt.cxx.
References PptSlidePersistEntry::aSlideAtom, GetMasterPageIndex(), GetPageList(), HasMasterPage(), m_eCurrentPageKind, m_nCurrentPageNum, m_pDefaultSheet, m_pMasterPages, m_pPPTStyleSheet, PptSlideAtom::nMasterId, PPT_MASTERPAGE, PPTSLIDEPERSIST_ENTRY_NOTFOUND, size, and PptSlidePersistEntry::xStyleSheet.
|
friend |
Definition at line 563 of file svdfppt.hxx.
|
friend |
Definition at line 565 of file svdfppt.hxx.
|
friend |
Definition at line 564 of file svdfppt.hxx.
|
friend |
Definition at line 562 of file svdfppt.hxx.
|
protected |
Definition at line 570 of file svdfppt.hxx.
Referenced by PPTTextObj::PPTTextObj().
|
protected |
Definition at line 569 of file svdfppt.hxx.
Referenced by GetColorFromPalette().
|
protected |
Definition at line 568 of file svdfppt.hxx.
Referenced by SdrPowerPointImport().
|
protected |
Definition at line 567 of file svdfppt.hxx.
Referenced by SdrPowerPointImport().
|
protected |
Definition at line 585 of file svdfppt.hxx.
Referenced by GetColorFromPalette(), GetCurrentPageId(), GetSlideLayoutAtom(), ImportOLE(), ImportPage(), IsNoteOrHandout(), PPTTextObj::PPTTextObj(), SeekToCurrentPage(), SeekToShape(), and SetPageNum().
|
protected |
Definition at line 584 of file svdfppt.hxx.
Referenced by GetColorFromPalette().
|
protected |
Definition at line 581 of file svdfppt.hxx.
Referenced by GetColorFromPalette(), GetCurrentPageId(), GetPageSize(), GetSlideLayoutAtom(), ImportPage(), PPTTextObj::PPTTextObj(), SeekToCurrentPage(), SeekToShape(), and SetPageNum().
|
protected |
Definition at line 582 of file svdfppt.hxx.
Referenced by SdrPowerPointImport(), and SeekToDocument().
|
protected |
Definition at line 583 of file svdfppt.hxx.
Referenced by GetColorFromPalette().
|
protected |
Definition at line 573 of file svdfppt.hxx.
Referenced by ImportExOleObjStg(), SdrPowerPointImport(), SeekOle(), and SeekToCurrentPage().
|
protected |
Definition at line 576 of file svdfppt.hxx.
Referenced by SdrPowerPointImport(), and SetPageNum().
|
protected |
Definition at line 578 of file svdfppt.hxx.
Referenced by GetColorFromPalette(), GetMasterPageIndex(), GetPageList(), ImportPage(), SdrPowerPointImport(), SetPageNum(), and ~SdrPowerPointImport().
|
protected |
Definition at line 580 of file svdfppt.hxx.
Referenced by GetPageList(), SdrPowerPointImport(), and ~SdrPowerPointImport().
|
protected |
Definition at line 572 of file svdfppt.hxx.
Referenced by ImportExOleObjStg(), SdrPowerPointImport(), SeekOle(), and SeekToCurrentPage().
|
protected |
Definition at line 575 of file svdfppt.hxx.
Referenced by PPTNumberFormatCreator::ImplGetExtNumberFormat(), PPTTextObj::PPTTextObj(), SdrPowerPointImport(), and SetPageNum().
|
protected |
Definition at line 579 of file svdfppt.hxx.
Referenced by GetPageList(), SdrPowerPointImport(), and ~SdrPowerPointImport().