Class TWPOutlineTextTree
Hierarchy
System.TObject | System.Classes.TPersistent | System.Classes.TComponent | TWPOutlineTextTree
Description
TWPOutlineTextTree is a utility class to create a tree of outline elements from a list of ordered elements which only have an additional level property which specifies the level of the element. TWPOutlineTextTree can be used to preprocess data which should be displayed in a treeview.
links := WPRichText1.CodeListTags( wpobjHyperlink );
try
for I := 0 to links.Count-1 do
WPOutlineTextTree1.AddOutline(links[i].EmbeddedText,links[i].ParentPar.NumberingLevel).url := links[i].Source;
end;
finally
links.Free;
end;
Properties
Methods
Used or referenced by
-Constructor TWPOutlineTextTreeLevel.Create(Tree:TWPOutlineTextTree; Previous:TWPOutlineTextTreeLevel) |