xlsx-template
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -248,3 +248,3 @@ /*jshint globalstrict:true, devel:true */ | ||
dimensionEndRef.row += totalRowsInserted; | ||
dimensionEndRef.col = self.numToChar(self.charToNum(dimensionEndRef.col) + totalRowsInserted); | ||
dimensionEndRef.col = self.numToChar(self.charToNum(dimensionEndRef.col) + totalColumnsInserted); | ||
dimensionRange.end = self.joinRef(dimensionEndRef); | ||
@@ -251,0 +251,0 @@ |
{ | ||
"name": "xlsx-template", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "Generate .xlsx (Excel) files from templates built in Excel", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index", |
# XLSX Template | ||
[![Build status](https://api.travis-ci.org/kant2002/xlsx-template.png?branch=master)](http://travis-ci.org/kant2002/xlsx-template) | ||
[![Build status](https://api.travis-ci.org/optilude/xlsx-template.png?branch=master)](http://travis-ci.org/optilude/xlsx-template) | ||
@@ -149,2 +149,6 @@ This module provides a means of generating "real" Excel reports (i.e. not CSV | ||
### Version 0.0.7 | ||
* Fix bug with calculating <dimensions /> when adding columns | ||
### Version 0.0.6 | ||
@@ -151,0 +155,0 @@ |
@@ -302,3 +302,3 @@ /*jshint globalstrict:true, devel:true */ | ||
// Dimensions should be set | ||
buster.expect(sheet1.find("./dimension").attrib.ref).toEqual("B2:D6"); | ||
buster.expect(sheet1.find("./dimension").attrib.ref).toEqual("B2:E6"); | ||
@@ -358,3 +358,3 @@ // C4 should have moved left, and the old B4 should now be deleted | ||
// Dimensions should be updated | ||
buster.expect(sheet1.find("./dimension").attrib.ref).toEqual("B2:K17"); | ||
buster.expect(sheet1.find("./dimension").attrib.ref).toEqual("B2:H17"); | ||
@@ -361,0 +361,0 @@ // Marker above table hasn't moved |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
97199
186