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

#include <lwpbreaksoverride.hxx>

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

Public Types

enum  {
  BO_PAGEBEFORE = 0x01 ,
  BO_PAGEAFTER = 0x02 ,
  BO_KEEPTOGETHER = 0x04 ,
  BO_COLBEFORE = 0x08 ,
  BO_COLAFTER = 0x10 ,
  BO_KEEPPREV = 0x20 ,
  BO_KEEPNEXT = 0x40 ,
  BO_USENEXTSTYLE = 0x80 ,
  BO_NEXTSTYLE = 0x100
}
 

Public Member Functions

 LwpBreaksOverride ()
 
virtual ~LwpBreaksOverride () override
 
virtual LwpBreaksOverrideclone () const override
 
virtual void Read (LwpObjectStream *pStrm) override
 
void Override (LwpBreaksOverride *pOther)
 
bool IsPageBreakBefore () const
 
bool IsPageBreakAfter () const
 
bool IsPageBreakWithin () const
 
bool IsColumnBreakBefore () const
 
bool IsColumnBreakAfter () const
 
bool IsKeepWithNext () const
 
bool IsKeepWithPrevious () const
 
bool IsUseNextStyle () const
 
bool IsPageBreakBeforeOverridden () const
 
bool IsPageBreakAfterOverridden () const
 
bool IsPageBreakWithinOverridden () const
 
bool IsColumnBreakBeforeOverridden () const
 
bool IsColumnBreakAfterOverridden () const
 
bool IsKeepWithNextOverridden () const
 
bool IsKeepWithPreviousOverridden () const
 
bool IsUseNextStyleOverridden () const
 
void RevertPageBreakBefore ()
 
void RevertPageBreakAfter ()
 
void RevertPageBreakWithin ()
 
void RevertColumnBreakBefore ()
 
void RevertColumnBreakAfter ()
 
void RevertKeepWithNext ()
 
void RevertKeepWithPrevious ()
 
void RevertUseNextStyle ()
 
void OverridePageBreakBefore (bool bVal)
 
void OverridePageBreakAfter (bool bVal)
 
void OverridePageBreakWithin (bool bVal)
 
void OverrideColumnBreakBefore (bool bVal)
 
void OverrideColumnBreakAfter (bool bVal)
 
void OverrideKeepWithNext (bool bVal)
 
void OverrideKeepWithPrevious (bool bVal)
 
void OverrideUseNextStyle (bool bVal)
 
- 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 Member Functions

 LwpBreaksOverride (LwpBreaksOverride const &rOther)
 
LwpBreaksOverrideoperator= (const LwpBreaksOverride &rOther)=delete
 

Private Attributes

std::unique_ptr< LwpAtomHolderm_pNextStyle
 

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 68 of file lwpbreaksoverride.hxx.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
BO_PAGEBEFORE 
BO_PAGEAFTER 
BO_KEEPTOGETHER 
BO_COLBEFORE 
BO_COLAFTER 
BO_KEEPPREV 
BO_KEEPNEXT 
BO_USENEXTSTYLE 
BO_NEXTSTYLE 

Definition at line 76 of file lwpbreaksoverride.hxx.

Constructor & Destructor Documentation

◆ LwpBreaksOverride() [1/2]

LwpBreaksOverride::LwpBreaksOverride ( )

Definition at line 67 of file lwpbreaksoverride.cxx.

Referenced by clone().

◆ ~LwpBreaksOverride()

LwpBreaksOverride::~LwpBreaksOverride ( )
overridevirtual

Definition at line 78 of file lwpbreaksoverride.cxx.

◆ LwpBreaksOverride() [2/2]

LwpBreaksOverride::LwpBreaksOverride ( LwpBreaksOverride const &  rOther)
private

Definition at line 72 of file lwpbreaksoverride.cxx.

References get().

Member Function Documentation

◆ clone()

LwpBreaksOverride * LwpBreaksOverride::clone ( ) const
overridevirtual

Implements LwpOverride.

Definition at line 80 of file lwpbreaksoverride.cxx.

References LwpBreaksOverride().

◆ IsColumnBreakAfter()

bool LwpBreaksOverride::IsColumnBreakAfter ( ) const
inline

Definition at line 154 of file lwpbreaksoverride.hxx.

References BO_COLAFTER, and LwpOverride::m_nValues.

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

◆ IsColumnBreakAfterOverridden()

bool LwpBreaksOverride::IsColumnBreakAfterOverridden ( ) const
inline

Definition at line 184 of file lwpbreaksoverride.hxx.

References BO_COLAFTER, and LwpOverride::m_nOverride.

Referenced by Override().

◆ IsColumnBreakBefore()

