@libraz/formulon 0.16.1 → 0.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -88,7 +88,7 @@ try {
88
88
 
89
89
  The ids are `{mac,win}-365-{ja_JP,en_US,de_DE,fr_FR,zh_CN,ko_KR,th_TH,es_ES,es_MX,pt_BR,ru_RU,zh_TW,it_IT,nl_NL}`. Every `mac-*` profile and `win-365-ja_JP` is measured against Excel; the other `win-*` profiles are estimated from the Mac measurements. On a `mac-*` profile, text comparison, sorting, lookups and grouping follow that locale's measured Mac Excel collation; `win-*` profiles add the Windows word-sort rules measured on Windows Excel 365 ja-JP to that locale's collation. The profile is not saved into the file, so store the id your application targets and apply it again after loading.
90
90
 
91
- For a new workbook that matches what Excel creates in a locale, use `Workbook.createForProfile(id)` instead of `createDefault`: it selects the profile and also sets the body and phonetic fonts, the localized Normal style and first sheet names, and the page margins Excel uses there.
91
+ For a new workbook that matches what Excel creates in a locale, use `Workbook.createForProfile(id)` instead of `createDefault`: it selects the profile and also sets the body and phonetic fonts, the localized Normal style and first sheet names, and the page margins Excel uses there. Sheets added later take the first sheet's row metrics, page margins and phonetic settings.
92
92
 
93
93
  ## Choosing a build
94
94
 
package/dist/common.js CHANGED
@@ -99,6 +99,7 @@ export const ErrorCode = Object.freeze({
99
99
  Unknown: 16,
100
100
  });
101
101
  export const CalcMode = Object.freeze({ Auto: 0, Manual: 1, AutoNoTable: 2 });
102
+ export const RefMode = Object.freeze({ A1: 0, R1C1: 1 });
102
103
  export const CollationStrength = Object.freeze({ Compare: 0, Dynamic: 1, ClassicExact: 2 });
103
104
  export const SheetVisibility = Object.freeze({ Visible: 0, Hidden: 1, VeryHidden: 2 });
104
105
  export const GeometryMode = Object.freeze({ Display: 0, Print: 1 });
@@ -172,6 +173,12 @@ export const DrawingObjectKind = Object.freeze({
172
173
  });
173
174
  export const AnchorKind = Object.freeze({ OneCell: 0, TwoCell: 1, Absolute: 2 });
174
175
  export const AnchorEditAs = Object.freeze({ TwoCell: 0, OneCell: 1, Absolute: 2 });
176
+ export const ShapePaint = Object.freeze({ Unset: 0, Solid: 1, None: 2, Other: 3 });
177
+ export const SlicerSortOrder = Object.freeze({ Ascending: 0, Descending: 1 });
178
+ export const SlicerCrossFilter = Object.freeze({ ShowItemsWithDataAtTop: 0, ShowItemsWithNoData: 1, None: 2 });
179
+ export const SparklineType = Object.freeze({ Line: 0, Column: 1, Stacked: 2 });
180
+ export const SparklineAxisType = Object.freeze({ Individual: 0, Group: 1, Custom: 2 });
181
+ export const SparklineEmptyCells = Object.freeze({ Gap: 0, Zero: 1, Span: 2 });
175
182
  export const ChartPlotType = Object.freeze({
176
183
  Bar: 0,
177
184
  Bar3D: 1,