LibreOffice Module sw (master) 1
|
#include <ww8par.hxx>
Public Member Functions | |
SwWW8FltControlStack (SwDoc &rDo, sal_uLong nFieldFl, SwWW8ImplReader &rReader_) | |
void | NewAttr (const SwPosition &rPos, const SfxPoolItem &rAttr) |
Stack. More... | |
virtual SwFltStackEntry * | SetAttr (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 SfxPoolItem * | GetFormatAttr (const SwPosition &rPos, sal_uInt16 nWhich) |
template<class T > | |
const T * | GetFormatAttr (const SwPosition &rPos, TypedWhichId< T > nWhich) |
const SfxPoolItem * | GetStackAttr (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 SwFltStackEntry * | SetAttr (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) |
SfxPoolItem * | GetFormatStackAttr (sal_uInt16 nWhich, sal_uInt16 *pPos) |
const SfxPoolItem * | GetOpenStackAttr (const SwPosition &rPos, sal_uInt16 nWhich) |
void | Delete (const SwPaM &rPam) |
bool | empty () const |
Entries::size_type | size () const |
SwFltStackEntry & | operator[] (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 | |
SwWW8FltControlStack & | operator= (const SwWW8FltControlStack &)=delete |
const SwNumFormat * | GetNumFormatFromStack (const SwPosition &rPos, const SwTextNode &rTextNode) |
Private Attributes | |
SwWW8ImplReader & | m_rReader |
std::unique_ptr< SfxItemSet > | m_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 | |
SwDoc & | m_rDoc |
bool | m_bIsEndStack |
Definition at line 372 of file ww8par.hxx.
|
privatedelete |
|
inline |
Definition at line 388 of file ww8par.hxx.
const SfxPoolItem * SwWW8FltControlStack::GetFormatAttr | ( | const SwPosition & | rPos, |
sal_uInt16 | nWhich | ||
) |
Definition at line 1482 of file ww8par.cxx.
References SwContentNode::GetAttr(), SwDoc::GetAttrPool(), SwPosition::GetContentIndex(), SwNode::GetContentNode(), SfxItemPool::GetDefaultItem(), SwPosition::GetNode(), SwTextNode::GetParaAttr(), SwContentNode::GetpSwAttrSet(), GetStackAttr(), SwNode::GetTextNode(), SwNode::IsTextNode(), SwWW8ImplReader::m_nCurrentColl, SwFltControlStack::m_rDoc, m_rReader, SwWW8ImplReader::m_vColl, m_xScratchSet, nPos, RES_MARGIN_FIRSTLINE(), RES_MARGIN_RIGHT(), and RES_MARGIN_TEXTLEFT().
Referenced by GetFormatAttr().
|
inline |
Definition at line 420 of file ww8par.hxx.
References GetFormatAttr().
|
private |
Definition at line 1288 of file ww8par.cxx.
References SwDoc::FindNumRulePtr(), SwTextNode::GetActualListLevel(), sw::util::GetNumFormatFromSwNumRuleLevel(), SwTextNode::GetNumRule(), GetStackAttr(), GetValue, SwTextNode::IsCountedInList(), SwFltControlStack::m_rDoc, RES_FLTR_NUMRULE(), and sName.
Referenced by SetAttrInDoc().
const SfxPoolItem * SwWW8FltControlStack::GetStackAttr | ( | const SwPosition & | rPos, |
sal_uInt16 | nWhich | ||
) |
Definition at line 1542 of file ww8par.cxx.
References SwFltStackEntry::m_aMkPos, SwFltStackEntry::m_aPtPos, SwFltStackEntry::m_bOpen, SwFltPosition::m_nContent, SwFltPosition::m_nNode, SwFltStackEntry::m_pAttr, and SwFltControlStack::size().
Referenced by GetFormatAttr(), and GetNumFormatFromStack().
|
inline |
Definition at line 405 of file ww8par.hxx.
References m_nToggleAttrFlags.
|
inline |
Definition at line 415 of file ww8par.hxx.
References m_nToggleBiDiAttrFlags.
void SwWW8FltControlStack::NewAttr | ( | const SwPosition & | rPos, |
const SfxPoolItem & | rAttr | ||
) |
Stack.
Definition at line 1174 of file ww8par.cxx.
References SwFltControlStack::NewAttr(), RES_FLTR_REDLINE(), RES_TXTATR_ANNOTATION(), RES_TXTATR_FIELD(), RES_TXTATR_INPUTFIELD(), and SfxPoolItem::Which().
Referenced by WW8DupProperties::Insert().
|
privatedelete |
|
overridevirtual |
Reimplemented from SwFltControlStack.
Definition at line 1188 of file ww8par.cxx.
References SwFltControlStack::DeleteAndDestroy(), i, SwFltStackEntry::m_pAttr, m_rReader, SwWW8ImplReader::m_xPlcxMan, SwFltControlStack::SetAttr(), and SwFltControlStack::size().
|
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().
|
inline |
Definition at line 397 of file ww8par.hxx.
References m_nToggleAttrFlags, and nId.
|
inline |
Definition at line 416 of file ww8par.hxx.
References m_nToggleAttrFlags.
|
inline |
Definition at line 407 of file ww8par.hxx.
References m_nToggleBiDiAttrFlags, and nId.
|
inline |
Definition at line 417 of file ww8par.hxx.
References m_nToggleBiDiAttrFlags.
|
private |
Definition at line 377 of file ww8par.hxx.
Referenced by GetToggleAttrFlags(), SetToggleAttr(), and SetToggleAttrFlags().
|
private |
Definition at line 378 of file ww8par.hxx.
Referenced by GetToggleBiDiAttrFlags(), SetToggleBiDiAttr(), and SetToggleBiDiAttrFlags().
|
private |
Definition at line 375 of file ww8par.hxx.
Referenced by GetFormatAttr(), SetAttr(), and SetAttrInDoc().
|
private |
Definition at line 376 of file ww8par.hxx.
Referenced by GetFormatAttr().