leyserplus-xlsx
Advanced tools
Comparing version 0.1.0 to 0.2.0
@@ -5,3 +5,3 @@ { | ||
"main": "dist/xlsx.js", | ||
"version": "0.8.11", | ||
"version": "0.8.20", | ||
"ignore": [ | ||
@@ -8,0 +8,0 @@ "bin", |
@@ -0,0 +0,0 @@ /* ods.js (C) 2014 SheetJS -- http://sheetjs.com */ |
@@ -0,0 +0,0 @@ /* ods.js (C) 2014 SheetJS -- http://sheetjs.com */ |
{ | ||
"name": "leyserplus-xlsx", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"author": "sheetjs", | ||
@@ -5,0 +5,0 @@ "description": "Excel (XLSB/XLSX/XLSM/XLS/XML) and ODS spreadsheet parser and writer (extended to enable read/write of cell formats with xlsx files)", |
@@ -6,2 +6,6 @@ # xlsx-style | ||
# About this fork | ||
Rio: Fork xlsx-style的原因是为了解决项目中存在jszip v3版本时候, 原有的xlsx-style的行为异常。 此版本只从自带的jszip文件中引用老版本的jszip对象。 | ||
----- | ||
**NOTE:** [This project](https://github.com/SheetJS/js-xlsx/tree/beta) is a fork of the original (and awesome) [SheetJS/xlsx](https://github.com/SheetJS/js-xlsx) project. | ||
@@ -441,2 +445,11 @@ It is extended to enable cell formats to be read from and written to .xlsx workbooks. | ||
- `ws['!pageSetup']`: `{scale: '100', orientation: 'portrait'||'landscape'} | ||
- `ws['!printHeader']`: array of first and last row indexes for repeat header on printing, e.g. `[1,1]` to repeat just first row | ||
- `ws['!freeze']`: string cell reference for breakpoint, e.g. the following will freeze the first row and first column: | ||
{ | ||
xSplit: "1", | ||
ySplit: "1", | ||
topLeftCell: "B2", | ||
activePane: "bottomRight", | ||
state: "frozen" | ||
} | ||
@@ -538,4 +551,4 @@ | ||
| Style Attribute | Sub Attributes | Values | | ||
| :-------------- | :------------- | :------------- | :----- | | ||
| fill | patternType | `"solid"` or `"none"` | | ||
| :-------------- | :------------- | :------------- | | ||
| fill | patternType | `"solid"` or `"none"` | ||
| | fgColor | `COLOR_SPEC` | ||
@@ -546,9 +559,9 @@ | | bgColor | `COLOR_SPEC` | ||
| | color | `COLOR_SPEC` | ||
| | bold | `true || false` | ||
| | underline | `true || false` | ||
| | italic | `true || false` | ||
| | strike | `true || false` | ||
| | outline | `true || false` | ||
| | shadow | `true || false` | ||
| | vertAlign | `true || false` | ||
| | bold | `true` or `false` | ||
| | underline | `true` or `false` | ||
| | italic | `true` or `false` | ||
| | strike | `true` or `false` | ||
| | outline | `true` or `false` | ||
| | shadow | `true` or `false` | ||
| | vertAlign | `true` or `false` | ||
| numFmt | | `"0"` // integer index to built in formats, see StyleBuilder.SSF property | ||
@@ -559,5 +572,5 @@ | | | `"0.00%"` // string matching a built-in format, see StyleBuilder.SSF | ||
| | | `"m/dd/yy"` // string a date format using Excel's format notation | ||
| alignment | vertical | `"bottom"||"center"||"top"` | ||
| | horizontal | `"bottom"||"center"||"top"` | ||
| | wrapText | `true || false` | ||
| alignment | vertical | `"bottom"` or `"center"` or `"top"` | ||
| | horizontal | `"bottom"` or `"center"` or `"top"` | ||
| | wrapText | `true ` or ` false` | ||
| | readingOrder | `2` // for right-to-left | ||
@@ -567,3 +580,3 @@ | | textRotation | Number from `0` to `180` or `255` (default is `0`) | ||
| | | `45` is rotated up 45 degrees | ||
| | | `135` is rotated down 45 degrees | ||
| | | `135` is rotated down 45 degrees | ||
| | | `180` is rotated down 180 degrees | ||
@@ -576,6 +589,5 @@ | | | `255` is special, aligned vertically | ||
| | diagonal | `{ style: BORDER_STYLE, color: COLOR_SPEC }` | ||
| | diagonalUp | `true||false` | ||
| | diagonalDown | `true||false` | ||
| | diagonalUp | `true` or `false` | ||
| | diagonalDown | `true` or `false` | ||
**COLOR_SPEC**: Colors for `fill`, `font`, and `border` are specified as objects, either: | ||
@@ -582,0 +594,0 @@ * `{ auto: 1}` specifying automatic values |
@@ -0,0 +0,0 @@ /* xlsx.js (C) 2013-2015 SheetJS -- http://sheetjs.com */ |
@@ -0,0 +0,0 @@ /* xlsx.js (C) 2013-2015 SheetJS -- http://sheetjs.com */ |
@@ -0,0 +0,0 @@ /* xlsx.js (C) 2013-2015 SheetJS -- http://sheetjs.com */ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
spdx disjunction for an artifact's license information
Licensespdx disjunction for an artifact's license information
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
spdx disjunction for an artifact's license information
Licensespdx disjunction for an artifact's license information
Found 1 instance in 1 package
4860377
27
50944
710
3