LibreOffice Module sw (master)  1
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
SwWW8FltControlStack Class Reference

#include <ww8par.hxx>

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

Public Member Functions

 SwWW8FltControlStack (SwDoc *pDo, sal_uLong nFieldFl, SwWW8ImplReader &rReader_)
 
void NewAttr (const SwPosition &rPos, const SfxPoolItem &rAttr)
 Stack. More...
 
virtual SwFltStackEntrySetAttr (const SwPosition &rPos, sal_uInt16 nAttrId, bool bTstEnde=true, long nHand=LONG_MAX, bool consumedByField=false) override
 
void SetToggleAttr (sal_uInt8 nId, bool bOn)
 
sal_uInt16 GetToggleAttrFlags () const
 
void SetToggleBiDiAttr (sal_uInt8 nId, bool bOn)
 
sal_uInt16 GetToggleBiDiAttrFlags () const
 
void SetToggleAttrFlags (sal_uInt16 nFlags)
 
void SetToggleBiDiAttrFlags (sal_uInt16 nFlags)
 
const SfxPoolItemGetFormatAttr (const SwPosition &rPos, sal_uInt16 nWhich)
 
template<class T >
const T * GetFormatAttr (const SwPosition &rPos, TypedWhichId< T > nWhich)
 
const SfxPoolItemGetStackAttr (const SwPosition &rPos, sal_uInt16 nWhich)
 
- Public Member Functions inherited from SwFltControlStack
void MoveAttrs (const SwPosition &rPos, MoveAttrsMode=MoveAttrsMode::DEFAULT)
 
 SwFltControlStack (SwDoc *pDo, sal_uLong nFieldFl)
 
virtual ~SwFltControlStack ()
 
bool IsFlagSet (Flags no) const
 
void NewAttr (const SwPosition &rPos, const SfxPoolItem &rAttr)
 
void StealAttr (const SwNodeIndex &rNode)
 
void MarkAllAttrsOld ()
 
void KillUnlockedAttrs (const SwPosition &pPos)
 
SfxPoolItemGetFormatStackAttr (sal_uInt16 nWhich, sal_uInt16 *pPos)
 
const SfxPoolItemGetOpenStackAttr (const SwPosition &rPos, sal_uInt16 nWhich)
 
void Delete (const SwPaM &rPam)
 
bool empty () const
 
Entries::size_type size () const
 
SwFltStackEntryoperator[] (Entries::size_type nIndex)
 
void DeleteAndDestroy (Entries::size_type nCnt)
 

Protected Member Functions

virtual void SetAttrInDoc (const SwPosition &rTmpPos, SwFltStackEntry &rEntry) override
 
virtual sal_Int32 GetCurrAttrCP () const override
 
virtual bool IsParaEndInCPs (sal_Int32 nStart, sal_Int32 nEnd, bool bSdOD) const override
 
virtual void ClearParaEndPosition () override
 Clear the para end position recorded in reader intermittently for the least impact on loading performance. More...
 
virtual bool CheckSdOD (sal_Int32 nStart, sal_Int32 nEnd) override
 
- Protected Member Functions inherited from SwFltControlStack
bool HasSdOD ()
 

Private Member Functions

 SwWW8FltControlStack (const SwWW8FltControlStack &)=delete
 
SwWW8FltControlStackoperator= (const SwWW8FltControlStack &)=delete
 
const SwNumFormatGetNumFormatFromStack (const SwPosition &rPos, const SwTextNode &rTextNode)
 

Private Attributes

SwWW8ImplReaderrReader
 
std::unique_ptr< SfxItemSetm_xScratchSet
 
sal_uInt16 nToggleAttrFlags
 
sal_uInt16 nToggleBiDiAttrFlags
 

Additional Inherited Members

- Public Types inherited from SwFltControlStack
enum  MoveAttrsMode {
  MoveAttrsMode::DEFAULT,
  MoveAttrsMode::POSTIT_INSERTED
}
 
enum  Flags {
  HYPO,
  TAGS_DO_ID,
  TAGS_VISIBLE,
  BOOK_TO_VAR_REF,
  BOOK_AND_REF,
  TAGS_IN_TEXT,
  ALLOW_FLD_CR
}
 
- Protected Attributes inherited from SwFltControlStack
SwDocpDoc
 
bool bIsEndStack
 

Detailed Description

Definition at line 358 of file ww8par.hxx.

Constructor & Destructor Documentation

SwWW8FltControlStack::SwWW8FltControlStack ( const SwWW8FltControlStack )
privatedelete
SwWW8FltControlStack::SwWW8FltControlStack ( SwDoc pDo,
sal_uLong  nFieldFl,
SwWW8ImplReader rReader_ 
)
inline

