From 324f87bcaed9ec775c0b79627956a093ad481d36 Mon Sep 17 00:00:00 2001 From: xuri Date: Fri, 18 Sep 2020 22:20:58 +0800 Subject: add checking and limits for the worksheet --- xmlDrawing.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'xmlDrawing.go') diff --git a/xmlDrawing.go b/xmlDrawing.go index e3e496a..91b6b59 100644 --- a/xmlDrawing.go +++ b/xmlDrawing.go @@ -89,7 +89,11 @@ const ( // Excel specifications and limits const ( - FileNameLength = 207 + MaxFontFamilyLength = 31 + MaxFontSize = 409 + MaxFileNameLength = 207 + MaxColumnWidth = 255 + MaxRowHeight = 409 TotalRows = 1048576 TotalColumns = 16384 TotalSheetHyperlinks = 65529 -- cgit v1.2.1