Created attachment 66572 [details] test document Version: 2.4-snapshots (using KDE 4.7.3) OS: Linux calligrawords newpage break before table of contents. The table of contents shopuld be on Page 2, not 1. So the number of pages should be 3, not 2. Reproducible: Always Steps to Reproduce: load test document Actual Results: see "some text" and the "table of contents" is on page 1 Expected Results: "table of contents" should be on page 2 kde-4.7.4 calligra-2.3.84
Created attachment 66573 [details] top libreoffice, bottom calligrawords
Git commit b6bf55ad5f542d4ff9bb735323d1da33c8cca4b5 by C. Boemann. Committed on 10/12/2011 at 02:48. Pushed by boemann into branch 'master'. Preserve a pagebreak before table of contents BUG:288615 M +1 -0 libs/textlayout/KoTextLayoutArea.cpp M +14 -1 libs/textlayout/ToCGenerator.cpp M +1 -0 libs/textlayout/ToCGenerator.h http://commits.kde.org/calligra/b6bf55ad5f542d4ff9bb735323d1da33c8cca4b5