log.println( "inserting some lines" );
try {
XTextCursor oCursor = center.createTextCursor();
center.insertControlCharacter(
oCursor, ControlCharacter.PARAGRAPH_BREAK, false );
center.insertControlCharacter(
oCursor, ControlCharacter.LINE_BREAK, false );
center.insertString(oCursor,"Paragraph 1", false);
center.insertString(oCursor,": ScHeaderFooterTextObj", false);
center.insertControlCharacter(
oCursor, ControlCharacter.PARAGRAPH_BREAK, false );