2024-12-15: default-disable XLDocument & XLStyles warnings about unsupported tags (#296)

This commit is contained in:
Lars Uffmann 2024-12-15 23:53:23 +01:00
parent 5dfa70a6e4
commit dfc9c03315
2 changed files with 8 additions and 3 deletions

View File

@ -350,10 +350,10 @@ namespace OpenXLSX
//----------------------------------------------------------------------------------------------------------------------
private:
bool m_suppressWarnings {false}; /**< If true, will suppress output of warnings where supported */
bool m_suppressWarnings {true}; /**< If true, will suppress output of warnings where supported */
std::string m_filePath {}; /**< The path to the original file*/
std::string m_realPath {}; /**< */
std::string m_filePath {}; /**< The path to the original file*/
std::string m_realPath {}; /**< */
XLXmlSavingDeclaration m_xmlSavingDeclaration; /**< The xml saving declaration that will be passed to pugixml before generating the XML output data*/

View File

@ -7,6 +7,11 @@ Microsoft Excel® files, with the .xlsx format.
As the heading says - the latest "Release" that is shown on https://github.com/troldal/OpenXLSX/releases is from 2021-11-06, and severely outdated - please pull / download the latest SW version directly from the repository in its current state. Link for those that do not want to use ```git```: https://github.com/troldal/OpenXLSX/archive/refs/heads/master.zip
## (aral-matrix) 15 December 2024 - Bugfix for Issues 306 and #297, default-disable XLDocument & XLStyles warnings about unsupported tags (#296)
* BUGFIX: document relationships in ```xl/_rels/workbook.xml.rels``` should again open without errors for both relative (to ```xl/``` folder) and absolute archive paths
* warnings about unsupported archive contents and styles elements are now disabled by default and can be enabled using XLDocument::showWarnings() prior to opening an XLSX file
## (aral-matrix) 09 December 2024 - Bugfix for XLDateTime (hopefully final ;)
Reviewed the XLDateTime code in response to https://github.com/troldal/OpenXLSX/issues/299 and fixed a bug that I think I may have introduced myself. Apologies, dates should now correctly construct from ```double```, ```struct tm``` and ```time_t``` and convert back to ```struct tm```.