…But I did eventually get that text fixed. Tada!
Err… Not quite sure why exactly the outline from page five is being drawn off the bottom of the screen down there. And the whole thing is still corrupted when you actually click on it. When you start editing, text is suddenly being drawn about a line lower than initially pictured; I’m probably returning a value one-off someplace. Yay

Wow! I didn’t know you were in the Summer of Code. And on Abiword, too.
Good luck!