LibreOffice Module editeng (master) 1
|
#include <svxrtf.hxx>
Public Member Functions | |
SvxRTFItemStackType (const SvxRTFItemStackType &, const EditPosition &, bool bCopyAttr) | |
~SvxRTFItemStackType () | |
void | SetStartPos (const EditPosition &rPos) |
const EditNodeIdx & | GetSttNode () const |
const EditNodeIdx & | GetEndNode () const |
sal_Int32 | GetSttCnt () const |
sal_Int32 | GetEndCnt () const |
SfxItemSet & | GetAttrSet () |
const SfxItemSet & | GetAttrSet () const |
sal_uInt16 | StyleNo () const |
void | SetRTFDefaults (const SfxItemSet &rDefaults) |
Private Member Functions | |
SvxRTFItemStackType (SvxRTFItemStackType const &)=delete | |
void | operator= (SvxRTFItemStackType const &)=delete |
SvxRTFItemStackType (SfxItemPool &, const WhichRangesContainer &pWhichRange, const EditPosition &) | |
void | Add (std::unique_ptr< SvxRTFItemStackType >) |
void | Compress (const SvxRTFParser &) |
void | DropChildList () |
Static Private Member Functions | |
static std::unique_ptr< SvxRTFItemStackType > | createSvxRTFItemStackType (SfxItemPool &, const WhichRangesContainer &pWhichRange, const EditPosition &) |
Private Attributes | |
SfxItemSet | aAttrSet |
std::optional< EditNodeIdx > | mxStartNodeIdx |
std::optional< EditNodeIdx > | mxEndNodeIdx |
sal_Int32 | nSttCnt |
sal_Int32 | nEndCnt |
SvxRTFItemStackList | maChildList |
sal_uInt16 | nStyleNo |
Friends | |
class | SvxRTFParser |
Definition at line 230 of file svxrtf.hxx.
|
privatedelete |
Referenced by createSvxRTFItemStackType().
|
private |
Definition at line 978 of file svxrtf.cxx.
References if().
SvxRTFItemStackType::SvxRTFItemStackType | ( | const SvxRTFItemStackType & | rCpy, |
const EditPosition & | rPos, | ||
bool | bCopyAttr | ||
) |
Definition at line 993 of file svxrtf.cxx.
References aAttrSet, GetRanges(), if(), SfxItemSet::Put(), and SfxItemSet::SetParent().
SvxRTFItemStackType::~SvxRTFItemStackType | ( | ) |
Definition at line 1050 of file svxrtf.cxx.
|
private |
Definition at line 1054 of file svxrtf.cxx.
References maChildList.
Referenced by SvxRTFParser::AttrGroupEnd().
|
private |
Definition at line 1066 of file svxrtf.cxx.
References aAttrSet, SfxItemIter::ClearItem(), Compress(), SfxItemSet::Count(), SfxItemSet::Differentiate(), ENSURE_OR_RETURN_VOID, SfxItemIter::GetCurItem(), EditNodeIdx::GetIdx(), SfxItemSet::GetItemState(), SvxRTFParser::IsEndPara(), maChildList, mxEndNodeIdx, mxStartNodeIdx, n, nEndCnt, SfxItemIter::NextItem(), nSttCnt, nStyleNo, SfxItemSet::Put(), and SfxPoolItem::Which().
Referenced by Compress().
|
staticprivate |
Definition at line 607 of file svxrtf.cxx.
References SvxRTFItemStackType().
Referenced by SvxRTFParser::GetAttrSet_().
|
private |
Definition at line 1022 of file svxrtf.cxx.
References a, and maChildList.
|
inline |
Definition at line 269 of file svxrtf.hxx.
References aAttrSet.
Referenced by SvxRTFParser::ClearStyleAttr_().
|
inline |
Definition at line 270 of file svxrtf.hxx.
References aAttrSet.
|
inline |
Definition at line 267 of file svxrtf.hxx.
References nEndCnt.
|
inline |
Definition at line 264 of file svxrtf.hxx.
References mxEndNodeIdx.
|
inline |
Definition at line 266 of file svxrtf.hxx.
References nSttCnt.
|
inline |
Definition at line 263 of file svxrtf.hxx.
References mxStartNodeIdx.
|
privatedelete |
void SvxRTFItemStackType::SetRTFDefaults | ( | const SfxItemSet & | rDefaults | ) |
Definition at line 1146 of file svxrtf.cxx.
References aAttrSet, SfxItemSet::Count(), SfxItemIter::GetCurItem(), SfxItemSet::GetItemState(), SfxItemIter::NextItem(), SfxItemSet::Put(), and SfxPoolItem::Which().
void SvxRTFItemStackType::SetStartPos | ( | const EditPosition & | rPos | ) |
Definition at line 1059 of file svxrtf.cxx.
References EditPosition::GetCntIdx(), EditPosition::MakeNodeIdx(), mxEndNodeIdx, mxStartNodeIdx, and nSttCnt.
Referenced by SvxRTFParser::ReadAttr(), and SvxRTFParser::RTFPardPlain().
|
inline |
Definition at line 272 of file svxrtf.hxx.
References nStyleNo.
|
friend |
Definition at line 232 of file svxrtf.hxx.
|
private |
Definition at line 234 of file svxrtf.hxx.
Referenced by SvxRTFParser::AttrGroupEnd(), Compress(), SvxRTFParser::GetAttrSet(), GetAttrSet(), SvxRTFParser::ReadAttr(), SvxRTFParser::RTFPardPlain(), SetRTFDefaults(), and SvxRTFItemStackType().
|
private |
Definition at line 238 of file svxrtf.hxx.
Referenced by Add(), SvxRTFParser::AttrGroupEnd(), Compress(), DropChildList(), SvxRTFParser::ReadAttr(), and SvxRTFParser::RTFPardPlain().
|
private |
Definition at line 236 of file svxrtf.hxx.
Referenced by Compress(), GetEndNode(), and SetStartPos().
|
private |
Definition at line 235 of file svxrtf.hxx.
Referenced by Compress(), GetSttNode(), SvxRTFParser::IsAttrSttPos(), SvxRTFParser::ReadAttr(), and SetStartPos().
|
private |
Definition at line 237 of file svxrtf.hxx.
Referenced by Compress(), and GetEndCnt().
|
private |
Definition at line 237 of file svxrtf.hxx.
Referenced by Compress(), GetSttCnt(), SvxRTFParser::IsAttrSttPos(), SvxRTFParser::ReadAttr(), and SetStartPos().
|
private |
Definition at line 239 of file svxrtf.hxx.
Referenced by SvxRTFParser::ClearStyleAttr_(), Compress(), SvxRTFParser::ReadAttr(), SvxRTFParser::RTFPardPlain(), and StyleNo().