LibreOffice Module sw (master) 1
|
#include <fltshell.hxx>
Public Types | |
enum class | RegionMode { NoCheck = 0 , CheckNodes = 1<<0 , 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 |
Static Public Member Functions | |
static SW_DLLPUBLIC bool | MakeRegion (SwDoc &rDoc, SwPaM &rRegion, RegionMode eCheck, const SwFltPosition &rMkPos, const SwFltPosition &rPtPos, sal_uInt16 nWhich=0) |
Public Attributes | |
SwFltPosition | m_aMkPos |
SwFltPosition | m_aPtPos |
std::unique_ptr< SfxPoolItem > | m_pAttr |
bool | m_bOld |
bool | m_bOpen |
bool | m_bConsumedByField |
bool | m_isAnnotationOnEnd |
annotation already moved onto its end pos. More... | |
Private Member Functions | |
SwFltStackEntry (SwFltStackEntry const &)=delete | |
SwFltStackEntry & | operator= (SwFltStackEntry const &)=delete |
Definition at line 80 of file fltshell.hxx.
|
strong |
Enumerator | |
---|---|
NoCheck | |
CheckNodes | |
CheckFieldmark |
Definition at line 100 of file fltshell.hxx.
|
privatedelete |
SwFltStackEntry::SwFltStackEntry | ( | const SwPosition & | rStartPos, |
std::unique_ptr< SfxPoolItem > | pHt | ||
) |
Definition at line 79 of file fltshell.cxx.
References m_bConsumedByField, m_bOld, and m_bOpen.
SwFltStackEntry::~SwFltStackEntry | ( | ) |
Definition at line 90 of file fltshell.cxx.
bool SwFltStackEntry::MakeRegion | ( | SwDoc & | rDoc, |
SwPaM & | rRegion, | ||
RegionMode | eCheck | ||
) | const |
Definition at line 161 of file fltshell.cxx.
References m_aMkPos, m_aPtPos, m_pAttr, and MakeRegion().
Referenced by SwWW8ImplReader::ConvertSubToGraphicPlacement(), MakeBookRegionOrPoint(), MakeRegion(), SwFltControlStack::SetAttrInDoc(), and SwWW8FltControlStack::SetAttrInDoc().
|
static |
Definition at line 105 of file fltshell.cxx.
References SwPosition::Assign(), CheckFieldmark, CheckNodes, CheckNodesRange(), SwNodes::Count(), SwPaM::End(), GetContentNode(), SwNodeIndex::GetIndex(), SwPosition::GetNode(), SwNodeIndex::GetNodes(), SwPosition::GetNodes(), SwPaM::GetPoint(), sw::mark::IsFieldmarkOverlap(), SwContentNode::Len(), SwFltPosition::m_nContent, SwFltPosition::m_nNode, n, RES_TXTATR_ANNOTATION(), RES_TXTATR_FIELD(), RES_TXTATR_INPUTFIELD(), SAL_WARN_IF, SwPosition::SetContent(), SwPaM::SetMark(), and SwPaM::Start().
|
privatedelete |
void SwFltStackEntry::SetEndPos | ( | const SwPosition & | rEndPos | ) |
Definition at line 95 of file fltshell.cxx.
References SwFltPosition::FromSwPosition(), m_aPtPos, and m_bOpen.
Referenced by SwFltControlStack::NewAttr(), and SwFltControlStack::SetAttr().
SwFltPosition SwFltStackEntry::m_aMkPos |
Definition at line 87 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 88 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_bConsumedByField |
Definition at line 94 of file fltshell.hxx.
Referenced by SwFltControlStack::SetAttr(), SwFltControlStack::SetAttrInDoc(), and SwFltStackEntry().
bool SwFltStackEntry::m_bOld |
Definition at line 92 of file fltshell.hxx.
Referenced by SwFltControlStack::KillUnlockedAttrs(), and SwFltStackEntry().
bool SwFltStackEntry::m_bOpen |
Definition at line 93 of file fltshell.hxx.
Referenced by SwFltControlStack::Delete(), SwFltControlStack::GetFormatStackAttr(), SwFltControlStack::GetOpenStackAttr(), SwWW8FltControlStack::GetStackAttr(), SwFltControlStack::KillUnlockedAttrs(), SwFltControlStack::NewAttr(), SwFltControlStack::SetAttr(), SetEndPos(), SwFltStackEntry(), and WW8DupProperties::WW8DupProperties().
bool SwFltStackEntry::m_isAnnotationOnEnd |
annotation already moved onto its end pos.
Definition at line 95 of file fltshell.hxx.
Referenced by SwFltControlStack::MoveAttrs().
std::unique_ptr<SfxPoolItem> SwFltStackEntry::m_pAttr |
Definition at line 90 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(), SwWW8FltRefStack::SetAttrInDoc(), and WW8DupProperties::WW8DupProperties().