From 43a88a177c40cdcb24659ce5bbdccad7c60d1540 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Sch=C3=A4r?= Date: Thu, 19 Dec 2024 15:26:25 +0100 Subject: [PATCH] toc calculation bugfix d6 (#2038) --- .../contrib/print_proxy/mapfish_print/toc_pages.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pyramid_oereb/contrib/print_proxy/mapfish_print/toc_pages.py b/pyramid_oereb/contrib/print_proxy/mapfish_print/toc_pages.py index 284b9748e7..0c5f39540a 100644 --- a/pyramid_oereb/contrib/print_proxy/mapfish_print/toc_pages.py +++ b/pyramid_oereb/contrib/print_proxy/mapfish_print/toc_pages.py @@ -108,6 +108,9 @@ def compute_d5(self): def compute_d6_left(self): total_size = 0 + blank_space_above_d6 = 26 + total_size += blank_space_above_d6 + # General Information (1 title, multiple items) general_information_title_height = 8 # general_info_and_disclaimer.jrxml general_information_item_line_heigth = 8 # general_info_and_disclaimer.jrxml @@ -153,6 +156,9 @@ def compute_length_of_wrapped_text(text, nb_char, line_height): def compute_d6_right(self): total_size = 0 + blank_space_above_d6 = 26 + total_size += blank_space_above_d6 + blank_space_below_disclaimers = 6 # disclaimer_and_qrcode.jrxml disclaimer_title_line_height = 8 # disclaimer_and_qrcode.jrxml disclaimer_item_line_height = 8 # disclaimer_and_qrcode.jrxml