We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If we do substitution on template with multiple sheets and the same placeholder on each sheet, we have strange behaviour:
use ./test/templates/t1.xlsx copy first sheet and save template with 2 sheets (with same placeholders)
'use strict'; var fs = require("fs"), path = require("path"), XlsxTemplate = require('xlsx-template'); var template = new XlsxTemplate( fs.readFileSync(path.join(__dirname, 't1.xlsx'))) var data = { extractDate : "2015-01-01", revision: "0.0.1" } template.substitute(1, data); fs.writeFileSync( path.join(__dirname, 'output.xlsx'), template.generate(), 'binary');
/////////////////
placeholder "extractDate" - affected on both sheets, not only 1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If we do substitution on template with multiple sheets and the same placeholder on each sheet, we have strange behaviour:
use ./test/templates/t1.xlsx
copy first sheet and save template with 2 sheets (with same placeholders)
/////////////////
placeholder "extractDate" - affected on both sheets, not only 1
The text was updated successfully, but these errors were encountered: