From f8fbc6480c67b737200c687b86ebc531ecad9801 Mon Sep 17 00:00:00 2001 From: Simon Steiner Date: Tue, 24 Sep 2024 09:15:08 +0100 Subject: FOP-3208: Only restart line manager when there is a linebreak for blocklayout --- .../flow_changing-ipd_last-page_19_legacy.xml | 63 ++++++++++++++++++++++ .../flow_changing-ipd_last-page_20.xml | 59 ++++++++++++++++++++ 2 files changed, 122 insertions(+) create mode 100755 fop/test/layoutengine/standard-testcases/flow_changing-ipd_last-page_19_legacy.xml create mode 100755 fop/test/layoutengine/standard-testcases/flow_changing-ipd_last-page_20.xml (limited to 'fop/test') diff --git a/fop/test/layoutengine/standard-testcases/flow_changing-ipd_last-page_19_legacy.xml b/fop/test/layoutengine/standard-testcases/flow_changing-ipd_last-page_19_legacy.xml new file mode 100755 index 000000000..35d8a7eda --- /dev/null +++ b/fop/test/layoutengine/standard-testcases/flow_changing-ipd_last-page_19_legacy.xml @@ -0,0 +1,63 @@ + + + + + +

+ This test checks that the definition of a special page-master for the last page with a + different width that the previous "rest" page causes FOP to redo the line breaking layout. + Legacy option is enabled so wrong line break is used +

+
+ + true + + + + + + + + + + + + + + + + + + + + + + test + test2 + test3 + + + + + + + + + + +
diff --git a/fop/test/layoutengine/standard-testcases/flow_changing-ipd_last-page_20.xml b/fop/test/layoutengine/standard-testcases/flow_changing-ipd_last-page_20.xml new file mode 100755 index 000000000..d28c56da6 --- /dev/null +++ b/fop/test/layoutengine/standard-testcases/flow_changing-ipd_last-page_20.xml @@ -0,0 +1,59 @@ + + + + + +

+ This test checks that the definition of a special page-master for the last page with a + different width that the previous "rest" page causes FOP to redo the line breaking layout. +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + NOTE + + + + + + + + +
-- cgit v1.2.3