Definition at line 380 of file ww8par.hxx.

Member Function Documentation

bool SwWW8FltControlStack::CheckSdOD ( sal_Int32  nStart,
sal_Int32  nEnd 
)
overrideprotectedvirtual

Reimplemented from SwFltControlStack.

Definition at line 1325 of file ww8par.cxx.

References SwWW8ImplReader::IsParaEndInCPs(), and rReader.

void SwWW8FltControlStack::ClearParaEndPosition ( )
overrideprotectedvirtual

Clear the para end position recorded in reader intermittently for the least impact on loading performance.

Reimplemented from SwFltControlStack.

Definition at line 1317 of file ww8par.cxx.

References SwWW8ImplReader::ClearParaEndPosition(), SwFltControlStack::empty(), and rReader.

sal_Int32 SwWW8FltControlStack::GetCurrAttrCP ( ) const
overrideprotectedvirtual

Reimplemented from SwFltControlStack.

Definition at line 1303 of file ww8par.cxx.

References SwWW8ImplReader::GetCurrAttrCP(), and rReader.

const SfxPoolItem * SwWW8FltControlStack::GetFormatAttr ( const SwPosition rPos,
sal_uInt16  nWhich 
)
template<class T >
const T* SwWW8FltControlStack::GetFormatAttr ( const SwPosition rPos,
TypedWhichId< T >  nWhich 
)
inline

Definition at line 412 of file ww8par.hxx.

References GetFormatAttr().

const SwNumFormat * SwWW8FltControlStack::GetNumFormatFromStack ( const SwPosition rPos,
const SwTextNode rTextNode 
)
private
const SfxPoolItem * SwWW8FltControlStack::GetStackAttr ( const SwPosition rPos,
sal_uInt16  nWhich 
)
sal_uInt16 SwWW8FltControlStack::GetToggleAttrFlags ( ) const
inline

Definition at line 397 of file ww8par.hxx.

References nToggleAttrFlags.

sal_uInt16 SwWW8FltControlStack::GetToggleBiDiAttrFlags ( ) const
inline

Definition at line 407 of file ww8par.hxx.

References nToggleBiDiAttrFlags.

bool SwWW8FltControlStack::IsParaEndInCPs ( sal_Int32  nStart,
sal_Int32  nEnd,
bool  bSdOD 
) const
overrideprotectedvirtual

Reimplemented from SwFltControlStack.

Definition at line 1308 of file ww8par.cxx.

References SwWW8ImplReader::IsParaEndInCPs(), and rReader.

void SwWW8FltControlStack::NewAttr ( const SwPosition rPos,
const SfxPoolItem rAttr 
)
SwWW8FltControlStack& SwWW8FltControlStack::operator= ( const SwWW8FltControlStack )
privatedelete
SwFltStackEntry * SwWW8FltControlStack::SetAttr ( const SwPosition rPos,
sal_uInt16  nAttrId,
bool  bTstEnde = true,
long  nHand = LONG_MAX,
bool  consumedByField = false 
)
overridevirtual
void SwWW8FltControlStack::SetAttrInDoc ( const SwPosition rTmpPos,
SwFltStackEntry rEntry 
)
overrideprotectedvirtual
void SwWW8FltControlStack::SetToggleAttr ( sal_uInt8  nId,
bool  bOn 
)
inline

Definition at line 389 of file ww8par.hxx.

void SwWW8FltControlStack::SetToggleAttrFlags ( sal_uInt16  nFlags)
inline

Definition at line 408 of file ww8par.hxx.

void SwWW8FltControlStack::SetToggleBiDiAttr ( sal_uInt8  nId,
bool  bOn 
)
inline

Definition at line 399 of file ww8par.hxx.

void SwWW8FltControlStack::SetToggleBiDiAttrFlags ( sal_uInt16  nFlags)
inline

Definition at line 409 of file ww8par.hxx.

Member Data Documentation

std::unique_ptr<SfxItemSet> SwWW8FltControlStack::m_xScratchSet
private

Definition at line 362 of file ww8par.hxx.

Referenced by GetFormatAttr().

sal_uInt16 SwWW8FltControlStack::nToggleAttrFlags
private

Definition at line 363 of file ww8par.hxx.

Referenced by GetToggleAttrFlags().

sal_uInt16 SwWW8FltControlStack::nToggleBiDiAttrFlags
private

Definition at line 364 of file ww8par.hxx.

Referenced by GetToggleBiDiAttrFlags().

SwWW8ImplReader& SwWW8FltControlStack::rReader
private

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