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

@descr class to read and parse VO_OLEOBJECT object More...

#include <lwpoleobject.hxx>

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

Public Member Functions

 LwpOleObject (LwpObjectHeader const &objHdr, LwpSvStream *pStrm)
 @descr: construction function More...
 
virtual void Read () override
 @descr: Read VO_OLEOBJECT record More...
 
virtual void Parse (IXFStream *pOutputStream) override
 @descr: Parse VO_OLEOBJECT and dump to XML stream only on WIN32 platform More...
 
virtual void XFConvert (XFContentContainer *pCont) override
 @descr default XFConvert function pCont is the XFContentContainer for the object conversion More...
 
virtual void RegisterStyle () override
 @descr default register style function More...
 
void GetGrafOrgSize (double &rWidth, double &rHeight) override
 
- Public Member Functions inherited from LwpGraphicOleObject
 LwpGraphicOleObject (LwpObjectHeader const &objHdr, LwpSvStream *pStrm)
 @descr: construction function More...
 
virtual void Read () override
 @descr: Read GraphicOleObject part More...
 
void GetGrafScaledSize (double &fWidth, double &fHeight)
 
virtual void GetGrafOrgSize (double &rWidth, double &rHeight)
 
- Public Member Functions inherited from LwpContent
 LwpContent (LwpObjectHeader const &objHdr, LwpSvStream *pStrm)
 
LwpAssociatedLayoutsGetLayoutsWithMe ()
 
rtl::Reference< LwpVirtualLayoutGetLayout (LwpVirtualLayout const *pStartLayout)
 
bool IsActive () const
 
virtual bool IsTable ()
 
OUString const & GetClassName () const
 
LwpContentGetNextEnumerated ()
 
bool HasNonEmbeddedLayouts ()
 
bool IsStyleContent ()
 
- Public Member Functions inherited from LwpDLNFVList
 LwpDLNFVList (LwpObjectHeader const &objHdr, LwpSvStream *pStrm)
 
LwpAtomHolderGetName ()
 
LwpObjectIDGetChildHead ()
 
LwpObjectIDGetChildTail ()
 
LwpObjectIDGetParent ()
 
- Public Member Functions inherited from LwpDLVList
 LwpDLVList (LwpObjectHeader const &objHdr, LwpSvStream *pStrm)
 
LwpObjectIDGetNext ()
 
LwpObjectIDGetPrevious ()
 
- Public Member Functions inherited from LwpObject
 LwpObject (LwpObjectHeader objHdr, LwpSvStream *pStrm)
 @descr construct lwpobject from stream More...
 
void QuickRead ()
 @descr QuickRead template More...
 
void DoRegisterStyle ()
 
void DoParse (IXFStream *pOutputStream)
 
void DoXFConvert (XFContentContainer *pCont)
 
LwpFoundryGetFoundry ()
 
void SetFoundry (LwpFoundry *pFoundry)
 
LwpObjectIDGetObjectID ()
 
sal_uInt32 GetTag () const
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Private Attributes

sal_uInt16 cPersistentFlags
 
tools::Rectangle m_SizeRect
 

Additional Inherited Members

- Static Public Member Functions inherited from salhelper::SimpleReferenceObject
static void * operator new (std::size_t nSize)
 
static void * operator new (std::size_t nSize, std::nothrow_t const &rNothrow)
 
static void operator delete (void *pPtr)
 
static void operator delete (void *pPtr, std::nothrow_t const &rNothrow)
 
void Read () override
 @descr default read function More...
 
- Protected Member Functions inherited from LwpDLNFVList
virtual ~LwpDLNFVList () override
 
void Read () override
 @descr Read LwpDLNFVList data from object stream More...
 
void ReadName (LwpObjectStream *pObjStrm)
 @descr Read name of LwpDLNFVList from object stream More...
 
- Protected Member Functions inherited from LwpDLVList
virtual ~LwpDLVList () override
 
