LibreOffice Module lotuswordpro (master) 1
|
#include <lwpoverride.hxx>
Public Types | |
enum | { RELATIVE_FIRST , RELATIVE_REST , RELATIVE_ALL } |
Public Member Functions | |
LwpIndentOverride () | |
virtual LwpIndentOverride * | clone () 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 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 | { 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) | |
LwpIndentOverride & | operator= (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 |
Definition at line 374 of file lwpoverride.hxx.
anonymous enum |
Enumerator | |
---|---|
RELATIVE_FIRST | |
RELATIVE_REST | |
RELATIVE_ALL |
Definition at line 383 of file lwpoverride.hxx.
|
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.
|
inline |
Definition at line 377 of file lwpoverride.hxx.
Referenced by clone().
|
private |
Definition at line 385 of file lwpoverride.cxx.
|
overridevirtual |
Implements LwpOverride.
Definition at line 394 of file lwpoverride.cxx.
References LwpIndentOverride().
Referenced by LwpParaStyle::Apply(), and LwpParaStyle::ApplyIndent().
|
inline |
Definition at line 436 of file lwpoverride.hxx.
References o3tl::checked_sub(), LwpTools::ConvertFromUnits(), LwpTools::ConvertToMetric(), m_nFirst, and m_nRest.
Referenced by LwpParaStyle::ApplyIndent().
|
inline |
Definition at line 443 of file lwpoverride.hxx.
References o3tl::checked_add(), LwpTools::ConvertFromUnits(), LwpTools::ConvertToMetric(), m_nAll, and m_nRest.
Referenced by LwpParaStyle::ApplyIndent().
|
inline |
Definition at line 401 of file lwpoverride.hxx.
References m_nAll.
Referenced by LwpParaStyle::ApplyIndent().
|
inline |
Definition at line 402 of file lwpoverride.hxx.
References m_nFirst.
Referenced by LwpParaStyle::ApplyIndent(), and LwpBulletStyleMgr::RegisterBulletStyle().
|
inline |
Definition at line 403 of file lwpoverride.hxx.
References m_nRest.
Referenced by LwpParaStyle::ApplyIndent(), and LwpBulletStyleMgr::RegisterBulletStyle().
|
inline |
Definition at line 404 of file lwpoverride.hxx.
References m_nRight.
Referenced by LwpParaStyle::ApplyIndent().
sal_uInt16 LwpIndentOverride::GetRelative | ( | ) | const |
Definition at line 482 of file lwpoverride.cxx.
References IO_REL_ALL, IO_REL_FIRST, IO_REL_FLAGS, LwpOverride::m_nOverride, RELATIVE_ALL, RELATIVE_FIRST, and RELATIVE_REST.
Referenced by LwpParaStyle::ApplyIndent(), and Override().
|
inline |
Definition at line 450 of file lwpoverride.hxx.
References LwpTools::ConvertFromUnits(), LwpTools::ConvertToMetric(), and m_nRight.
Referenced by LwpParaStyle::ApplyIndent().
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().
|
privatedelete |
void LwpIndentOverride::Override | ( | LwpIndentOverride * | other | ) |
Definition at line 466 of file lwpoverride.cxx.
References GetRelative(), IO_ALL, IO_FIRST, IO_REL_FLAGS, IO_REST, IO_RIGHT, IO_USE_RELATIVE, IsUseRelative(), m_nAll, m_nFirst, LwpOverride::m_nOverride, m_nRest, m_nRight, OverrideIndentAll(), OverrideIndentFirst(), OverrideIndentRest(), OverrideIndentRight(), OverrideRelative(), and OverrideUseRelative().
Referenced by LwpPara::OverrideIndent().
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().
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().
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().
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().
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().
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().
|
overridevirtual |
Implements LwpOverride.
Definition at line 396 of file lwpoverride.cxx.
References m_nAll, m_nFirst, m_nRest, m_nRight, LwpObjectStream::QuickReadBool(), LwpObjectStream::QuickReadInt32(), LwpOverride::ReadCommon(), and LwpObjectStream::SkipExtra().
Referenced by LwpParaStyle::Read().
|
inline |
Definition at line 405 of file lwpoverride.hxx.
References m_nAll.
Referenced by LwpParaStyle::ApplyIndent().
|
inline |
Definition at line 406 of file lwpoverride.hxx.
References m_nFirst.
|
inline |
Definition at line 407 of file lwpoverride.hxx.
References m_nRest.
|
inline |
Definition at line 408 of file lwpoverride.hxx.
References m_nRight.
|
private |
Definition at line 430 of file lwpoverride.hxx.
Referenced by GetLeft(), GetMAll(), Override(), OverrideIndentAll(), Read(), and SetMAll().
|
private |
Definition at line 431 of file lwpoverride.hxx.
Referenced by GetFirst(), GetMFirst(), Override(), OverrideIndentFirst(), Read(), and SetMFirst().
|
private |
Definition at line 432 of file lwpoverride.hxx.
Referenced by GetFirst(), GetLeft(), GetMRest(), Override(), OverrideIndentRest(), Read(), and SetMRest().
|
private |
Definition at line 433 of file lwpoverride.hxx.
Referenced by GetMRight(), GetRight(), Override(), OverrideIndentRight(), Read(), and SetMRight().