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)
 
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
 

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
SwDocm_rDoc
 
bool m_bIsEndStack
 

Detailed Description

Definition at line 364 of file ww8par.hxx.

Constructor & Destructor Documentation

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

Definition at line 380 of file ww8par.hxx.

Member Function Documentation

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.

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  bTstEnd = true,
tools::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 368 of file ww8par.hxx.

Referenced by GetFormatAttr().

sal_uInt16 SwWW8FltControlStack::nToggleAttrFlags
private

Definition at line 369 of file ww8par.hxx.

Referenced by GetToggleAttrFlags().

sal_uInt16 SwWW8FltControlStack::nToggleBiDiAttrFlags
private

Definition at line 370 of file ww8par.hxx.

Referenced by GetToggleBiDiAttrFlags().

SwWW8ImplReader& SwWW8FltControlStack::rReader
private

Definition at line 367 of file ww8par.hxx.

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


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