Skip to content

Commit b87dc5e

Browse files
committed
update to v0.32 with SimpleXlsxWriter
1 parent a1807a1 commit b87dc5e

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

Samples/Simple.pro

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#
22
# Simple.pro
3-
#
3+
#
4+
# QSimpleXlsxWriter https://github.com/QtExcel/QSimpleXlsxWriter
5+
#
46

57
TARGET = Simple
68

simplexlsx-code/Readme.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ https://sourceforge.net/projects/simplexlsx/
2424
This library is distributed under the terms of the zlib license:
2525
http://www.zlib.net/zlib_license.html
2626

27+
2018-11-03 Version 0.32
28+
Change log:
29+
- Added field "count" in xml for style indexes (thanks for this work to mt1710).
30+
2731
2018-10-02 Version 0.31
2832
Change log:
2933
- Refactoring code for possibility to make mixed debug/release compilation of the library and of the main program (thanks to E.Naumovich).

simplexlsx-code/Xlsx/SimpleXlsxDef.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
#include "../UTF8Encoder.hpp"
3636

37-
#define SIMPLE_XLSX_VERSION "0.31"
37+
#define SIMPLE_XLSX_VERSION "0.32"
3838

3939
namespace SimpleXlsx
4040
{

simplexlsx-code/Xlsx/Workbook.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -872,8 +872,8 @@ namespace SimpleXlsx
872872
xmlw.TagL( "xf" ).Attr( "numFmtId", 0 ).Attr( "fontId", 0 ).Attr( "fillId", 0 ).Attr( "borderId", 0 ).EndL();
873873
xmlw.End( "cellStyleXfs" );
874874

875-
xmlw.Tag( "cellXfs" );
876875
const std::vector<std::vector<size_t> > & styleIndexes = m_styleList.GetIndexes();
876+
xmlw.Tag( "cellXfs" ).Attr( "count", styleIndexes.size() );
877877
const std::vector< std::pair<std::pair<EAlignHoriz, EAlignVert>, bool> > & styleAligns = m_styleList.GetPositions();
878878
assert( styleIndexes.size() == styleAligns.size() );
879879
for( size_t i = 0; i < styleIndexes.size(); i++ )

0 commit comments

Comments
 (0)