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()) {