LibreOffice Module lotuswordpro (master) 1
|
#include <lwplaypiece.hxx>
Public Types | |
enum | { ORIGINAL_SIZE = 1 , FIT_IN_FRAME = 2 , PERCENTAGE = 4 , CUSTOM = 8 , MAINTAIN_ASPECT_RATIO = 16 } |
enum | { CENTERED = 1 , TILED = 2 } |
Public Member Functions | |
LwpLayoutScale (LwpObjectHeader const &objHdr, LwpSvStream *pStrm) | |
virtual void | Parse (IXFStream *pOutputStream) override |
@descr default parse function More... | |
sal_uInt16 | GetScaleMode () const |
sal_uInt32 | GetScalePercentage () const |
sal_Int32 | GetScaleWidth () const |
sal_Int32 | GetScaleHeight () const |
sal_uInt16 | GetPlacement () const |
LwpPoint & | GetOffset () |
Public Member Functions inherited from LwpVirtualPiece | |
LwpVirtualPiece (LwpObjectHeader const &objHdr, LwpSvStream *pStrm) | |
virtual void | Read () override |
@descr Read LwpDLVList data from object stream More... | |
LwpOverride * | GetOverride () |
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 () |
Private Member Functions | |
virtual void | Read () override |
@descr Read LwpDLVList data from object stream More... | |
virtual | ~LwpLayoutScale () override |
Private Attributes | |
sal_uInt16 | m_nScaleMode |
sal_uInt32 | m_nScalePercentage |
sal_Int32 | m_nScaleWidth |
sal_Int32 | m_nScaleHeight |
sal_uInt16 | m_nContentRotation |
LwpPoint | m_Offset |
sal_uInt16 | m_nPlacement |
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) |
Protected Member Functions inherited from LwpVirtualPiece | |
virtual | ~LwpVirtualPiece () override |
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 LwpVirtualPiece | |
std::unique_ptr< LwpOverride > | m_pOverride |
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 |
Definition at line 103 of file lwplaypiece.hxx.
anonymous enum |
Enumerator | |
---|---|
ORIGINAL_SIZE | |
FIT_IN_FRAME | |
PERCENTAGE | |
CUSTOM | |
MAINTAIN_ASPECT_RATIO |
Definition at line 106 of file lwplaypiece.hxx.
anonymous enum |
Enumerator | |
---|---|
CENTERED | |
TILED |
Definition at line 115 of file lwplaypiece.hxx.
LwpLayoutScale::LwpLayoutScale | ( | LwpObjectHeader const & | objHdr, |
LwpSvStream * | pStrm | ||
) |
Definition at line 103 of file lwplaypiece.cxx.
|
overrideprivatevirtual |
Definition at line 113 of file lwplaypiece.cxx.
|
inline |
Definition at line 127 of file lwplaypiece.hxx.
References m_Offset.
Referenced by LwpSdwGroupLoaderV0102::BeginDrawObjects(), and LwpGraphicObject::CreateGrafObject().
|
inline |
Definition at line 126 of file lwplaypiece.hxx.
References m_nPlacement.
Referenced by LwpMiddleLayout::GetScaleCenter().
|
inline |
Definition at line 125 of file lwplaypiece.hxx.
References m_nScaleHeight.
Referenced by LwpSdwGroupLoaderV0102::BeginDrawObjects(), LwpGraphicObject::CreateGrafObject(), and LwpGraphicOleObject::GetGrafScaledSize().
|
inline |
Definition at line 122 of file lwplaypiece.hxx.
References m_nScaleMode.
Referenced by LwpSdwGroupLoaderV0102::BeginDrawObjects(), LwpGraphicObject::CreateGrafObject(), LwpGraphicOleObject::GetGrafScaledSize(), and LwpMiddleLayout::GetScaleMode().
|
inline |
Definition at line 123 of file lwplaypiece.hxx.
References m_nScalePercentage.
Referenced by LwpSdwGroupLoaderV0102::BeginDrawObjects(), LwpGraphicObject::CreateGrafObject(), and LwpGraphicOleObject::GetGrafScaledSize().
|
inline |
Definition at line 124 of file lwplaypiece.hxx.
References m_nScaleWidth.
Referenced by LwpSdwGroupLoaderV0102::BeginDrawObjects(), LwpGraphicObject::CreateGrafObject(), and LwpGraphicOleObject::GetGrafScaledSize().
|
overridevirtual |
@descr default parse function
Reimplemented from LwpObject.
Definition at line 134 of file lwplaypiece.cxx.
|
overrideprivatevirtual |
@descr Read LwpDLVList data from object stream
Reimplemented from LwpVirtualPiece.
Definition at line 116 of file lwplaypiece.cxx.
References m_nContentRotation, LwpFileHeader::m_nFileRevision, m_nPlacement, m_nScaleHeight, m_nScaleMode, m_nScalePercentage, m_nScaleWidth, m_Offset, LwpObject::m_pObjStrm, LwpVirtualPiece::Read(), and LwpPoint::Read().
|
private |
Definition at line 137 of file lwplaypiece.hxx.
Referenced by Read().
|
private |
Definition at line 139 of file lwplaypiece.hxx.
Referenced by GetPlacement(), and Read().
|
private |
Definition at line 136 of file lwplaypiece.hxx.
Referenced by GetScaleHeight(), and Read().
|
private |
Definition at line 133 of file lwplaypiece.hxx.
Referenced by GetScaleMode(), and Read().
|
private |
Definition at line 134 of file lwplaypiece.hxx.
Referenced by GetScalePercentage(), and Read().
|
private |
Definition at line 135 of file lwplaypiece.hxx.
Referenced by GetScaleWidth(), and Read().
|
private |
Definition at line 138 of file lwplaypiece.hxx.
Referenced by GetOffset(), and Read().