From 2a018b616532d73ca200a7e12218878015889584 Mon Sep 17 00:00:00 2001 From: Anne Maier Date: Fri, 20 Dec 2024 10:40:40 +0100 Subject: [PATCH] use variable self.total_height --- pyramid_oereb/contrib/print_proxy/mapfish_print/toc_pages.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 305272d3e4..cf359e2d64 100644 --- a/pyramid_oereb/contrib/print_proxy/mapfish_print/toc_pages.py +++ b/pyramid_oereb/contrib/print_proxy/mapfish_print/toc_pages.py @@ -10,11 +10,11 @@ def __init__(self, extract): # 842: regular A4 page size in px # inlcude 10px buffer, taking a earlier page break of MPF # into consideration for unknown reasons - self.total_height = 842 - 10 + self.total_height = 832 self.header_height = self.compute_header() self.footer_height = self.compute_footer() self.disposable_height = ( - 842 - self.header_height - self.footer_height + self.total_height - self.header_height - self.footer_height ) # A4 size - (footer + header) self.d1_height = 77 # toc.jrxml self.d2_height = 32 # toc.jrxml