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 372 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 388 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 420 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 405 of file ww8par.hxx.

References m_nToggleAttrFlags.

◆ GetToggleBiDiAttrFlags()

sal_uInt16 SwWW8FltControlStack::GetToggleBiDiAttrFlags ( ) const
inline

Definition at line 415 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

Reimplemented from SwFltControlStack.

Definition at line 1340 of file ww8par.cxx.

References aURL, SwWW8ImplReader::ContainsSingleInlineGraphic(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::end(), SwPaM::End(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::find(), SwContentNode::GetAttr(), SwDoc::getIDocumentContentOperations(), SwPosition::GetNodeIndex(), SwDoc::GetNodes(), GetNumFormatFromStack(), sw::util::GetNumFormatFromTextNode(), SwPaM::GetPoint(), SvxTextLeftMarginItem::GetPropLeft(), SvxFirstLineIndentItem::GetPropTextFirstLineOffset(), SwFormatINetFormat::GetTargetFrame(), SvxFirstLineIndentItem::GetTextFirstLineOffset(), SvxTextLeftMarginItem::GetTextLeft(), SwFormatINetFormat::GetValue(), IDocumentContentOperations::InsertPoolItem(), SvxFirstLineIndentItem::IsAutoFirst(), SwNode::IsTextNode(), SwWW8ImplReader::m_aTextNodesHavingFirstLineOfstSet, SwWW8ImplReader::m_aTextNodesHavingLeftIndentSet, SwFltStackEntry::m_pAttr, SwFltControlStack::m_rDoc, m_rReader, SwFltStackEntry::MakeRegion(), SwFltStackEntry::NoCheck, RES_LR_SPACE(), RES_MARGIN_FIRSTLINE(), RES_MARGIN_TEXTLEFT(), RES_TXTATR_ANNOTATION(), RES_TXTATR_FIELD(), RES_TXTATR_INETFMT(), RES_TXTATR_INPUTFIELD(), SwContentNode::SetAttr(), SwFltControlStack::SetAttrInDoc(), SvxFirstLineIndentItem::SetAutoFirst(), SwFormat::SetFormatAttr(), SvxFirstLineIndentItem::SetTextFirstLineOffset(), SvxTextLeftMarginItem::SetTextLeft(), SwPaM::Start(), and SyncIndentWithList().

◆ SetToggleAttr()

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

Definition at line 397 of file ww8par.hxx.

References m_nToggleAttrFlags, and nId.

◆ SetToggleAttrFlags()

void SwWW8FltControlStack::SetToggleAttrFlags ( sal_uInt16  nFlags)
inline

Definition at line 416 of file ww8par.hxx.

References m_nToggleAttrFlags.

◆ SetToggleBiDiAttr()

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

Definition at line 407 of file ww8par.hxx.

References m_nToggleBiDiAttrFlags, and nId.

◆ SetToggleBiDiAttrFlags()

void SwWW8FltControlStack::SetToggleBiDiAttrFlags ( sal_uInt16  nFlags)
inline

Definition at line 417 of file ww8par.hxx.

References m_nToggleBiDiAttrFlags.

Member Data Documentation

◆ m_nToggleAttrFlags

sal_uInt16 SwWW8FltControlStack::m_nToggleAttrFlags
private

Definition at line 377 of file ww8par.hxx.

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

◆ m_nToggleBiDiAttrFlags

sal_uInt16 SwWW8FltControlStack::m_nToggleBiDiAttrFlags
private

Definition at line 378 of file ww8par.hxx.

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

◆ m_rReader

SwWW8ImplReader& SwWW8FltControlStack::m_rReader
private

Definition at line 375 of file ww8par.hxx.

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

◆ m_xScratchSet

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

Definition at line 376 of file ww8par.hxx.

Referenced by GetFormatAttr().


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