LibreOffice Module lotuswordpro (master) 1
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
LwpLayoutScale Class Referencefinal

#include <lwplaypiece.hxx>

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

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
 
LwpPointGetOffset ()
 
- Public Member Functions inherited from LwpVirtualPiece
 LwpVirtualPiece (LwpObjectHeader const &objHdr, LwpSvStream *pStrm)
 
virtual void Read () override
 @descr Read LwpDLVList data from object stream More...
 
LwpOverrideGetOverride ()
 
- 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 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< LwpOverridem_pOverride
 
- 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

Definition at line 103 of file lwplaypiece.hxx.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
ORIGINAL_SIZE 
FIT_IN_FRAME 
PERCENTAGE 
CUSTOM 
MAINTAIN_ASPECT_RATIO 

Definition at line 106 of file lwplaypiece.hxx.

◆ anonymous enum

anonymous enum
Enumerator
CENTERED 
TILED 

Definition at line 115 of file lwplaypiece.hxx.

Constructor & Destructor Documentation

◆ LwpLayoutScale()

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

Definition at line 103 of file lwplaypiece.cxx.

◆ ~LwpLayoutScale()

LwpLayoutScale::~LwpLayoutScale ( )
overrideprivatevirtual

Definition at line 113 of file lwplaypiece.cxx.

Member Function Documentation

◆ GetOffset()

LwpPoint & LwpLayoutScale::GetOffset ( )
inline

◆ GetPlacement()

sal_uInt16 LwpLayoutScale::GetPlacement ( ) const
inline

Definition at line 126 of file lwplaypiece.hxx.

References m_nPlacement.

Referenced by LwpMiddleLayout::GetScaleCenter().

◆ GetScaleHeight()

sal_Int32 LwpLayoutScale::GetScaleHeight ( ) const
inline

◆ GetScaleMode()

sal_uInt16 LwpLayoutScale::GetScaleMode ( ) const
inline

◆ GetScalePercentage()

sal_uInt32 LwpLayoutScale::GetScalePercentage ( ) const
inline

◆ GetScaleWidth()

sal_Int32 LwpLayoutScale::GetScaleWidth ( ) const
inline

◆ Parse()

void LwpLayoutScale::Parse ( IXFStream pOutputStream)
overridevirtual

@descr default parse function

Reimplemented from LwpObject.

Definition at line 134 of file lwplaypiece.cxx.

◆ Read()

void LwpLayoutScale::Read ( )
overrideprivatevirtual

Member Data Documentation

◆ m_nContentRotation

sal_uInt16 LwpLayoutScale::m_nContentRotation
private

Definition at line 137 of file lwplaypiece.hxx.

Referenced by Read().

◆ m_nPlacement

sal_uInt16 LwpLayoutScale::m_nPlacement
private

Definition at line 139 of file lwplaypiece.hxx.

Referenced by GetPlacement(), and Read().

◆ m_nScaleHeight

sal_Int32 LwpLayoutScale::m_nScaleHeight
private

Definition at line 136 of file lwplaypiece.hxx.

Referenced by GetScaleHeight(), and Read().

◆ m_nScaleMode

sal_uInt16 LwpLayoutScale::m_nScaleMode
private

Definition at line 133 of file lwplaypiece.hxx.

Referenced by GetScaleMode(), and Read().

◆ m_nScalePercentage

sal_uInt32 LwpLayoutScale::m_nScalePercentage
private

Definition at line 134 of file lwplaypiece.hxx.

Referenced by GetScalePercentage(), and Read().

◆ m_nScaleWidth

sal_Int32 LwpLayoutScale::m_nScaleWidth
private

Definition at line 135 of file lwplaypiece.hxx.

Referenced by GetScaleWidth(), and Read().

◆ m_Offset

LwpPoint LwpLayoutScale::m_Offset
private

Definition at line 138 of file lwplaypiece.hxx.

Referenced by GetOffset(), and Read().


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