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

#include <lwpoverride.hxx>

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

Public Types

enum  AlignType {
  ALIGN_LEFT = 0 ,
  ALIGN_RIGHT = 1 ,
  ALIGN_CENTER = 2 ,
  ALIGN_JUSTIFY = 3 ,
  ALIGN_JUSTIFYALL = 4 ,
  ALIGN_NUMERICLEFT = 5 ,
  ALIGN_NUMERICRIGHT = 6 ,
  ALIGN_SQUEEZE = 7
}
 

Public Member Functions

 LwpAlignmentOverride ()
 
virtual LwpAlignmentOverrideclone () const override
 
void Read (LwpObjectStream *pStrm) override
 
AlignType GetAlignType () const
 
void Override (LwpAlignmentOverride *other)
 
void OverrideAlignment (AlignType val)
 
- Public Member Functions inherited from LwpOverride
 LwpOverride ()
 
virtual ~LwpOverride ()
 
virtual LwpOverrideclone () const =0
 
virtual void Read (LwpObjectStream *pStrm)=0
 
void ReadCommon (LwpObjectStream *pStrm)
 
void Clear ()
 
void Override (sal_uInt16 nBits, STATE eState)
 

Private Types

enum  {
  AO_TYPE = 0x01 ,
  AO_POSITION = 0x02 ,
  AO_CHAR = 0x04
}
 

Private Member Functions

 LwpAlignmentOverride (LwpAlignmentOverride const &rOther)
 
LwpAlignmentOverrideoperator= (LwpAlignmentOverride const &rOther)=delete
 

Private Attributes

AlignType m_nAlignType
 
sal_uInt32 m_nPosition
 
sal_uInt16 m_nAlignChar
 

Additional Inherited Members

- Protected Member Functions inherited from LwpOverride
 LwpOverride (LwpOverride const &rOther)
 
- Protected Attributes inherited from LwpOverride
sal_uInt16 m_nValues
 
sal_uInt16 m_nOverride
 
sal_uInt16 m_nApply
 

Detailed Description

Definition at line 265 of file lwpoverride.hxx.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
AO_TYPE 
AO_POSITION 
AO_CHAR 

Definition at line 294 of file lwpoverride.hxx.

◆ AlignType

Enumerator
ALIGN_LEFT 
ALIGN_RIGHT 
ALIGN_CENTER 
ALIGN_JUSTIFY 
ALIGN_JUSTIFYALL 
ALIGN_NUMERICLEFT 
ALIGN_NUMERICRIGHT 
ALIGN_SQUEEZE 

Definition at line 274 of file lwpoverride.hxx.

Constructor & Destructor Documentation

◆ LwpAlignmentOverride() [1/2]

LwpAlignmentOverride::LwpAlignmentOverride ( )
inline

Definition at line 268 of file lwpoverride.hxx.

Referenced by clone().

◆ LwpAlignmentOverride() [2/2]

LwpAlignmentOverride::LwpAlignmentOverride ( LwpAlignmentOverride const &  rOther)
private

Definition at line 286 of file lwpoverride.cxx.

References m_nPosition.

Member Function Documentation

◆ clone()

LwpAlignmentOverride * LwpAlignmentOverride::clone ( ) const
overridevirtual

Implements LwpOverride.

Definition at line 294 of file lwpoverride.cxx.

References LwpAlignmentOverride().

Referenced by LwpPara::RegisterStyle().

◆ GetAlignType()

AlignType LwpAlignmentOverride::GetAlignType ( ) const
inline

Definition at line 286 of file lwpoverride.hxx.

References m_nAlignType.

Referenced by LwpParaStyle::ApplyAlignment().

◆ operator=()

LwpAlignmentOverride & LwpAlignmentOverride::operator= ( LwpAlignmentOverride const &  rOther)
privatedelete

◆ Override()

void LwpAlignmentOverride::Override ( LwpAlignmentOverride other)

◆ OverrideAlignment()

void LwpAlignmentOverride::OverrideAlignment ( AlignType  val)

Definition at line 460 of file lwpoverride.cxx.

References AO_TYPE, m_nAlignType, and LwpOverride::m_nOverride.

Referenced by Override().

◆ Read()

void LwpAlignmentOverride::Read ( LwpObjectStream pStrm)
overridevirtual

Member Data Documentation

◆ m_nAlignChar

sal_uInt16 LwpAlignmentOverride::m_nAlignChar
private

Definition at line 303 of file lwpoverride.hxx.

Referenced by Read().

◆ m_nAlignType

AlignType LwpAlignmentOverride::m_nAlignType
private

Definition at line 301 of file lwpoverride.hxx.

Referenced by GetAlignType(), Override(), OverrideAlignment(), and Read().

◆ m_nPosition

sal_uInt32 LwpAlignmentOverride::m_nPosition
private

Definition at line 302 of file lwpoverride.hxx.

Referenced by Read().


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