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

#include <lwpoverride.hxx>

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

Public Types

enum  {
  RELATIVE_FIRST ,
  RELATIVE_REST ,
  RELATIVE_ALL
}
 

Public Member Functions

 LwpIndentOverride ()
 
virtual LwpIndentOverrideclone () const override
 
void Read (LwpObjectStream *pStrm) override
 
double GetFirst () const
 
double GetLeft () const
 
double GetRight () const
 
sal_uInt16 GetRelative () const
 
bool IsUseRelative () const
 
void Override (LwpIndentOverride *other)
 
void OverrideIndentAll (sal_Int32 val)
 
void OverrideIndentFirst (sal_Int32 val)
 
void OverrideIndentRight (sal_Int32 val)
 
void OverrideIndentRest (sal_Int32 val)
 
void OverrideUseRelative (bool use)
 
void OverrideRelative (sal_uInt16 relative)
 
sal_Int32 GetMAll () const
 
sal_Int32 GetMFirst () const
 
sal_Int32 GetMRest () const
 
sal_Int32 GetMRight () const
 
void SetMAll (sal_Int32 val)
 
void SetMFirst (sal_Int32 val)
 
void SetMRest (sal_Int32 val)
 
void SetMRight (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  {
  IO_ALL = 0x0001 ,
  IO_FIRST = 0x0002 ,
  IO_REST = 0x0004 ,
  IO_RIGHT = 0x0008 ,
  IO_HANGING = 0x0010 ,
  IO_EQUAL = 0x0020 ,
  IO_BODY = 0x0040 ,
  IO_REL_ALL = 0x0080 ,
  IO_REL_FIRST = 0x0100 ,
  IO_REL_REST = 0x0200 ,
  IO_REL_FLAGS = (IO_REL_ALL | IO_REL_FIRST | IO_REL_REST) ,
  IO_USE_RELATIVE = 0x0400
}
 

Private Member Functions

 LwpIndentOverride (LwpIndentOverride const &rOther)
 
LwpIndentOverrideoperator= (LwpIndentOverride const &rOther)=delete
 

Private Attributes

sal_Int32 m_nAll
 
sal_Int32 m_nFirst
 
sal_Int32 m_nRest
 
sal_Int32 m_nRight
 

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

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
RELATIVE_FIRST 
RELATIVE_REST 
RELATIVE_ALL 

Definition at line 383 of file lwpoverride.hxx.

◆ anonymous enum

anonymous enum
private
Enumerator
IO_ALL 
IO_FIRST 
IO_REST 
IO_RIGHT 
IO_HANGING 
IO_EQUAL 
IO_BODY 
IO_REL_ALL 
IO_REL_FIRST 
IO_REL_REST 
IO_REL_FLAGS 
IO_USE_RELATIVE 

Definition at line 414 of file lwpoverride.hxx.

Constructor & Destructor Documentation

◆ LwpIndentOverride() [1/2]

LwpIndentOverride::LwpIndentOverride ( )
inline

Definition at line 377 of file lwpoverride.hxx.

Referenced by clone().

◆ LwpIndentOverride() [2/2]

LwpIndentOverride::LwpIndentOverride ( LwpIndentOverride const &  rOther)
private

Definition at line 385 of file lwpoverride.cxx.

Member Function Documentation

◆ clone()

LwpIndentOverride * LwpIndentOverride::clone ( ) const
overridevirtual

Implements LwpOverride.

Definition at line 394 of file lwpoverride.cxx.

References LwpIndentOverride().

Referenced by LwpParaStyle::Apply(), and LwpParaStyle::ApplyIndent().

◆ GetFirst()

double LwpIndentOverride::GetFirst ( ) const
inline

◆ GetLeft()

double LwpIndentOverride::GetLeft ( ) const
inline

◆ GetMAll()

sal_Int32 LwpIndentOverride::GetMAll ( ) const
inline

Definition at line 401 of file lwpoverride.hxx.

References m_nAll.

Referenced by LwpParaStyle::ApplyIndent().

◆ GetMFirst()

sal_Int32 LwpIndentOverride::GetMFirst ( ) const
inline

Definition at line 402 of file lwpoverride.hxx.

References m_nFirst.

Referenced by LwpParaStyle::ApplyIndent(), and LwpBulletStyleMgr::RegisterBulletStyle().

◆ GetMRest()

sal_Int32 LwpIndentOverride::GetMRest ( ) const
inline

Definition at line 403 of file lwpoverride.hxx.

References m_nRest.

Referenced by LwpParaStyle::ApplyIndent(), and LwpBulletStyleMgr::RegisterBulletStyle().

◆ GetMRight()

sal_Int32 LwpIndentOverride::GetMRight ( ) const
inline

Definition at line 404 of file lwpoverride.hxx.

References m_nRight.

Referenced by LwpParaStyle::ApplyIndent().

◆ GetRelative()

sal_uInt16 LwpIndentOverride::GetRelative ( ) const

◆ GetRight()

double LwpIndentOverride::GetRight ( ) const
inline

◆ IsUseRelative()

bool LwpIndentOverride::IsUseRelative ( ) const

Definition at line 491 of file lwpoverride.cxx.

References IO_USE_RELATIVE, and LwpOverride::m_nValues.

Referenced by LwpParaStyle::ApplyIndent(), and Override().

◆ operator=()

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

◆ Override()

void LwpIndentOverride::Override ( LwpIndentOverride other)

◆ OverrideIndentAll()

void LwpIndentOverride::OverrideIndentAll ( sal_Int32  val)

Definition at line 493 of file lwpoverride.cxx.

References IO_ALL, m_nAll, and LwpOverride::m_nOverride.

Referenced by Override().

◆ OverrideIndentFirst()

void LwpIndentOverride::OverrideIndentFirst ( sal_Int32  val)

Definition at line 499 of file lwpoverride.cxx.

References IO_FIRST, m_nFirst, and LwpOverride::m_nOverride.

Referenced by Override().

◆ OverrideIndentRest()

void LwpIndentOverride::OverrideIndentRest ( sal_Int32  val)

Definition at line 511 of file lwpoverride.cxx.

References IO_REST, LwpOverride::m_nOverride, and m_nRest.

Referenced by Override().

◆ OverrideIndentRight()

void LwpIndentOverride::OverrideIndentRight ( sal_Int32  val)

Definition at line 505 of file lwpoverride.cxx.

References IO_RIGHT, LwpOverride::m_nOverride, and m_nRight.

Referenced by Override().

◆ OverrideRelative()

void LwpIndentOverride::OverrideRelative ( sal_uInt16  relative)

Definition at line 533 of file lwpoverride.cxx.

References IO_REL_ALL, IO_REL_FIRST, IO_REL_REST, LwpOverride::m_nOverride, RELATIVE_ALL, and RELATIVE_FIRST.

Referenced by Override().

◆ OverrideUseRelative()

void LwpIndentOverride::OverrideUseRelative ( bool  use)

Definition at line 519 of file lwpoverride.cxx.

References IO_USE_RELATIVE, LwpOverride::m_nOverride, LwpOverride::m_nValues, and use.

Referenced by Override().

◆ Read()

void LwpIndentOverride::Read ( LwpObjectStream pStrm)
overridevirtual

◆ SetMAll()

void LwpIndentOverride::SetMAll ( sal_Int32  val)
inline

Definition at line 405 of file lwpoverride.hxx.

References m_nAll.

Referenced by LwpParaStyle::ApplyIndent().

◆ SetMFirst()

void LwpIndentOverride::SetMFirst ( sal_Int32  val)
inline

Definition at line 406 of file lwpoverride.hxx.

References m_nFirst.

◆ SetMRest()

void LwpIndentOverride::SetMRest ( sal_Int32  val)
inline

Definition at line 407 of file lwpoverride.hxx.

References m_nRest.

◆ SetMRight()

void LwpIndentOverride::SetMRight ( sal_Int32  val)
inline

Definition at line 408 of file lwpoverride.hxx.

References m_nRight.

Member Data Documentation

◆ m_nAll

sal_Int32 LwpIndentOverride::m_nAll
private

Definition at line 430 of file lwpoverride.hxx.

Referenced by GetLeft(), GetMAll(), Override(), OverrideIndentAll(), Read(), and SetMAll().

◆ m_nFirst

sal_Int32 LwpIndentOverride::m_nFirst
private

Definition at line 431 of file lwpoverride.hxx.

Referenced by GetFirst(), GetMFirst(), Override(), OverrideIndentFirst(), Read(), and SetMFirst().

◆ m_nRest

sal_Int32 LwpIndentOverride::m_nRest
private

Definition at line 432 of file lwpoverride.hxx.

Referenced by GetFirst(), GetLeft(), GetMRest(), Override(), OverrideIndentRest(), Read(), and SetMRest().

◆ m_nRight

sal_Int32 LwpIndentOverride::m_nRight
private

Definition at line 433 of file lwpoverride.hxx.

Referenced by GetMRight(), GetRight(), Override(), OverrideIndentRight(), Read(), and SetMRight().


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