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 &rDo, sal_uLong nFieldFl, SwWW8ImplReader &rReader_)
 
void NewAttr (const SwPosition &rPos, const SfxPoolItem &rAttr)
 Stack. More...
 
virtual SwFltStackEntrySetAttr (const SwPosition &rPos, sal_uInt16 nAttrId, bool bTstEnd=true, tools::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 &rDo, sal_uLong nFieldFl)
 
virtual ~SwFltControlStack ()
 
bool IsFlagSet (Flags no) const
 
void NewAttr (const SwPosition &rPos, const SfxPoolItem &rAttr)
 
virtual SwFltStackEntrySetAttr (const SwPosition &rPos, sal_uInt16 nAttrId, bool bTstEnd=true, tools::Long nHand=LONG_MAX, bool consumedByField=false)
 
void StealAttr (const SwNode &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 void SetAttrInDoc (const SwPosition &rTmpPos, SwFltStackEntry &rEntry)
 

Private Member Functions

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

Private Attributes

SwWW8ImplReaderm_rReader
 
std::unique_ptr< SfxItemSetm_xScratchSet
 
sal_uInt16 m_nToggleAttrFlags
 
sal_uInt16 m_nToggleBiDiAttrFlags
 

Additional Inherited Members

- Public Types inherited from SwFltControlStack
enum class  MoveAttrsMode {
  DEFAULT ,
  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
SwDocm_rDoc
 
bool m_bIsEndStack
 

Detailed Description

Definition at line 368 of file ww8par.hxx.

Constructor & Destructor Documentation

◆ SwWW8FltControlStack() [1/2]

SwWW8FltControlStack::SwWW8FltControlStack ( const SwWW8FltControlStack )
privatedelete

◆ SwWW8FltControlStack() [2/2]

SwWW8FltControlStack::SwWW8FltControlStack ( SwDoc rDo,
sal_uLong  nFieldFl,
SwWW8ImplReader rReader_ 
)
inline

Definition at line 384 of file ww8par.hxx.

Member Function Documentation

◆ GetFormatAttr() [1/2]

const SfxPoolItem * SwWW8FltControlStack::GetFormatAttr ( const SwPosition rPos,
sal_uInt16  nWhich 
)

◆ GetFormatAttr() [2/2]

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

Definition at line 416 of file ww8par.hxx.

References GetFormatAttr().

◆ GetNumFormatFromStack()

const SwNumFormat * SwWW8FltControlStack::GetNumFormatFromStack ( const SwPosition rPos,
const SwTextNode rTextNode 
)
private

◆ GetStackAttr()

const SfxPoolItem * SwWW8FltControlStack::GetStackAttr ( const SwPosition rPos,
sal_uInt16  nWhich 
)

◆ GetToggleAttrFlags()

sal_uInt16 SwWW8FltControlStack::GetToggleAttrFlags ( ) const
inline

Definition at line 401 of file ww8par.hxx.

References m_nToggleAttrFlags.

◆ GetToggleBiDiAttrFlags()

sal_uInt16 SwWW8FltControlStack::GetToggleBiDiAttrFlags ( ) const
inline

Definition at line 411 of file ww8par.hxx.

References m_nToggleBiDiAttrFlags.

◆ NewAttr()

void SwWW8FltControlStack::NewAttr ( const SwPosition rPos,
const SfxPoolItem rAttr 
)

◆ operator=()

SwWW8FltControlStack & SwWW8FltControlStack::operator= ( const SwWW8FltControlStack )
privatedelete

◆ SetAttr()

SwFltStackEntry * SwWW8FltControlStack::SetAttr ( const SwPosition rPos,
sal_uInt16  nAttrId,
bool  bTstEnd = true,
tools::Long  nHand = LONG_MAX,
bool  consumedByField = false 
)
overridevirtual

◆ SetAttrInDoc()

void SwWW8FltControlStack::SetAttrInDoc ( const SwPosition rTmpPos,
SwFltStackEntry rEntry 
)
overrideprotectedvirtual

◆ SetToggleAttr()

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

Definition at line 393 of file ww8par.hxx.

References m_nToggleAttrFlags, and nId.

◆ SetToggleAttrFlags()

void SwWW8FltControlStack::SetToggleAttrFlags ( sal_uInt16  nFlags)
inline

Definition at line 412 of file ww8par.hxx.

References m_nToggleAttrFlags.

◆ SetToggleBiDiAttr()

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

Definition at line 403 of file ww8par.hxx.

References m_nToggleBiDiAttrFlags, and nId.

◆ SetToggleBiDiAttrFlags()

void SwWW8FltControlStack::SetToggleBiDiAttrFlags ( sal_uInt16  nFlags)
inline

Definition at line 413 of file ww8par.hxx.

References m_nToggleBiDiAttrFlags.

Member Data Documentation

◆ m_nToggleAttrFlags

sal_uInt16 SwWW8FltControlStack::m_nToggleAttrFlags
private

Definition at line 373 of file ww8par.hxx.

Referenced by GetToggleAttrFlags(), SetToggleAttr(), and SetToggleAttrFlags().

◆ m_nToggleBiDiAttrFlags

sal_uInt16 SwWW8FltControlStack::m_nToggleBiDiAttrFlags
private

Definition at line 374 of file ww8par.hxx.

Referenced by GetToggleBiDiAttrFlags(), SetToggleBiDiAttr(), and SetToggleBiDiAttrFlags().

◆ m_rReader

SwWW8ImplReader& SwWW8FltControlStack::m_rReader
private

Definition at line 371 of file ww8par.hxx.

Referenced by GetFormatAttr(), SetAttr(), and SetAttrInDoc().

◆ m_xScratchSet

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

Definition at line 372 of file ww8par.hxx.

Referenced by GetFormatAttr().


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