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

#include <lwpoverride.hxx>

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

Public Types

enum  SpacingType {
  SPACING_DYNAMIC = 0 ,
  SPACING_LEADING = 1 ,
  SPACING_CUSTOM = 2 ,
  SPACING_NONE = 3
}
 

Public Member Functions

 LwpSpacingCommonOverride ()
 
virtual LwpSpacingCommonOverrideclone () const override
 
void Read (LwpObjectStream *pStrm) override
 
SpacingType GetType () const
 
sal_Int32 GetAmount () const
 
sal_Int32 GetMultiple () const
 
void Override (LwpSpacingCommonOverride *other)
 
void OverrideType (SpacingType val)
 
void OverrideAmount (sal_Int32 val)
 
void OverrideMultiple (sal_Int32 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  {
  SPO_TYPE = 0x01 ,
  SPO_AMOUNT = 0x02 ,
  SPO_MULTIPLE = 0x04
}
 

Private Member Functions

 LwpSpacingCommonOverride (LwpSpacingCommonOverride const &rOther)
 
LwpSpacingCommonOverrideoperator= (LwpSpacingCommonOverride const &rOther)=delete
 

Private Attributes

SpacingType m_nSpacingType
 
sal_Int32 m_nAmount
 
sal_Int32 m_nMultiple
 

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 306 of file lwpoverride.hxx.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
SPO_TYPE 
SPO_AMOUNT 
SPO_MULTIPLE 

Definition at line 336 of file lwpoverride.hxx.

◆ SpacingType

Enumerator
SPACING_DYNAMIC 
SPACING_LEADING 
SPACING_CUSTOM 
SPACING_NONE 

Definition at line 315 of file lwpoverride.hxx.

Constructor & Destructor Documentation

◆ LwpSpacingCommonOverride() [1/2]

LwpSpacingCommonOverride::LwpSpacingCommonOverride ( )
inline

Definition at line 309 of file lwpoverride.hxx.

Referenced by clone().

◆ LwpSpacingCommonOverride() [2/2]

LwpSpacingCommonOverride::LwpSpacingCommonOverride ( LwpSpacingCommonOverride const &  rOther)
private

Definition at line 317 of file lwpoverride.cxx.

Member Function Documentation

◆ clone()

LwpSpacingCommonOverride * LwpSpacingCommonOverride::clone ( ) const
overridevirtual

Implements LwpOverride.

Definition at line 325 of file lwpoverride.cxx.

References LwpSpacingCommonOverride().

◆ GetAmount()

sal_Int32 LwpSpacingCommonOverride::GetAmount ( ) const
inline

Definition at line 324 of file lwpoverride.hxx.

References m_nAmount.

Referenced by LwpParaStyle::ApplySpacing().

◆ GetMultiple()

sal_Int32 LwpSpacingCommonOverride::GetMultiple ( ) const
inline

Definition at line 325 of file lwpoverride.hxx.

References m_nMultiple.

Referenced by LwpParaStyle::ApplySpacing().

◆ GetType()

SpacingType LwpSpacingCommonOverride::GetType ( ) const
inline

Definition at line 323 of file lwpoverride.hxx.

References m_nSpacingType.

Referenced by LwpParaStyle::ApplySpacing().

◆ operator=()

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

◆ Override()

void LwpSpacingCommonOverride::Override ( LwpSpacingCommonOverride other)

◆ OverrideAmount()

void LwpSpacingCommonOverride::OverrideAmount ( sal_Int32  val)

Definition at line 575 of file lwpoverride.cxx.

References m_nAmount, LwpOverride::m_nOverride, and SPO_AMOUNT.

Referenced by Override().

◆ OverrideMultiple()

void LwpSpacingCommonOverride::OverrideMultiple ( sal_Int32  val)

Definition at line 581 of file lwpoverride.cxx.

References m_nMultiple, LwpOverride::m_nOverride, and SPO_MULTIPLE.

Referenced by Override().

◆ OverrideType()

void LwpSpacingCommonOverride::OverrideType ( SpacingType  val)

Definition at line 569 of file lwpoverride.cxx.

References LwpOverride::m_nOverride, m_nSpacingType, and SPO_TYPE.

Referenced by Override().

◆ Read()

void LwpSpacingCommonOverride::Read ( LwpObjectStream pStrm)
overridevirtual

Member Data Documentation

◆ m_nAmount

sal_Int32 LwpSpacingCommonOverride::m_nAmount
private

Definition at line 343 of file lwpoverride.hxx.

Referenced by GetAmount(), Override(), OverrideAmount(), and Read().

◆ m_nMultiple

sal_Int32 LwpSpacingCommonOverride::m_nMultiple
private

Definition at line 344 of file lwpoverride.hxx.

Referenced by GetMultiple(), Override(), OverrideMultiple(), and Read().

◆ m_nSpacingType

SpacingType LwpSpacingCommonOverride::m_nSpacingType
private

Definition at line 342 of file lwpoverride.hxx.

Referenced by GetType(), Override(), OverrideType(), and Read().


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