LibreOffice Module sw (master)
1
|
#include <ndarr.hxx>
Public Types | |
typedef std::vector< SwNodeRange > | NodeRanges_t |
typedef std::vector< NodeRanges_t > | TableRanges_t |
Public Member Functions | |
~SwNodes () | |
Destructor. More... | |
SwNodePtr | operator[] (sal_uLong n) const |
sal_uLong | Count () const |
void | ForEach (FnForEach_SwNodes fnForEach, void *pArgs=nullptr) |
void | ForEach (sal_uLong nStt, sal_uLong nEnd, FnForEach_SwNodes fnForEach, void *pArgs) |
void | ForEach (const SwNodeIndex &rStart, const SwNodeIndex &rEnd, FnForEach_SwNodes fnForEach, void *pArgs) |
SwNode & | GetEndOfPostIts () const |
A still empty section. More... | |
SwNode & | GetEndOfInserts () const |
Section for all footnotes. More... | |
SwNode & | GetEndOfAutotext () const |
Section for all Flys/Header/Footers. More... | |
SwNode & | GetEndOfRedlines () const |
Section for all Redlines. More... | |
SwNode & | GetEndOfExtras () const |
This is the last EndNode of a special section. More... | |
SwNode & | GetEndOfContent () const |
Regular ContentSection (i.e. the BodyText). More... | |
bool | IsDocNodes () const |
Is the NodesArray the regular one of Doc? (and not the UndoNds, ...) Implementation in doc.hxx (because one needs to know Doc for it) ! More... | |
void | Delete (const SwNodeIndex &rPos, sal_uLong nNodes=1) |
delete nodes More... | |
bool | MoveNodes (const SwNodeRange &, SwNodes &rNodes, const SwNodeIndex &, bool bNewFrames=true) |
move the node pointer More... | |
void | MoveRange (SwPaM &, SwPosition &, SwNodes &rNodes) |
move a range More... | |
void | Copy_ (const SwNodeRange &rRg, const SwNodeIndex &rInsPos, bool bNewFrames=true) const |
void | SectionUp (SwNodeRange *) |
increase level of the given range More... | |
void | SectionDown (SwNodeRange *pRange, SwStartNodeType=SwNormalStartNode) |
create a start/end section pair More... | |
SwContentNode * | GoNext (SwNodeIndex *) const |
SwContentNode * | GoNextSection (SwNodeIndex *, bool bSkipHidden=true, bool bSkipProtect=true) const |
Go to next content-node that is not protected or hidden (Both set FALSE ==> GoNext/GoPrevious!!!). More... | |
SwTextNode * | MakeTextNode (const SwNodeIndex &rWhere, SwTextFormatColl *pColl, bool bNewFrames=true) |
Implementations of "Make...Node" are in the given .cxx-files. More... | |
SwStartNode * | MakeTextSection (const SwNodeIndex &rWhere, SwStartNodeType eSttNdTyp, SwTextFormatColl *pColl) |
SwOLENode * | MakeOLENode (const SwNodeIndex &rWhere, const svt::EmbeddedObjectRef &, SwGrfFormatColl *pColl) |
in ndole.cxx More... | |
SwOLENode * | MakeOLENode (const SwNodeIndex &rWhere, const OUString &rName, sal_Int64 nAspect, SwGrfFormatColl *pColl, SwAttrSet const *pAutoAttr) |
in ndole.cxx More... | |
const SwOutlineNodes & | GetOutLineNds () const |
Array of all OutlineNodes. More... | |
void | UpdateOutlineNode (SwNode &rNd) |
Update all Nodes - Rule/Format-Change. More... | |
SwTableNode * | TextToTable (const SwNodeRange &rRange, sal_Unicode cCh, SwTableFormat *pTableFormat, SwTableLineFormat *pLineFormat, SwTableBoxFormat *pBoxFormat, SwTextFormatColl *pTextColl, SwUndoTextToTable *pUndo) |
Create balanced table from selected range. More... | |
std::unique_ptr< SwNodeRange > | ExpandRangeForTableBox (const SwNodeRange &rRange) |
SwTableNode * | TextToTable (const TableRanges_t &rTableNodes, SwTableFormat *pTableFormat, SwTableLineFormat *pLineFormat, SwTableBoxFormat *pBoxFormat) |
create a table from a vector of NodeRanges - API support More... | |
bool | TableToText (const SwNodeRange &rRange, sal_Unicode cCh, SwUndoTableToText *) |
Create regular text from what was table. More... | |
SwTableNode * | UndoTableToText (sal_uLong nStt, sal_uLong nEnd, const SwTableToTextSaves &rSavedData) |
Is in untbl.cxx and may called only by Undo-object. More... | |
bool | InsBoxen (SwTableNode *, SwTableLine *, SwTableBoxFormat *, SwTextFormatColl *, const SfxItemSet *pAutoAttr, sal_uInt16 nInsPos, sal_uInt16 nCnt=1) |
Insert a new box in the line before InsPos. More... | |
SwTableNode * | SplitTable (const SwNodeIndex &rPos, bool bAfter=true, bool bCalcNewSize=false) |
Splits a table at the base-line which contains the index. More... | |
bool | MergeTable (const SwNodeIndex &rPos, bool bWithPrev=true, sal_uInt16 nMode=0) |
Two Tables that are following one another are merged. More... | |
SwSectionNode * | InsertTextSection (SwNodeIndex const &rNdIdx, SwSectionFormat &rSectionFormat, SwSectionData const &, SwTOXBase const *const pTOXBase, SwNodeIndex const *const pEnd, bool const bInsAtStart=true, bool const bCreateFrames=true) |
Insert a new SwSection. More... | |
SwDoc & | GetDoc () |
Which Doc contains the nodes-array? More... | |
const SwDoc & | GetDoc () const |
SwNode * | FindPrvNxtFrameNode (SwNodeIndex &rFrameIdx, const SwNode *pEnd) const |
Search previous / next content node or table node with frames. More... | |
SwNode * | DocumentSectionStartNode (SwNode *pNode) const |
SwNode * | DocumentSectionEndNode (SwNode *pNode) const |
void | dumpAsXml (xmlTextWriterPtr pWriter) const |
Dumps the entire nodes structure to the given destination (file nodes.xml in the current directory by default) More... | |
Static Public Member Functions | |
static sal_uInt16 | GetSectionLevel (const SwNodeIndex &rIndex) |
get section level at the given position More... | |
static void | GoStartOfSection (SwNodeIndex *) |
static void | GoEndOfSection (SwNodeIndex *) |
static SwContentNode * | GoPrevious (SwNodeIndex *) |
static SwContentNode * | GoPrevSection (SwNodeIndex *, bool bSkipHidden=true, bool bSkipProtect=true) |
static SwStartNode * | MakeEmptySection (const SwNodeIndex &rIdx, SwStartNodeType=SwNormalStartNode) |
Create an empty section of Start- and EndNote. More... | |
static SwGrfNode * | MakeGrfNode (const SwNodeIndex &rWhere, const OUString &rGrfName, const OUString &rFltName, const Graphic *pGraphic, SwGrfFormatColl *pColl, SwAttrSet const *pAutoAttr=nullptr) |
in ndgrf.cxx More... | |
static SwGrfNode * | MakeGrfNode (const SwNodeIndex &rWhere, const GraphicObject &rGrfObj, SwGrfFormatColl *pColl) |
in ndgrf.cxx More... | |
static SwTableNode * | InsertTable (const SwNodeIndex &rNdIdx, sal_uInt16 nBoxes, SwTextFormatColl *pContentTextColl, sal_uInt16 nLines, sal_uInt16 nRepeat, SwTextFormatColl *pHeadlineTextColl, const SwAttrSet *pAttrSet) |
Insert nodes for tables. More... | |
Private Member Functions | |
void | RemoveNode (sal_uLong nDelPos, sal_uLong nLen, bool bDel) |
void | InsertNode (const SwNodePtr pNode, const SwNodeIndex &rPos) |
void | InsertNode (const SwNodePtr pNode, sal_uLong nPos) |
void | DelNodes (const SwNodeIndex &rStart, sal_uLong nCnt=1) |
Delete a number of nodes. More... | |
void | ChgNode (SwNodeIndex const &rDelPos, sal_uLong nSize, SwNodeIndex &rInsPos, bool bNewFrames) |
void | UpdateOutlineIdx (const SwNode &) |
Update all OutlineNodes starting from Node. More... | |
void | CopyNodes (const SwNodeRange &, const SwNodeIndex &, bool bNewFrames, bool bTableInsDummyNode=false) const |
void | DelDummyNodes (const SwNodeRange &rRg) |
SwNodes (SwNodes const &)=delete | |
SwNodes & | operator= (SwNodes const &)=delete |
SwNodes (SwDoc &rDoc) | |
Constructor. More... | |
![]() | |
BigPtrArray () | |
~BigPtrArray () | |
sal_uLong | Count () const |
void | Insert (BigPtrEntry *p, sal_uLong pos) |
void | Remove (sal_uLong pos, sal_uLong n=1) |
void | Move (sal_uLong from, sal_uLong to) |
void | Replace (sal_uLong pos, BigPtrEntry *p) |
BigPtrEntry * | operator[] (sal_uLong) const |
sal_uInt16 | Index2Block (sal_uLong) const |
block search More... | |
BlockInfo * | InsBlock (sal_uInt16) |
insert block More... | |
void | BlockDel (sal_uInt16) |
some blocks were deleted More... | |
void | UpdIndex (sal_uInt16) |
recalculate indices More... | |
sal_uInt16 | Compress () |
Compress the array. More... | |
Static Private Member Functions | |
static void | SectionUpDown (const SwNodeIndex &aStart, const SwNodeIndex &aEnd) |
correct indices after movement More... | |
Private Attributes | |
SwNodeIndex * | m_vIndices |
ring of all indices on nodes. More... | |
SwDoc & | m_rMyDoc |
This Doc contains the nodes-array. More... | |
SwNode * | m_pEndOfPostIts |
SwNode * | m_pEndOfInserts |
These are the fixed ranges. More... | |
SwNode * | m_pEndOfAutotext |
SwNode * | m_pEndOfRedlines |
std::unique_ptr< SwNode > | m_pEndOfContent |
std::unique_ptr< SwOutlineNodes > | m_pOutlineNodes |
Array of all outline nodes. More... | |
bool | m_bInNodesDel: 1 |
In Case of recursive calling. More... | |
bool | m_bInDelUpdOutline: 1 |
Flag for updating of Outline. More... | |
![]() | |
std::unique_ptr< BlockInfo *[]> | m_ppInf |
block info More... | |
sal_uLong | m_nSize |
number of elements More... | |
sal_uInt16 | m_nMaxBlock |
current max. number of blocks More... | |
sal_uInt16 | m_nBlock |
number of blocks More... | |
sal_uInt16 | m_nCur |
last used block More... | |
Friends | |
class | SwDoc |
class | SwNode |
class | SwNodeIndex |
class | SwStartNode |
class | ::sw::DocumentContentOperationsManager |
typedef std::vector<SwNodeRange> SwNodes::NodeRanges_t |
typedef std::vector<NodeRanges_t> SwNodes::TableRanges_t |
|
privatedelete |
|
private |
Constructor.
creates the base sections (PostIts, Inserts, AutoText, RedLines, Content)
rDocument | TODO: provide documentation |
Definition at line 59 of file nodes.cxx.
References m_bInDelUpdOutline, m_bInNodesDel, m_pEndOfAutotext, m_pEndOfContent, m_pEndOfInserts, m_pEndOfPostIts, m_pEndOfRedlines, m_pOutlineNodes, SwNode::m_pStartOfSection, nPos, and SwStartNode.
SwNodes::~SwNodes | ( | ) |
Destructor.
Deletes all nodes whose pointer are in a dynamic array. This should be no problem as nodes cannot be created outside this array and, thus, cannot be part of multiple arrays.
Definition at line 92 of file nodes.cxx.
References SwNodeIndex::GetNode(), m_pEndOfContent, and m_pOutlineNodes.
|
private |
Definition at line 113 of file nodes.cxx.
References SwTextNode::AddToList(), SwTextMeta::ChgTextNode(), SwContentNode::ChkCondColl(), SwpHints::Count(), Dde, SwDDEFieldType::DecRefCnt(), SwDoc::FindNumRulePtr(), FindPrvNxtFrameNode(), SwpHints::Get(), SwTextAttr::GetAttr(), SwNode::GetContentNode(), IDocumentLayoutAccess::GetCurrentViewShell(), GetDoc(), SwDoc::GetDocShell(), GetEndOfRedlines(), SwFormatField::GetField(), SwTextAttr::GetFormatField(), SwDoc::getIDocumentFieldsAccess(), SwDoc::getIDocumentLayoutAccess(), SwDoc::GetIDocumentUndoRedo(), SwNodeIndex::GetIndex(), SwNode::GetIndex(), SwNumRule::GetName(), SwNodeIndex::GetNode(), SwNodeIndex::GetNodes(), SwDoc::GetNodes(), SwTextNode::GetNumRule(), SwTextNode::GetpSwpHints(), SwTextNode::GetTextColl(), SwNode::GetTextNode(), SwField::GetTyp(), sw::HasNumberingWhichNeedsLayoutUpdate(), i, SwDDEFieldType::IncRefCnt(), IDocumentFieldsAccess::InsDelFieldInFieldLst(), INSERTED, InsertNode(), SwContentNode::InvalidateNumRule(), SwNode::IsContentNode(), SwFormatField::IsFieldInDoc(), SwNode::IsNoTextNode(), SwTextNode::IsOutline(), SwNode::IsSectionNode(), SwNode::IsTableNode(), SwNode::IsTextNode(), IDocumentUndoRedo::IsUndoNodes(), m_pOutlineNodes, SwContentNode::MakeFramesForAdjacentContentNode(), SwDoc::MakeNumRule(), BigPtrArray::Move(), n, Postit, REMOVED, SwTextNode::RemoveFromList(), RemoveNode(), RES_CONDTXTFMTCOLL(), RES_TXTATR_ANNOTATION(), RES_TXTATR_FIELD(), RES_TXTATR_FTN(), RES_TXTATR_INPUTFIELD(), RES_TXTATR_META(), RES_TXTATR_METAFIELD(), RES_TXTATR_REFMARK(), RES_TXTATR_TOXMARK(), IDocumentFieldsAccess::SetFieldsDirty(), SwNumRule::SetInvalidRule(), SwNode::StartOfSectionNode(), static_txtattr_cast(), SwFormat::Which(), SwTextAttr::Which(), and SwFieldType::Which().
Referenced by MoveNodes().
|
inline |
Definition at line 176 of file ndarr.hxx.
Referenced by SwDoc::CopyPageDescHeaderFooterImpl(), SwTableNode::MakeCopy(), SwSectionNode::MakeCopy(), SwDoc::SortText(), SwDoc::SplitDoc(), SwDoc::Summary(), and SwUndoDelete::UndoImpl().
|
private |
Definition at line 1660 of file nodes.cxx.
References SwNodeRange::aEnd, assert(), SwNodeRange::aStart, End, SwNode::EndOfSectionIndex(), SwNode::EndOfSectionNode(), SwNode::GetDoc(), GetDoc(), GetEndOfContent(), GetEndOfInserts(), SwDoc::GetIDocumentUndoRedo(), SwNodeIndex::GetIndex(), SwNode::GetIndex(), SwNodeIndex::GetNode(), SwNodeIndex::GetNodes(), SwNode::GetNodes(), SwDoc::GetNodes(), SwNode::GetNodeType(), SwSectionNode::GetSection(), GetStartNode(), SwNode::GetStartNode(), SwStartNode::GetStartNodeType(), Grf, SwNode::IsEndNode(), SwSection::IsHidden(), SwNode::IsSectionNode(), IDocumentUndoRedo::IsUndoNodes(), SwNode::m_pStartOfSection, SwTableNode::MakeOwnFrames(), SwSectionNode::MakeOwnFrames(), Ole, PlaceHolder, Section, SectionDown(), Start, SwNode::StartOfSectionIndex(), SwNode::StartOfSectionNode(), SwStartNode, Table, and Text.
Referenced by sw::DocumentContentOperationsManager::CopyWithFlyInFly().
|
inline |
Definition at line 142 of file ndarr.hxx.
References BigPtrArray::Count().
Referenced by SwContentNode::CanJoinNext(), sw::CheckParaRedlineMerge(), Delete(), sw::DocumentContentOperationsManager::DeleteRangeImplImpl(), sw::DocumentContentOperationsManager::DelFullPara(), dumpAsXml(), SwXMLImport::endDocument(), ExpandRangeForTableBox(), SwUndoFormatAttr::GetFormat(), SwXFlatParagraphIterator::getNextPara(), SwXFlatParagraphIterator::getParaAfter(), SwTable::GetTableBox(), GoNext(), GoNextSection(), GoNextWithFrame(), GotoNextRegion(), GotoNextTable(), GotoPrevRegion(), GotoPrevTable(), SwDoc::HasInvisibleContent(), SwChartDataProvider::Impl_createDataSource(), sw::DocumentStatisticsManager::IncrementalDocStatCalculate(), InsertTextSection(), SwTransferable::isComplex(), lcl_CellText(), lcl_GotoNextPrevNum(), SwDocUpdateField::MakeFieldList(), SwDocUpdateField::MakeFieldList_(), MakePoint(), SwFltStackEntry::MakeRegion(), SwXMLImport::MergeListsAtDocumentInsertPosition(), SwDoc::RemoveInvisibleContent(), SwCursor::RestoreSavePos(), SectionDown(), SectionUp(), SwDoc::Summary(), SwAutoFormat::SwAutoFormat(), SwUndoDelete::SwUndoDelete(), SwWW8Writer::WriteStorageImpl(), SwASCWriter::WriteStream(), SwHTMLWriter::WriteStream(), and SwDoc::~SwDoc().
|
private |
Definition at line 1873 of file nodes.cxx.
References SwNodeRange::aEnd, SwNodeRange::aStart, SwNodeIndex::GetIndex(), SwNodeIndex::GetNode(), SwNode::GetNodeType(), PlaceHolder, and RemoveNode().
Referenced by sw::DocumentContentOperationsManager::CopyWithFlyInFly().
void SwNodes::Delete | ( | const SwNodeIndex & | rIndex, |
sal_uLong | nNodes = 1 |
||
) |
delete nodes
This is a specific implementation of a delete function for a variable array. It is necessary as there might be inconsistencies after deleting start or end nodes. This method can clean those up.
rIndex | position to delete at (unchanged afterwards) |
nNodes | number of nodes to delete (default: 1) |
Definition at line 1078 of file nodes.cxx.
References SwNodeRange::aEnd, SwNodeRange::aStart, CheckNodesRange(), Count(), SwTableNode::DelFrames(), DelNodes(), SwNode::GetEndNode(), SwNodeIndex::GetIndex(), SwNodeIndex::GetNode(), GetStartNode(), SwNode::GetStartNode(), SwNode::GetTableNode(), SwNode::GetTextNode(), sw::HasNumberingWhichNeedsLayoutUpdate(), SwContentNode::InvalidateNumRule(), SwNode::IsContentNode(), SwNode::IsEndNode(), SwTextNode::IsOutline(), SwNode::IsTableNode(), SwNode::IsTextNode(), m_bInDelUpdOutline, m_bInNodesDel, m_pOutlineNodes, SwNode::m_pStartOfSection, RemoveNode(), SwNode::StartOfSectionIndex(), and UpdateOutlineIdx().
Referenced by SwUndoTableCpyTable::AddBoxAfter(), SwDoc::AppendDoc(), SwDoc::ClearDoc(), SwTable::ConvertSubtableBox(), SwFEShell::Copy(), SwTextFootnote::CopyFootnote(), sw::DocumentContentOperationsManager::DeleteRangeImplImpl(), sw::DocumentContentOperationsManager::DelFullPara(), SwXMLImport::endDocument(), GetMergeSel(), SwTextNode::JoinNext(), SwTextNode::JoinPrev(), lcl_CpyBox(), SwDoc::MakeFlyAndMove(), MoveCell(), SwUndoSaveContent::MoveFromUndoNds(), SwTable::OldSplitRow(), SwUndoDelete::RedoImpl(), SwUndoUpdateIndex::RedoImpl(), SwUndoTableCpyTable::RedoImpl(), SwDoc::SplitDoc(), SwDoc::Summary(), sw_JoinText(), SwUndoSplitNode::UndoImpl(), SwUndoInsSection::UndoImpl(), SwUndoInsTable::UndoImpl(), SwUndoDelete::UndoImpl(), SwUndoUpdateIndex::UndoImpl(), SwUndoTableMerge::UndoImpl(), SwUndoInserts::UndoImpl(), SwUndoTableCpyTable::UndoImpl(), SwUndoSplitTable::UndoImpl(), SwTOXBaseSection::Update(), SwUndoInsert::~SwUndoInsert(), SwUndoInserts::~SwUndoInserts(), and SwUndoSaveSection::~SwUndoSaveSection().
|
private |
Delete a number of nodes.
rStart | starting position in this nodes array |
nCnt | number of nodes to delete |
Definition at line 1332 of file nodes.cxx.
References GetEndOfContent(), SwNodeIndex::GetIndex(), SwNodeIndex::GetNode(), SwNode::GetTextNode(), SwNode::IsContentNode(), SwTextNode::IsOutline(), SwNode::IsTextNode(), m_pEndOfAutotext, m_pEndOfContent, m_pEndOfInserts, m_pEndOfPostIts, m_pEndOfRedlines, m_pOutlineNodes, n, RemoveNode(), SwNode::StartOfSectionIndex(), and UpdateOutlineIdx().
Referenced by Delete(), sw::DocumentContentOperationsManager::DeleteSection(), MergeTable(), MoveNodes(), SectionDown(), SectionUp(), and SwDoc::~SwDoc().
Definition at line 2324 of file nodes.cxx.
References DocumentSectionStartNode(), and SwNode::EndOfSectionNode().
Referenced by SwUndoCompDoc::UndoImpl().
Definition at line 2306 of file nodes.cxx.
References SwNode::StartOfSectionNode().
Referenced by DocumentSectionEndNode().
void SwNodes::dumpAsXml | ( | xmlTextWriterPtr | pWriter | ) | const |
std::unique_ptr< SwNodeRange > SwNodes::ExpandRangeForTableBox | ( | const SwNodeRange & | rRange | ) |
Definition at line 1284 of file ndtbl.cxx.
References SwNodeRange::aEnd, aIndex, SwNodeRange::aStart, Count(), SwNode::EndOfSectionNode(), SwNodeIndex::GetNode(), SwNode::IsEndNode(), SwNode::IsStartNode(), and SwNode::StartOfSectionNode().
SwNode * SwNodes::FindPrvNxtFrameNode | ( | SwNodeIndex & | rFrameIdx, |
const SwNode * | pEnd | ||
) | const |
Search previous / next content node or table node with frames.
find the next/previous ContentNode or a table node with frames
If no end is given begin with the FrameIndex, else start search with that before rFrameIdx and pEnd at the back. If no valid node is found, return 0. rFrameIdx points to the node with frames.
If no pEnd is given, search is started with FrameIndex; otherwise search is started with the one before rFrameIdx and after pEnd.
rFrameIdx | node with frames to search in |
pEnd | ??? |
Definition at line 2035 of file nodes.cxx.
References SwSection::CalcHiddenFlag(), CheckNodesRange(), SwNode::EndOfSectionIndex(), SwNode::FindSectionNode(), SwNode::FindTableBoxStartNode(), SwNode::FindTableNode(), GetDoc(), SwNodeIndex::GetIndex(), SwNode::GetIndex(), SwNodeIndex::GetNode(), SwSectionNode::GetSection(), GoNextSection(), GoPrevSection(), SwNode::IsEndNode(), SwSection::IsHiddenFlag(), SwNode::IsSectionNode(), SwNode::IsTableNode(), and SwNode::StartOfSectionNode().
Referenced by ChgNode(), InsertTextSection(), lcl_CheckHiddenSection(), MakeFrames(), SwTableNode::MakeOwnFrames(), MakeTextNode(), and TableToText().
|
inline |
Definition at line 143 of file ndarr.hxx.
References BigPtrArray::Count().
Referenced by ForEach(), HighestLevel(), SwDoc::Hyphenate(), SwDoc::ResetAttrs(), SwDoc::RstTextAttrs(), SwDoc::SetTextFormatColl(), and SwDoc::SpellItAgainSam().
void SwNodes::ForEach | ( | sal_uLong | nStt, |
sal_uLong | nEnd, | ||
FnForEach_SwNodes | fnForEach, | ||
void * | pArgs | ||
) |
Definition at line 2158 of file nodes.cxx.
References BigPtrArray::Index2Block(), BigPtrArray::m_nSize, BigPtrArray::m_ppInf, BlockInfo::mvData, BlockInfo::nElem, BlockInfo::nStart, and p.
void SwNodes::ForEach | ( | const SwNodeIndex & | rStart, |
const SwNodeIndex & | rEnd, | ||
FnForEach_SwNodes | fnForEach, | ||
void * | pArgs | ||
) |
Definition at line 2189 of file nodes.cxx.
References ForEach(), and SwNodeIndex::GetIndex().
|
inline |
Which Doc contains the nodes-array?
Definition at line 302 of file ndarr.hxx.
Referenced by ChgNode(), CopyNodes(), FindPrvNxtFrameNode(), InsBoxen(), InsertTextSection(), SwContentNode::IsAnyCondition(), SwServerObject::IsLinkInServer(), SwTextNode::JoinNext(), SwTextNode::JoinPrev(), SwSectionNode::MakeCopy(), SwSectionNode::MakeFramesForAdjacentContentNode(), SwTextFootnote::MakeNewTextSection(), MakeOLENode(), SwSectionNode::MakeOwnFrames(), MakeTextNode(), MergeTable(), MoveNodes(), MoveRange(), SwNode2LayImpl::RestoreUpperFrames(), SetGetExpField::SetBodyPos(), TableToText(), TextToTable(), UndoTableToText(), UpdateOutlineIdx(), UpdateOutlineNode(), and SwEditWin::UpdatePointer().
|
inline |
Section for all Flys/Header/Footers.
Definition at line 156 of file ndarr.hxx.
Referenced by SwLayHelper::CalcPageCount(), SwTable::CanConvertSubtables(), CheckNodesRange(), SwHTMLParser::ConnectImageMaps(), sw::DocumentLayoutManager::CopyLayoutFormat(), sw::DocumentChartDataProviderManager::CreateChartInternalDataProviders(), SwUndoMove::DelFootnote(), SwChartHelper::DoUpdateAllCharts(), SwCursorShell::ExtendedSelectAll(), SwCursorShell::ExtendedSelectedAll(), SwNode::FindPageDesc(), SwEditShell::HasOtherCnt(), sw::DocumentContentOperationsManager::InsertEmbObject(), sw::DocumentContentOperationsManager::InsertGraphic(), sw::DocumentContentOperationsManager::InsertGraphicObject(), SwTextNode::InsertHint(), sw::DocumentContentOperationsManager::InsertOLE(), lcl_InsertDrawLabel(), lcl_InsertLabel(), SwChartLockController_Helper::LockUnlockAllCharts(), sw::DocumentLayoutManager::MakeLayoutFormat(), SwXTextTable::setName(), SwUndoMove::SwUndoMove(), SwTOXBaseSection::UpdateContent(), and SwViewShell::~SwViewShell().
|
inline |
Regular ContentSection (i.e. the BodyText).
Definition at line 163 of file ndarr.hxx.
Referenced by SwXDrawPage::add(), SwDoc::AppendDoc(), SwXFrame::attachToRange(), SwLayHelper::CalcPageCount(), SwChapterField::ChangeExpansion(), CheckNodesRange(), SwAutoCorrDoc::ChgAutoCorrWord(), SwCursorShell::ClearUpCursors(), SwLayoutCache::CompareLayout(), SwHHCWrapper::Convert(), SwFEShell::Copy(), sw::DocumentContentOperationsManager::CopyFlyInFlyImpl(), SwTransferable::CopyGlossary(), CopyNodes(), SwEditShell::CopySelToDoc(), SwWW8ImplReader::CoreLoad(), SwXText::CreateCursor(), SwXBodyText::createEnumeration(), SwXBodyText::createTextCursorByRange(), SwEditShell::DeleteGlobalDocContent(), DelNodes(), DocxExportFilter::exportDocument(), MSWordExportBase::ExportDocument(), SwCursorShell::ExtendedSelectAll(), SwCursorShell::ExtendedSelectedAll(), SwCursor::FillFindPos(), SwViewShell::FillPrtDoc(), SwTextFrame::FillSelection(), RtfExportFilter::filter(), SwCursor::FindAll(), sw::FindTextImpl(), SwCursorShell::FindValidContentNode(), sw::GetAllValidRanges(), GetFirstTextNode(), SwEditShell::GetGlobalDocContent(), SwXText::GetStartNode(), GoEndDoc(), GoEndSection(), GoStartDoc(), GoStartSection(), SwRangeRedline::HasValidRange(), SwRootFrame::Init(), SwEditShell::InsertGlobalDocContent(), SwDoc::InsertGlossary(), XMLRedlineImportHelper::InsertIntoDocument(), InsertTextSection(), SwUndoFlyBase::InsFly(), SwTransferable::isComplex(), lcl_CopySelToDoc(), lcl_EnsureValidPam(), lcl_SetOutlineContentEntriesSensitivities(), WW8Glossary::Load(), SwDOCXReader::MakeEntries(), WW8Glossary::MakeEntries(), SwCursorShell::MakeOutlineSel(), SwEditShell::MoveGlobalDocContent(), SwDoc::MoveOutlinePara(), SwDoc::MoveParagraph(), SwDoc::MoveParagraphImpl(), MoveRange(), SwHTMLWriter::Out_SwDoc(), MSWordExportBase::OutputTextNode(), SwFEShell::Paste(), SwTransferable::PrepareForCopyTextRange(), SwUndoInserts::RepeatImpl(), sw::DocumentContentOperationsManager::ReplaceRange(), ResolveFlyAnchor(), SwEditShell::SaveGlossaryDoc(), SwCursorShell::SelectNxtPrvHyperlink(), sw::DocumentLinksAdministrationManager::SelectServerObj(), SwXFrame::setPropertyValue(), SwUndo::SetSaveData(), SwDoc::SplitDoc(), SwDoc::Summary(), SwCursorShell::SwCursorShell(), SwLayHelper::SwLayHelper(), SwListImpl::SwListImpl(), SwUndoDelete::SwUndoDelete(), SwUndoTextToTable::SwUndoTextToTable(), TestImportDOC(), TestImportHTML(), SwDoc::TextToTable(), SwWrtShell::ToggleOutlineContentVisibility(), SwUndoAttr::UndoImpl(), SwUndoInsert::UndoImpl(), SwUndoTextToTable::UndoImpl(), SwUndoInsertLabel::UndoImpl(), SwUndoInserts::UndoImpl(), SwTOXBaseSection::Update(), sw::DocumentFieldsManager::UpdateExpFieldsImpl(), SwFootnoteIdxs::UpdateFootnote(), SwLayoutCache::Write(), SwWriter::Write(), RtfExport::WriteMainText(), DocxExport::WriteMainText(), WW8Export::WriteMainText(), SwASCWriter::WriteStream(), and MSWordExportBase::WriteText().
|
inline |
This is the last EndNode of a special section.
After it there is only the regular ContentSection (i.e. the BodyText).
Definition at line 161 of file ndarr.hxx.
Referenced by SwDoc::AppendDoc(), SwLayHelper::CalcPageCount(), SwDoc::Chainable(), SwRefPageGetField::ChangeExpansion(), SwFindNearestNode::CheckNode(), SwAutoCorrDoc::ChgAutoCorrWord(), SwFEShell::Copy(), SwTextFlyCnt::CopyFlyFormat(), SwWW8ImplReader::End_Footnote(), RtfExport::ExportDocument_Impl(), SwCursor::FindAll(), SwNode::FindPageDesc(), SwCursorShell::FindValidContentNode(), SwDocUpdateField::GetBodyNode(), SwEditShell::GetGlobalDocContent(), SwSectionFormat::GetGlobalDocSection(), SwCursorShell::GetOutlinePos(), SwCursorShell::GotoNxtPrvTOXMark(), SwDoc::InsertGlossary(), SwOLENode::IsInGlobalDocSection(), SwCursor::IsNoContent(), SwCursor::IsSelOvr(), lcl_FindChapterNode(), lcl_FindField(), lcl_IsOutlineMoveAndCopyable(), SwDocUpdateField::MakeFieldList_(), SwDoc::MergeDoc(), SwUndoSaveContent::MoveFromUndoNds(), SwDoc::MoveOutlinePara(), SwUndoSaveContent::MoveToUndoNds(), SwFEShell::Paste(), SwFEShell::PastePages(), SwWW8ImplReader::Read_Footnote(), SwUndoRedline::RedoImpl(), SwEditShell::SaveGlossaryDoc(), SetHTMLTemplate(), SwDoc::SplitDoc(), sw::DocumentContentOperationsManager::SplitNode(), SwCursorShell::StartsWithTable(), SwDoc::Summary(), SwUndoRedline::SwUndoRedline(), SwWrtShell::ToggleOutlineContentVisibility(), SwUndoRedline::UndoImpl(), SwRefPageGetFieldType::UpdateField(), SwFootnoteIdxs::UpdateFootnote(), sw::DocumentFieldsManager::UpdateTableFields(), SwASCWriter::WriteStream(), SwUndoInsert::~SwUndoInsert(), and SwUndoInserts::~SwUndoInserts().
|
inline |
Section for all footnotes.
Definition at line 154 of file ndarr.hxx.
Referenced by SwLayHelper::CalcPageCount(), CheckNodesRange(), CopyNodes(), SwWW8ImplReader::CoreLoad(), SwEditShell::HasOtherCnt(), SwTableNode::MakeCopy(), and SwTextFootnote::MakeNewTextSection().
|
inline |
A still empty section.
Definition at line 152 of file ndarr.hxx.
Referenced by CheckNodesRange(), SwCursorShell::ExtendedSelectAll(), SwCursor::FindAll(), SwCursorShell::FindValidContentNode(), SwDocUpdateField::GetBodyNode(), SwRefPageGetFieldType::MakeSetList(), SwUndoSaveContent::MoveFromUndoNds(), SwUndoSaveContent::MoveToUndoNds(), SwUndo::RemoveIdxFromRange(), and SwUndo::RemoveIdxFromSection().
|
inline |
Section for all Redlines.
Definition at line 158 of file ndarr.hxx.
Referenced by CheckNodesRange(), ChgNode(), SwRangeRedline::CopyToSection(), XMLRedlineImportHelper::CreateRedlineTextSection(), SwTextNode::InsertHint(), sw::DocumentRedlineManager::IsInRedlines(), MoveNodes(), and SwRangeRedline::MoveToSection().
|
inline |
Array of all OutlineNodes.
Definition at line 231 of file ndarr.hxx.
Referenced by SwModule::ApplyItemSet(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwContentTree::ExecCommand(), SwView::ExecViewOptions(), SwNode::FindOutlineNodeOfLevel(), SwXLinkNameAccessWrapper::getByName(), SwCursorShell::GetContentAtPos(), SwXLinkNameAccessWrapper::getElementNames(), sw::DocumentOutlineNodesManager::getOutlineLevel(), sw::DocumentOutlineNodesManager::getOutlineNode(), sw::DocumentOutlineNodesManager::getOutlineNodes(), sw::DocumentOutlineNodesManager::getOutlineNodesCount(), SwCursorShell::GetOutlinePos(), sw::DocumentOutlineNodesManager::getOutlineText(), SwCursorShell::GotoNextOutline(), SwCursorShell::GotoOutline(), SwDoc::GotoOutline(), SwCursorShell::GotoPrevOutline(), SwXLinkNameAccessWrapper::hasByName(), SwContentNode::IsAnyCondition(), SwWrtShell::IsOutlineContentVisible(), sw::DocumentOutlineNodesManager::isOutlineInLayout(), SwEditShell::IsProtectedOutlinePara(), SwEditWin::KeyInput(), lcl_IsOutlineMoveAndCopyable(), lcl_SetOutlineContentEntriesSensitivities(), SwCursorShell::MakeOutlineSel(), SwEditWin::MouseButtonDown(), SwEditWin::MouseMove(), SwContentTree::MoveOutline(), SwDoc::MoveOutlinePara(), SwDoc::OutlineUpDown(), sw::DocumentLinksAdministrationManager::SelectServerObj(), SwOutlineContentVisibilityWin::Set(), SwFrameControlsManager::SetOutlineContentVisibilityButton(), SwFrameControlsManager::SetOutlineContentVisibilityButtons(), SwDoc::SplitDoc(), SwDoc::Summary(), SwWrtShell::ToggleOutlineContentVisibility(), SwFootnoteIdxs::UpdateAllFootnote(), SwFootnoteIdxs::UpdateFootnote(), SwTOXBaseSection::UpdateOutline(), and SwEditWin::UpdatePointer().
|
static |
get section level at the given position
rIdx | position of the node |
Definition at line 1261 of file nodes.cxx.
References SwNodeIndex::GetNode(), and SwNode::GetSectionLevel().
Referenced by GoEndSection(), GoStartSection(), and HighestLevel().
|
static |
Definition at line 1287 of file nodes.cxx.
References SwNode::EndOfSectionNode(), SwNodeIndex::GetNode(), and SwNode::IsEndNode().
Referenced by GoEndSection().
SwContentNode * SwNodes::GoNext | ( | SwNodeIndex * | pIdx | ) | const |
Definition at line 1293 of file nodes.cxx.
References Count(), SwNodeIndex::GetIndex(), and SwNodeIndex::GetNode().
Referenced by SwStartNode::CheckSectionCondColl(), SwAutoCorrDoc::ChgAutoCorrWord(), SwCursorShell::ClearUpCursors(), SwDrawContact::ConnectToLayout(), SwTextFlyCnt::CopyFlyFormat(), SwTransferable::CopyGlossary(), SwXBodyText::CreateTextCursor(), SwXRedlineText::createTextCursor(), SwXRedline::createTextCursor(), SwXHeadFootText::createTextCursor(), SwXTextFrame::createTextCursor(), DelBookmarks(), SwChartDataSequence::DeleteBox(), SwFEShell::DeleteRow(), SwDoc::DeleteRow(), SwTextFootnote::DelFrames(), sw::DocumentContentOperationsManager::DelFullPara(), SwCursorShell::ExtendedSelectAll(), SwCursorShell::ExtendedSelectedAll(), SwCursor::FillFindPos(), SwViewShell::FillPrtDoc(), SwGetRefFieldType::FindAnchor(), SwNode::FindPageDesc(), sw::GetAllValidRanges(), SwDocUpdateField::GetBodyNode(), GetContentNode(), GetFirstTextNode(), SwFormatFootnote::GetFootnoteText(), SwTable::GetInfo(), SetGetExpField::GetNodeFromContent(), SwDoc::GetTableAutoFormat(), GoNextNds(), GoStartDoc(), SwEditShell::GotoGlobalDocContent(), SwCursorShell::GotoNextTOXBase(), SwCursorShell::GotoNxtPrvTableFormula(), SwCursorShell::GotoPrevTOXBase(), SwXTextCursor::gotoStart(), SwDoc::InsertGlossary(), SwDoc::InsertTable(), InsTableBox(), SwFEShell::IsAdjustCellWidthAllowed(), SwCursor::IsInProtectTable(), SwNode::IsInVisibleArea(), SwCursor::IsSelOvr(), lcl_CheckHiddenPara(), lcl_CpyBox(), lcl_FindNextCell(), lcl_GetBoxFrame(), lcl_MakeSelBkwrd(), lcl_MakeSelFwrd(), lcl_SetOutlineContentEntriesSensitivities(), lcl_TCFlags(), WW8Glossary::Load(), SwFlyFrameFormat::MakeFrames(), MoveCell(), Writer::NewUnoCursor(), MSWordExportBase::OutputTextNode(), SwFEShell::Paste(), SwUndoTableToText::RedoImpl(), SwUndoTableNumFormat::RedoImpl(), SwDoc::RemoveInvisibleContent(), SwUndoTableMerge::SaveCollection(), SwEditShell::SaveGlossaryDoc(), SwCursorShell::SetCursorInHdFt(), SetGetExpField::SetGetExpField(), SetHTMLTemplate(), SwTableNode::SetNewTable(), SwTOXBaseSection::SetPosAtStartEnd(), SwDoc::SplitTable(), SwCursorShell::StartsWithTable(), sw_BoxSetSplitBoxFormats(), SwTOXBaseSection::SwClientNotify(), SwFlyLayFrame::SwClientNotify(), SwCursorShell::SwCursorShell(), TableToText(), SwDoc::TextToTable(), SwUndoMergeTable::UndoImpl(), SwTOXBaseSection::Update(), SwTOXBaseSection::UpdateContent(), SwTOXBaseSection::UpdateTable(), and sw::DocumentFieldsManager::UpdateTableFields().
SwContentNode * SwNodes::GoNextSection | ( | SwNodeIndex * | pIdx, |
bool | bSkipHidden = true , |
||
bool | bSkipProtect = true |
||
) | const |
Go to next content-node that is not protected or hidden (Both set FALSE ==> GoNext/GoPrevious!!!).
go to next section that is not protected nor hidden
pIdx | |
bSkipHidden | |
bSkipProtect |
Definition at line 1916 of file nodes.cxx.
References ContentMask, Count(), SwNode::EndOfSectionNode(), SwNode::FindSectionNode(), SwNodeIndex::GetNode(), SwNode::GetNodeType(), SwSectionNode::GetSection(), SwSection::IsHiddenFlag(), SwSection::IsProtectFlag(), SwNode::IsSectionNode(), SwNode::m_pStartOfSection, and Section.
Referenced by ChkChartSel(), SwSectionFormat::DelFrames(), SwSectionNode::DelFrames(), SwShellTableCursor::FillRects(), FindPrvNxtFrameNode(), SwCursorShell::FindValidContentNode(), SwCursorShell::GetContentAtPos(), GetNode(), SwCursor::GoPrevNextCell(), GotoCurrRegionAndSkip(), SwCursor::GotoFootnoteText(), GotoNextRegion(), GotoPrevRegion(), SwCursorShell::GotoRedline_(), SwXTextCursor::gotoStart(), SwRootFrame::Init(), SwShellTableCursor::IsInside(), SwUnoCursor::IsSelOvr(), SwCursor::IsSelOvr(), lcl_CheckEmptyLayFrame(), lcl_IsInSameTableBox(), SwCursor::LeftRight(), SwTableCursor::MakeBoxSels(), SwSectionNode::MakeFramesForAdjacentContentNode(), sw::DocumentRedlineManager::SelNextRedline(), sw::DocumentRedlineManager::SelPrevRedline(), sw::UpdateFramesForAddDeleteRedline(), and sw::UpdateFramesForRemoveDeleteRedline().
|
static |
Definition at line 1310 of file nodes.cxx.
References SwNodeIndex::GetIndex(), and SwNodeIndex::GetNode().
Referenced by sw::DocumentRedlineManager::AppendRedline(), SwCursorShell::ClearUpCursors(), DelBookmarks(), SwCursorShell::ExtendedSelectAll(), SwCursorShell::ExtendedSelectedAll(), SwCursor::FillFindPos(), SwNode::FindPageDesc(), GetContentNode(), GoPreviousNds(), SwFEShell::HasBoxSelection(), IsAtEndOfSection(), SwCursorShell::IsEndOfDoc(), SwNode::IsInVisibleArea(), lcl_CpyBox(), lcl_FindPrevCell(), lcl_MakeSelBkwrd(), lcl_MakeSelFwrd(), SwDoc::MoveParagraphImpl(), MoveRange(), Writer::NewUnoCursor(), SwReader::Read(), SwUndoTableToText::RedoImpl(), SwDoc::RemoveInvisibleContent(), SwHTMLParser::SetAttr_(), SwHTMLParser::SplitAttrTab(), SwHTMLParser::StripTrailingPara(), and SwTOXBaseSection::Update().
|
static |
Definition at line 1968 of file nodes.cxx.
References ContentMask, End, SwNode::FindSectionNode(), SwNodeIndex::GetNode(), SwNode::GetNodeType(), SwSectionNode::GetSection(), SwSection::IsHiddenFlag(), SwSection::IsProtectFlag(), SwNode::IsSectionNode(), SwNode::m_pStartOfSection, and SwNode::StartOfSectionNode().
Referenced by SwSectionNode::DelFrames(), FindPrvNxtFrameNode(), SwCursorShell::FindValidContentNode(), GetNode(), GotoCurrRegionAndSkip(), GotoNextRegion(), GotoPrevRegion(), SwCursorShell::GotoRedline_(), SwUnoCursor::IsSelOvr(), SwCursor::IsSelOvr(), lcl_CheckEmptyLayFrame(), lcl_IsInSameTableBox(), SwTableCursor::MakeBoxSels(), SwSectionNode::MakeFramesForAdjacentContentNode(), MakeTextNode(), sw::DocumentRedlineManager::SelNextRedline(), and sw::DocumentRedlineManager::SelPrevRedline().
|
static |
Definition at line 1269 of file nodes.cxx.
References SwNode::EndOfSectionIndex(), SwNodeIndex::GetNode(), and SwNode::StartOfSectionNode().
Referenced by GoStartSection().
bool SwNodes::InsBoxen | ( | SwTableNode * | pTableNd, |
SwTableLine * | pLine, | ||
SwTableBoxFormat * | pBoxFormat, | ||
SwTextFormatColl * | pTextColl, | ||
const SfxItemSet * | pAutoAttr, | ||
sal_uInt16 | nInsPos, | ||
sal_uInt16 | nCnt = 1 |
||
) |
Insert a new box in the line before InsPos.
Insert a new Box before the InsPos.
Its format is taken from the following one (or from the previous one if we are at the end). In the line there must be a box already.
pTextColl | Formats for TextNode of box. |
Definition at line 230 of file ndtbl.cxx.
References SwTextNode::ChgFormatColl(), SwTableLines::empty(), SwNode::EndOfSectionIndex(), SwNode::EndOfSectionNode(), SwTableLine::FindNextBox(), SwTableLine::FindPreviousBox(), SwDoc::GetDfltTextFormatColl(), GetDoc(), SwTableBox::GetSttNd(), SwTableLine::GetTabBoxes(), SwTableNode::GetTable(), SwTable::GetTabLines(), SwTableLine::GetUpper(), SwTableBox::GetUpper(), SwTextFormatColl::IsAssignedToListLevelOfOutlineStyle(), SwNode::m_pStartOfSection, n, RES_CONDTXTFMTCOLL(), Start, SwStartNode::SwEndNode, SwNodeIndex, SwStartNode, SwTableBoxStartNode, and SwFormat::Which().
Referenced by WW8TabDesc::InsertCells(), InsTableBox(), lcl_BalanceTable(), and lcl_InsTableBox().
|
private |
Definition at line 2291 of file nodes.cxx.
References SwNodeIndex::GetIndex(), and BigPtrArray::Insert().
Referenced by ChgNode(), MoveNodes(), SwNode::SwNode(), and SwStartNode::SwStartNode().
Definition at line 2298 of file nodes.cxx.
References BigPtrArray::Insert().
|
static |
Insert nodes for tables.
If Lines is given, create the matrix from lines and boxes, else only the count of boxes.
New parameter pAttrSet: If pAttrSet is non-null and contains an adjust item it is propagated to the table cells. If there is an adjust in pContentTextColl or pHeadlineTextColl this adjust item overrides the item in pAttrSet.
Definition at line 563 of file ndtbl.cxx.
References SfxItemSet::GetItemState(), SwContentNode::GetSwAttrSet(), SwNode::m_pStartOfSection, RES_CHRATR_CJK_FONT(), RES_CHRATR_CJK_FONTSIZE(), RES_CHRATR_CTL_FONT(), RES_CHRATR_CTL_FONTSIZE(), RES_CHRATR_FONT(), RES_CHRATR_FONTSIZE(), RES_PARATR_ADJUST(), Start, SwStartNode::SwEndNode, SwStartNode, and SwTableBoxStartNode.
Referenced by SwDoc::InsertTable().
SwSectionNode * SwNodes::InsertTextSection | ( | SwNodeIndex const & | rNdIdx, |
SwSectionFormat & | rSectionFormat, | ||
SwSectionData const & | rSectionData, | ||
SwTOXBase const *const | pTOXBase, | ||
SwNodeIndex const *const | pEnd, | ||
bool const | bInsAtStart = true , |
||
bool const | bCreateFrames = true |
||
) |
Insert a new SwSection.
Definition at line 784 of file ndsect.cxx.
References SfxItemSet::ClearItem(), Count(), SwNode::EndOfSectionIndex(), SwNode::EndOfSectionNode(), FindPrvNxtFrameNode(), fnMoveBackward, IDocumentLayoutAccess::GetCurrentViewShell(), GetDoc(), GetEndOfContent(), SwSection::GetFormat(), SwDoc::getIDocumentLayoutAccess(), SwDoc::getIDocumentRedlineAccess(), SwNodeIndex::GetIndex(), SwNode::GetIndex(), SfxItemSet::GetItemState(), SwPaM::GetMark(), SwNodeIndex::GetNode(), SwNode::GetNodes(), SwContentNode::GetpSwAttrSet(), IDocumentRedlineAccess::GetRedlineTable(), SwSectionNode::GetSection(), SwTextNode::GetTextColl(), SwNode::GetTextNode(), SwPaM::HasMark(), SwContentNode::HasSwAttrSet(), SwNode::IsContentNode(), SwSection::IsHidden(), SwNode::IsSectionNode(), SwNode::IsStartNode(), SwNode::IsTableNode(), lcl_IsTOXSection(), SwNode::m_pStartOfSection, SwContentNode::MakeFramesForAdjacentContentNode(), SwSectionNode::MakeOwnFrames(), SwPaM::Move(), n, nIndex, SwPosition::nNode, RES_BREAK(), RES_PAGEDESC(), SwTextNode::ResetAttr(), SwNode2LayoutSaveUpperFrames::RestoreUpperFrames(), SwTextNode::SetAttr(), SwSection::SetSectionData(), SwRedlineTable::size(), SwNode::StartOfSectionNode(), and sw_DeleteFootnote().
Referenced by SwDoc::InsertSwSection(), SwDoc::InsertTableOf(), SwDoc::SplitDoc(), SwUndoDelSection::UndoImpl(), and SwTOXBaseSection::Update().
bool SwNodes::IsDocNodes | ( | ) | const |
Is the NodesArray the regular one of Doc? (and not the UndoNds, ...) Implementation in doc.hxx (because one needs to know Doc for it) !
Definition at line 2329 of file nodes.cxx.
References SwDoc::GetNodes(), and m_rMyDoc.
Referenced by SwDoc::ChangeDBFields(), SwTextNode::ChgTextCollUpdateNum(), SwHTMLWriter::CollectLinkTargets(), MSWordExportBase::CollectOutlineBookmarks(), SwDoc::ConvertFieldsToText(), SwFmDrawPage::CreateShape(), SwpHints::DeleteAtPos(), SwTextNode::DestroyAttr(), SwDoc::FindFlyByName(), SwTableFormula::FindTable(), SwDoc::GetAllUsedDB(), SwXTextSection::getAnchor(), SwDoc::GetFlyCount(), SwDoc::GetFlyNum(), SwXTextField::getPropertyValue(), SwAuthorityFieldType::GetSequencePos(), SwDoc::GetTOIKeys(), SwCursorShell::GotoNxtPrvTableFormula(), SwCursorShell::GotoNxtPrvTOXMark(), SwCursorShell::GotoRefMark(), SwCursor::GotoRegion(), SwPaM::HasReadonlySel(), IMPL_LINK(), SwViewShell::IsAnyFieldInDoc(), SwTextField::IsFieldInDoc(), SwDocUpdateField::MakeFieldList_(), SwSectionNode::MakeFramesForAdjacentContentNode(), SwTextNode::MakeNewTextNode(), SwSectionNode::MakeOwnFrames(), MoveNodes(), MoveRange(), SwDDETable::NoDDETable(), SwSectionNode::NodesArrChgd(), SwTextField::NotifyContentChange(), SwTextNode::RemoveFromListRLHidden(), SwCursorShell::SelectNxtPrvHyperlink(), SwDoc::SetAllUniqueFlyNames(), SwDoc::SetFlyName(), SwDDETable::SwClientNotify(), SwFormatField::SwClientNotify(), SwDDETable::SwDDETable(), SwTextNode::TriggerNodeUpdate(), SwpHints::TryInsertHint(), SwDoc::UnProtectTables(), SwTOXBaseSection::Update(), UpdateOutlineIdx(), SwTOXBaseSection::UpdateTable(), sw::DocumentFieldsManager::UpdateTableFields(), and SwDDETable::~SwDDETable().
|
static |
Create an empty section of Start- and EndNote.
It may be called only if a new section with content is to be created, e.g. at filters/Undo/...
Definition at line 1885 of file nodes.cxx.
References Start, and SwStartNode.
Referenced by sw::DocumentLayoutManager::CopyLayoutFormat(), SwDoc::CopyMasterFooter(), SwDoc::CopyMasterHeader(), SwDoc::CopyPageDescHeaderFooterImpl(), SwRangeRedline::CopyToSection(), SwRangeRedline::MoveToSection(), and SwUndoSaveSection::RestoreSection().
|
static |
in ndgrf.cxx
Definition at line 405 of file ndgrf.cxx.
Referenced by sw::DocumentContentOperationsManager::InsertGraphic(), sw::DocumentContentOperationsManager::InsertGraphicObject(), and SwGrfNode::MakeCopy().
|
static |
SwOLENode * SwNodes::MakeOLENode | ( | const SwNodeIndex & | rWhere, |
const svt::EmbeddedObjectRef & | xObj, | ||
SwGrfFormatColl * | pColl | ||
) |
in ndole.cxx
! needed to supply Math objects with a valid reference device
Definition at line 379 of file ndole.cxx.
References GetDoc(), SwDoc::GetDocShell(), SfxObjectShell::GetModel(), svt::EmbeddedObjectRef::GetObject(), SwOLEObj::GetObject(), and SwOLENode::GetOLEObj().
Referenced by sw::DocumentContentOperationsManager::InsertEmbObject(), sw::DocumentContentOperationsManager::InsertOLE(), and SwOLENode::MakeCopy().
SwOLENode * SwNodes::MakeOLENode | ( | const SwNodeIndex & | rWhere, |
const OUString & | rName, | ||
sal_Int64 | nAspect, | ||
SwGrfFormatColl * | pColl, | ||
SwAttrSet const * | pAutoAttr | ||
) |
in ndole.cxx
! needed to supply Math objects with a valid reference device
Definition at line 401 of file ndole.cxx.
References GetDoc(), SwDoc::GetDocShell(), SfxObjectShell::GetModel(), svt::EmbeddedObjectRef::GetObject(), SwOLEObj::GetObject(), and SwOLENode::GetOLEObj().
SwTextNode * SwNodes::MakeTextNode | ( | const SwNodeIndex & | rWhere, |
SwTextFormatColl * | pColl, | ||
bool | bNewFrames = true |
||
) |
Implementations of "Make...Node" are in the given .cxx-files.
in ndtxt.cxx
Definition at line 104 of file ndtxt.cxx.
References End, FindPrvNxtFrameNode(), SwNode::FindSectionNode(), SwNode::FindTableNode(), GetDoc(), SwNodeIndex::GetIndex(), SwNodeIndex::GetNode(), SwNode::GetNodeType(), SwSectionNode::GetSection(), SwNode::GetSectionNode(), GoPrevSection(), Grf, SwSection::IsHiddenFlag(), SwNode::IsSectionNode(), SwNode::IsTableNode(), Ole, Section, SwNode::StartOfSectionNode(), Table, and Text.
Referenced by SwUndoTableCpyTable::AddBoxBefore(), sw::DocumentContentOperationsManager::AppendTextNode(), SwDoc::ClearDoc(), SwTable::ConvertSubtableBox(), SwFEShell::Copy(), sw::DocumentContentOperationsManager::CopyImplImpl(), SwDoc::DeleteRowCol(), wwSectionManager::InsertSegments(), SwDoc::InsertTableOf(), lcl_CpyBox(), lcl_InsertLabel(), SwTextNode::MakeCopy(), SwDOCXReader::MakeEntries(), WW8Glossary::MakeEntries(), SwDoc::MakeFlyAndMove(), SwDoc::MakeFlySection(), MakeTextSection(), MoveCell(), MoveRange(), SwUndoDelete::RedoImpl(), SwUndoUpdateIndex::RedoImpl(), SwUndoTableCpyTable::RedoImpl(), sw::DocumentContentOperationsManager::SplitNode(), SwDoc::SplitTable(), SwUndoDelete::UndoImpl(), SwUndoUpdateIndex::UndoImpl(), SwUndoTableMerge::UndoImpl(), SwUndoTableCpyTable::UndoImpl(), and SwTOXBaseSection::Update().
SwStartNode * SwNodes::MakeTextSection | ( | const SwNodeIndex & | rWhere, |
SwStartNodeType | eSttNdTyp, | ||
SwTextFormatColl * | pColl | ||
) |
Definition at line 1893 of file nodes.cxx.
References MakeTextNode(), Start, SwNodeIndex, and SwStartNode.
Referenced by SwRangeRedline::CopyToSection(), SwWW8ImplReader::CoreLoad(), XMLRedlineImportHelper::CreateRedlineTextSection(), SwXMLTableContext::InsertTableSection(), SwHTMLParser::InsertTableSection(), lcl_InsertDrawLabel(), lcl_InsertLabel(), sw::DocumentLayoutManager::MakeLayoutFormat(), SwTextFootnote::MakeNewTextSection(), SwRangeRedline::MoveToSection(), and SwUndoTableMerge::UndoImpl().
bool SwNodes::MergeTable | ( | const SwNodeIndex & | rPos, |
bool | bWithPrev = true , |
||
sal_uInt16 | nMode = 0 |
||
) |
Two Tables that are following one another are merged.
Definition at line 3523 of file ndtbl.cxx.
References SwTableLines::begin(), o3tl::sorted_vector< Value, Compare, Find, class >::clear(), SwTableLines::clear(), IDocumentChartDataProviderAccess::CreateChartInternalDataProviders(), FndBox_::DelFrames(), SwTableNode::DelFrames(), DelNodes(), SwTableLines::end(), SwNode::EndOfSectionIndex(), SwNode::EndOfSectionNode(), SwNode::FindTableNode(), GetDoc(), SwTable::GetFrameFormat(), SwFormat::GetFrameSize(), SwDoc::getIDocumentChartDataProviderAccess(), SwNodeIndex::GetIndex(), SwFormat::GetName(), SwNodeIndex::GetNode(), SwTable::GetRowsToRepeat(), SwNode::GetStartNode(), SwTableNode::GetTable(), SwTable::GetTableChgMode(), SwNode::GetTableNode(), SwTable::GetTabLines(), SwTable::GetTabSortBoxes(), o3tl::sorted_vector< Value, Compare, Find, class >::insert(), SwTableLines::insert(), SwNode::IsStartNode(), SwModify::LockModify(), SwNode::m_pStartOfSection, FndBox_::MakeFrames(), SwGCLineBorder::nLinePos, SwFormat::SetFormatAttr(), SwFrameFormat::SetName(), SwTable::SetRowsToRepeat(), SwTable::SetTableChgMode(), FndBox_::SetTableLines(), SwTableLines::size(), sw_GC_Line_Border(), sw_LineSetHeadCondColl(), and SwModify::UnlockModify().
Referenced by SwDoc::MergeTable(), and SwUndoSplitTable::UndoImpl().
bool SwNodes::MoveNodes | ( | const SwNodeRange & | aRange, |
SwNodes & | rNodes, | ||
const SwNodeIndex & | aIndex, | ||
bool | bNewFrames = true |
||
) |
move the node pointer
Move the node pointer from "(inclusive) start position to (exclusive) end position" to target position. If the target is in front of the first or in the area between first and last element to move, nothing happens. If the area to move is empty or the end position is before the start position, nothing happens.
aRange | range to move (excluding end node) |
rNodes | |
aIndex | |
bNewFrames |
Definition at line 400 of file nodes.cxx.
References SwNodeRange::aEnd, assert(), SwNodeRange::aStart, SvtBroadcaster::Broadcast(), ChgNode(), SwDDEFieldType::DecRefCnt(), SwTableNode::DelFrames(), SwSectionNode::DelFrames(), DelNodes(), End, SwNode::GetContentNode(), GetDoc(), GetEndNode(), SwNode::GetEndNode(), GetEndOfRedlines(), SwTable::GetFrameFormat(), SwNodeIndex::GetIndex(), SwNode::GetIndex(), SwNodeIndex::GetNode(), SwNode::GetNodeType(), sw::BroadcasterMixin::GetNotifier(), SwNode::GetSectionNode(), GetStartNode(), SwTableNode::GetTable(), SwNode::GetTextNode(), Grf, SwDDEFieldType::IncRefCnt(), InsertNode(), SwNode::IsContentNode(), IsDocNodes(), SwNode::IsEndNode(), SwTextNode::IsOutline(), SwNode::IsSectionNode(), SwNode::IsStartNode(), SwNode::IsTableNode(), SwNode::IsTextNode(), SwStartNode::m_pEndOfSection, m_pOutlineNodes, SwNode::m_pStartOfSection, SwTableNode::MakeOwnFrames(), SwSectionNode::MakeOwnFrames(), BigPtrArray::Move(), n, Ole, PlaceHolder, RemoveNode(), Section, Start, SwNode::StartOfSectionIndex(), SwNode::StartOfSectionNode(), SwNormalStartNode, SwStartNode, Table, Text, and UpdateOutlineIdx().
Referenced by SwTable::ConvertSubtableBox(), SwUndoSaveContent::MoveFromUndoNds(), sw::DocumentContentOperationsManager::MoveNodeRange(), MoveRange(), SwUndoSaveContent::MoveToUndoNds(), SwTable::OldSplitRow(), SwDoc::SplitDoc(), SwUndoDelete::SwUndoDelete(), SwUndoDelete::UndoImpl(), and SwUndoTableNdsChg::UndoImpl().
void SwNodes::MoveRange | ( | SwPaM & | rPam, |
SwPosition & | rPos, | ||
SwNodes & | rNodes | ||
) |
move a range
rPam | the range to move |
rPos | to destination position in the given nodes array |
rNodes | the node array to move the range into |
Definition at line 1432 of file nodes.cxx.
References SwNodeRange::aEnd, SwIndex::Assign(), SwTextNode::CopyCollFormat(), SwTextNode::CutText(), SwPaM::DeleteMark(), SwPaM::End(), SwNode::GetContentNode(), SwNode::GetDoc(), GetDoc(), SwDoc::GetDocShell(), GetEndOfContent(), SwDoc::getIDocumentContentOperations(), SwDoc::GetIDocumentUndoRedo(), SwIndex::GetIndex(), SwNodeIndex::GetIndex(), SwNode::GetIndex(), SwNodeIndex::GetNode(), SwTextNode::GetText(), SwTextNode::GetTextColl(), SwNode::GetTextNode(), GoPrevious(), SwPaM::HasMark(), INSERTED, SwNode::IsContentNode(), IsDocNodes(), SwNode::IsTextNode(), SwTextNode::Len(), MakeTextNode(), MoveNodes(), SwPosition::nContent, SwPosition::nNode, REMOVED, SwTextNode::SplitContentNode(), IDocumentContentOperations::SplitNode(), and SwPaM::Start().
Referenced by SwUndoSaveContent::MoveFromUndoNds(), sw::DocumentContentOperationsManager::MoveRange(), and SwUndoSaveContent::MoveToUndoNds().
Definition at line 736 of file node.hxx.
References BigPtrArray::operator[]().
Definition at line 2195 of file nodes.cxx.
References assert(), SwTextNode::DeleteAttribute(), SwNode::GetIndex(), BigPtrEntry::GetPos(), SwTextNode::GetpSwpHints(), sw::Ring< value_type >::GetRingContainer(), SwNode::GetTableNode(), SwNode::GetTextNode(), i, m_vIndices, nPos, BigPtrArray::operator[](), BigPtrArray::Remove(), SwTextNode::RemoveFromList(), SwTableNode::RemoveRedlines(), BigPtrArray::Replace(), and RES_TXTATR_FLYCNT().
Referenced by ChgNode(), DelDummyNodes(), Delete(), DelNodes(), MoveNodes(), and SectionUp().
void SwNodes::SectionDown | ( | SwNodeRange * | pRange, |
SwStartNodeType | eSttNdTyp = SwNormalStartNode |
||
) |
create a start/end section pair
Other nodes might be in between.
After this method call, the start node of pRange will be pointing to the first node after the start section node and the end node will be the index of the end section node. If this method is called multiple times with the same input, multiple sections containing the previous ones will be created (no content nodes between start or end node).
[IN,OUT] | pRange the range (excl. end) |
eSttNdTyp | type of the start node |
Definition at line 905 of file nodes.cxx.
References SwNodeRange::aEnd, SwNodeRange::aStart, CheckNodesRange(), Count(), DelNodes(), SwNode::GetEndNode(), SwNodeIndex::GetNode(), SwNode::GetStartNode(), SectionUpDown(), Start, SwNode::StartOfSectionNode(), and SwStartNode.
Referenced by CopyNodes(), SwTableNode::MakeCopy(), SwDoc::MakeFlySection_(), and MoveCell().
void SwNodes::SectionUp | ( | SwNodeRange * | pRange | ) |
increase level of the given range
The range contained in pRange will be lifted to the next higher level. This is done by adding an end node at pRange.start and a start node at pRange.end. Furthermore all indices for this range will be updated.
After this method call, the start node of pRange will be pointing to the first node inside the lifted range and the end node will be pointing to the last position inside the lifted range.
[IN,OUT] | pRange the range of nodes where the level should be increased |
Definition at line 959 of file nodes.cxx.
References SwNodeRange::aEnd, SwNodeRange::aStart, CheckNodesRange(), Count(), DelNodes(), SwNode::EndOfSectionIndex(), SwNode::EndOfSectionNode(), SwNode::GetEndNode(), SwNodeIndex::GetIndex(), SwNodeIndex::GetNode(), SwNode::GetStartNode(), HighestLevel(), SwNode::IsEndNode(), SwNode::IsStartNode(), SwNode::m_pStartOfSection, RemoveNode(), SectionUpDown(), SwNode::StartOfSectionNode(), and SwStartNode.
Referenced by sw::DocumentContentOperationsManager::DeleteRangeImplImpl(), TableToText(), and SwSectionFormat::~SwSectionFormat().
|
staticprivate |
correct indices after movement
Update all indices after movement so that the levels are consistent again.
aStart | index of the start node |
aEnd | index of the end point |
Definition at line 1030 of file nodes.cxx.
References SwNode::GetEndNode(), SwNodeIndex::GetNode(), SwNode::GetStartNode(), SwStartNode::m_pEndOfSection, and SwNode::m_pStartOfSection.
Referenced by SectionDown(), and SectionUp().
SwTableNode * SwNodes::SplitTable | ( | const SwNodeIndex & | rPos, |
bool | bAfter = true , |
||
bool | bCalcNewSize = false |
||
) |
Splits a table at the base-line which contains the index.
All base lines behind it are moved to a new table/ -node. Is the flag bCalcNewSize set to TRUE, the new SSize for both tables is calculated from the Maximum of the boxes, provided SSize is set "absolute" (LONG_MAX). (Momentarily this is needed only for the RTF-parser.)
Definition at line 3344 of file ndtbl.cxx.
References assert(), SwTableLines::begin(), SwTable::CleanUpBottomRowSpan(), SwChartDataProvider::DeleteBox(), SwTableLines::end(), SwNode::EndOfSectionIndex(), SwNode::EndOfSectionNode(), SwTableLines::erase(), SwNode::FindTableBoxStartNode(), SwNode::FindTableNode(), IDocumentChartDataProviderAccess::GetChartDataProvider(), SwDoc::GetDfltFrameFormat(), SwFormat::GetDoc(), SwNode::GetEndNode(), SwTable::GetFrameFormat(), SwFormat::getIDocumentChartDataProviderAccess(), SwNode::GetIndex(), SwNodeIndex::GetNode(), SwTableLines::GetPos(), SwNode::GetStartNode(), SwTableBox::GetSttNd(), SwTableLine::GetTabBoxes(), SwTableNode::GetTable(), SwTable::GetTableBox(), SwTable::GetTableStyleName(), SwTable::GetTabLines(), SwTableBox::GetTabLines(), SwDoc::GetUniqueTableName(), SwTableLine::GetUpper(), SwTableBox::GetUpper(), SwTableLines::insert(), SwTable::IsNewModel(), SwNode::IsStartNode(), SwNode::IsTableNode(), lcl_ChgTableSize(), lcl_SplitTable_CpyLine(), SwNode::m_pStartOfSection, SwDoc::MakeTableFrameFormat(), SwTable::RegisterToFormat(), SwTable::SetTableModel(), SwTable::SetTableStyleName(), SwTableLines::size(), SwTable::UpdateCharts(), and USHRT_MAX.
Referenced by SwDoc::SplitTable(), and SwUndoMergeTable::UndoImpl().
bool SwNodes::TableToText | ( | const SwNodeRange & | rRange, |
sal_Unicode | cCh, | ||
SwUndoTableToText * | pUndo | ||
) |
Create regular text from what was table.
Definition at line 1591 of file ndtbl.cxx.
References SwNodeRange::aEnd, SwNodeRange::aStart, SwNode::EndOfSectionNode(), FindPrvNxtFrameNode(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetContentAnchor(), SwNode::GetContentNode(), GetDoc(), SwNodeIndex::GetIndex(), SfxItemSet::GetItemState(), SwNodeIndex::GetNode(), SwSectionNode::GetSection(), SwNode::GetSectionNode(), SwDoc::GetSpzFrameFormats(), SwNode::GetTableNode(), GoNext(), SwSectionNode::IsContentHidden(), SwNode::IsContentNode(), SwSection::IsHidden(), SwNode::IsSectionNode(), SwNode::IsTableNode(), lcl_DelLine(), SwFrameFormat::MakeFrames(), SwContentNode::MakeFramesForAdjacentContentNode(), SwSectionNode::MakeOwnFrames(), SwPosition::nNode, RES_BREAK(), RES_PAGEDESC(), SwNode2LayoutSaveUpperFrames::RestoreUpperFrames(), SectionUp(), and SwContentNode::SetAttr().
Referenced by SwDoc::TableToText().
SwTableNode * SwNodes::TextToTable | ( | const SwNodeRange & | rRange, |
sal_Unicode | cCh, | ||
SwTableFormat * | pTableFormat, | ||
SwTableLineFormat * | pLineFormat, | ||
SwTableBoxFormat * | pBoxFormat, | ||
SwTextFormatColl * | pTextColl, | ||
SwUndoTextToTable * | pUndo | ||
) |
Create balanced table from selected range.
Definition at line 1000 of file ndtbl.cxx.
References SwNodeRange::aEnd, SwNodeRange::aStart, SwTableLines::begin(), sw::mark::ContentIdxStore::Create(), eMode, SwTextNode::EraseText(), IDocumentLayoutAccess::GetCurrentLayout(), SwNode::GetDoc(), GetDoc(), SwDoc::getIDocumentLayoutAccess(), SwNodeIndex::GetIndex(), SwContentNode::getLayoutFrame(), SwNodeIndex::GetNode(), SwTableLine::GetTabBoxes(), SwTableNode::GetTable(), SwTable::GetTabLines(), SwTextNode::GetText(), SwNode::GetTextNode(), SwTableLines::insert(), lcl_BalanceTable(), lcl_RemoveBreaks(), lcl_SetTableBoxWidths(), SwNode::m_pStartOfSection, SwPosition::nContent, SwPosition::nNode, nPos, SAL_MAX_INT32, SwTextNode::SplitContentNode(), Start, SwStartNode::SwEndNode, SwStartNode, SwTableBoxStartNode, and T2T_PARA.
Referenced by SwDoc::TextToTable().
SwTableNode * SwNodes::TextToTable | ( | const TableRanges_t & | rTableNodes, |
SwTableFormat * | pTableFormat, | ||
SwTableLineFormat * | pLineFormat, | ||
SwTableBoxFormat * | pBoxFormat | ||
) |
create a table from a vector of NodeRanges - API support
! ownership will be transferred in c-tor to SwNodes array. ! Thus no real problem here...
Definition at line 1371 of file ndtbl.cxx.
References SwNodeIndex::Assign(), SwTableLines::begin(), SwNode::EndOfSectionNode(), GetDoc(), SwNodeIndex::GetNode(), SwTableLine::GetTabBoxes(), SwTableNode::GetTable(), SwTable::GetTabLines(), SwTableLines::insert(), SwNode::IsContentNode(), SwNode::IsStartNode(), lcl_RemoveBreaks(), lcl_SetTableBoxWidths2(), SwNode::m_pStartOfSection, Start, SwStartNode::SwEndNode, SwStartNode, and SwTableBoxStartNode.
SwTableNode * SwNodes::UndoTableToText | ( | sal_uLong | nStt, |
sal_uLong | nEnd, | ||
const SwTableToTextSaves & | rSavedData | ||
) |
Is in untbl.cxx and may called only by Undo-object.
Definition at line 523 of file untbl.cxx.
References SwTableLines::begin(), SwTextNode::ClearSwpHintsArr(), sw::mark::ContentIdxStore::Create(), eMode, SwNode::EndOfSectionIndex(), SwTextNode::EraseText(), GetDoc(), SwNodeIndex::GetIndex(), SwNode::GetIndex(), SwNodeIndex::GetNode(), SwTextNode::GetpSwpHints(), SwTableLine::GetTabBoxes(), SwTableNode::GetTable(), SwTable::GetTabLines(), SwNode::GetTextNode(), SwContentNode::HasSwAttrSet(), i, SwTableLines::insert(), SwNode::IsStartNode(), SwTableToTextSave::m_nContent, SwTableToTextSave::m_nEndNd, SwTableToTextSave::m_nSttNd, SwTableToTextSave::m_pHstry, SwTableToTextSave::m_pMetadataUndoEnd, SwTableToTextSave::m_pMetadataUndoStart, SwNode::m_pStartOfSection, SwDoc::MakeTableBoxFormat(), SwDoc::MakeTableLineFormat(), n, SwTextNode::ResetAllAttr(), sfx2::Metadatable::RestoreMetadata(), SAL_MAX_INT32, SwTextNode::SplitContentNode(), Start, SwStartNode, and SwTableBoxStartNode.
Referenced by SwUndoTableToText::UndoImpl().
Update all OutlineNodes starting from Node.
Definition at line 75 of file ndnum.cxx.
References GetDoc(), IsDocNodes(), SwDoc::IsInDtor(), m_pOutlineNodes, nPos, and UpdateOutlineNode().
Referenced by Delete(), DelNodes(), SwDoc::DelNumRules(), and MoveNodes().
Update all Nodes - Rule/Format-Change.
Definition at line 39 of file ndnum.cxx.
References Chapter, GetDoc(), SwDoc::getIDocumentFieldsAccess(), SwNode::GetNodes(), IDocumentFieldsAccess::GetSysFieldType(), SwNode::GetTextNode(), SwTextNode::IsOutline(), SwTextNode::IsOutlineStateChanged(), m_pOutlineNodes, SwFieldType::UpdateFields(), and SwTextNode::UpdateOutlineState().
Referenced by SwTextNode::ChgTextCollUpdateNum(), SwUnoCursorHelper::SetCursorAttr(), SwTextNode::SwTextNode(), SwTextNode::TriggerNodeUpdate(), and UpdateOutlineIdx().
|
friend |
|
friend |
Definition at line 92 of file ndarr.hxx.
Referenced by InsBoxen(), and MakeTextSection().
|
friend |
Definition at line 93 of file ndarr.hxx.
Referenced by CopyNodes(), InsBoxen(), InsertTable(), MakeEmptySection(), MakeTextSection(), MoveNodes(), SectionDown(), SectionUp(), SwNodes(), TextToTable(), and UndoTableToText().
|
private |
|
private |
|
private |
Definition at line 106 of file ndarr.hxx.
Referenced by DelNodes(), and SwNodes().
|
private |
Definition at line 108 of file ndarr.hxx.
Referenced by DelNodes(), SwNodes(), and ~SwNodes().
|
private |
These are the fixed ranges.
Definition at line 106 of file ndarr.hxx.
Referenced by DelNodes(), and SwNodes().
|
private |
Definition at line 106 of file ndarr.hxx.
Referenced by DelNodes(), and SwNodes().
|
private |
Definition at line 106 of file ndarr.hxx.
Referenced by DelNodes(), and SwNodes().
|
mutableprivate |
Array of all outline nodes.
Definition at line 110 of file ndarr.hxx.
Referenced by ChgNode(), Delete(), DelNodes(), MoveNodes(), SwNodes(), UpdateOutlineIdx(), UpdateOutlineNode(), SwDoc::~SwDoc(), and ~SwNodes().
|
private |
This Doc contains the nodes-array.
Definition at line 104 of file ndarr.hxx.
Referenced by IsDocNodes().
|
private |
ring of all indices on nodes.
Definition at line 96 of file ndarr.hxx.
Referenced by SwNodeIndex::DeRegisterIndex(), SwNodeIndex::RegisterIndex(), and RemoveNode().