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 aText, 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 990 of file txtfrm.hxx.

Constructor & Destructor Documentation

◆ MergedPara()

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

Definition at line 1003 of file txtfrm.hxx.

References pFirstNode, pLastNode, and pParaPropsNode.

Member Data Documentation

◆ extents

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

◆ listener

sw::WriterMultiListener sw::MergedPara::listener

Definition at line 992 of file txtfrm.hxx.

◆ mergedText

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 996 of file txtfrm.hxx.

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

◆ pFirstNode

SwTextNode* const sw::MergedPara::pFirstNode

◆ pLastNode

SwTextNode const* sw::MergedPara::pLastNode

◆ pParaPropsNode

SwTextNode* sw::MergedPara::pParaPropsNode

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