public void NormalizeIndentation() {
float max = 0;
foreach (IElement o in list) {
if (o is ListItem) {
max = Math.Max(max, ((ListItem)o).IndentationLeft);
}
}
foreach (IElement o in list) {
if (o is ListItem) {
((ListItem)o).IndentationLeft = max;
}
}
}