void Read () override
 @descr Read LwpDLVList data from object stream More...
 
- Protected Member Functions inherited from LwpObject
virtual ~LwpObject () override
 @descr dtor() More...
 
virtual void Read ()
 @descr default read function More...
 
virtual void RegisterStyle ()
 @descr default register style function More...
 
virtual void Parse (IXFStream *pOutputStream)
 @descr default parse function More...
 
virtual void XFConvert (XFContentContainer *pCont)
 @descr default XFConvert function pCont is the XFContentContainer for the object conversion More...
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 
- Protected Attributes inherited from LwpGraphicOleObject
LwpObjectID m_pPrevObj
 
LwpObjectID m_pNextObj
 
OUString m_strStyleName
 
- Protected Attributes inherited from LwpDLNFVList
LwpObjectID m_ChildHead
 
LwpObjectID m_ChildTail
 
LwpObjectID m_Parent
 
LwpAtomHolder m_Name
 
- Protected Attributes inherited from LwpObject
LwpObjectHeader m_ObjHdr
 
std::unique_ptr< LwpObjectStreamm_pObjStrm
 
LwpFoundrym_pFoundry
 
LwpSvStreamm_pStrm
 
bool m_bRegisteringStyle
 
bool m_bParsingStyle
 
bool m_bConvertingContent
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

@descr class to read and parse VO_OLEOBJECT object

Definition at line 110 of file lwpoleobject.hxx.

Constructor & Destructor Documentation

◆ LwpOleObject()

LwpOleObject::LwpOleObject ( LwpObjectHeader const &  objHdr,
LwpSvStream pStrm 
)

@descr: construction function

Parameters
objHdr - object header, read before entering this function
pStrm - file stream

Definition at line 187 of file lwpoleobject.cxx.

Member Function Documentation

◆ GetGrafOrgSize()

void LwpOleObject::GetGrafOrgSize ( double &  rWidth,
double &  rHeight 
)
overridevirtual

Reimplemented from LwpGraphicOleObject.

Definition at line 246 of file lwpoleobject.cxx.

References tools::Rectangle::GetHeight(), tools::Rectangle::GetWidth(), and m_SizeRect.

◆ Parse()

void LwpOleObject::Parse ( IXFStream pOutputStream)
overridevirtual

@descr: Parse VO_OLEOBJECT and dump to XML stream only on WIN32 platform

Parameters
pOutputStream - stream to dump OLE object
pFrameLayout - framelayout object used to dump OLE object

Reimplemented from LwpObject.

Definition at line 242 of file lwpoleobject.cxx.

◆ Read()

void LwpOleObject::Read ( )
overridevirtual

@descr: Read VO_OLEOBJECT record

Reimplemented from LwpGraphicOleObject.

Definition at line 196 of file lwpoleobject.cxx.

References cPersistentFlags, ID, LwpFileHeader::m_nFileRevision, LwpObject::m_pObjStrm, and LwpGraphicOleObject::Read().

◆ RegisterStyle()

void LwpOleObject::RegisterStyle ( )
overridevirtual

@descr default register style function

Reimplemented from LwpObject.

Definition at line 252 of file lwpoleobject.cxx.

◆ XFConvert()

void LwpOleObject::XFConvert ( XFContentContainer pCont)
overridevirtual

@descr default XFConvert function pCont is the XFContentContainer for the object conversion

Reimplemented from LwpObject.

Definition at line 244 of file lwpoleobject.cxx.

Member Data Documentation

◆ cPersistentFlags

sal_uInt16 LwpOleObject::cPersistentFlags
private

Definition at line 120 of file lwpoleobject.hxx.

Referenced by Read().

◆ m_SizeRect

tools::Rectangle LwpOleObject::m_SizeRect
private

Definition at line 122 of file lwpoleobject.hxx.

Referenced by GetGrafOrgSize().


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