LibreOffice Module lotuswordpro (master) 1
|
#include <lwpoverride.hxx>
Public Types | |
enum | SpacingType { SPACING_DYNAMIC = 0 , SPACING_LEADING = 1 , SPACING_CUSTOM = 2 , SPACING_NONE = 3 } |
Public Member Functions | |
LwpSpacingCommonOverride () | |
virtual LwpSpacingCommonOverride * | clone () 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 LwpOverride * | clone () 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) | |
LwpSpacingCommonOverride & | operator= (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 |
Definition at line 306 of file lwpoverride.hxx.
|
private |
Enumerator | |
---|---|
SPO_TYPE | |
SPO_AMOUNT | |
SPO_MULTIPLE |
Definition at line 336 of file lwpoverride.hxx.
Enumerator | |
---|---|
SPACING_DYNAMIC | |
SPACING_LEADING | |
SPACING_CUSTOM | |
SPACING_NONE |
Definition at line 315 of file lwpoverride.hxx.
|
inline |
Definition at line 309 of file lwpoverride.hxx.
Referenced by clone().
|
private |
Definition at line 317 of file lwpoverride.cxx.
|
overridevirtual |
Implements LwpOverride.
Definition at line 325 of file lwpoverride.cxx.
References LwpSpacingCommonOverride().
|
inline |
Definition at line 324 of file lwpoverride.hxx.
References m_nAmount.
Referenced by LwpParaStyle::ApplySpacing().
|
inline |
Definition at line 325 of file lwpoverride.hxx.
References m_nMultiple.
Referenced by LwpParaStyle::ApplySpacing().
|
inline |
Definition at line 323 of file lwpoverride.hxx.
References m_nSpacingType.
Referenced by LwpParaStyle::ApplySpacing().
|
privatedelete |
void LwpSpacingCommonOverride::Override | ( | LwpSpacingCommonOverride * | other | ) |
Definition at line 559 of file lwpoverride.cxx.
References m_nAmount, m_nMultiple, LwpOverride::m_nOverride, m_nSpacingType, OverrideAmount(), OverrideMultiple(), OverrideType(), SPO_AMOUNT, SPO_MULTIPLE, and SPO_TYPE.
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().
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().
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().
|
overridevirtual |
Implements LwpOverride.
Definition at line 330 of file lwpoverride.cxx.
References m_nAmount, m_nMultiple, m_nSpacingType, LwpObjectStream::QuickReadBool(), LwpObjectStream::QuickReadInt32(), LwpObjectStream::QuickReaduInt16(), LwpOverride::ReadCommon(), and LwpObjectStream::SkipExtra().
|
private |
Definition at line 343 of file lwpoverride.hxx.
Referenced by GetAmount(), Override(), OverrideAmount(), and Read().
|
private |
Definition at line 344 of file lwpoverride.hxx.
Referenced by GetMultiple(), Override(), OverrideMultiple(), and Read().
|
private |
Definition at line 342 of file lwpoverride.hxx.
Referenced by GetType(), Override(), OverrideType(), and Read().