bool LwpBreaksOverride::IsColumnBreakBefore ( ) const
inline

Definition at line 150 of file lwpbreaksoverride.hxx.

References BO_COLBEFORE, and LwpOverride::m_nValues.

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

◆ IsColumnBreakBeforeOverridden()

bool LwpBreaksOverride::IsColumnBreakBeforeOverridden ( ) const
inline

Definition at line 180 of file lwpbreaksoverride.hxx.

References BO_COLBEFORE, and LwpOverride::m_nOverride.

Referenced by Override().

◆ IsKeepWithNext()

bool LwpBreaksOverride::IsKeepWithNext ( ) const
inline

Definition at line 158 of file lwpbreaksoverride.hxx.

References BO_KEEPNEXT, and LwpOverride::m_nValues.

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

◆ IsKeepWithNextOverridden()

bool LwpBreaksOverride::IsKeepWithNextOverridden ( ) const
inline

Definition at line 188 of file lwpbreaksoverride.hxx.

References BO_KEEPNEXT, and LwpOverride::m_nOverride.

Referenced by Override().

◆ IsKeepWithPrevious()

bool LwpBreaksOverride::IsKeepWithPrevious ( ) const
inline

Definition at line 159 of file lwpbreaksoverride.hxx.

References BO_KEEPPREV, and LwpOverride::m_nValues.

Referenced by Override().

◆ IsKeepWithPreviousOverridden()

bool LwpBreaksOverride::IsKeepWithPreviousOverridden ( ) const
inline

Definition at line 192 of file lwpbreaksoverride.hxx.

References BO_KEEPPREV, and LwpOverride::m_nOverride.

Referenced by Override().

◆ IsPageBreakAfter()

bool LwpBreaksOverride::IsPageBreakAfter ( ) const
inline

Definition at line 142 of file lwpbreaksoverride.hxx.

References BO_PAGEAFTER, and LwpOverride::m_nValues.

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

◆ IsPageBreakAfterOverridden()

bool LwpBreaksOverride::IsPageBreakAfterOverridden ( ) const
inline

Definition at line 172 of file lwpbreaksoverride.hxx.

References BO_PAGEAFTER, and LwpOverride::m_nOverride.

Referenced by Override().

◆ IsPageBreakBefore()

bool LwpBreaksOverride::IsPageBreakBefore ( ) const
inline

Definition at line 137 of file lwpbreaksoverride.hxx.

References BO_PAGEBEFORE, and LwpOverride::m_nValues.

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

◆ IsPageBreakBeforeOverridden()

bool LwpBreaksOverride::IsPageBreakBeforeOverridden ( ) const
inline

Definition at line 168 of file lwpbreaksoverride.hxx.

References BO_PAGEBEFORE, and LwpOverride::m_nOverride.

Referenced by Override().

◆ IsPageBreakWithin()

bool LwpBreaksOverride::IsPageBreakWithin ( ) const
inline

Definition at line 146 of file lwpbreaksoverride.hxx.

References BO_KEEPTOGETHER, and LwpOverride::m_nValues.

Referenced by Override().

◆ IsPageBreakWithinOverridden()

bool LwpBreaksOverride::IsPageBreakWithinOverridden ( ) const
inline

Definition at line 176 of file lwpbreaksoverride.hxx.

References BO_KEEPTOGETHER, and LwpOverride::m_nOverride.

Referenced by Override().

◆ IsUseNextStyle()

bool LwpBreaksOverride::IsUseNextStyle ( ) const
inline

Definition at line 163 of file lwpbreaksoverride.hxx.

References BO_USENEXTSTYLE, and LwpOverride::m_nValues.

Referenced by Override().

◆ IsUseNextStyleOverridden()

bool LwpBreaksOverride::IsUseNextStyleOverridden ( ) const
inline

Definition at line 196 of file lwpbreaksoverride.hxx.

References BO_USENEXTSTYLE, and LwpOverride::m_nOverride.

Referenced by Override().

◆ operator=()

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

◆ Override()

void LwpBreaksOverride::Override ( LwpBreaksOverride pOther)

◆ OverrideColumnBreakAfter()

void LwpBreaksOverride::OverrideColumnBreakAfter ( bool  bVal)

Definition at line 231 of file lwpbreaksoverride.cxx.

References BO_COLAFTER, LwpOverride::Override(), STATE_OFF, and STATE_ON.

Referenced by Override().

◆ OverrideColumnBreakBefore()

void LwpBreaksOverride::OverrideColumnBreakBefore ( bool  bVal)

Definition at line 220 of file lwpbreaksoverride.cxx.

References BO_COLBEFORE, LwpOverride::Override(), STATE_OFF, and STATE_ON.

