From 8139f399fdcfd8b57f5a399ee2aa2d92baa7bf4a Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Thu, 14 Apr 2022 10:24:04 -0400 Subject: [PATCH] Read more int types --- src/exdparser.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/exdparser.cpp b/src/exdparser.cpp index 6860fa2..db91565 100644 --- a/src/exdparser.cpp +++ b/src/exdparser.cpp @@ -118,14 +118,17 @@ EXD readEXD(EXH& exh, std::string_view path, ExcelDataPagination& page) { case Int8: c.data = readData(file, offset + column.offset); c.type = "Int"; + c.uint64Data = readDataRaw(file, offset + column.offset); break; case UInt8: c.data = readData(file, offset + column.offset); c.type = "Unsigned Int"; + c.uint64Data = readDataRaw(file, offset + column.offset); break; case Int16: c.data = readData(file, offset + column.offset); c.type = "Int"; + c.uint64Data = readDataRaw(file, offset + column.offset); break; case UInt16: c.data = readData(file, offset + column.offset); @@ -134,6 +137,7 @@ EXD readEXD(EXH& exh, std::string_view path, ExcelDataPagination& page) { case Int32: c.data = readData(file, offset + column.offset); c.type = "Int"; + c.uint64Data = readDataRaw(file, offset + column.offset); break; case UInt32: c.data = readData(file, offset + column.offset);