LibreOffice Module sw (master)  1
Public Member Functions | Public Attributes | List of all members
sw::MergedPara Struct Reference

Describes parts of multiple text nodes, which will form a text frame, even when redlines are hidden at a layout level. More...

#include <txtfrm.hxx>

Collaboration diagram for sw::MergedPara:
[legend]

Public Member Functions

 MergedPara (SwTextFrame &rFrame, std::vector< Extent > &&rExtents, OUString const &rText, SwTextNode *const pProps, SwTextNode *const pFirst, SwTextNode const *const pLast)
 

Public Attributes

sw::WriterMultiListener listener
 
std::vector< Extentextents
 
OUString mergedText
 note: cannot be const currently to avoid UB because SwTextGuess::Guess const_casts it and modifies it (also, Update will modify it) More...
 
SwTextNodepParaPropsNode
 most paragraph properties are taken from the first non-empty node More...
 
SwTextNode *const pFirstNode
 except break attributes, those are taken from the first node More...
 
SwTextNode const * pLastNode
 mainly for sanity checks More...
 

Detailed Description

Describes parts of multiple text nodes, which will form a text frame, even when redlines are hidden at a layout level.

Definition at line 952 of file txtfrm.hxx.

Constructor & Destructor Documentation

sw::MergedPara::MergedPara ( SwTextFrame rFrame,
std::vector< Extent > &&  rExtents,
OUString const &  rText,
SwTextNode *const  pProps,
SwTextNode *const  pFirst,
SwTextNode const *const  pLast 
)
inline

Definition at line 965 of file txtfrm.hxx.

Member Data Documentation

std::vector<Extent> sw::MergedPara::extents
sw::WriterMultiListener sw::MergedPara::listener

Definition at line 954 of file txtfrm.hxx.

OUString sw::MergedPara::mergedText

note: cannot be const currently to avoid UB because SwTextGuess::Guess const_casts it and modifies it (also, Update will modify it)

Definition at line 958 of file txtfrm.hxx.

Referenced by SwAttrIter::CtorInitAttrIter(), SwTextFrame::GetText(), SwScriptInfo::InitScriptInfo(), sw::MapModelToView(), SwAttrIter::Seek(), SwAttrIter::SeekStartAndChgAttrIter(), sw::UpdateMergedParaForDelete(), and sw::UpdateMergedParaForInsert().

SwTextNode* const sw::MergedPara::pFirstNode
SwTextNode const* sw::MergedPara::pLastNode
SwTextNode* sw::MergedPara::pParaPropsNode

The documentation for this struct was generated from the following file: