LibreOffice Module lotuswordpro (master) 1
|
@descr super class of LwpOleObject and LwpGraphicObject More...
#include <lwpoleobject.hxx>
Public Member Functions | |
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) | |
LwpAssociatedLayouts & | GetLayoutsWithMe () |
rtl::Reference< LwpVirtualLayout > | GetLayout (LwpVirtualLayout const *pStartLayout) |
bool | IsActive () const |
virtual bool | IsTable () |
OUString const & | GetClassName () const |
LwpContent * | GetNextEnumerated () |
bool | HasNonEmbeddedLayouts () |
bool | IsStyleContent () |
Public Member Functions inherited from LwpDLNFVList | |
LwpDLNFVList (LwpObjectHeader const &objHdr, LwpSvStream *pStrm) | |
LwpAtomHolder & | GetName () |
LwpObjectID & | GetChildHead () |
LwpObjectID & | GetChildTail () |
LwpObjectID & | GetParent () |
Public Member Functions inherited from LwpDLVList | |
LwpDLVList (LwpObjectHeader const &objHdr, LwpSvStream *pStrm) | |
LwpObjectID & | GetNext () |
LwpObjectID & | GetPrevious () |
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) |
LwpFoundry * | GetFoundry () |
void | SetFoundry (LwpFoundry *pFoundry) |
LwpObjectID & | GetObjectID () |
sal_uInt32 | GetTag () const |
Public Member Functions inherited from salhelper::SimpleReferenceObject | |
SimpleReferenceObject () | |
void | acquire () |
void | release () |
Protected Attributes | |
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< LwpObjectStream > | m_pObjStrm |
LwpFoundry * | m_pFoundry |
LwpSvStream * | m_pStrm |
bool | m_bRegisteringStyle |
bool | m_bParsingStyle |
bool | m_bConvertingContent |
Protected Attributes inherited from salhelper::SimpleReferenceObject | |
oslInterlockedCount | m_nCount |
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 |
@descr super class of LwpOleObject and LwpGraphicObject
Definition at line 92 of file lwpoleobject.hxx.
LwpGraphicOleObject::LwpGraphicOleObject | ( | LwpObjectHeader const & | objHdr, |
LwpSvStream * | pStrm | ||
) |
@descr: construction function
objHdr - object header, read before entering this function | |
pStrm - file stream |
Definition at line 71 of file lwpoleobject.cxx.
|
virtual |
Reimplemented in LwpGraphicObject, and LwpOleObject.
Definition at line 91 of file lwpoleobject.cxx.
Referenced by GetGrafScaledSize().
void LwpGraphicOleObject::GetGrafScaledSize | ( | double & | fWidth, |
double & | fHeight | ||
) |
Definition at line 97 of file lwpoleobject.cxx.
References LwpTools::ConvertFromUnitsToMetric(), LwpLayoutScale::CUSTOM, LwpLayoutScale::FIT_IN_FRAME, LwpMiddleLayout::GetGeometry(), GetGrafOrgSize(), LwpLayoutGeometry::GetHeight(), LwpContent::GetLayout(), LwpMiddleLayout::GetLayoutScale(), LwpVirtualLayout::GetMarginsValue(), LwpLayoutScale::GetScaleHeight(), LwpLayoutScale::GetScaleMode(), LwpLayoutScale::GetScalePercentage(), LwpLayoutScale::GetScaleWidth(), LwpLayoutGeometry::GetWidth(), LwpVirtualLayout::IsFitGraphic(), LwpLayoutScale::MAINTAIN_ASPECT_RATIO, MARGIN_BOTTOM, MARGIN_LEFT, MARGIN_RIGHT, MARGIN_TOP, and LwpLayoutScale::PERCENTAGE.
Referenced by LwpFrameLayout::ApplyGraphicSize().
|
overridevirtual |
@descr: Read GraphicOleObject part
Reimplemented from LwpContent.
Reimplemented in LwpGraphicObject, and LwpOleObject.
Definition at line 78 of file lwpoleobject.cxx.
References LwpFileHeader::m_nFileRevision, m_pNextObj, LwpObject::m_pObjStrm, m_pPrevObj, LwpContent::Read(), and LwpObjectID::ReadIndexed().
Referenced by LwpGraphicObject::Read(), and LwpOleObject::Read().
|
protected |
Definition at line 101 of file lwpoleobject.hxx.
Referenced by Read().
|
protected |
Definition at line 100 of file lwpoleobject.hxx.
Referenced by Read().
|
protected |
Definition at line 103 of file lwpoleobject.hxx.
Referenced by LwpGraphicObject::RegisterStyle().