Referenced by Override().

◆ OverrideKeepWithNext()

void LwpBreaksOverride::OverrideKeepWithNext ( bool  bVal)

Definition at line 242 of file lwpbreaksoverride.cxx.

References BO_KEEPNEXT, LwpOverride::Override(), STATE_OFF, and STATE_ON.

Referenced by Override().

◆ OverrideKeepWithPrevious()

void LwpBreaksOverride::OverrideKeepWithPrevious ( bool  bVal)

Definition at line 253 of file lwpbreaksoverride.cxx.

References BO_KEEPPREV, LwpOverride::Override(), STATE_OFF, and STATE_ON.

Referenced by Override().

◆ OverridePageBreakAfter()

void LwpBreaksOverride::OverridePageBreakAfter ( bool  bVal)

Definition at line 197 of file lwpbreaksoverride.cxx.

References BO_PAGEAFTER, LwpOverride::Override(), STATE_OFF, and STATE_ON.

Referenced by Override().

◆ OverridePageBreakBefore()

void LwpBreaksOverride::OverridePageBreakBefore ( bool  bVal)

Definition at line 186 of file lwpbreaksoverride.cxx.

References BO_PAGEBEFORE, LwpOverride::Override(), STATE_OFF, and STATE_ON.

Referenced by Override().

◆ OverridePageBreakWithin()

void LwpBreaksOverride::OverridePageBreakWithin ( bool  bVal)

Definition at line 208 of file lwpbreaksoverride.cxx.

References BO_KEEPTOGETHER, LwpOverride::Override(), STATE_OFF, and STATE_ON.

Referenced by Override().

◆ OverrideUseNextStyle()

void LwpBreaksOverride::OverrideUseNextStyle ( bool  bVal)

Definition at line 264 of file lwpbreaksoverride.cxx.

References BO_USENEXTSTYLE, LwpOverride::Override(), STATE_OFF, and STATE_ON.

Referenced by Override().

◆ Read()

void LwpBreaksOverride::Read ( LwpObjectStream pStrm)
overridevirtual

◆ RevertColumnBreakAfter()

void LwpBreaksOverride::RevertColumnBreakAfter ( )
inline

Definition at line 217 of file lwpbreaksoverride.hxx.

References BO_COLAFTER, LwpOverride::Override(), and STATE_STYLE.

Referenced by Override().

◆ RevertColumnBreakBefore()

void LwpBreaksOverride::RevertColumnBreakBefore ( )
inline

Definition at line 213 of file lwpbreaksoverride.hxx.

References BO_COLBEFORE, LwpOverride::Override(), and STATE_STYLE.

Referenced by Override().

◆ RevertKeepWithNext()

void LwpBreaksOverride::RevertKeepWithNext ( )
inline

Definition at line 221 of file lwpbreaksoverride.hxx.

References BO_KEEPNEXT, LwpOverride::Override(), and STATE_STYLE.

Referenced by Override().

◆ RevertKeepWithPrevious()

void LwpBreaksOverride::RevertKeepWithPrevious ( )
inline

Definition at line 225 of file lwpbreaksoverride.hxx.

References BO_KEEPPREV, LwpOverride::Override(), and STATE_STYLE.

Referenced by Override().

◆ RevertPageBreakAfter()

void LwpBreaksOverride::RevertPageBreakAfter ( )
inline

Definition at line 205 of file lwpbreaksoverride.hxx.

References BO_PAGEAFTER, LwpOverride::Override(), and STATE_STYLE.

Referenced by Override().

◆ RevertPageBreakBefore()

void LwpBreaksOverride::RevertPageBreakBefore ( )
inline

Definition at line 201 of file lwpbreaksoverride.hxx.

References BO_PAGEBEFORE, LwpOverride::Override(), and STATE_STYLE.

Referenced by Override().

◆ RevertPageBreakWithin()

void LwpBreaksOverride::RevertPageBreakWithin ( )
inline

Definition at line 209 of file lwpbreaksoverride.hxx.

References BO_KEEPTOGETHER, LwpOverride::Override(), and STATE_STYLE.

Referenced by Override().

◆ RevertUseNextStyle()

void LwpBreaksOverride::RevertUseNextStyle ( )
inline

Definition at line 229 of file lwpbreaksoverride.hxx.

References BO_USENEXTSTYLE, LwpOverride::Override(), and STATE_STYLE.

Referenced by Override().

Member Data Documentation

◆ m_pNextStyle

std::unique_ptr<LwpAtomHolder> LwpBreaksOverride::m_pNextStyle
private

Definition at line 134 of file lwpbreaksoverride.hxx.

Referenced by Read().


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