From 59d35b10fbce90092de99020fd727296b075a58d Mon Sep 17 00:00:00 2001 From: alex Date: Fri, 19 Jul 1996 15:26:59 +0000 Subject: [PATCH] Corretti MI6030 MI6033 git-svn-id: svn://10.65.10.50/trunk@3219 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- include/maskfld.h | 4 ++++ include/sheet.cpp | 1 + 2 files changed, 5 insertions(+) diff --git a/include/maskfld.h b/include/maskfld.h index 13f72df46..89a09adab 100755 --- a/include/maskfld.h +++ b/include/maskfld.h @@ -187,6 +187,10 @@ public: bool uppercase() const { return _flags.uppercase; } + // @cmember Ritorna TRUE se il campo e' zerofilled + bool zerofilled() const + { return _flags.zerofilled; } + // @cmember Verifica la allowance of the pipe bool pipe_allowed() const { return _flags.pipeallowed; } diff --git a/include/sheet.cpp b/include/sheet.cpp index bdfc3e170..a17046d74 100755 --- a/include/sheet.cpp +++ b/include/sheet.cpp @@ -1153,6 +1153,7 @@ TBrowse_sheet::TBrowse_sheet(TCursor* cursor, const char* fields, if (c.roman()) flags << 'M'; if (c.right_justified()) flags << 'R'; if (c.uppercase()) flags << 'U'; + if (c.zerofilled()) flags << 'Z'; switch (c.class_id()) {