From d57a6fb87b5250ffa41aa232d7fff5dcd127f9f4 Mon Sep 17 00:00:00 2001 From: augusto Date: Wed, 30 Jul 1997 10:53:29 +0000 Subject: [PATCH] Footer su posizioni fisse (parametro Height a valori <0) git-svn-id: svn://10.65.10.50/trunk@4972 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- include/form.cpp | 9 +++++++++ include/form.h | 3 +-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/include/form.cpp b/include/form.cpp index 0f5f08cc1..2529d1f7d 100755 --- a/include/form.cpp +++ b/include/form.cpp @@ -2213,6 +2213,15 @@ HIDDEN bool font_handler(TMask_field& f, KEY key) TMask* TPrint_section::_msk = NULL; +word TPrint_section::height() const +{ + if (_height<0) + return printer().formlen()+_height; + else + return _height; +} + + TExpression & TPrint_section::eval_expr(TExpression & expr,int defaultfile_id) { for (int j=0; j