ooxml-core 0.2.0 → 0.4.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/LICENSE +202 -202
- package/NOTICE +3 -3
- package/README.md +15 -14
- package/dist/docx/load/index.cjs +11 -11
- package/dist/docx/load/index.mjs +11 -11
- package/dist/index.cjs +34 -1
- package/dist/index.mjs +34 -1
- package/dist/opc/index.cjs +18 -1
- package/dist/opc/index.mjs +18 -1
- package/dist/opc/relationship-types.d.ts +17 -0
- package/dist/opc/relationship-types.d.ts.map +1 -1
- package/dist/pptx/cli/index.cjs +122 -105
- package/dist/pptx/cli/index.mjs +122 -105
- package/dist/pptx/index.cjs +144 -127
- package/dist/pptx/index.d.ts +8 -8
- package/dist/pptx/index.d.ts.map +1 -1
- package/dist/pptx/index.mjs +144 -127
- package/dist/visio/complex-geometry.d.ts +4 -0
- package/dist/visio/complex-geometry.d.ts.map +1 -0
- package/dist/visio/convert-metafile.d.ts +28 -0
- package/dist/visio/convert-metafile.d.ts.map +1 -0
- package/dist/visio/diagnostics.d.ts +8 -0
- package/dist/visio/diagnostics.d.ts.map +1 -0
- package/dist/visio/edit-package.d.ts +10 -0
- package/dist/visio/edit-package.d.ts.map +1 -0
- package/dist/visio/edit-text.d.ts +7 -0
- package/dist/visio/edit-text.d.ts.map +1 -0
- package/dist/visio/edit.d.ts +26 -0
- package/dist/visio/edit.d.ts.map +1 -0
- package/dist/visio/emf-admission-comment.d.ts +7 -0
- package/dist/visio/emf-admission-comment.d.ts.map +1 -0
- package/dist/visio/emf-admission-context.d.ts +59 -0
- package/dist/visio/emf-admission-context.d.ts.map +1 -0
- package/dist/visio/emf-admission-geometry.d.ts +3 -0
- package/dist/visio/emf-admission-geometry.d.ts.map +1 -0
- package/dist/visio/emf-admission-input.d.ts +8 -0
- package/dist/visio/emf-admission-input.d.ts.map +1 -0
- package/dist/visio/emf-admission-records.d.ts +6 -0
- package/dist/visio/emf-admission-records.d.ts.map +1 -0
- package/dist/visio/emf-admission-types.d.ts +80 -0
- package/dist/visio/emf-admission-types.d.ts.map +1 -0
- package/dist/visio/emf-admission.d.ts +9 -0
- package/dist/visio/emf-admission.d.ts.map +1 -0
- package/dist/visio/foreign-vector-graph.d.ts +4 -0
- package/dist/visio/foreign-vector-graph.d.ts.map +1 -0
- package/dist/visio/foreign-vector-path.d.ts +12 -0
- package/dist/visio/foreign-vector-path.d.ts.map +1 -0
- package/dist/visio/foreign-vector-types.d.ts +81 -0
- package/dist/visio/foreign-vector-types.d.ts.map +1 -0
- package/dist/visio/foreign-vector-validation.d.ts +4 -0
- package/dist/visio/foreign-vector-validation.d.ts.map +1 -0
- package/dist/visio/foreign-vector-values.d.ts +14 -0
- package/dist/visio/foreign-vector-values.d.ts.map +1 -0
- package/dist/visio/foreign-vector.d.ts +13 -0
- package/dist/visio/foreign-vector.d.ts.map +1 -0
- package/dist/visio/geometry.d.ts +8 -0
- package/dist/visio/geometry.d.ts.map +1 -0
- package/dist/visio/index.cjs +5522 -0
- package/dist/visio/index.d.ts +12 -0
- package/dist/visio/index.d.ts.map +1 -0
- package/dist/visio/index.mjs +5501 -0
- package/dist/visio/layers.d.ts +19 -0
- package/dist/visio/layers.d.ts.map +1 -0
- package/dist/visio/line-pattern.d.ts +5 -0
- package/dist/visio/line-pattern.d.ts.map +1 -0
- package/dist/visio/line-style.d.ts +12 -0
- package/dist/visio/line-style.d.ts.map +1 -0
- package/dist/visio/media.d.ts +36 -0
- package/dist/visio/media.d.ts.map +1 -0
- package/dist/visio/metadata.d.ts +4 -0
- package/dist/visio/metadata.d.ts.map +1 -0
- package/dist/visio/model.d.ts +203 -0
- package/dist/visio/model.d.ts.map +1 -0
- package/dist/visio/nurbs-flatten.d.ts +5 -0
- package/dist/visio/nurbs-flatten.d.ts.map +1 -0
- package/dist/visio/nurbs.d.ts +11 -0
- package/dist/visio/nurbs.d.ts.map +1 -0
- package/dist/visio/package-common.d.ts +39 -0
- package/dist/visio/package-common.d.ts.map +1 -0
- package/dist/visio/package.d.ts +30 -0
- package/dist/visio/package.d.ts.map +1 -0
- package/dist/visio/paragraphs.d.ts +10 -0
- package/dist/visio/paragraphs.d.ts.map +1 -0
- package/dist/visio/parser.d.ts +26 -0
- package/dist/visio/parser.d.ts.map +1 -0
- package/dist/visio/parts.d.ts +9 -0
- package/dist/visio/parts.d.ts.map +1 -0
- package/dist/visio/prepare-images.d.ts +7 -0
- package/dist/visio/prepare-images.d.ts.map +1 -0
- package/dist/visio/prepare-metafiles.d.ts +17 -0
- package/dist/visio/prepare-metafiles.d.ts.map +1 -0
- package/dist/visio/rounded-geometry.d.ts +17 -0
- package/dist/visio/rounded-geometry.d.ts.map +1 -0
- package/dist/visio/saved-fill-gradient.d.ts +13 -0
- package/dist/visio/saved-fill-gradient.d.ts.map +1 -0
- package/dist/visio/shape-metadata.d.ts +65 -0
- package/dist/visio/shape-metadata.d.ts.map +1 -0
- package/dist/visio/shapes.d.ts +24 -0
- package/dist/visio/shapes.d.ts.map +1 -0
- package/dist/visio/sheet.d.ts +57 -0
- package/dist/visio/sheet.d.ts.map +1 -0
- package/dist/visio/spline-geometry.d.ts +8 -0
- package/dist/visio/spline-geometry.d.ts.map +1 -0
- package/dist/visio/style-inheritance.d.ts +13 -0
- package/dist/visio/style-inheritance.d.ts.map +1 -0
- package/dist/visio/style.d.ts +11 -0
- package/dist/visio/style.d.ts.map +1 -0
- package/dist/visio/text-background.d.ts +10 -0
- package/dist/visio/text-background.d.ts.map +1 -0
- package/dist/visio/theme-color.d.ts +15 -0
- package/dist/visio/theme-color.d.ts.map +1 -0
- package/dist/visio/theme-gradient.d.ts +15 -0
- package/dist/visio/theme-gradient.d.ts.map +1 -0
- package/dist/visio/theme-line.d.ts +15 -0
- package/dist/visio/theme-line.d.ts.map +1 -0
- package/dist/visio/theme-resolve.d.ts +29 -0
- package/dist/visio/theme-resolve.d.ts.map +1 -0
- package/dist/visio/theme-root.d.ts +16 -0
- package/dist/visio/theme-root.d.ts.map +1 -0
- package/dist/visio/theme.d.ts +27 -0
- package/dist/visio/theme.d.ts.map +1 -0
- package/dist/visio/visibility.d.ts +42 -0
- package/dist/visio/visibility.d.ts.map +1 -0
- package/dist/visio/xml-validation.d.ts +5 -0
- package/dist/visio/xml-validation.d.ts.map +1 -0
- package/dist/visio/zip-validation.d.ts +4 -0
- package/dist/visio/zip-validation.d.ts.map +1 -0
- package/dist/xlsx/address.d.ts +42 -0
- package/dist/xlsx/address.d.ts.map +1 -0
- package/dist/xlsx/cell-styles.d.ts +25 -0
- package/dist/xlsx/cell-styles.d.ts.map +1 -0
- package/dist/xlsx/cells.d.ts +25 -0
- package/dist/xlsx/cells.d.ts.map +1 -0
- package/dist/xlsx/edit/annotations.d.ts +17 -0
- package/dist/xlsx/edit/annotations.d.ts.map +1 -0
- package/dist/xlsx/edit/band-formulas.d.ts +9 -0
- package/dist/xlsx/edit/band-formulas.d.ts.map +1 -0
- package/dist/xlsx/edit/borders.d.ts +8 -0
- package/dist/xlsx/edit/borders.d.ts.map +1 -0
- package/dist/xlsx/edit/calc-mode.d.ts +11 -0
- package/dist/xlsx/edit/calc-mode.d.ts.map +1 -0
- package/dist/xlsx/edit/cell-shift.d.ts +11 -0
- package/dist/xlsx/edit/cell-shift.d.ts.map +1 -0
- package/dist/xlsx/edit/cell-style.d.ts +9 -0
- package/dist/xlsx/edit/cell-style.d.ts.map +1 -0
- package/dist/xlsx/edit/cell-values.d.ts +21 -0
- package/dist/xlsx/edit/cell-values.d.ts.map +1 -0
- package/dist/xlsx/edit/charts.d.ts +22 -0
- package/dist/xlsx/edit/charts.d.ts.map +1 -0
- package/dist/xlsx/edit/clipboard-html-parse.d.ts +12 -0
- package/dist/xlsx/edit/clipboard-html-parse.d.ts.map +1 -0
- package/dist/xlsx/edit/clipboard-html.d.ts +8 -0
- package/dist/xlsx/edit/clipboard-html.d.ts.map +1 -0
- package/dist/xlsx/edit/clipboard-text.d.ts +8 -0
- package/dist/xlsx/edit/clipboard-text.d.ts.map +1 -0
- package/dist/xlsx/edit/clipboard.d.ts +16 -0
- package/dist/xlsx/edit/clipboard.d.ts.map +1 -0
- package/dist/xlsx/edit/columns.d.ts +11 -0
- package/dist/xlsx/edit/columns.d.ts.map +1 -0
- package/dist/xlsx/edit/conditional-formats.d.ts +17 -0
- package/dist/xlsx/edit/conditional-formats.d.ts.map +1 -0
- package/dist/xlsx/edit/context.d.ts +42 -0
- package/dist/xlsx/edit/context.d.ts.map +1 -0
- package/dist/xlsx/edit/deps.d.ts +4 -0
- package/dist/xlsx/edit/deps.d.ts.map +1 -0
- package/dist/xlsx/edit/dimensions.d.ts +13 -0
- package/dist/xlsx/edit/dimensions.d.ts.map +1 -0
- package/dist/xlsx/edit/drawings.d.ts +10 -0
- package/dist/xlsx/edit/drawings.d.ts.map +1 -0
- package/dist/xlsx/edit/duplicates.d.ts +17 -0
- package/dist/xlsx/edit/duplicates.d.ts.map +1 -0
- package/dist/xlsx/edit/fill-series.d.ts +16 -0
- package/dist/xlsx/edit/fill-series.d.ts.map +1 -0
- package/dist/xlsx/edit/fill.d.ts +14 -0
- package/dist/xlsx/edit/fill.d.ts.map +1 -0
- package/dist/xlsx/edit/filter.d.ts +17 -0
- package/dist/xlsx/edit/filter.d.ts.map +1 -0
- package/dist/xlsx/edit/find.d.ts +17 -0
- package/dist/xlsx/edit/find.d.ts.map +1 -0
- package/dist/xlsx/edit/format.d.ts +13 -0
- package/dist/xlsx/edit/format.d.ts.map +1 -0
- package/dist/xlsx/edit/history.d.ts +75 -0
- package/dist/xlsx/edit/history.d.ts.map +1 -0
- package/dist/xlsx/edit/index.d.ts +23 -0
- package/dist/xlsx/edit/index.d.ts.map +1 -0
- package/dist/xlsx/edit/merge.d.ts +11 -0
- package/dist/xlsx/edit/merge.d.ts.map +1 -0
- package/dist/xlsx/edit/outline.d.ts +14 -0
- package/dist/xlsx/edit/outline.d.ts.map +1 -0
- package/dist/xlsx/edit/page.d.ts +11 -0
- package/dist/xlsx/edit/page.d.ts.map +1 -0
- package/dist/xlsx/edit/protection.d.ts +26 -0
- package/dist/xlsx/edit/protection.d.ts.map +1 -0
- package/dist/xlsx/edit/range-math.d.ts +33 -0
- package/dist/xlsx/edit/range-math.d.ts.map +1 -0
- package/dist/xlsx/edit/row-autofit.d.ts +17 -0
- package/dist/xlsx/edit/row-autofit.d.ts.map +1 -0
- package/dist/xlsx/edit/session-calc.d.ts +24 -0
- package/dist/xlsx/edit/session-calc.d.ts.map +1 -0
- package/dist/xlsx/edit/session.d.ts +5 -0
- package/dist/xlsx/edit/session.d.ts.map +1 -0
- package/dist/xlsx/edit/sheets.d.ts +19 -0
- package/dist/xlsx/edit/sheets.d.ts.map +1 -0
- package/dist/xlsx/edit/shift-formulas.d.ts +14 -0
- package/dist/xlsx/edit/shift-formulas.d.ts.map +1 -0
- package/dist/xlsx/edit/shift-sheet.d.ts +15 -0
- package/dist/xlsx/edit/shift-sheet.d.ts.map +1 -0
- package/dist/xlsx/edit/sort.d.ts +17 -0
- package/dist/xlsx/edit/sort.d.ts.map +1 -0
- package/dist/xlsx/edit/structure.d.ts +10 -0
- package/dist/xlsx/edit/structure.d.ts.map +1 -0
- package/dist/xlsx/edit/table-edits.d.ts +25 -0
- package/dist/xlsx/edit/table-edits.d.ts.map +1 -0
- package/dist/xlsx/edit/table-rows.d.ts +11 -0
- package/dist/xlsx/edit/table-rows.d.ts.map +1 -0
- package/dist/xlsx/edit/tables.d.ts +11 -0
- package/dist/xlsx/edit/tables.d.ts.map +1 -0
- package/dist/xlsx/edit/test-context.d.ts +15 -0
- package/dist/xlsx/edit/test-context.d.ts.map +1 -0
- package/dist/xlsx/edit/types-clipboard.d.ts +66 -0
- package/dist/xlsx/edit/types-clipboard.d.ts.map +1 -0
- package/dist/xlsx/edit/types.d.ts +188 -0
- package/dist/xlsx/edit/types.d.ts.map +1 -0
- package/dist/xlsx/edit/validation.d.ts +21 -0
- package/dist/xlsx/edit/validation.d.ts.map +1 -0
- package/dist/xlsx/edit/view.d.ts +12 -0
- package/dist/xlsx/edit/view.d.ts.map +1 -0
- package/dist/xlsx/formula/array-context.d.ts +7 -0
- package/dist/xlsx/formula/array-context.d.ts.map +1 -0
- package/dist/xlsx/formula/ast.d.ts +108 -0
- package/dist/xlsx/formula/ast.d.ts.map +1 -0
- package/dist/xlsx/formula/call.d.ts +13 -0
- package/dist/xlsx/formula/call.d.ts.map +1 -0
- package/dist/xlsx/formula/coerce.d.ts +22 -0
- package/dist/xlsx/formula/coerce.d.ts.map +1 -0
- package/dist/xlsx/formula/context.d.ts +74 -0
- package/dist/xlsx/formula/context.d.ts.map +1 -0
- package/dist/xlsx/formula/date-serial.d.ts +26 -0
- package/dist/xlsx/formula/date-serial.d.ts.map +1 -0
- package/dist/xlsx/formula/engine-core.d.ts +19 -0
- package/dist/xlsx/formula/engine-core.d.ts.map +1 -0
- package/dist/xlsx/formula/engine-host.d.ts +51 -0
- package/dist/xlsx/formula/engine-host.d.ts.map +1 -0
- package/dist/xlsx/formula/engine-types.d.ts +31 -0
- package/dist/xlsx/formula/engine-types.d.ts.map +1 -0
- package/dist/xlsx/formula/engine-util.d.ts +10 -0
- package/dist/xlsx/formula/engine-util.d.ts.map +1 -0
- package/dist/xlsx/formula/engine.d.ts +6 -0
- package/dist/xlsx/formula/engine.d.ts.map +1 -0
- package/dist/xlsx/formula/evaluator.d.ts +17 -0
- package/dist/xlsx/formula/evaluator.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/array-shape.d.ts +3 -0
- package/dist/xlsx/formula/functions/array-shape.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/array.d.ts +6 -0
- package/dist/xlsx/formula/functions/array.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/criteria.d.ts +22 -0
- package/dist/xlsx/formula/functions/criteria.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/date-calc.d.ts +14 -0
- package/dist/xlsx/formula/functions/date-calc.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/datetime.d.ts +3 -0
- package/dist/xlsx/formula/functions/datetime.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/depreciation.d.ts +4 -0
- package/dist/xlsx/formula/functions/depreciation.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/dist-core.d.ts +22 -0
- package/dist/xlsx/formula/functions/dist-core.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/distributions-more.d.ts +4 -0
- package/dist/xlsx/formula/functions/distributions-more.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/distributions.d.ts +3 -0
- package/dist/xlsx/formula/functions/distributions.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/engineering.d.ts +3 -0
- package/dist/xlsx/formula/functions/engineering.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/financial-core.d.ts +8 -0
- package/dist/xlsx/formula/functions/financial-core.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/financial.d.ts +3 -0
- package/dist/xlsx/formula/functions/financial.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/helpers.d.ts +44 -0
- package/dist/xlsx/formula/functions/helpers.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/info.d.ts +3 -0
- package/dist/xlsx/formula/functions/info.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/lambda.d.ts +3 -0
- package/dist/xlsx/formula/functions/lambda.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/logical.d.ts +7 -0
- package/dist/xlsx/formula/functions/logical.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/lookup-core.d.ts +32 -0
- package/dist/xlsx/formula/functions/lookup-core.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/lookup.d.ts +8 -0
- package/dist/xlsx/formula/functions/lookup.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/math-combin.d.ts +5 -0
- package/dist/xlsx/formula/functions/math-combin.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/math-more.d.ts +4 -0
- package/dist/xlsx/formula/functions/math-more.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/math-sum.d.ts +6 -0
- package/dist/xlsx/formula/functions/math-sum.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/math.d.ts +7 -0
- package/dist/xlsx/formula/functions/math.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/matrix.d.ts +3 -0
- package/dist/xlsx/formula/functions/matrix.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/reference.d.ts +3 -0
- package/dist/xlsx/formula/functions/reference.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/registry.d.ts +8 -0
- package/dist/xlsx/formula/functions/registry.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/statistical-count.d.ts +3 -0
- package/dist/xlsx/formula/functions/statistical-count.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/statistical-more.d.ts +10 -0
- package/dist/xlsx/formula/functions/statistical-more.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/statistical-shape.d.ts +4 -0
- package/dist/xlsx/formula/functions/statistical-shape.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/statistical-spread.d.ts +4 -0
- package/dist/xlsx/formula/functions/statistical-spread.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/statistical.d.ts +3 -0
- package/dist/xlsx/formula/functions/statistical.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/stats-core.d.ts +30 -0
- package/dist/xlsx/formula/functions/stats-core.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/text-convert.d.ts +4 -0
- package/dist/xlsx/formula/functions/text-convert.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/text-extra.d.ts +3 -0
- package/dist/xlsx/formula/functions/text-extra.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/text.d.ts +3 -0
- package/dist/xlsx/formula/functions/text.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/types.d.ts +30 -0
- package/dist/xlsx/formula/functions/types.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/workdays.d.ts +3 -0
- package/dist/xlsx/formula/functions/workdays.d.ts.map +1 -0
- package/dist/xlsx/formula/graph.d.ts +50 -0
- package/dist/xlsx/formula/graph.d.ts.map +1 -0
- package/dist/xlsx/formula/index.d.ts +14 -0
- package/dist/xlsx/formula/index.d.ts.map +1 -0
- package/dist/xlsx/formula/lexemes.d.ts +41 -0
- package/dist/xlsx/formula/lexemes.d.ts.map +1 -0
- package/dist/xlsx/formula/move.d.ts +23 -0
- package/dist/xlsx/formula/move.d.ts.map +1 -0
- package/dist/xlsx/formula/operators.d.ts +15 -0
- package/dist/xlsx/formula/operators.d.ts.map +1 -0
- package/dist/xlsx/formula/parser.d.ts +4 -0
- package/dist/xlsx/formula/parser.d.ts.map +1 -0
- package/dist/xlsx/formula/references.d.ts +36 -0
- package/dist/xlsx/formula/references.d.ts.map +1 -0
- package/dist/xlsx/formula/scc.d.ts +6 -0
- package/dist/xlsx/formula/scc.d.ts.map +1 -0
- package/dist/xlsx/formula/sheet-scan.d.ts +10 -0
- package/dist/xlsx/formula/sheet-scan.d.ts.map +1 -0
- package/dist/xlsx/formula/spill.d.ts +32 -0
- package/dist/xlsx/formula/spill.d.ts.map +1 -0
- package/dist/xlsx/formula/store.d.ts +10 -0
- package/dist/xlsx/formula/store.d.ts.map +1 -0
- package/dist/xlsx/formula/structured-to-a1.d.ts +18 -0
- package/dist/xlsx/formula/structured-to-a1.d.ts.map +1 -0
- package/dist/xlsx/formula/structured.d.ts +4 -0
- package/dist/xlsx/formula/structured.d.ts.map +1 -0
- package/dist/xlsx/formula/table-refs.d.ts +7 -0
- package/dist/xlsx/formula/table-refs.d.ts.map +1 -0
- package/dist/xlsx/formula/test-helpers.d.ts +32 -0
- package/dist/xlsx/formula/test-helpers.d.ts.map +1 -0
- package/dist/xlsx/formula/text-number.d.ts +11 -0
- package/dist/xlsx/formula/text-number.d.ts.map +1 -0
- package/dist/xlsx/formula/tokenizer.d.ts +21 -0
- package/dist/xlsx/formula/tokenizer.d.ts.map +1 -0
- package/dist/xlsx/formula/transform.d.ts +49 -0
- package/dist/xlsx/formula/transform.d.ts.map +1 -0
- package/dist/xlsx/formula/values.d.ts +63 -0
- package/dist/xlsx/formula/values.d.ts.map +1 -0
- package/dist/xlsx/index.cjs +20579 -0
- package/dist/xlsx/index.d.ts +14 -0
- package/dist/xlsx/index.d.ts.map +1 -0
- package/dist/xlsx/index.mjs +20396 -0
- package/dist/xlsx/layout/autofit.d.ts +12 -0
- package/dist/xlsx/layout/autofit.d.ts.map +1 -0
- package/dist/xlsx/layout/axis-metrics.d.ts +39 -0
- package/dist/xlsx/layout/axis-metrics.d.ts.map +1 -0
- package/dist/xlsx/layout/cell-view.d.ts +21 -0
- package/dist/xlsx/layout/cell-view.d.ts.map +1 -0
- package/dist/xlsx/layout/cf-evaluator.d.ts +26 -0
- package/dist/xlsx/layout/cf-evaluator.d.ts.map +1 -0
- package/dist/xlsx/layout/cf-helpers.d.ts +8 -0
- package/dist/xlsx/layout/cf-helpers.d.ts.map +1 -0
- package/dist/xlsx/layout/cf-values.d.ts +25 -0
- package/dist/xlsx/layout/cf-values.d.ts.map +1 -0
- package/dist/xlsx/layout/chart-colors.d.ts +6 -0
- package/dist/xlsx/layout/chart-colors.d.ts.map +1 -0
- package/dist/xlsx/layout/chart-scale.d.ts +25 -0
- package/dist/xlsx/layout/chart-scale.d.ts.map +1 -0
- package/dist/xlsx/layout/chart-svg-cartesian.d.ts +5 -0
- package/dist/xlsx/layout/chart-svg-cartesian.d.ts.map +1 -0
- package/dist/xlsx/layout/chart-svg-radial.d.ts +7 -0
- package/dist/xlsx/layout/chart-svg-radial.d.ts.map +1 -0
- package/dist/xlsx/layout/chart-svg-util.d.ts +29 -0
- package/dist/xlsx/layout/chart-svg-util.d.ts.map +1 -0
- package/dist/xlsx/layout/chart-svg.d.ts +7 -0
- package/dist/xlsx/layout/chart-svg.d.ts.map +1 -0
- package/dist/xlsx/layout/chart-view.d.ts +42 -0
- package/dist/xlsx/layout/chart-view.d.ts.map +1 -0
- package/dist/xlsx/layout/colors.d.ts +20 -0
- package/dist/xlsx/layout/colors.d.ts.map +1 -0
- package/dist/xlsx/layout/index.d.ts +21 -0
- package/dist/xlsx/layout/index.d.ts.map +1 -0
- package/dist/xlsx/layout/metrics.d.ts +41 -0
- package/dist/xlsx/layout/metrics.d.ts.map +1 -0
- package/dist/xlsx/layout/navigate.d.ts +6 -0
- package/dist/xlsx/layout/navigate.d.ts.map +1 -0
- package/dist/xlsx/layout/ref-evaluator.d.ts +16 -0
- package/dist/xlsx/layout/ref-evaluator.d.ts.map +1 -0
- package/dist/xlsx/layout/row-autofit.d.ts +17 -0
- package/dist/xlsx/layout/row-autofit.d.ts.map +1 -0
- package/dist/xlsx/layout/sheet-queries.d.ts +37 -0
- package/dist/xlsx/layout/sheet-queries.d.ts.map +1 -0
- package/dist/xlsx/layout/style-view.d.ts +18 -0
- package/dist/xlsx/layout/style-view.d.ts.map +1 -0
- package/dist/xlsx/layout/tint.d.ts +26 -0
- package/dist/xlsx/layout/tint.d.ts.map +1 -0
- package/dist/xlsx/layout/types.d.ts +106 -0
- package/dist/xlsx/layout/types.d.ts.map +1 -0
- package/dist/xlsx/layout/units.d.ts +37 -0
- package/dist/xlsx/layout/units.d.ts.map +1 -0
- package/dist/xlsx/layout/viewport.d.ts +27 -0
- package/dist/xlsx/layout/viewport.d.ts.map +1 -0
- package/dist/xlsx/load/csv.d.ts +29 -0
- package/dist/xlsx/load/csv.d.ts.map +1 -0
- package/dist/xlsx/load/detect.d.ts +22 -0
- package/dist/xlsx/load/detect.d.ts.map +1 -0
- package/dist/xlsx/load/index.cjs +15619 -0
- package/dist/xlsx/load/index.d.ts +4 -0
- package/dist/xlsx/load/index.d.ts.map +1 -0
- package/dist/xlsx/load/index.mjs +15603 -0
- package/dist/xlsx/load/legacy-xls-sheet.d.ts +14 -0
- package/dist/xlsx/load/legacy-xls-sheet.d.ts.map +1 -0
- package/dist/xlsx/load/legacy-xls-styles.d.ts +9 -0
- package/dist/xlsx/load/legacy-xls-styles.d.ts.map +1 -0
- package/dist/xlsx/load/legacy-xls.d.ts +10 -0
- package/dist/xlsx/load/legacy-xls.d.ts.map +1 -0
- package/dist/xlsx/model.d.ts +535 -0
- package/dist/xlsx/model.d.ts.map +1 -0
- package/dist/xlsx/numfmt/builtins.d.ts +15 -0
- package/dist/xlsx/numfmt/builtins.d.ts.map +1 -0
- package/dist/xlsx/numfmt/compile.d.ts +26 -0
- package/dist/xlsx/numfmt/compile.d.ts.map +1 -0
- package/dist/xlsx/numfmt/date.d.ts +34 -0
- package/dist/xlsx/numfmt/date.d.ts.map +1 -0
- package/dist/xlsx/numfmt/decimal.d.ts +27 -0
- package/dist/xlsx/numfmt/decimal.d.ts.map +1 -0
- package/dist/xlsx/numfmt/decimals.d.ts +10 -0
- package/dist/xlsx/numfmt/decimals.d.ts.map +1 -0
- package/dist/xlsx/numfmt/format.d.ts +13 -0
- package/dist/xlsx/numfmt/format.d.ts.map +1 -0
- package/dist/xlsx/numfmt/fraction.d.ts +38 -0
- package/dist/xlsx/numfmt/fraction.d.ts.map +1 -0
- package/dist/xlsx/numfmt/general.d.ts +8 -0
- package/dist/xlsx/numfmt/general.d.ts.map +1 -0
- package/dist/xlsx/numfmt/index.d.ts +8 -0
- package/dist/xlsx/numfmt/index.d.ts.map +1 -0
- package/dist/xlsx/numfmt/input-date.d.ts +16 -0
- package/dist/xlsx/numfmt/input-date.d.ts.map +1 -0
- package/dist/xlsx/numfmt/input.d.ts +23 -0
- package/dist/xlsx/numfmt/input.d.ts.map +1 -0
- package/dist/xlsx/numfmt/number.d.ts +38 -0
- package/dist/xlsx/numfmt/number.d.ts.map +1 -0
- package/dist/xlsx/numfmt/tokenizer.d.ts +6 -0
- package/dist/xlsx/numfmt/tokenizer.d.ts.map +1 -0
- package/dist/xlsx/numfmt/types.d.ts +87 -0
- package/dist/xlsx/numfmt/types.d.ts.map +1 -0
- package/dist/xlsx/read/builtin-formats.d.ts +10 -0
- package/dist/xlsx/read/builtin-formats.d.ts.map +1 -0
- package/dist/xlsx/read/chart.d.ts +7 -0
- package/dist/xlsx/read/chart.d.ts.map +1 -0
- package/dist/xlsx/read/comments.d.ts +10 -0
- package/dist/xlsx/read/comments.d.ts.map +1 -0
- package/dist/xlsx/read/conditional.d.ts +6 -0
- package/dist/xlsx/read/conditional.d.ts.map +1 -0
- package/dist/xlsx/read/dates.d.ts +6 -0
- package/dist/xlsx/read/dates.d.ts.map +1 -0
- package/dist/xlsx/read/drawing.d.ts +10 -0
- package/dist/xlsx/read/drawing.d.ts.map +1 -0
- package/dist/xlsx/read/formula-storage.d.ts +5 -0
- package/dist/xlsx/read/formula-storage.d.ts.map +1 -0
- package/dist/xlsx/read/formula-text.d.ts +15 -0
- package/dist/xlsx/read/formula-text.d.ts.map +1 -0
- package/dist/xlsx/read/index.d.ts +3 -0
- package/dist/xlsx/read/index.d.ts.map +1 -0
- package/dist/xlsx/read/load.d.ts +7 -0
- package/dist/xlsx/read/load.d.ts.map +1 -0
- package/dist/xlsx/read/metadata.d.ts +8 -0
- package/dist/xlsx/read/metadata.d.ts.map +1 -0
- package/dist/xlsx/read/package.d.ts +60 -0
- package/dist/xlsx/read/package.d.ts.map +1 -0
- package/dist/xlsx/read/print-options.d.ts +7 -0
- package/dist/xlsx/read/print-options.d.ts.map +1 -0
- package/dist/xlsx/read/shared-strings.d.ts +13 -0
- package/dist/xlsx/read/shared-strings.d.ts.map +1 -0
- package/dist/xlsx/read/sheet-data.d.ts +15 -0
- package/dist/xlsx/read/sheet-data.d.ts.map +1 -0
- package/dist/xlsx/read/sheet-props.d.ts +21 -0
- package/dist/xlsx/read/sheet-props.d.ts.map +1 -0
- package/dist/xlsx/read/style-parts.d.ts +20 -0
- package/dist/xlsx/read/style-parts.d.ts.map +1 -0
- package/dist/xlsx/read/styles.d.ts +17 -0
- package/dist/xlsx/read/styles.d.ts.map +1 -0
- package/dist/xlsx/read/tables.d.ts +4 -0
- package/dist/xlsx/read/tables.d.ts.map +1 -0
- package/dist/xlsx/read/theme.d.ts +11 -0
- package/dist/xlsx/read/theme.d.ts.map +1 -0
- package/dist/xlsx/read/workbook-part.d.ts +23 -0
- package/dist/xlsx/read/workbook-part.d.ts.map +1 -0
- package/dist/xlsx/read/worksheet.d.ts +18 -0
- package/dist/xlsx/read/worksheet.d.ts.map +1 -0
- package/dist/xlsx/read/xml-util.d.ts +28 -0
- package/dist/xlsx/read/xml-util.d.ts.map +1 -0
- package/dist/xlsx/styles.d.ts +27 -0
- package/dist/xlsx/styles.d.ts.map +1 -0
- package/dist/xlsx/time-period.d.ts +9 -0
- package/dist/xlsx/time-period.d.ts.map +1 -0
- package/dist/xlsx/workbook.d.ts +26 -0
- package/dist/xlsx/workbook.d.ts.map +1 -0
- package/dist/xlsx/write/chart-patch.d.ts +9 -0
- package/dist/xlsx/write/chart-patch.d.ts.map +1 -0
- package/dist/xlsx/write/chart.d.ts +9 -0
- package/dist/xlsx/write/chart.d.ts.map +1 -0
- package/dist/xlsx/write/comments.d.ts +23 -0
- package/dist/xlsx/write/comments.d.ts.map +1 -0
- package/dist/xlsx/write/conditional.d.ts +5 -0
- package/dist/xlsx/write/conditional.d.ts.map +1 -0
- package/dist/xlsx/write/drawing.d.ts +10 -0
- package/dist/xlsx/write/drawing.d.ts.map +1 -0
- package/dist/xlsx/write/dynamic-array.d.ts +16 -0
- package/dist/xlsx/write/dynamic-array.d.ts.map +1 -0
- package/dist/xlsx/write/index.d.ts +2 -0
- package/dist/xlsx/write/index.d.ts.map +1 -0
- package/dist/xlsx/write/package-writer.d.ts +31 -0
- package/dist/xlsx/write/package-writer.d.ts.map +1 -0
- package/dist/xlsx/write/save.d.ts +8 -0
- package/dist/xlsx/write/save.d.ts.map +1 -0
- package/dist/xlsx/write/shared-strings.d.ts +13 -0
- package/dist/xlsx/write/shared-strings.d.ts.map +1 -0
- package/dist/xlsx/write/sheet-data.d.ts +19 -0
- package/dist/xlsx/write/sheet-data.d.ts.map +1 -0
- package/dist/xlsx/write/sheet-parts.d.ts +34 -0
- package/dist/xlsx/write/sheet-parts.d.ts.map +1 -0
- package/dist/xlsx/write/sheet-props.d.ts +16 -0
- package/dist/xlsx/write/sheet-props.d.ts.map +1 -0
- package/dist/xlsx/write/snapshot.d.ts +9 -0
- package/dist/xlsx/write/snapshot.d.ts.map +1 -0
- package/dist/xlsx/write/style-xml.d.ts +13 -0
- package/dist/xlsx/write/style-xml.d.ts.map +1 -0
- package/dist/xlsx/write/styles.d.ts +24 -0
- package/dist/xlsx/write/styles.d.ts.map +1 -0
- package/dist/xlsx/write/tables.d.ts +18 -0
- package/dist/xlsx/write/tables.d.ts.map +1 -0
- package/dist/xlsx/write/theme.d.ts +9 -0
- package/dist/xlsx/write/theme.d.ts.map +1 -0
- package/dist/xlsx/write/workbook-part.d.ts +16 -0
- package/dist/xlsx/write/workbook-part.d.ts.map +1 -0
- package/dist/xlsx/write/worksheet.d.ts +6 -0
- package/dist/xlsx/write/worksheet.d.ts.map +1 -0
- package/dist/xlsx/write/xml-out.d.ts +25 -0
- package/dist/xlsx/write/xml-out.d.ts.map +1 -0
- package/dist/xml/index.cjs +16 -0
- package/dist/xml/index.mjs +16 -0
- package/dist/xml/namespaces.d.ts +16 -0
- package/dist/xml/namespaces.d.ts.map +1 -1
- package/package.json +25 -6
package/LICENSE
CHANGED
|
@@ -1,202 +1,202 @@
|
|
|
1
|
-
|
|
2
|
-
Apache License
|
|
3
|
-
Version 2.0, January 2004
|
|
4
|
-
http://www.apache.org/licenses/
|
|
5
|
-
|
|
6
|
-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
-
|
|
8
|
-
1. Definitions.
|
|
9
|
-
|
|
10
|
-
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
-
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
-
|
|
13
|
-
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
-
the copyright owner that is granting the License.
|
|
15
|
-
|
|
16
|
-
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
-
other entities that control, are controlled by, or are under common
|
|
18
|
-
control with that entity. For the purposes of this definition,
|
|
19
|
-
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
-
direction or management of such entity, whether by contract or
|
|
21
|
-
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
-
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
-
|
|
24
|
-
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
-
exercising permissions granted by this License.
|
|
26
|
-
|
|
27
|
-
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
-
including but not limited to software source code, documentation
|
|
29
|
-
source, and configuration files.
|
|
30
|
-
|
|
31
|
-
"Object" form shall mean any form resulting from mechanical
|
|
32
|
-
transformation or translation of a Source form, including but
|
|
33
|
-
not limited to compiled object code, generated documentation,
|
|
34
|
-
and conversions to other media types.
|
|
35
|
-
|
|
36
|
-
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
-
Object form, made available under the License, as indicated by a
|
|
38
|
-
copyright notice that is included in or attached to the work
|
|
39
|
-
(an example is provided in the Appendix below).
|
|
40
|
-
|
|
41
|
-
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
-
form, that is based on (or derived from) the Work and for which the
|
|
43
|
-
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
-
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
-
of this License, Derivative Works shall not include works that remain
|
|
46
|
-
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
-
the Work and Derivative Works thereof.
|
|
48
|
-
|
|
49
|
-
"Contribution" shall mean any work of authorship, including
|
|
50
|
-
the original version of the Work and any modifications or additions
|
|
51
|
-
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
-
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
-
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
-
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
-
means any form of electronic, verbal, or written communication sent
|
|
56
|
-
to the Licensor or its representatives, including but not limited to
|
|
57
|
-
communication on electronic mailing lists, source code control systems,
|
|
58
|
-
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
-
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
-
excluding communication that is conspicuously marked or otherwise
|
|
61
|
-
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
-
|
|
63
|
-
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
-
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
-
subsequently incorporated within the Work.
|
|
66
|
-
|
|
67
|
-
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
-
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
-
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
-
Work and such Derivative Works in Source or Object form.
|
|
73
|
-
|
|
74
|
-
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
-
(except as stated in this section) patent license to make, have made,
|
|
78
|
-
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
-
where such license applies only to those patent claims licensable
|
|
80
|
-
by such Contributor that are necessarily infringed by their
|
|
81
|
-
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
-
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
-
institute patent litigation against any entity (including a
|
|
84
|
-
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
-
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
-
or contributory patent infringement, then any patent licenses
|
|
87
|
-
granted to You under this License for that Work shall terminate
|
|
88
|
-
as of the date such litigation is filed.
|
|
89
|
-
|
|
90
|
-
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
-
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
-
modifications, and in Source or Object form, provided that You
|
|
93
|
-
meet the following conditions:
|
|
94
|
-
|
|
95
|
-
(a) You must give any other recipients of the Work or
|
|
96
|
-
Derivative Works a copy of this License; and
|
|
97
|
-
|
|
98
|
-
(b) You must cause any modified files to carry prominent notices
|
|
99
|
-
stating that You changed the files; and
|
|
100
|
-
|
|
101
|
-
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
-
that You distribute, all copyright, patent, trademark, and
|
|
103
|
-
attribution notices from the Source form of the Work,
|
|
104
|
-
excluding those notices that do not pertain to any part of
|
|
105
|
-
the Derivative Works; and
|
|
106
|
-
|
|
107
|
-
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
-
distribution, then any Derivative Works that You distribute must
|
|
109
|
-
include a readable copy of the attribution notices contained
|
|
110
|
-
within such NOTICE file, excluding those notices that do not
|
|
111
|
-
pertain to any part of the Derivative Works, in at least one
|
|
112
|
-
of the following places: within a NOTICE text file distributed
|
|
113
|
-
as part of the Derivative Works; within the Source form or
|
|
114
|
-
documentation, if provided along with the Derivative Works; or,
|
|
115
|
-
within a display generated by the Derivative Works, if and
|
|
116
|
-
wherever such third-party notices normally appear. The contents
|
|
117
|
-
of the NOTICE file are for informational purposes only and
|
|
118
|
-
do not modify the License. You may add Your own attribution
|
|
119
|
-
notices within Derivative Works that You distribute, alongside
|
|
120
|
-
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
-
that such additional attribution notices cannot be construed
|
|
122
|
-
as modifying the License.
|
|
123
|
-
|
|
124
|
-
You may add Your own copyright statement to Your modifications and
|
|
125
|
-
may provide additional or different license terms and conditions
|
|
126
|
-
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
-
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
-
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
-
the conditions stated in this License.
|
|
130
|
-
|
|
131
|
-
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
-
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
-
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
-
this License, without any additional terms or conditions.
|
|
135
|
-
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
-
the terms of any separate license agreement you may have executed
|
|
137
|
-
with Licensor regarding such Contributions.
|
|
138
|
-
|
|
139
|
-
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
-
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
-
except as required for reasonable and customary use in describing the
|
|
142
|
-
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
-
|
|
144
|
-
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
-
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
-
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
-
implied, including, without limitation, any warranties or conditions
|
|
149
|
-
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
-
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
-
appropriateness of using or redistributing the Work and assume any
|
|
152
|
-
risks associated with Your exercise of permissions under this License.
|
|
153
|
-
|
|
154
|
-
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
-
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
-
unless required by applicable law (such as deliberate and grossly
|
|
157
|
-
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
-
liable to You for damages, including any direct, indirect, special,
|
|
159
|
-
incidental, or consequential damages of any character arising as a
|
|
160
|
-
result of this License or out of the use or inability to use the
|
|
161
|
-
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
-
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
-
other commercial damages or losses), even if such Contributor
|
|
164
|
-
has been advised of the possibility of such damages.
|
|
165
|
-
|
|
166
|
-
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
-
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
-
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
-
or other liability obligations and/or rights consistent with this
|
|
170
|
-
License. However, in accepting such obligations, You may act only
|
|
171
|
-
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
-
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
-
defend, and hold each Contributor harmless for any liability
|
|
174
|
-
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
-
of your accepting any such warranty or additional liability.
|
|
176
|
-
|
|
177
|
-
END OF TERMS AND CONDITIONS
|
|
178
|
-
|
|
179
|
-
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
-
|
|
181
|
-
To apply the Apache License to your work, attach the following
|
|
182
|
-
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
-
replaced with your own identifying information. (Don't include
|
|
184
|
-
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
-
comment syntax for the file format. We also recommend that a
|
|
186
|
-
file or class name and description of purpose be included on the
|
|
187
|
-
same "printed page" as the copyright notice for easier
|
|
188
|
-
identification within third-party archives.
|
|
189
|
-
|
|
190
|
-
Copyright 2025-present pptx-viewer contributors
|
|
191
|
-
|
|
192
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
-
you may not use this file except in compliance with the License.
|
|
194
|
-
You may obtain a copy of the License at
|
|
195
|
-
|
|
196
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
-
|
|
198
|
-
Unless required by applicable law or agreed to in writing, software
|
|
199
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
-
See the License for the specific language governing permissions and
|
|
202
|
-
limitations under the License.
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright 2025-present pptx-viewer contributors
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
package/NOTICE
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
ooxml-core contains modern OOXML modules extracted from ChristopherVR/docx-viewer and ChristopherVR/pptx-viewer, Copyright ChristopherVR, licensed under the Apache License, Version 2.0. The Apache License text is included in LICENSE. PROVENANCE.md records where each module came from.
|
|
2
|
-
|
|
3
|
-
The pptx area also contains PowerPoint glyph-advance measurements (font-advance-widths*.generated.ts: numeric widths measured through COM automation; no font software is included). Third-party runtime dependencies are listed in THIRD-PARTY-LICENSES.
|
|
1
|
+
ooxml-core contains modern OOXML modules extracted from ChristopherVR/docx-viewer and ChristopherVR/pptx-viewer, Copyright ChristopherVR, licensed under the Apache License, Version 2.0. The Apache License text is included in LICENSE. PROVENANCE.md records where each module came from.
|
|
2
|
+
|
|
3
|
+
The pptx area also contains PowerPoint glyph-advance measurements (font-advance-widths*.generated.ts: numeric widths measured through COM automation; no font software is included). Third-party runtime dependencies are listed in THIRD-PARTY-LICENSES.
|
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# ooxml-core
|
|
4
4
|
|
|
5
5
|
**Read, edit, validate and write Office Open XML documents in TypeScript.**
|
|
6
|
-
One package, one XML model, every format: Word, PowerPoint and the shared building blocks beneath them.
|
|
6
|
+
One package, one XML model, every format: Word, PowerPoint, Excel and the shared building blocks beneath them. Visio and more are planned.
|
|
7
7
|
|
|
8
8
|
[](LICENSE)
|
|
9
9
|
[](https://github.com/ChristopherVR/ooxml/actions/workflows/ci.yml)
|
|
@@ -28,24 +28,25 @@ One package, one XML model, every format: Word, PowerPoint and the shared buildi
|
|
|
28
28
|
|
|
29
29
|
## One package, many areas
|
|
30
30
|
|
|
31
|
-
`ooxml-core` is a **single published package**. Every area is a subpath import, so you only load what you use, and the formats are symmetrical: `docx` and `
|
|
31
|
+
`ooxml-core` is a **single published package**. Every area is a subpath import, so you only load what you use, and the formats are symmetrical: `docx`, `pptx` and `xlsx` are each imported through their own subpaths, and the root entry groups only the shared building blocks by namespace.
|
|
32
32
|
|
|
33
33
|
```ts
|
|
34
34
|
import { parseXml } from 'ooxml-core/xml'; // one area
|
|
35
35
|
import { xml, opc } from 'ooxml-core'; // or by namespace (shared building blocks)
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
-
| Area | What it is
|
|
39
|
-
| ---------- |
|
|
40
|
-
| `xml` | The shared XML model: strict DOM parsing and serialization, namespaces, namespace-aware helpers.
|
|
41
|
-
| `opc` | Open Packaging Conventions: relationships, content types, part paths, zip helpers, safe hyperlinks.
|
|
42
|
-
| `units` | Branded EMU, twip and point types, constants and conversions.
|
|
43
|
-
| `color` | Hex, RGB, HSL and linear colour primitives, OOXML percent and angle parsing.
|
|
44
|
-
| `geometry` | DrawingML preset shapes, connection sites, clip paths, callouts and boolean shape operations.
|
|
45
|
-
| `diagram` | SmartArt (DiagramML), format-neutral: data model, layout/colour/quick-style parts, the cached `dsp:drawing` shape tree, relationship resolution and a loader. Used by `docx`; `pptx` re-imports its parsers.
|
|
46
|
-
| `collab` | Format-neutral real-time collaboration on Yjs: session and provider lifecycle, awareness/presence, transport-neutral sync (WebSocket, in-memory, any byte channel), update codecs, ordering helpers, asset sync and the product adapter seam. See `docs/collab-area.md`.
|
|
47
|
-
| `docx` | WordprocessingML: model, parser, preserving serializer, editing, validation. Also `/docx/embedded`. `/docx/layout` is the DOM-free pagination engine (an approximation of Word, not parity) and `/docx/load` detects and loads DOCX and legacy .doc (ole2 inlined).
|
|
48
|
-
| `pptx` | PresentationML: model, parser, serializer, editing, charts, SmartArt, converters, CLI, signatures. Subpaths `/pptx/converter`, `/pptx/cli`, `/pptx/signature-node`.
|
|
38
|
+
| Area | What it is |
|
|
39
|
+
| ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
40
|
+
| `xml` | The shared XML model: strict DOM parsing and serialization, namespaces, namespace-aware helpers. |
|
|
41
|
+
| `opc` | Open Packaging Conventions: relationships, content types, part paths, zip helpers, safe hyperlinks. |
|
|
42
|
+
| `units` | Branded EMU, twip and point types, constants and conversions. |
|
|
43
|
+
| `color` | Hex, RGB, HSL and linear colour primitives, OOXML percent and angle parsing. |
|
|
44
|
+
| `geometry` | DrawingML preset shapes, connection sites, clip paths, callouts and boolean shape operations. |
|
|
45
|
+
| `diagram` | SmartArt (DiagramML), format-neutral: data model, layout/colour/quick-style parts, the cached `dsp:drawing` shape tree, relationship resolution and a loader. Used by `docx`; `pptx` re-imports its parsers. |
|
|
46
|
+
| `collab` | Format-neutral real-time collaboration on Yjs: session and provider lifecycle, awareness/presence, transport-neutral sync (WebSocket, in-memory, any byte channel), update codecs, ordering helpers, asset sync and the product adapter seam. See `docs/collab-area.md`. |
|
|
47
|
+
| `docx` | WordprocessingML: model, parser, preserving serializer, editing, validation. Also `/docx/embedded`. `/docx/layout` is the DOM-free pagination engine (an approximation of Word, not parity) and `/docx/load` detects and loads DOCX and legacy .doc (ole2 inlined). |
|
|
48
|
+
| `pptx` | PresentationML: model, parser, serializer, editing, charts, SmartArt, converters, CLI, signatures. Subpaths `/pptx/converter`, `/pptx/cli`, `/pptx/signature-node`. |
|
|
49
|
+
| `xlsx` | SpreadsheetML: workbook model, `.xlsx`/`.xlsm` reader and preserving writer, formula engine (dependency graph, dynamic arrays, 380+ functions), Excel number formats, editing commands with undo, and the DOM-free grid layout (sizes, colours, conditional formats, charts as SVG). `/xlsx/load` detects and loads `.xlsx`, `.xlsm`, legacy `.xls` (ole2 inlined) and CSV. An approximation of Excel, not parity. |
|
|
49
50
|
|
|
50
51
|
Legacy binary formats (`.doc`, `.xls`, `.ppt`) and the compound-file container live in the sibling package [`ole2`](https://github.com/ChristopherVR/ole2); this package never contains binary codecs, and `ole2` never contains modern OOXML.
|
|
51
52
|
|
|
@@ -96,7 +97,7 @@ const part = resolvePartPath('word/document.xml', rels.get('rId5')!.target);
|
|
|
96
97
|
The shared areas come first, then more formats on the same foundation:
|
|
97
98
|
|
|
98
99
|
- **Shared layers:** DrawingML (fills, lines, effects, text, theme), charts, diagrams (SmartArt), maths, encryption primitives and schema-generated types, each as an area, written once for every format.
|
|
99
|
-
- **More formats:**
|
|
100
|
+
- **More formats:** Visio (`.vsdx`, also an OPC package), and further Office Open XML parts as they are needed. Each arrives as its own area.
|
|
100
101
|
- **One XML model:** the `pptx` area still uses its own XML object model and is compiled with relaxed TypeScript flags while it is migrated onto the shared `xml` area and tightened. New code is strict.
|
|
101
102
|
- **Collaboration:** the Yjs and sync protocol that the viewers share will live here as a `collab` area.
|
|
102
103
|
|
package/dist/docx/load/index.cjs
CHANGED
|
@@ -7634,7 +7634,7 @@ function createDocument() {
|
|
|
7634
7634
|
};
|
|
7635
7635
|
}
|
|
7636
7636
|
|
|
7637
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
7637
|
+
// node_modules/.bun/@christophervr+ole2@0.4.0/node_modules/@christophervr/ole2/dist/ole-document-doc-fib.js
|
|
7638
7638
|
var FC_LCB_INDEX = {
|
|
7639
7639
|
plcfbteChpx: 12,
|
|
7640
7640
|
plcfbtePapx: 13,
|
|
@@ -7703,7 +7703,7 @@ function patchDocFib(wordDoc, fib, patch) {
|
|
|
7703
7703
|
view.setUint32(papxOff + 4, patch.plcfbtePapx.lcb, true);
|
|
7704
7704
|
}
|
|
7705
7705
|
|
|
7706
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
7706
|
+
// node_modules/.bun/@christophervr+ole2@0.4.0/node_modules/@christophervr/ole2/dist/ole2-parser-types.js
|
|
7707
7707
|
var OLE_MAGIC = new Uint8Array([208, 207, 17, 224, 161, 177, 26, 225]);
|
|
7708
7708
|
var ENDOFCHAIN = 4294967294;
|
|
7709
7709
|
var FREESECT = 4294967295;
|
|
@@ -7721,7 +7721,7 @@ var Ole2ParseError = class extends Error {
|
|
|
7721
7721
|
}
|
|
7722
7722
|
};
|
|
7723
7723
|
|
|
7724
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
7724
|
+
// node_modules/.bun/@christophervr+ole2@0.4.0/node_modules/@christophervr/ole2/dist/ole2-parser-read.js
|
|
7725
7725
|
function parseOle2(buffer) {
|
|
7726
7726
|
const data = new Uint8Array(buffer);
|
|
7727
7727
|
const view = new DataView(buffer);
|
|
@@ -7899,7 +7899,7 @@ function parseOle2(buffer) {
|
|
|
7899
7899
|
return { entries, getStream };
|
|
7900
7900
|
}
|
|
7901
7901
|
|
|
7902
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
7902
|
+
// node_modules/.bun/@christophervr+ole2@0.4.0/node_modules/@christophervr/ole2/dist/ole2-parser-write-helpers.js
|
|
7903
7903
|
function compareDirEntryNames(a, b) {
|
|
7904
7904
|
if (a.length !== b.length) {
|
|
7905
7905
|
return a.length - b.length;
|
|
@@ -7945,7 +7945,7 @@ function writeInt32Sectors(outBytes, int32Data, firstSector, numSectors, sectorS
|
|
|
7945
7945
|
}
|
|
7946
7946
|
}
|
|
7947
7947
|
|
|
7948
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
7948
|
+
// node_modules/.bun/@christophervr+ole2@0.4.0/node_modules/@christophervr/ole2/dist/ole2-parser-write-serialize.js
|
|
7949
7949
|
function writeHeader(outView, outBytes, params) {
|
|
7950
7950
|
outBytes.set(OLE_MAGIC, 0);
|
|
7951
7951
|
outView.setUint16(24, 62, true);
|
|
@@ -8037,7 +8037,7 @@ function writeStreamSectors(outBytes, streamData, chain, sectorSize) {
|
|
|
8037
8037
|
}
|
|
8038
8038
|
}
|
|
8039
8039
|
|
|
8040
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
8040
|
+
// node_modules/.bun/@christophervr+ole2@0.4.0/node_modules/@christophervr/ole2/dist/ole2-parser-write.js
|
|
8041
8041
|
function buildOle2(streams, rootClsid, miniStreamCutoff = 4096) {
|
|
8042
8042
|
const sectorSize = 512;
|
|
8043
8043
|
const miniSectorSize = 64;
|
|
@@ -8203,7 +8203,7 @@ function buildOle2(streams, rootClsid, miniStreamCutoff = 4096) {
|
|
|
8203
8203
|
return output;
|
|
8204
8204
|
}
|
|
8205
8205
|
|
|
8206
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
8206
|
+
// node_modules/.bun/@christophervr+ole2@0.4.0/node_modules/@christophervr/ole2/dist/ole-document-doc-cfb.js
|
|
8207
8207
|
function unwrapDocBytes(bytes) {
|
|
8208
8208
|
if (bytes.length < 8 || bytes[0] !== 208 || bytes[1] !== 207 || bytes[2] !== 17 || bytes[3] !== 224 || bytes[4] !== 161 || bytes[5] !== 177 || bytes[6] !== 26 || bytes[7] !== 225) {
|
|
8209
8209
|
return void 0;
|
|
@@ -8244,7 +8244,7 @@ function unwrapDocBytes(bytes) {
|
|
|
8244
8244
|
}
|
|
8245
8245
|
}
|
|
8246
8246
|
|
|
8247
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
8247
|
+
// node_modules/.bun/@christophervr+ole2@0.4.0/node_modules/@christophervr/ole2/dist/ole-document-doc-fkp.js
|
|
8248
8248
|
var PAGE_SIZE = 512;
|
|
8249
8249
|
function parseBteTable(tableStream, at) {
|
|
8250
8250
|
const view = new DataView(tableStream.buffer, tableStream.byteOffset, tableStream.byteLength);
|
|
@@ -8352,7 +8352,7 @@ function buildSingleRunChpxPage(fcStart, fcEnd, blob) {
|
|
|
8352
8352
|
return page;
|
|
8353
8353
|
}
|
|
8354
8354
|
|
|
8355
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
8355
|
+
// node_modules/.bun/@christophervr+ole2@0.4.0/node_modules/@christophervr/ole2/dist/ole-document-doc-cp1252.js
|
|
8356
8356
|
var CP1252_HIGH_BLOCK = [
|
|
8357
8357
|
8364,
|
|
8358
8358
|
129,
|
|
@@ -8420,7 +8420,7 @@ function encodeCp1252(text) {
|
|
|
8420
8420
|
return Uint8Array.from(bytes);
|
|
8421
8421
|
}
|
|
8422
8422
|
|
|
8423
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
8423
|
+
// node_modules/.bun/@christophervr+ole2@0.4.0/node_modules/@christophervr/ole2/dist/ole-document-doc-pieces.js
|
|
8424
8424
|
var CLXT_PRC = 1;
|
|
8425
8425
|
var CLXT_PCDT = 2;
|
|
8426
8426
|
function parsePieceTable(tableStream, clx) {
|
|
@@ -8582,7 +8582,7 @@ function buildClxBytes(pieces) {
|
|
|
8582
8582
|
return bytes;
|
|
8583
8583
|
}
|
|
8584
8584
|
|
|
8585
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
8585
|
+
// node_modules/.bun/@christophervr+ole2@0.4.0/node_modules/@christophervr/ole2/dist/ole-document-doc-editor.js
|
|
8586
8586
|
var RISKY_PLCF_INDICES = [3, 4, 5, 16, 17, 18, 19, 20];
|
|
8587
8587
|
var RISKY_STTB_INDICES = [21, 22, 23];
|
|
8588
8588
|
function hasUnsupportedFeatures(wordDoc, fib) {
|