25#include <rtl/ustrbuf.hxx>
42 GetTextNode()->GetAttrOutlineLevel()-1;
46 SwTextNode const& rNode,
bool const bWithNumber,
47 bool const bWithSpacesForLevel,
ExpandMode const i_mode)
65 bWithNumber, bWithNumber, bWithSpacesForLevel,
mode));
67 i <= pMerged->pLastNode->GetIndex(); ++
i)
73 pLayout, 0, -1,
false,
false,
false,
mode));
76 return ret.makeStringAndClear();
82 bWithNumber, bWithSpacesForLevel, i_mode);
86 const tSortedOutlineNodeList::size_type nIdx,
88 const bool bWithNumber,
89 const bool bWithSpacesForLevel,
90 const bool bWithFootnote )
const
94 bWithNumber, bWithSpacesForLevel,
104 const tSortedOutlineNodeList::size_type nIdx,
113 orOutlineNodeList.clear();
117 for ( tSortedOutlineNodeList::size_type
i = 0;
i < nOutlCount; ++
i )
119 orOutlineNodeList.push_back(
std::vector< const SwTextNode * > tSortedOutlineNodeList
SwContentFrame * getLayoutFrame(const SwRootFrame *, const SwPosition *pPos=nullptr, std::pair< Point, bool > const *pViewPosAndCalcFrame=nullptr) const
Base class of the Writer document model elements.
SwTextNode * GetTextNode()
Inline methods from Node.hxx.
SwNodeOffset GetIndex() const
SwNodes & GetNodes()
Node is in which nodes-array/doc?
Merge GetRedlineMergeFlag() const
const SwOutlineNodes & GetOutLineNds() const
Array of all OutlineNodes.
The root element of a Writer document layout.
bool HasMergedParas() const
Represents the visualization of a paragraph.
sw::MergedPara * GetMergedPara()
SwTextNode is a paragraph in the document model.
OUString GetExpandText(SwRootFrame const *pLayout, const sal_Int32 nIdx=0, const sal_Int32 nLen=-1, const bool bWithNum=false, const bool bAddSpaceAfterListLabelStr=false, const bool bWithSpacesForLevel=false, const ExpandMode eAdditionalMode=ExpandMode::ExpandFootnote|ExpandMode::HideFieldmarkCommands) const
add 4th optional parameter <bAddSpaceAfterListLabelStr> indicating, when <bWithNum = true> that a spa...
tSortedOutlineNodeList::size_type getOutlineNodesCount() const override
void getOutlineNodes(IDocumentOutlineNodes::tSortedOutlineNodeList &orOutlineNodeList) const override
virtual ~DocumentOutlineNodesManager() override
OUString getOutlineText(const tSortedOutlineNodeList::size_type nIdx, SwRootFrame const *pLayout, const bool bWithNumber=true, const bool bWithSpacesForLevel=false, const bool bWithFootnote=true) const override
SwTextNode * getOutlineNode(const tSortedOutlineNodeList::size_type nIdx) const override
DocumentOutlineNodesManager(SwDoc &i_rSwdoc)
int getOutlineLevel(const tSortedOutlineNodeList::size_type nIdx) const override
bool isOutlineInLayout(tSortedOutlineNodeList::size_type nIdx, SwRootFrame const &rLayout) const override
ExpandMode
Some helpers for converting model strings to view strings.
Dialog to specify the properties of date form field.
bool IsParaPropsNode(SwRootFrame const &rLayout, SwTextNode const &rNode)
OUString GetExpandTextMerged(SwRootFrame const *const pLayout, SwTextNode const &rNode, bool const bWithNumber, bool const bWithSpacesForLevel, ExpandMode const i_mode)
Describes parts of multiple text nodes, which will form a text frame, even when redlines are hidden a...
SwTextNode * pParaPropsNode
most paragraph properties are taken from the first non-empty node