LibreOffice Module sw (master)
1
|
#include <fltshell.hxx>
Public Types | |
enum | RegionMode { RegionMode::NoCheck = 0, RegionMode::CheckNodes = 1<<0, RegionMode::CheckFieldmark = 1<<1 } |
Public Member Functions | |
SW_DLLPUBLIC | SwFltStackEntry (const SwPosition &rStartPos, std::unique_ptr< SfxPoolItem > pHt) |
SW_DLLPUBLIC | ~SwFltStackEntry () |
SW_DLLPUBLIC void | SetEndPos (const SwPosition &rEndPos) |
SW_DLLPUBLIC bool | MakeRegion (SwDoc &rDoc, SwPaM &rRegion, RegionMode eCheck) const |
void | SetStartCP (sal_Int32 nCP) |
void | SetEndCP (sal_Int32 nCP) |
sal_Int32 | GetStartCP () const |
sal_Int32 | GetEndCP () const |
bool | IsParaEnd () const |
void | SetIsParaEnd (bool bArg) |
Static Public Member Functions | |
static SW_DLLPUBLIC bool | MakeRegion (SwDoc &rDoc, SwPaM &rRegion, RegionMode eCheck, const SwFltPosition &rMkPos, const SwFltPosition &rPtPos, bool bIsParaEnd=false, sal_uInt16 nWhich=0) |
Public Attributes | |
SwFltPosition | m_aMkPos |
SwFltPosition | m_aPtPos |
std::unique_ptr< SfxPoolItem > | pAttr |
bool | bOld |
bool | bOpen |
bool | bConsumedByField |
bool | m_isAnnotationOnEnd |
annotation already moved onto its end pos. More... | |
sal_Int32 | mnStartCP |
sal_Int32 | mnEndCP |
bool | bIsParaEnd |
Private Member Functions | |
SwFltStackEntry (SwFltStackEntry const &)=delete | |
SwFltStackEntry & | operator= (SwFltStackEntry const &)=delete |
Definition at line 78 of file fltshell.hxx.
|
strong |
Enumerator | |
---|---|
NoCheck | |
CheckNodes | |
CheckFieldmark |
Definition at line 102 of file fltshell.hxx.
|
privatedelete |
SwFltStackEntry::SwFltStackEntry | ( | const SwPosition & | rStartPos, |
std::unique_ptr< SfxPoolItem > | pHt | ||
) |
Definition at line 78 of file fltshell.cxx.
References bConsumedByField, bOld, and bOpen.
SwFltStackEntry::~SwFltStackEntry | ( | ) |
Definition at line 92 of file fltshell.cxx.
|
inline |
Definition at line 112 of file fltshell.hxx.
References mnEndCP.
Referenced by SwFltControlStack::SetAttrInDoc().
|
inline |
Definition at line 111 of file fltshell.hxx.
References mnStartCP.
Referenced by SwFltControlStack::SetAttrInDoc().
|
inline |
Definition at line 113 of file fltshell.hxx.
References bIsParaEnd.
Referenced by SwFltControlStack::SetAttrInDoc().
bool SwFltStackEntry::MakeRegion | ( | SwDoc & | rDoc, |
SwPaM & | rRegion, | ||
RegionMode | eCheck | ||
) | const |
Definition at line 169 of file fltshell.cxx.
References bIsParaEnd, m_aMkPos, m_aPtPos, and pAttr.
Referenced by SwWW8ImplReader::ConvertSubToGraphicPlacement(), MakeBookRegionOrPoint(), SwFltControlStack::SetAttrInDoc(), and SwWW8FltControlStack::SetAttrInDoc().
|
static |
Definition at line 107 of file fltshell.cxx.
References SwIndex::Assign(), CheckFieldmark, CheckNodes, CheckNodesRange(), SwNodes::Count(), SwPaM::End(), GetContentNode(), SwNodeIndex::GetIndex(), SwNodeIndex::GetNodes(), SwPaM::GetPoint(), sw::mark::IsFieldmarkOverlap(), SwNode::IsTextNode(), SwContentNode::Len(), SwFltPosition::m_nContent, SwFltPosition::m_nNode, n, SwPosition::nContent, SwPosition::nNode, RES_TXTATR_ANNOTATION(), RES_TXTATR_FIELD(), RES_TXTATR_INPUTFIELD(), SAL_WARN_IF, SwPaM::SetMark(), and SwPaM::Start().
|
privatedelete |
|
inline |
Definition at line 110 of file fltshell.hxx.
Referenced by SwFltControlStack::SetAttr().
void SwFltStackEntry::SetEndPos | ( | const SwPosition & | rEndPos | ) |
Definition at line 97 of file fltshell.cxx.
References bOpen, m_aPtPos, and SwFltPosition::SetPos().
Referenced by SwFltControlStack::NewAttr(), and SwFltControlStack::SetAttr().
|
inline |
Definition at line 114 of file fltshell.hxx.
Referenced by SwFltControlStack::SetAttrInDoc().
|
inline |
Definition at line 109 of file fltshell.hxx.
Referenced by SwFltControlStack::NewAttr().
bool SwFltStackEntry::bConsumedByField |
Definition at line 92 of file fltshell.hxx.
Referenced by SwFltControlStack::SetAttr(), SwFltControlStack::SetAttrInDoc(), and SwFltStackEntry().
bool SwFltStackEntry::bIsParaEnd |
Definition at line 97 of file fltshell.hxx.
Referenced by IsParaEnd(), and MakeRegion().
bool SwFltStackEntry::bOld |
Definition at line 90 of file fltshell.hxx.
Referenced by SwFltControlStack::KillUnlockedAttrs(), and SwFltStackEntry().
bool SwFltStackEntry::bOpen |
Definition at line 91 of file fltshell.hxx.
Referenced by SwFltControlStack::Delete(), SwFltControlStack::GetFormatStackAttr(), SwFltControlStack::GetOpenStackAttr(), SwWW8FltControlStack::GetStackAttr(), SwFltControlStack::KillUnlockedAttrs(), SwFltControlStack::NewAttr(), SwFltControlStack::SetAttr(), SetEndPos(), and SwFltStackEntry().
SwFltPosition SwFltStackEntry::m_aMkPos |
Definition at line 85 of file fltshell.hxx.
Referenced by SwFltControlStack::Delete(), SwWW8FltAnchorStack::Flush(), SwFltControlStack::GetOpenStackAttr(), SwWW8FltControlStack::GetStackAttr(), SwFltControlStack::KillUnlockedAttrs(), MakePoint(), MakeRegion(), SwFltControlStack::MoveAttrs(), sw::util::RedlineStack::MoveAttrsFieldmarkInserted(), and SwWW8FltRefStack::SetAttrInDoc().
SwFltPosition SwFltStackEntry::m_aPtPos |
Definition at line 86 of file fltshell.hxx.
Referenced by SwFltControlStack::Delete(), SwWW8FltControlStack::GetStackAttr(), SwFltControlStack::KillUnlockedAttrs(), MakeRegion(), SwFltControlStack::MoveAttrs(), sw::util::RedlineStack::MoveAttrsFieldmarkInserted(), SwFltControlStack::SetAttr(), SetEndPos(), and SwFltControlStack::StealAttr().
bool SwFltStackEntry::m_isAnnotationOnEnd |
annotation already moved onto its end pos.
Definition at line 93 of file fltshell.hxx.
Referenced by SwFltControlStack::MoveAttrs().
sal_Int32 SwFltStackEntry::mnEndCP |
Definition at line 96 of file fltshell.hxx.
Referenced by GetEndCP(), and SwFltControlStack::HasSdOD().
sal_Int32 SwFltStackEntry::mnStartCP |
Definition at line 95 of file fltshell.hxx.
Referenced by GetStartCP(), and SwFltControlStack::HasSdOD().
std::unique_ptr<SfxPoolItem> SwFltStackEntry::pAttr |
Definition at line 88 of file fltshell.hxx.
Referenced by SwFltControlStack::GetFormatStackAttr(), SwFltControlStack::GetOpenStackAttr(), SwWW8FltControlStack::GetStackAttr(), MakeRegion(), SwFltControlStack::MoveAttrs(), SwWW8FltRefStack::RefToVar(), SwFltControlStack::SetAttr(), SwWW8FltControlStack::SetAttr(), SwFltControlStack::SetAttrInDoc(), SwWW8FltControlStack::SetAttrInDoc(), SwWW8ReferencedFltEndStack::SetAttrInDoc(), and SwWW8FltRefStack::SetAttrInDoc().