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) |
![]() | |
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) |
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 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 |
![]() | |
bool | HasSdOD () |
Private Member Functions | |
SwWW8FltControlStack (const SwWW8FltControlStack &)=delete | |
SwWW8FltControlStack & | operator= (const SwWW8FltControlStack &)=delete |
const SwNumFormat * | GetNumFormatFromStack (const SwPosition &rPos, const SwTextNode &rTextNode) |
Private Attributes | |
SwWW8ImplReader & | rReader |
std::unique_ptr< SfxItemSet > | m_xScratchSet |
sal_uInt16 | nToggleAttrFlags |
sal_uInt16 | nToggleBiDiAttrFlags |
Additional Inherited Members | |
![]() | |
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 } |
![]() | |
SwDoc & | rDoc |
bool | bIsEndStack |
Definition at line 364 of file ww8par.hxx.
|
privatedelete |
|
inline |
Definition at line 386 of file ww8par.hxx.
|
overrideprotectedvirtual |
Reimplemented from SwFltControlStack.
Definition at line 1329 of file ww8par.cxx.
References SwWW8ImplReader::IsParaEndInCPs(), and rReader.
|
overrideprotectedvirtual |
Clear the para end position recorded in reader intermittently for the least impact on loading performance.
Reimplemented from SwFltControlStack.
Definition at line 1321 of file ww8par.cxx.
References SwWW8ImplReader::ClearParaEndPosition(), SwFltControlStack::empty(), and rReader.
|
overrideprotectedvirtual |
Reimplemented from SwFltControlStack.
Definition at line 1307 of file ww8par.cxx.
References SwWW8ImplReader::GetCurrAttrCP(), and rReader.
const SfxPoolItem * SwWW8FltControlStack::GetFormatAttr | ( | const SwPosition & | rPos, |
sal_uInt16 | nWhich | ||
) |
Definition at line 1478 of file ww8par.cxx.
References SwContentNode::GetAttr(), SwDoc::GetAttrPool(), SwNode::GetContentNode(), SfxItemPool::GetDefaultItem(), SwIndex::GetIndex(), SwNodeIndex::GetNode(), SwTextNode::GetParaAttr(), SwContentNode::GetpSwAttrSet(), GetStackAttr(), SwNode::GetTextNode(), SwNode::IsTextNode(), SwWW8ImplReader::m_nCurrentColl, SwWW8ImplReader::m_vColl, m_xScratchSet, SwPosition::nContent, SwPosition::nNode, nPos, SwFltControlStack::rDoc, RES_LR_SPACE(), and rReader.
Referenced by GetFormatAttr().
|
inline |
Definition at line 418 of file ww8par.hxx.
References GetFormatAttr().
|
private |
Definition at line 1289 of file ww8par.cxx.
References SwDoc::FindNumRulePtr(), SwTextNode::GetActualListLevel(), sw::util::GetNumFormatFromSwNumRuleLevel(), SwTextNode::GetNumRule(), GetStackAttr(), GetValue, SwTextNode::IsCountedInList(), SwFltControlStack::rDoc, RES_FLTR_NUMRULE(), and sName.
Referenced by SetAttrInDoc().
const SfxPoolItem * SwWW8FltControlStack::GetStackAttr | ( | const SwPosition & | rPos, |
sal_uInt16 | nWhich | ||
) |
Definition at line 1523 of file ww8par.cxx.
References SwFltStackEntry::bOpen, SwFltStackEntry::m_aMkPos, SwFltStackEntry::m_aPtPos, SwFltPosition::m_nContent, SwFltPosition::m_nNode, SwFltStackEntry::pAttr, and SwFltControlStack::size().
Referenced by GetFormatAttr(), and GetNumFormatFromStack().
|
inline |
Definition at line 403 of file ww8par.hxx.
References nToggleAttrFlags.
|
inline |
Definition at line 413 of file ww8par.hxx.
References nToggleBiDiAttrFlags.
|
overrideprotectedvirtual |
Reimplemented from SwFltControlStack.
Definition at line 1312 of file ww8par.cxx.
References SwWW8ImplReader::IsParaEndInCPs(), and rReader.
void SwWW8FltControlStack::NewAttr | ( | const SwPosition & | rPos, |
const SfxPoolItem & | rAttr | ||
) |
Stack.
Definition at line 1177 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 1191 of file ww8par.cxx.
References SwFltControlStack::DeleteAndDestroy(), i, SwWW8ImplReader::m_xPlcxMan, SwFltStackEntry::pAttr, rReader, SwFltControlStack::SetAttr(), and SwFltControlStack::size().
|
overrideprotectedvirtual |
Reimplemented from SwFltControlStack.
Definition at line 1368 of file ww8par.cxx.
References aURL, SwWW8ImplReader::ContainsSingleInlineGraphic(), o3tl::sorted_vector< Value, Compare, Find, class >::end(), SwPaM::End(), o3tl::sorted_vector< Value, Compare, Find, class >::find(), SwContentNode::GetAttr(), SwDoc::getIDocumentContentOperations(), SwNodeIndex::GetIndex(), SwDoc::GetNodes(), GetNumFormatFromStack(), sw::util::GetNumFormatFromTextNode(), SwPaM::GetPoint(), SwFormatINetFormat::GetTargetFrame(), SwFormatINetFormat::GetValue(), IDocumentContentOperations::InsertPoolItem(), SwNode::IsTextNode(), SwWW8ImplReader::m_aTextNodesHavingFirstLineOfstSet, SwWW8ImplReader::m_aTextNodesHavingLeftIndentSet, SwFltStackEntry::MakeRegion(), SwPosition::nNode, SwFltStackEntry::NoCheck, SwFltStackEntry::pAttr, SwFltControlStack::rDoc, RES_LR_SPACE(), RES_TXTATR_ANNOTATION(), RES_TXTATR_FIELD(), RES_TXTATR_INETFMT(), RES_TXTATR_INPUTFIELD(), rReader, SwContentNode::SetAttr(), SwFltControlStack::SetAttrInDoc(), SwFormat::SetFormatAttr(), SwFormatURL::SetTargetFrameName(), SwFormatURL::SetURL(), SwPaM::Start(), and SyncIndentWithList().
Definition at line 395 of file ww8par.hxx.
|
inline |
Definition at line 414 of file ww8par.hxx.
Definition at line 405 of file ww8par.hxx.
|
inline |
Definition at line 415 of file ww8par.hxx.
|
private |
Definition at line 368 of file ww8par.hxx.
Referenced by GetFormatAttr().
|
private |
Definition at line 369 of file ww8par.hxx.
Referenced by GetToggleAttrFlags().
|
private |
Definition at line 370 of file ww8par.hxx.
Referenced by GetToggleBiDiAttrFlags().
|
private |
Definition at line 367 of file ww8par.hxx.
Referenced by CheckSdOD(), ClearParaEndPosition(), GetCurrAttrCP(), GetFormatAttr(), IsParaEndInCPs(), SetAttr(), and SetAttrInDoc().