@office-open/core 0.8.0 → 0.9.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 +32 -60
- package/dist/chart/index.d.mts +2 -2
- package/dist/chart/index.mjs +2 -2
- package/dist/chart-DNpai28f.mjs +365 -0
- package/dist/descriptor/index.d.mts +2 -0
- package/dist/descriptor/index.mjs +2 -0
- package/dist/descriptor-DKmR7pw-.mjs +282 -0
- package/dist/drawingml/index.d.mts +2 -2
- package/dist/drawingml/index.mjs +2 -2
- package/dist/index-BI-1SKm5.d.mts +153 -0
- package/dist/{index-Cj2Yf5mk.d.mts → index-DByjp6ug.d.mts} +10 -7
- package/dist/index-DNH2sizc.d.mts +137 -0
- package/dist/{index-C-DvIxek.d.mts → index-RWXzxibP.d.mts} +1420 -1866
- package/dist/{index-D0N5Bw2M.d.mts → index-eu1aFQCm.d.mts} +39 -28
- package/dist/index.d.mts +7 -538
- package/dist/index.mjs +7 -2077
- package/dist/smartart/index.d.mts +2 -2
- package/dist/smartart/index.mjs +2 -2
- package/dist/{smartart-BAhTD2yA.mjs → smartart-DCY-Vdv7.mjs} +120 -204
- package/dist/src-CU2AFKyt.mjs +7413 -0
- package/dist/theme/index.d.mts +2 -2
- package/dist/theme/index.mjs +2 -2
- package/dist/{theme-DmJXjgQs.mjs → theme-CiNzdl-9.mjs} +117 -22
- package/dist/{values.d.mts → util/values.d.mts} +1 -1
- package/dist/{values.mjs → util/values.mjs} +1 -1
- package/dist/{values-zMCu5EoQ.mjs → values-CVIZcTRw.mjs} +2 -2
- package/dist/{values-COjPGYkS.d.mts → values-Dqj8cbcy.d.mts} +1 -1
- package/package.json +12 -7
- package/dist/chart-BtEtdK2K.mjs +0 -1266
- package/dist/drawingml-anlfMLLZ.mjs +0 -7132
- package/dist/index-Bh6s66Up.d.mts +0 -381
- package/dist/index-CoTp4wVf.d.mts +0 -202
- package/dist/xml-components-DEU24Y1T.mjs +0 -322
package/dist/index.d.mts
CHANGED
|
@@ -1,539 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { A as
|
|
4
|
-
import { $ as createSp, $a as createCdrCNvGrpSpPr, $c as RgbColorOptions, $i as createOfPieChart, $n as createWpSpPr, $o as Stretch, $r as createCustUnit, $s as CompoundLine, $t as StyleDefHdrOptions, A as createGrpSp, Aa as createSplitPos, Ac as PathShadeType, Ai as createLegacyDrawingHF, An as WpGroupOptions, Ao as createGraphicFrameLocking, Ar as createXdrSpPr, As as createScene3D, At as ColorListOptions, B as createLnDef, Ba as createUpDownBars, Bc as BlipEffectsOptions, Bi as createMax, Bn as createWpCNvGrpSpPr, Bo as TableStyleOptions, Br as createAutoUpdate, Bs as PresetShadowEffectOptions, Bt as createLinClrLst, C as createCxnSpLocks, Ca as createShowNegBubbles, Cc as buildFill, Ci as createHeaderFooter, Cn as createChPref, Co as createCdrY, Cr as createXdrNvPicPr, Cs as BackdropOptions, Ct as DiagramExtensionOptions, D as createExtraClrScheme, Da as createSize, Dc as GradientStop, Di as createLayoutTarget, Dn as WpCanvasOptions, Do as GroupLockingOptions, Dr as createXdrRow, Ds as Scene3DOptions, Dt as createDiagramTxPr, E as createEndCxn, Ea as createSideWall, Ec as GradientShadeOptions, Ei as createInvertIfNegative, En as createPresLayoutVars, Eo as GraphicFrameLockingOptions, Er as createXdrPic, Es as Point3D, Et as createDiagramSp3d, F as createHlinkMouseOver, Fa as createThickness, Fc as TileAlignment, Fi as createMajorTickMark, Fn as createWpBg, Fo as StyleMatrixReferenceOptions, Fr as PageMarginsOptions, Fs as BlurEffectOptions, Ft as HueDirection, G as createNvPicPr, Ga as createX, Gc as SystemColor, Gi as createMinorUnit, Gn as createWpExtLst, Go as createTableStyleList, Gr as createBubble3D, Gs as createOuterShadowEffect, Gt as ColorsDefHdrLstOptions, H as createNvCxnSpPr, Ha as createUserShapes, Hc as SolidFillOptions, Hi as createMinorGridlines, Hn as createWpCNvSpPr, Ho as TableTextStyleOptions, Hr as createBandFmt, Hs as createPresetShadowEffect, Ht as createTxEffectClrLst, I as createInsideH, Ia as createTickLblPos, Ic as TileOptions, Ii as createMajorTimeUnit, In as createWpBodyPr, Io as TableCellBorderOptions, Ir as PageSetupOptions, Is as EffectListOptions, It as StyleMatrixIndex, J as createPic, Ja as createYMode, Jc as SchemeColor, Ji as createMultiLvlStrRef, Jn as createWpGrpSpPr, Jo as createTransformation, Jr as createChartObject, Js as GlowEffectOptions, Jt as DiagramDescriptionOptions, K as createNvSpPr, Ka as createXMode, Kc as SystemColorOptions, Ki as createMinus, Kn as createWpGraphicFrame, Ko as MediaDataTransformation, Kr as createBubbleScale, Ks as InnerShadowEffectOptions, Kt as ColorsDefHdrOptions, L as createInsideV, La as createTickMarkSkip, Lc as createTileInfo, Li as createMajorUnit, Ln as createWpCNvCnPr, Lo as TableCellStyleOptions, Lr as createApplyToEnd, Ls as createEffectList, Lt as createDiagramStyle, M as createHeader, Ma as createStrLit, Mc as TileFlipMode, Mi as createLogBase, Mn as WpNonVisualDrawingPropsOptions, Mo as createPictureLocking, Mr as createXdrTo, Ms as EffectContainerType, Mt as DiagramStyleLblOptions, N as createHeaders, Na as createSurface3DChart, Nc as createGradientFill, Ni as createLvl, Nn as WpShapeOptions, No as createShapeLocking, Nr as createXdrTwoCellAnchor, Ns as EffectDagOptions, Nt as DiagramStyleOptions, O as createFontElement, Oa as createSizeRepresents, Oc as LinearShadeOptions, Oi as createLblAlgn, On as WpContentPartOptions, Oo as PictureLockingOptions, Or as createXdrRowOff, Os as SphereCoords, Ot as DiagramRelIdsOptions, P as createHighlight, Pa as createSymbol, Pc as createGradientStop, Pi as createMajorGridlines, Pn as WpTextboxOptions, Po as OnOffStyleType, Pr as createXdrTxBody, Ps as createEffectDag, Pt as FontCollectionIndex, Q as createSnd, Qa as createCdrCNvGraphicFramePr, Qc as createScRgbColor, Qi as createOddHeader, Qn as createWpSp, Qo as createTransform2D, Qr as createCustSplit, Qs as createFillOverlayEffect, Qt as StyleDefHdrLstOptions, R as createLeft, Ra as createTrendlineLbl, Rc as SourceRectangleOptions, Ri as createManualLayout, Rn as createWpCNvContentPartPr, Ro as TablePartStyleOptions, Rr as createApplyToFront, Rs as ReflectionEffectOptions, Rt as createEffectClrLst, S as createCxnSp, Sa as createShowLeaderLines, Sc as GradientStopOptions, Si as createHMode, Sn as createChMax, So as createCdrXfrm, Sr as createXdrNvGrpSpPr, Ss as createBottomBevel, St as DiagramExtLstOptions, T as createEnd, Ta as createShowVertBorder, Tc as GradientFillOptions, Ti as createHoleSize, Tn as createOrgChart, To as LockedCanvasOptions, Tr as createXdrOneCellAnchor, Ts as LightRigOptions, Tt as createDiagramExtLst, U as createNvGraphicFramePr, Ua as createW, Uc as createColorElement, Ui as createMinorTickMark, Un as createWpCanvas, Uo as ThemeableLineStyleOptions, Ur as createBandFmts, Us as OuterShadowEffectOptions, Ut as createTxFillClrLst, V as createLnTlToBr, Va as createUserInterface, Vc as createBlipEffects, Vi as createMin, Vn as createWpCNvPr, Vo as TableStyleRegion, Vr as createBackWall, Vs as PresetShadowVal, Vt as createStyleLbl, W as createNvGrpSpPr, Wa as createWMode, Wc as createSolidFill, Wi as createMinorTimeUnit, Wn as createWpContentPart, Wo as createTableStyle, Wr as createBaseTimeUnit, Ws as RectAlignment, Wt as createTxLinClrLst, X as createRight, Xa as createCdrBlipFill, Xc as createSchemeColor, Xi as createNumLit, Xn as createWpNestedGrpSp, Xo as Transform2DOptions, Xr as createCrossBetween, Xs as BlendMode, Xt as LayoutDefHdrLstOptions, Y as createQuickTimeFile, Ya as createCdrAbsSizeAnchor, Yc as SchemeColorOptions, Yi as createName, Yn as createWpLinkedTxbx, Yo as GroupTransform2DOptions, Yr as createClrMapOvr, Ys as createGlowEffect, Yt as DiagramNameOptions, Z as createRound, Za as createCdrCNvCxnSpPr, Zc as ScRgbColorOptions, Zi as createOddFooter, Zn as createWpNvContentPartPr, Zo as createGroupTransform2D, Zr as createCrossesAt, Zs as FillOverlayEffectOptions, Zt as LayoutDefHdrOptions, _ as createChart, _a as createSerLines, _c as createPatternFill, _i as createFmtId, _n as PresLayoutVarsOptions, _o as createCdrSpPr, _r as createXdrCxnSp, _s as Shape3DOptions, _t as createUFillTx, a as createBottom, aa as createPictureOptions, ac as PresetDash, ai as createDispUnits, al as createHslColor, an as createStyleDefHdrLst, ao as createCdrFrom, ar as XdrMarkerOptions, as as ConnectionSite, at as createSym, b as createCustClr, ba as createShowHorzBorder, bc as BlipFillMediaData, bi as createGapWidth, bn as createAnimLvl, bo as createCdrTxBody, br as createXdrGrpSpPr, bs as BevelPresetType, bt as createUseSpRect, c as createBuClrTx, ca as createPivotFmts, cc as LineEndOptions, ci as createEvenFooter, cn as AnimLevelValue, co as createCdrGrpSpPr, cr as createXdrBlipFill, cs as PathCommand, ct as createTableStyleElement, d as createBuSzTx, da as createPlus, dc as createLineEnd, di as createExt, dn as AnimOneValue, do as createCdrNvGrpSpPr, dr as createXdrCNvPicPr, ds as createCustomGeometry, dt as createTl2br, ea as createOfPieType, ec as LineCap, ei as createDLbl, el as createRgbColor, en as createColorsDefHdr, eo as createCdrCNvPicPr, er as createWpStyle, es as createExtentionList, et as createSpDef, f as createCNvCxnSpPr, fa as createPrintSettings, fc as DashStop, fi as createExtLst, fn as ChMaxOptions, fo as createCdrNvPicPr, fr as createXdrCNvPr, fs as PresetGeometry, ft as createTop, g as createCell3D, ga as createSelection, gc as PresetPattern, gi as createFloor, gn as OrgChartOptions, go as createCdrSp, gr as createXdrContentPart, gs as PresetMaterialType, gt as createUFill, h as createCNvSpPr, ha as createSecondPieSize, hc as PatternFillOptions, hi as createFirstHeader, hn as HierBranchStyle, ho as createCdrRelSizeAnchor, hr as createXdrColOff, hs as createAdjustmentValues, ht as createTxSp, i as createBldDgm, ia as createPictureFormat, ic as PenAlignment, ii as createDispBlanksAs, il as HslColorOptions, in as createStyleDefHdr, io as createCdrExt, ir as createWpXfrm, is as createBlip, it as createStyleElement, j as createGrpSpPr, ja as createSplitType, jc as RelativeRect, ji as createLegendEntry, jn as WpLinkedTextboxOptions, jo as createGroupLocking, jr as createXdrStyle, js as createSoftEdgeEffect, jt as ColorMethod, k as createGraphicFrame, ka as createSmooth, kc as PathShadeOptions, ki as createLeaderLines, kn as WpGraphicFrameOptions, ko as ShapeLockingOptions, kr as createXdrSp, ks as Vector3D, kt as createDiagramRelIds, l as createBuFontTx, la as createPivotSource, lc as LineEndType, li as createEvenHeader, ln as AnimLvlOptions, lo as createCdrNvCxnSpPr, lr as createXdrCNvCxnSpPr, ls as PathFillMode, lt as createThemeManager, m as createCNvGrpSpPr, ma as createSecondPiePt, mc as createGroupFill, mi as createFirstFooter, mn as HierBranchOptions, mo as createCdrPic, mr as createXdrCol, ms as GeometryGuide, mt as createTxDef, n as createBevelElement, na as createPageMargins, nc as OutlineFillProperties, ni as createDTable, nl as PresetColorOptions, nn as createLayoutDefHdr, no as createCdrCNvSpPr, nr as createWpTxbxContent, ns as createBlipFill, nt as createStCxn, o as createBr, oa as createPictureStackUnit, oc as createOutline, oi as createDispUnitsLbl, ol as ColorTransformOptions, on as AdjLstOptions, oo as createCdrGraphicFrame, or as XdrShapeAttributes, os as CustomGeometryOptions, ot as createTab, p as createCNvGraphicFramePr, pa as createProtection, pc as createCustomDash, pi as createExternalData, pn as ChPrefOptions, po as createCdrNvSpPr, pr as createXdrCNvSpPr, ps as PresetGeometryOptions, pt as createTr2bl, q as createOverrideClrMapping, qa as createY, qc as createSystemColor, qi as createMultiLvlStrCache, qn as createWpGrpSp, qo as MediaTransformation, qr as createBuiltInUnit, qs as createInnerShadowEffect, qt as DiagramCategoryOptions, r as createBldChart, ra as createPageSetup, rc as OutlineOptions, ri as createData, rl as createPresetColor, rn as createLayoutDefHdrLst, ro as createCdrCxnSp, rr as createWpWhole, rs as BlipOptions, rt as createStart, s as createBuBlip, sa as createPivotFmt, sc as LineEndLength, si as createDownBars, sl as createColorTransforms, sn as AdjOptions, so as createCdrGrpSp, sr as XdrTwoCellAnchorOptions, ss as GeomRect, st as createTabLst, t as createAudioCd, ta as createOverlap, tc as LineJoin, ti as createDPt, tl as PresetColor, tn as createColorsDefHdrLst, to as createCdrCNvPr, tr as createWpTxbx, ts as BlipFillOptions, tt as createSt, u as createBuSzPts, ua as createPlotVisOnly, uc as LineEndWidth, ui as createExplosion, un as AnimOneOptions, uo as createCdrNvGraphicFramePr, ur as createXdrCNvGrpSpPr, us as PathOptions, ut as createThemeOverride, v as createClrMap, va as createShape, vc as createNoFill, vi as createFormatting, vn as createAdj, vo as createCdrStyle, vr as createXdrFrom, vs as createShape3D, vt as createULn, w as createDgm, wa as createShowOutline, wc as extractBlipFillMedia, wi as createHiLowLines, wn as createHierBranch, wo as LockedCanvas, wr as createXdrNvSpPr, ws as CameraOptions, wt as DiagramTextPropsOptions, x as createCustClrLst, xa as createShowKeys, xc as FillOptions, xi as createH, xn as createAnimOne, xo as createCdrX, xr as createXdrNvCxnSpPr, xs as createBevel, xt as createWavAudioFile, y as createCpLocks, ya as createShowDLblsOverMax, yc as BlipFillConfigOptions, yi as createGapDepth, yn as createAdjLst, yo as createCdrTo, yr as createXdrGrpSp, ys as BevelOptions, yt as createULnTx, z as createLnBlToTr, za as createUpBars, zc as createSourceRectangle, zi as createMarker, zn as createWpCNvFrPr, zo as TableStyleListOptions, zr as createApplyToSides, zs as createReflectionEffect, zt as createFillClrLst } from "./index-C-DvIxek.mjs";
|
|
5
|
-
import { a as Point, c as DataModel, d as getColorXml, f as getLayoutXml, g as STYLE_CATEGORIES, h as LAYOUT_CATEGORIES, i as SmartArtData, l as Connection, m as COLOR_CATEGORIES, n as createDataModel, o as PointPropertySetOptions, p as getStyleXml, r as SmartArtCollection, s as TransPoint, t as TreeNode, u as DEFAULT_DRAWING_XML } from "./index-D0N5Bw2M.mjs";
|
|
1
|
+
import { _ as ChartCollection, a as ChartSpaceOptions, c as DataLabelsOptions, d as ErrorBarType, f as ErrorValueType, g as View3DOptions, h as TrendlineType, i as ChartSeriesData, l as ErrorBarDirection, m as TrendlineOptions, n as AxisChartType, o as ChartType, p as TimeUnit, r as BubbleSeriesData, s as DataLabelPosition, t as chartSpaceDesc, u as ErrorBarOptions, v as ChartData } from "./index-DNH2sizc.mjs";
|
|
2
|
+
import { _ as TextSpec, a as enumEncode, b as ReadContext, c as DescriptorBuilder, d as ChildSpec, f as ChildrenSpec, g as ElementDescriptor, h as Descriptor, i as enumDecode, l as element, m as CustomDescriptor, n as boolDecode, o as parse, p as ContentSpec, r as boolEncode, s as stringify, t as DescriptorRegistry, u as AttrSpec, v as UnionSpec, x as WriteContext, y as UnionVariant } from "./index-BI-1SKm5.mjs";
|
|
3
|
+
import { $ as createStyleLbl, $a as createSchemeColor, $i as zipAndConvert, $n as ReflectionEffectOptions, $r as xsdMaterialType, $t as TableStyleOptions, A as scRgbColorDesc, Aa as GradientStop, Ai as convertToEmu, An as Shape3DOptions, Ar as SmartArtRelOptions, At as createAdj, B as DiagramRelIdsOptions, Ba as createTileInfo, Bi as DataType, Bn as Scene3DOptions, Br as replaceChartPlaceholders, Bt as GroupLockingOptions, C as fillDesc, Ca as BlipFillMediaData, Ci as convertEmuToPoints, Cn as PathOptions, Cr as LineEndOptions, Ct as AnimOneValue, D as hslColorDesc, Da as extractBlipFillMedia, Di as convertPixelsToEmu, Dn as GeometryGuide, Dr as DashStop, Dt as HierBranchStyle, E as getColorDescriptor, Ea as buildFill, Ei as convertMillimetersToTwip, En as stringifyPresetGeometry, Er as createLineEnd, Et as HierBranchOptions, F as DiagramExtensionOptions, Fa as TileFlipMode, Fi as compileMapping, Fn as createBottomBevel, Fr as getMediaRefs, Ft as createChPref, G as DiagramStyleOptions, Ga as SolidFillOptions, Gi as ZIP_STORED_LEVEL, Gn as EffectContainerType, Gr as replaceSmartArtPlaceholders, Gt as createPictureLocking, H as ColorListOptions, Ha as createSourceRectangle, Hi as PackerOptions, Hn as Vector3D, Hr as replaceImagePlaceholders, Ht as ShapeLockingOptions, I as DiagramTextPropsOptions, Ia as createGradientFill, Ii as ParsedArchive, In as BackdropOptions, Ir as getReferencedMedia, It as createHierBranch, J as StyleMatrixIndex, Ja as SystemColor, Ji as createPacker, Jn as BlurEffectOptions, Jr as xsdBlendMode, Jt as StyleMatrixReferenceOptions, K as FontCollectionIndex, Ka as createColorElement, Ki as ZipOptions, Kn as EffectDagOptions, Kr as replaceVideoPlaceholders, Kt as createShapeLocking, L as createDiagramExtLst, La as createGradientStop, Li as parseArchive, Ln as CameraOptions, Lr as getVideoRefs, Lt as createOrgChart, M as solidFillDesc, Ma as PathShadeOptions, Mi as convertUniversalMeasureToEmu, Mn as BevelOptions, Mr as collectPlaceholderKeys, Mt as createAnimLvl, N as systemColorDesc, Na as PathShadeType, Ni as convertUniversalMeasureToTwip, Nn as BevelPresetType, Nr as findAndReplaceImagePlaceholders, Nt as createAnimOne, O as presetColorDesc, Oa as GradientFillOptions, Oi as convertPointsToEmu, On as stringifyAdjustmentValues, Or as createCustomDash, Ot as OrgChartOptions, P as DiagramExtLstOptions, Pa as RelativeRect, Pi as parseUniversalMeasure, Pn as createBevel, Pr as formatId, Pt as createChMax, Q as createLinClrLst, Qa as SchemeColorOptions, Qi as unzipSync, Qn as createEffectList, Qr as xsdLineEndSize, Qt as TableStyleListOptions, R as createDiagramSp3d, Ra as TileAlignment, Ri as CompileFn, Rn as LightRigOptions, Rr as hasPlaceholders, Rt as createPresLayoutVars, S as outlineDesc, Sa as BlipFillConfigOptions, Si as convertEmuToPixels, Sn as PathFillMode, Sr as LineEndLength, St as AnimOneOptions, T as patternFillDesc, Ta as GradientStopOptions, Ti as convertInchesToTwip, Tn as PresetGeometryOptions, Tr as LineEndWidth, Tt as ChPrefOptions, U as ColorMethod, Ua as BlipEffectsOptions, Ui as XmlifyedFile, Un as createScene3D, Ur as replaceMediaPlaceholders, Ut as createGraphicFrameLocking, V as createDiagramRelIds, Va as SourceRectangleOptions, Vi as Packer, Vn as SphereCoords, Vr as replaceHyperlinkPlaceholders, Vt as PictureLockingOptions, W as DiagramStyleLblOptions, Wa as createBlipEffects, Wi as ZIP_DEFLATE_LEVEL, Wn as createSoftEdgeEffect, Wr as replaceNumberingPlaceholders, Wt as createGroupLocking, X as createEffectClrLst, Xa as createSystemColor, Xi as strFromU8, Xn as EffectListOptions, Xr as xsdEffectContainer, Xt as TableCellStyleOptions, Y as createDiagramStyle, Ya as SystemColorOptions, Yi as createZipStream, Yn as EffectExtent, Yr as xsdCompoundLine, Yt as TableCellBorderOptions, Z as createFillClrLst, Za as SchemeColor, Zi as toUint8Array, Zn as calculateEffectExtent, Zr as xsdLineCap, Zt as TablePartStyleOptions, _ as graphicFrameLockingDesc, _a as createGroupFill, _i as hashPasswordAgile, _n as createBlip, _r as OutlineFillProperties, _t as createStyleDefHdrLst, a as blipDesc, aa as CoreProperties, ai as xsdStrikeStyle, an as MediaDataTransformation, ao as PresetColorOptions, ar as RectAlignment, at as DiagramCategoryOptions, b as shapeLockingDesc, ba as createPatternFill, bi as PixelPosition, bn as GeomRect, br as PresetDash, bt as AnimLevelValue, c as stretchDesc, ca as parseCorePropsElement, ci as xsdTextCaps, cn as GroupTransform2DOptions, co as createHslColor, cr as createInnerShadowEffect, ct as LayoutDefHdrLstOptions, d as scene3DDesc, da as createDefault, di as UniqueNumericIdCreator, dn as createTransform2D, dr as BlendMode, dt as StyleDefHdrOptions, ea as zipSyncAndConvert, ei as xsdPathFillMode, en as TableStyleRegion, eo as ScRgbColorOptions, er as createReflectionEffect, et as createTxEffectClrLst, f as shape3DDesc, fa as createOverride, fi as hashedId, fn as stringifyStretch, fr as FillOverlayEffectOptions, ft as createColorsDefHdr, g as presetGeometryDesc, ga as APP_PROPS_XML, gi as derivePasswordHash, gn as BlipOptions, gr as LineJoin, gt as createStyleDefHdr, h as customGeometryDesc, ha as TargetModeType, hi as uniqueUuid, hn as createBlipFill, hr as LineCap, ht as createLayoutDefHdrLst, i as presLayoutVarsDesc, ia as convertOutput, ii as xsdRectAlignment, in as createTableStyleList, io as PresetColor, ir as OuterShadowEffectOptions, it as ColorsDefHdrOptions, j as schemeColorDesc, ja as LinearShadeOptions, ji as convertToTwip, jn as createShape3D, jr as addSmartArtRelationships, jt as createAdjLst, k as rgbColorDesc, ka as GradientShadeOptions, ki as convertPositionToEmu, kn as PresetMaterialType, kr as IdFormat, kt as PresLayoutVarsOptions, l as tileDesc, la as DefaultAttributes, li as xsdUnderlineStyle, ln as Transform2DOptions, lo as ColorTransformOptions, lr as GlowEffectOptions, lt as LayoutDefHdrOptions, m as transform2DDesc, ma as Relationships, mi as uniqueNumericIdCreator, mn as BlipFillOptions, mr as CompoundLine, mt as createLayoutDefHdr, n as diagramRelIdsDesc, na as OutputByType, ni as xsdPenAlignment, nn as ThemeableLineStyleOptions, no as RgbColorOptions, nr as PresetShadowVal, nt as createTxLinClrLst, o as blipFillDesc, oa as buildCorePropertiesXml, oi as xsdTextAlign, on as MediaTransformation, oo as createPresetColor, or as createOuterShadowEffect, ot as DiagramDescriptionOptions, p as groupTransform2DDesc, pa as RelationshipType, pi as uniqueId, pn as createExtentionList, pr as createFillOverlayEffect, pt as createColorsDefHdrLst, q as HueDirection, qa as createSolidFill, qi as Zippable, qn as createEffectDag, qr as invertMap, qt as OnOffStyleType, r as diagramStyleDesc, ra as OutputType, ri as xsdPresetShadow, rn as createTableStyle, ro as createRgbColor, rr as createPresetShadowEffect, rt as ColorsDefHdrLstOptions, s as sourceRectangleDesc, sa as buildCorePropertiesXmlString, si as xsdTextAnchor, sn as createTransformation, so as HslColorOptions, sr as InnerShadowEffectOptions, st as DiagramNameOptions, t as diagramExtLstDesc, ta as OoxmlMimeType, ti as xsdPattern, tn as TableTextStyleOptions, to as createScRgbColor, tr as PresetShadowEffectOptions, tt as createTxFillClrLst, u as bevelDesc, ua as OverrideAttributes, ui as xsdVerticalMergeRev, un as createGroupTransform2D, uo as createColorTransforms, ur as createGlowEffect, ut as StyleDefHdrLstOptions, v as groupLockingDesc, va as PatternFillOptions, vi as randomBytes, vn as ConnectionSite, vr as OutlineOptions, vt as AdjLstOptions, w as gradientFillDesc, wa as FillOptions, wi as convertInchesToEmu, wn as createCustomGeometry, wr as LineEndType, wt as ChMaxOptions, x as effectListDesc, xa as createNoFill, xi as convertEmuToInches, xn as PathCommand, xr as createOutline, xt as AnimLvlOptions, y as pictureLockingDesc, ya as PresetPattern, yi as EmuPosition, yn as CustomGeometryOptions, yr as PenAlignment, yt as AdjOptions, z as createDiagramTxPr, za as TileOptions, zi as CompressionOptions, zn as Point3D, zr as replaceAllPlaceholders, zt as GraphicFrameLockingOptions } from "./index-RWXzxibP.mjs";
|
|
4
|
+
import { a as PointPropertySetOptions, c as stringifyDataModel, d as getColorXml, f as getLayoutXml, g as STYLE_CATEGORIES, h as LAYOUT_CATEGORIES, i as SmartArtData, l as stringifyConnection, m as COLOR_CATEGORIES, n as createDataModel, o as stringifyPoint, p as getStyleXml, r as SmartArtCollection, s as stringifyTransPoint, t as TreeNode, u as DEFAULT_DRAWING_XML } from "./index-eu1aFQCm.mjs";
|
|
6
5
|
import { _ as PPTX_NS, a as getFirstLevelElements, c as TokenNotFoundError, d as createTraverser, f as RenderedParagraphNode, g as DOCX_NS, h as createReplacer, i as createTextElementContents, l as createSplitInject, m as ReplacerConfig, n as getNextRelationshipIndex, o as patchSpaceAttribute, p as createRunRenderer, r as appendContentType, s as toJson, t as appendRelationship, u as createTokenReplacer, v as XmlNamespaceConfig } from "./index-BCUfgp9A.mjs";
|
|
7
|
-
import { a as
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
import { DataType, toUint8Array } from "undio";
|
|
11
|
-
import { Buffer } from "\u0000polyfill-node.buffer";
|
|
12
|
-
|
|
13
|
-
//#region src/converters.d.ts
|
|
14
|
-
/**
|
|
15
|
-
* OOXML unit conversion utilities.
|
|
16
|
-
*
|
|
17
|
-
* @module
|
|
18
|
-
*/
|
|
19
|
-
/**
|
|
20
|
-
* Converts millimeters to TWIP (twentieths of a point).
|
|
21
|
-
*/
|
|
22
|
-
declare const convertMillimetersToTwip: (millimeters: number) => number;
|
|
23
|
-
/**
|
|
24
|
-
* Converts inches to TWIP (twentieths of a point).
|
|
25
|
-
*/
|
|
26
|
-
declare const convertInchesToTwip: (inches: number) => number;
|
|
27
|
-
/**
|
|
28
|
-
* Converts pixels to EMU (96 DPI).
|
|
29
|
-
*/
|
|
30
|
-
declare const convertPixelsToEmu: (pixels: number) => number;
|
|
31
|
-
/**
|
|
32
|
-
* Converts EMU to pixels (96 DPI).
|
|
33
|
-
*/
|
|
34
|
-
declare const convertEmuToPixels: (emus: number) => number;
|
|
35
|
-
/**
|
|
36
|
-
* Converts inches to EMU.
|
|
37
|
-
*/
|
|
38
|
-
declare const convertInchesToEmu: (inches: number) => number;
|
|
39
|
-
/**
|
|
40
|
-
* Converts EMU to inches.
|
|
41
|
-
*/
|
|
42
|
-
declare const convertEmuToInches: (emus: number) => number;
|
|
43
|
-
/**
|
|
44
|
-
* Converts points to EMU.
|
|
45
|
-
*/
|
|
46
|
-
declare const convertPointsToEmu: (points: number) => number;
|
|
47
|
-
/**
|
|
48
|
-
* Converts EMU to points.
|
|
49
|
-
*/
|
|
50
|
-
declare const convertEmuToPoints: (emus: number) => number;
|
|
51
|
-
//#endregion
|
|
52
|
-
//#region src/id-generators.d.ts
|
|
53
|
-
/**
|
|
54
|
-
* A function that generates unique sequential numeric IDs.
|
|
55
|
-
*/
|
|
56
|
-
type UniqueNumericIdCreator = () => number;
|
|
57
|
-
/**
|
|
58
|
-
* Creates a unique numeric ID generator with sequential numbering.
|
|
59
|
-
*/
|
|
60
|
-
declare const uniqueNumericIdCreator: (initial?: number) => UniqueNumericIdCreator;
|
|
61
|
-
/**
|
|
62
|
-
* Generates a unique lowercase alphanumeric ID using nanoid.
|
|
63
|
-
*/
|
|
64
|
-
declare const uniqueId: () => string;
|
|
65
|
-
/**
|
|
66
|
-
* Generates a SHA-1 hash of the provided data.
|
|
67
|
-
*/
|
|
68
|
-
declare const hashedId: (data: Buffer | string | Uint8Array | ArrayBuffer) => string;
|
|
69
|
-
/**
|
|
70
|
-
* Generates a UUID v4-style unique identifier.
|
|
71
|
-
*/
|
|
72
|
-
declare const uniqueUuid: () => string;
|
|
73
|
-
//#endregion
|
|
74
|
-
//#region src/output-type.d.ts
|
|
75
|
-
/**
|
|
76
|
-
* Output type definitions for OOXML document export.
|
|
77
|
-
*
|
|
78
|
-
* @module
|
|
79
|
-
*/
|
|
80
|
-
interface OutputByType {
|
|
81
|
-
readonly base64: string;
|
|
82
|
-
readonly string: string;
|
|
83
|
-
readonly text: string;
|
|
84
|
-
readonly binarystring: string;
|
|
85
|
-
readonly array: readonly number[];
|
|
86
|
-
readonly uint8array: Uint8Array;
|
|
87
|
-
readonly arraybuffer: ArrayBuffer;
|
|
88
|
-
readonly blob: Blob;
|
|
89
|
-
readonly nodebuffer: Buffer;
|
|
90
|
-
}
|
|
91
|
-
type OutputType = keyof OutputByType;
|
|
92
|
-
declare const OoxmlMimeType: {
|
|
93
|
-
readonly DOCX: "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
|
|
94
|
-
readonly PPTX: "application/vnd.openxmlformats-officedocument.presentationml.presentation";
|
|
95
|
-
readonly XLSX: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
|
|
96
|
-
};
|
|
97
|
-
declare const convertOutput: <T extends OutputType>(data: Uint8Array, type: T, mimeType?: string) => OutputByType[T];
|
|
98
|
-
//#endregion
|
|
99
|
-
//#region src/packer.d.ts
|
|
100
|
-
interface XmlifyedFile {
|
|
101
|
-
readonly path: string;
|
|
102
|
-
readonly data: string | Uint8Array;
|
|
103
|
-
}
|
|
104
|
-
/** Default DEFLATE level for XML entries (SuperFast, matching MS Office). */
|
|
105
|
-
declare const ZIP_DEFLATE_LEVEL = 1;
|
|
106
|
-
/** Default level for media entries (STORE — no compression). */
|
|
107
|
-
declare const ZIP_STORED_LEVEL = 0;
|
|
108
|
-
/** Compression options for ZIP output (zlib levels 0-9, matching fflate). */
|
|
109
|
-
interface CompressionOptions {
|
|
110
|
-
/** DEFLATE level for XML files. Default: 1 (SuperFast, matching MS Office). */
|
|
111
|
-
readonly xml?: number;
|
|
112
|
-
/** DEFLATE level for media files. Default: 0 (STORE, no compression). */
|
|
113
|
-
readonly media?: number;
|
|
114
|
-
}
|
|
115
|
-
/** Options for Packer output methods. */
|
|
116
|
-
interface PackerOptions {
|
|
117
|
-
/** Custom XML/ZIP file overrides. */
|
|
118
|
-
readonly overrides?: readonly XmlifyedFile[];
|
|
119
|
-
/** Compression levels for ZIP entries. */
|
|
120
|
-
readonly compression?: CompressionOptions;
|
|
121
|
-
}
|
|
122
|
-
/**
|
|
123
|
-
* Asynchronously compress files and convert to the requested output format.
|
|
124
|
-
*
|
|
125
|
-
* Uses fflate Web Workers for non-blocking DEFLATE compression.
|
|
126
|
-
* XML entries use DEFLATE by default; media entries should explicitly set
|
|
127
|
-
* `{ level: ZIP_STORED_LEVEL }` to avoid redundant compression.
|
|
128
|
-
*/
|
|
129
|
-
declare const zipAndConvert: <T extends OutputType>(files: Zippable$1, type: T, mimeType: string, level?: number) => Promise<OutputByType[T]>;
|
|
130
|
-
/**
|
|
131
|
-
* Synchronously compress files and convert to the requested output format.
|
|
132
|
-
*
|
|
133
|
-
* Uses synchronous DEFLATE compression for maximum throughput.
|
|
134
|
-
* Blocks the event loop — prefer {@link zipAndConvert} in server contexts.
|
|
135
|
-
*/
|
|
136
|
-
declare const zipSyncAndConvert: <T extends OutputType>(files: Zippable$1, type: T, mimeType: string, level?: number) => OutputByType[T];
|
|
137
|
-
/**
|
|
138
|
-
* Create a `ReadableStream<Uint8Array>` from compressed file entries.
|
|
139
|
-
*
|
|
140
|
-
* Uses fflate's `AsyncZipDeflate` for non-blocking DEFLATE compression.
|
|
141
|
-
* `STORED` entries (media) pass through synchronously.
|
|
142
|
-
* Works in both Node.js and browsers (Web Streams API).
|
|
143
|
-
*/
|
|
144
|
-
declare const createZipStream: (files: Zippable$1, defaultLevel?: number) => ReadableStream<Uint8Array>;
|
|
145
|
-
/**
|
|
146
|
-
* Compile function provided by each package to convert a file object into a Zippable map.
|
|
147
|
-
*/
|
|
148
|
-
type CompileFn<TFile> = (file: TFile, overrides?: readonly XmlifyedFile[], mediaLevel?: number) => Zippable$1;
|
|
149
|
-
/**
|
|
150
|
-
* Packer interface returned by {@link createPacker}.
|
|
151
|
-
*
|
|
152
|
-
* Async methods use fflate Web Workers for non-blocking compression.
|
|
153
|
-
* Sync methods use synchronous compression for maximum throughput in
|
|
154
|
-
* CLI scripts and build tools.
|
|
155
|
-
*/
|
|
156
|
-
interface Packer<TFile> {
|
|
157
|
-
/** Compile file to Zippable map (synchronous). */
|
|
158
|
-
compile: CompileFn<TFile>;
|
|
159
|
-
/** Generic async output — returns the requested OutputType. */
|
|
160
|
-
pack<T extends OutputType>(file: TFile, type: T, options?: PackerOptions): Promise<OutputByType[T]>;
|
|
161
|
-
/** Generic sync output — returns the requested OutputType. */
|
|
162
|
-
packSync<T extends OutputType>(file: TFile, type: T, options?: PackerOptions): OutputByType[T];
|
|
163
|
-
/** Async → `Promise<Uint8Array>` (like `Response.bytes()`). */
|
|
164
|
-
toBytes(file: TFile, options?: PackerOptions): Promise<Uint8Array>;
|
|
165
|
-
/** Sync → `Uint8Array`. */
|
|
166
|
-
toBytesSync(file: TFile, options?: PackerOptions): Uint8Array;
|
|
167
|
-
/** Async → `Promise<string>` (raw ZIP content as string). */
|
|
168
|
-
toString(file: TFile, options?: PackerOptions): Promise<string>;
|
|
169
|
-
/** Sync → `string`. */
|
|
170
|
-
toStringSync(file: TFile, options?: PackerOptions): string;
|
|
171
|
-
/** Async → `Promise<Buffer>` (Node.js). */
|
|
172
|
-
toBuffer(file: TFile, options?: PackerOptions): Promise<Buffer>;
|
|
173
|
-
/** Sync → `Buffer` (Node.js). */
|
|
174
|
-
toBufferSync(file: TFile, options?: PackerOptions): Buffer;
|
|
175
|
-
/** Async → `Promise<string>` (base64-encoded). */
|
|
176
|
-
toBase64String(file: TFile, options?: PackerOptions): Promise<string>;
|
|
177
|
-
/** Sync → `string` (base64-encoded). */
|
|
178
|
-
toBase64StringSync(file: TFile, options?: PackerOptions): string;
|
|
179
|
-
/** Async → `Promise<Blob>` (browser). */
|
|
180
|
-
toBlob(file: TFile, options?: PackerOptions): Promise<Blob>;
|
|
181
|
-
/** Sync → `Blob`. */
|
|
182
|
-
toBlobSync(file: TFile, options?: PackerOptions): Blob;
|
|
183
|
-
/** Async → `Promise<ArrayBuffer>`. */
|
|
184
|
-
toArrayBuffer(file: TFile, options?: PackerOptions): Promise<ArrayBuffer>;
|
|
185
|
-
/** Sync → `ArrayBuffer`. */
|
|
186
|
-
toArrayBufferSync(file: TFile, options?: PackerOptions): ArrayBuffer;
|
|
187
|
-
/** Streaming output via `ReadableStream<Uint8Array>` (cross-platform, uses Web Workers). */
|
|
188
|
-
toStream(file: TFile, options?: PackerOptions): ReadableStream<Uint8Array>;
|
|
189
|
-
}
|
|
190
|
-
/**
|
|
191
|
-
* Create a Packer object with all output format methods.
|
|
192
|
-
*
|
|
193
|
-
* Centralises the ZIP → convert pipeline and the streaming implementation
|
|
194
|
-
* so that each OOXML package only needs to provide a `compile` function and
|
|
195
|
-
* a MIME type.
|
|
196
|
-
*/
|
|
197
|
-
declare const createPacker: <TFile>(options: {
|
|
198
|
-
readonly compile: CompileFn<TFile>;
|
|
199
|
-
readonly mimeType: string;
|
|
200
|
-
}) => Packer<TFile>;
|
|
201
|
-
//#endregion
|
|
202
|
-
//#region src/opc/app-properties.d.ts
|
|
203
|
-
declare class AppProperties extends ImportedXmlComponent {
|
|
204
|
-
private static instance;
|
|
205
|
-
constructor();
|
|
206
|
-
toXml(_context: Context): string;
|
|
207
|
-
}
|
|
208
|
-
//#endregion
|
|
209
|
-
//#region src/opc/relationships.d.ts
|
|
210
|
-
type RelationshipType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" | "http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramData" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramLayout" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramQuickStyle" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramColors" | "http://schemas.microsoft.com/office/2007/relationships/diagramLayout" | "http://schemas.microsoft.com/office/2007/relationships/diagramStyle" | "http://schemas.microsoft.com/office/2007/relationships/diagramColors" | "http://schemas.microsoft.com/office/2007/relationships/diagramDrawing" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/webSettings" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/header" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/endnotes" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/bibliography" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/glossaryDocument" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/font" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/aFChunk" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/subDocument" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slide" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesSlide" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/presProps" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/viewProps" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/tableStyles" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesMaster" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/handoutMaster" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/commentAuthors" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/video" | "http://schemas.microsoft.com/office/2007/relationships/media" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/calcChain" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotTable" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotCacheDefinition" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotCacheRecords" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/table" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath";
|
|
211
|
-
declare const TargetModeType: {
|
|
212
|
-
readonly EXTERNAL: "External";
|
|
213
|
-
};
|
|
214
|
-
declare class Relationships extends BaseXmlComponent {
|
|
215
|
-
private entries;
|
|
216
|
-
constructor();
|
|
217
|
-
addRelationship(id: number | string, type: RelationshipType, target: string, targetMode?: (typeof TargetModeType)[keyof typeof TargetModeType]): void;
|
|
218
|
-
get relationshipCount(): number;
|
|
219
|
-
/**
|
|
220
|
-
* Zero-allocation fast path: directly concatenate XML string.
|
|
221
|
-
* Bypasses the IXmlableObject intermediate tree entirely.
|
|
222
|
-
*/
|
|
223
|
-
toXml(_context: Context): string;
|
|
224
|
-
}
|
|
225
|
-
//#endregion
|
|
226
|
-
//#region src/opc/content-types.d.ts
|
|
227
|
-
interface DefaultAttributes {
|
|
228
|
-
readonly contentType: string;
|
|
229
|
-
readonly extension?: string;
|
|
230
|
-
}
|
|
231
|
-
/**
|
|
232
|
-
* Creates a Default element mapping a file extension to a MIME content type.
|
|
233
|
-
*/
|
|
234
|
-
declare const createDefault: (contentType: string, extension?: string) => XmlComponent;
|
|
235
|
-
interface OverrideAttributes {
|
|
236
|
-
readonly contentType: string;
|
|
237
|
-
readonly partName?: string;
|
|
238
|
-
}
|
|
239
|
-
/**
|
|
240
|
-
* Creates an Override element mapping a specific part path to a MIME content type.
|
|
241
|
-
*/
|
|
242
|
-
declare const createOverride: (contentType: string, partName?: string) => XmlComponent;
|
|
243
|
-
//#endregion
|
|
244
|
-
//#region src/formatter.d.ts
|
|
245
|
-
/**
|
|
246
|
-
* Converts an XmlComponent tree into an XML string via the toXml() fast path.
|
|
247
|
-
*/
|
|
248
|
-
declare class Formatter {
|
|
249
|
-
/**
|
|
250
|
-
* Serialize a component directly to XML string via the toXml() fast path.
|
|
251
|
-
* Always includes XML declaration.
|
|
252
|
-
*/
|
|
253
|
-
formatToXml(input: BaseXmlComponent, context: Context): string;
|
|
254
|
-
}
|
|
255
|
-
//#endregion
|
|
256
|
-
//#region src/core-properties.d.ts
|
|
257
|
-
interface CoreProperties {
|
|
258
|
-
title?: string;
|
|
259
|
-
subject?: string;
|
|
260
|
-
creator?: string;
|
|
261
|
-
keywords?: string;
|
|
262
|
-
description?: string;
|
|
263
|
-
lastModifiedBy?: string;
|
|
264
|
-
revision?: string;
|
|
265
|
-
created?: string;
|
|
266
|
-
modified?: string;
|
|
267
|
-
}
|
|
268
|
-
/**
|
|
269
|
-
* Parse core properties from an already-parsed XML element.
|
|
270
|
-
* Shared by docx and pptx to extract Dublin Core metadata.
|
|
271
|
-
*/
|
|
272
|
-
declare function parseCorePropsElement(el: Element | undefined): CoreProperties;
|
|
273
|
-
/**
|
|
274
|
-
* Build a cp:coreProperties XML object from metadata.
|
|
275
|
-
*
|
|
276
|
-
* Shared by docx and pptx to avoid duplicating namespace declarations
|
|
277
|
-
* and Dublin Core property construction.
|
|
278
|
-
*/
|
|
279
|
-
declare function buildCorePropertiesXml(opts: {
|
|
280
|
-
readonly title?: string;
|
|
281
|
-
readonly subject?: string;
|
|
282
|
-
readonly creator?: string;
|
|
283
|
-
readonly keywords?: string;
|
|
284
|
-
readonly description?: string;
|
|
285
|
-
readonly lastModifiedBy?: string;
|
|
286
|
-
readonly revision?: number;
|
|
287
|
-
}): IXmlableObject;
|
|
288
|
-
/**
|
|
289
|
-
* Build a cp:coreProperties XML string directly (fast path).
|
|
290
|
-
*
|
|
291
|
-
* Shared by pptx and xlsx to bypass the toXml() → xml() pipeline.
|
|
292
|
-
*/
|
|
293
|
-
declare function buildCorePropertiesXmlString(opts: {
|
|
294
|
-
readonly title?: string;
|
|
295
|
-
readonly subject?: string;
|
|
296
|
-
readonly creator?: string;
|
|
297
|
-
readonly keywords?: string;
|
|
298
|
-
readonly description?: string;
|
|
299
|
-
readonly lastModifiedBy?: string;
|
|
300
|
-
readonly revision?: number;
|
|
301
|
-
}): string;
|
|
302
|
-
//#endregion
|
|
303
|
-
//#region src/parser.d.ts
|
|
304
|
-
/**
|
|
305
|
-
* Parsed OOXML archive backed by an unzipped ZIP map.
|
|
306
|
-
*
|
|
307
|
-
* Provides unstorage-style API (get/set/getRaw/setRaw/remove/has/keys)
|
|
308
|
-
* for reading and modifying individual parts, then serializing back to a ZIP buffer.
|
|
309
|
-
*/
|
|
310
|
-
declare class ParsedArchive {
|
|
311
|
-
private readonly zip;
|
|
312
|
-
private readonly modified;
|
|
313
|
-
private readonly wrapperCache;
|
|
314
|
-
constructor(data: Uint8Array);
|
|
315
|
-
/** Read an XML part as an Element tree. */
|
|
316
|
-
get(path: string): Element | undefined;
|
|
317
|
-
/** Write an XML part (Element → XML string). */
|
|
318
|
-
set(path: string, element: Element): void;
|
|
319
|
-
/** Read raw binary data (images, media, etc.). */
|
|
320
|
-
getRaw(path: string): Uint8Array | undefined;
|
|
321
|
-
/** Write raw binary data. */
|
|
322
|
-
setRaw(path: string, data: Uint8Array): void;
|
|
323
|
-
/** Remove a part. Returns true if it existed. */
|
|
324
|
-
remove(path: string): boolean;
|
|
325
|
-
/** Check if a part exists. */
|
|
326
|
-
has(path: string): boolean;
|
|
327
|
-
/** List all paths matching an optional prefix. */
|
|
328
|
-
keys(prefix?: string): string[];
|
|
329
|
-
/** Serialize back to a ZIP buffer, merging original zip + modifications. */
|
|
330
|
-
save(): Uint8Array;
|
|
331
|
-
}
|
|
332
|
-
/** Parse an OOXML archive (.docx, .pptx, .xlsx) into a ParsedArchive. */
|
|
333
|
-
declare function parseArchive(data: Uint8Array): ParsedArchive;
|
|
334
|
-
//#endregion
|
|
335
|
-
//#region src/raw-passthrough.d.ts
|
|
336
|
-
/**
|
|
337
|
-
* Convert an Element tree to xml-js compact format (IXmlableObject).
|
|
338
|
-
* Always wraps in a named key so the element name is preserved even for empty elements.
|
|
339
|
-
*/
|
|
340
|
-
declare function elementToCompact(el: Element): IXmlableObject;
|
|
341
|
-
/**
|
|
342
|
-
* Thin wrapper that passes a raw Element tree through the XML serialization pipeline.
|
|
343
|
-
* Used to include parsed-but-unrecognized XML in generated documents.
|
|
344
|
-
*/
|
|
345
|
-
declare class RawPassthrough extends BaseXmlComponent {
|
|
346
|
-
private readonly element;
|
|
347
|
-
constructor(element: Element);
|
|
348
|
-
toXml(_context: Context): string;
|
|
349
|
-
}
|
|
350
|
-
//#endregion
|
|
351
|
-
//#region src/placeholder.d.ts
|
|
352
|
-
/**
|
|
353
|
-
* Placeholder detection and replacement utilities for compiler post-processing.
|
|
354
|
-
*
|
|
355
|
-
* Both DOCX and PPTX compilers use placeholder tokens (e.g. `{chart:key}`)
|
|
356
|
-
* in XML strings to defer relationship ID assignment. This module provides
|
|
357
|
-
* fast pre-check utilities and shared replacement functions.
|
|
358
|
-
*/
|
|
359
|
-
type IdFormat = "rId" | "plain";
|
|
360
|
-
declare const formatId: (offset: number, index: number, style: IdFormat) => string;
|
|
361
|
-
declare function hasPlaceholders(xml: string): boolean;
|
|
362
|
-
declare function collectPlaceholderKeys(xml: string, prefix: string): string[];
|
|
363
|
-
declare function replaceImagePlaceholders(xml: string, mediaData: readonly {
|
|
364
|
-
readonly fileName: string;
|
|
365
|
-
}[], offset: number, idFormat?: IdFormat): string;
|
|
366
|
-
declare function getReferencedMedia(xml: string, mediaArray: readonly {
|
|
367
|
-
readonly fileName: string;
|
|
368
|
-
}[]): readonly {
|
|
369
|
-
readonly fileName: string;
|
|
370
|
-
}[];
|
|
371
|
-
declare function replaceChartPlaceholders(xml: string, chartKeys: readonly string[], offset: number, idFormat?: IdFormat): string;
|
|
372
|
-
interface SmartArtRelOptions {
|
|
373
|
-
readonly pathPrefix: string;
|
|
374
|
-
readonly styleRelType: RelationshipType;
|
|
375
|
-
}
|
|
376
|
-
declare function replaceSmartArtPlaceholders(xml: string, keys: readonly string[], dataOffset: number, idFormat?: IdFormat): string;
|
|
377
|
-
declare function addSmartArtRelationships(keys: readonly string[], addRel: (id: number, type: RelationshipType, target: string, targetMode?: string) => void, baseOffset: number, globalStartIndex: number, options: SmartArtRelOptions): void;
|
|
378
|
-
//#endregion
|
|
379
|
-
//#region src/xsd-mappings.d.ts
|
|
380
|
-
/**
|
|
381
|
-
* Bidirectional mappings between user-friendly values and XSD abbreviated values.
|
|
382
|
-
*
|
|
383
|
-
* When XSD uses full English words (e.g. "center", "start"), values are used directly — no mapping needed.
|
|
384
|
-
* When XSD uses abbreviations (e.g. "ctr", "l", "rnd"), this module maps them to full words.
|
|
385
|
-
*
|
|
386
|
-
* Usage in generation (Options → XML): xsdAlign.to("center") → "ctr"
|
|
387
|
-
* Usage in parsing (XML → Options): xsdAlign.from("ctr") → "center"
|
|
388
|
-
*/
|
|
389
|
-
/** Invert a Record<K, V> into Record<V, K>. */
|
|
390
|
-
declare function invertMap<K extends string, V extends string>(map: Record<K, V>): Record<V, K>;
|
|
391
|
-
declare const xsdRectAlignment: {
|
|
392
|
-
/** User-friendly value → XSD value */to: (key: string) => string; /** XSD value → user-friendly value */
|
|
393
|
-
from: (xsd: string) => string; /** The forward map (user → XSD) */
|
|
394
|
-
forward: Record<"topLeft" | "top" | "topRight" | "left" | "center" | "right" | "bottomLeft" | "bottom" | "bottomRight", "tl" | "t" | "tr" | "l" | "ctr" | "r" | "bl" | "b" | "br">; /** The reverse map (XSD → user) */
|
|
395
|
-
reverse: Record<"tl" | "t" | "tr" | "l" | "ctr" | "r" | "bl" | "b" | "br", "topLeft" | "top" | "topRight" | "left" | "center" | "right" | "bottomLeft" | "bottom" | "bottomRight">;
|
|
396
|
-
};
|
|
397
|
-
declare const xsdTextAlign: {
|
|
398
|
-
/** User-friendly value → XSD value */to: (key: string) => string; /** XSD value → user-friendly value */
|
|
399
|
-
from: (xsd: string) => string; /** The forward map (user → XSD) */
|
|
400
|
-
forward: Record<"left" | "center" | "right" | "justify", "l" | "ctr" | "r" | "just">; /** The reverse map (XSD → user) */
|
|
401
|
-
reverse: Record<"l" | "ctr" | "r" | "just", "left" | "center" | "right" | "justify">;
|
|
402
|
-
};
|
|
403
|
-
declare const xsdTextAnchor: {
|
|
404
|
-
/** User-friendly value → XSD value */to: (key: string) => string; /** XSD value → user-friendly value */
|
|
405
|
-
from: (xsd: string) => string; /** The forward map (user → XSD) */
|
|
406
|
-
forward: Record<"top" | "center" | "bottom" | "justify" | "distribute", "t" | "ctr" | "b" | "just" | "dist">; /** The reverse map (XSD → user) */
|
|
407
|
-
reverse: Record<"t" | "ctr" | "b" | "just" | "dist", "top" | "center" | "bottom" | "justify" | "distribute">;
|
|
408
|
-
};
|
|
409
|
-
declare const xsdLineCap: {
|
|
410
|
-
/** User-friendly value → XSD value */to: (key: string) => string; /** XSD value → user-friendly value */
|
|
411
|
-
from: (xsd: string) => string; /** The forward map (user → XSD) */
|
|
412
|
-
forward: Record<"round" | "square" | "flat", "rnd" | "sq" | "flat">; /** The reverse map (XSD → user) */
|
|
413
|
-
reverse: Record<"rnd" | "sq" | "flat", "round" | "square" | "flat">;
|
|
414
|
-
};
|
|
415
|
-
declare const xsdCompoundLine: {
|
|
416
|
-
/** User-friendly value → XSD value */to: (key: string) => string; /** XSD value → user-friendly value */
|
|
417
|
-
from: (xsd: string) => string; /** The forward map (user → XSD) */
|
|
418
|
-
forward: Record<"single" | "double" | "thickThin" | "thinThick" | "triple", "sng" | "dbl" | "thickThin" | "thinThick" | "tri">; /** The reverse map (XSD → user) */
|
|
419
|
-
reverse: Record<"sng" | "dbl" | "thickThin" | "thinThick" | "tri", "single" | "double" | "thickThin" | "thinThick" | "triple">;
|
|
420
|
-
};
|
|
421
|
-
declare const xsdPenAlignment: {
|
|
422
|
-
/** User-friendly value → XSD value */to: (key: string) => string; /** XSD value → user-friendly value */
|
|
423
|
-
from: (xsd: string) => string; /** The forward map (user → XSD) */
|
|
424
|
-
forward: Record<"center" | "inside", "in" | "ctr">; /** The reverse map (XSD → user) */
|
|
425
|
-
reverse: Record<"in" | "ctr", "center" | "inside">;
|
|
426
|
-
};
|
|
427
|
-
declare const xsdLineEndSize: {
|
|
428
|
-
/** User-friendly value → XSD value */to: (key: string) => string; /** XSD value → user-friendly value */
|
|
429
|
-
from: (xsd: string) => string; /** The forward map (user → XSD) */
|
|
430
|
-
forward: Record<"small" | "medium" | "large", "sm" | "med" | "lg">; /** The reverse map (XSD → user) */
|
|
431
|
-
reverse: Record<"sm" | "med" | "lg", "small" | "medium" | "large">;
|
|
432
|
-
};
|
|
433
|
-
declare const xsdBlendMode: {
|
|
434
|
-
/** User-friendly value → XSD value */to: (key: string) => string; /** XSD value → user-friendly value */
|
|
435
|
-
from: (xsd: string) => string; /** The forward map (user → XSD) */
|
|
436
|
-
forward: Record<"over" | "multiply" | "screen" | "darken" | "lighten", "over" | "mult" | "screen" | "darken" | "lighten">; /** The reverse map (XSD → user) */
|
|
437
|
-
reverse: Record<"over" | "mult" | "screen" | "darken" | "lighten", "over" | "multiply" | "screen" | "darken" | "lighten">;
|
|
438
|
-
};
|
|
439
|
-
declare const xsdPathFillMode: {
|
|
440
|
-
/** User-friendly value → XSD value */to: (key: string) => string; /** XSD value → user-friendly value */
|
|
441
|
-
from: (xsd: string) => string; /** The forward map (user → XSD) */
|
|
442
|
-
forward: Record<"none" | "darken" | "lighten" | "normal" | "lightenLess" | "darkenLess", "none" | "darken" | "lighten" | "norm" | "lightenLess" | "darkenLess">; /** The reverse map (XSD → user) */
|
|
443
|
-
reverse: Record<"none" | "darken" | "lighten" | "norm" | "lightenLess" | "darkenLess", "none" | "darken" | "lighten" | "normal" | "lightenLess" | "darkenLess">;
|
|
444
|
-
};
|
|
445
|
-
declare const xsdEffectContainer: {
|
|
446
|
-
/** User-friendly value → XSD value */to: (key: string) => string; /** XSD value → user-friendly value */
|
|
447
|
-
from: (xsd: string) => string; /** The forward map (user → XSD) */
|
|
448
|
-
forward: Record<"sibling" | "tree", "sib" | "tree">; /** The reverse map (XSD → user) */
|
|
449
|
-
reverse: Record<"sib" | "tree", "sibling" | "tree">;
|
|
450
|
-
};
|
|
451
|
-
declare const xsdPresetShadow: {
|
|
452
|
-
/** User-friendly value → XSD value */to: (key: string) => string; /** XSD value → user-friendly value */
|
|
453
|
-
from: (xsd: string) => string; /** The forward map (user → XSD) */
|
|
454
|
-
forward: Record<"shadow1" | "shadow2" | "shadow3" | "shadow4" | "shadow5" | "shadow6" | "shadow7" | "shadow8" | "shadow9" | "shadow10" | "shadow11" | "shadow12" | "shadow13" | "shadow14" | "shadow15" | "shadow16" | "shadow17" | "shadow18" | "shadow19" | "shadow20", "shdw1" | "shdw2" | "shdw3" | "shdw4" | "shdw5" | "shdw6" | "shdw7" | "shdw8" | "shdw9" | "shdw10" | "shdw11" | "shdw12" | "shdw13" | "shdw14" | "shdw15" | "shdw16" | "shdw17" | "shdw18" | "shdw19" | "shdw20">; /** The reverse map (XSD → user) */
|
|
455
|
-
reverse: Record<"shdw1" | "shdw2" | "shdw3" | "shdw4" | "shdw5" | "shdw6" | "shdw7" | "shdw8" | "shdw9" | "shdw10" | "shdw11" | "shdw12" | "shdw13" | "shdw14" | "shdw15" | "shdw16" | "shdw17" | "shdw18" | "shdw19" | "shdw20", "shadow1" | "shadow2" | "shadow3" | "shadow4" | "shadow5" | "shadow6" | "shadow7" | "shadow8" | "shadow9" | "shadow10" | "shadow11" | "shadow12" | "shadow13" | "shadow14" | "shadow15" | "shadow16" | "shadow17" | "shadow18" | "shadow19" | "shadow20">;
|
|
456
|
-
};
|
|
457
|
-
declare const xsdMaterialType: {
|
|
458
|
-
/** User-friendly value → XSD value */to: (key: string) => string; /** XSD value → user-friendly value */
|
|
459
|
-
from: (xsd: string) => string; /** The forward map (user → XSD) */
|
|
460
|
-
forward: Record<"flat" | "legacyMatte" | "legacyPlastic" | "legacyMetal" | "legacyWireframe" | "matte" | "plastic" | "metal" | "warmMatte" | "translucentPowder" | "powder" | "darkEdge" | "softEdge" | "clear" | "softMetal", "flat" | "legacyMatte" | "legacyPlastic" | "legacyMetal" | "legacyWireframe" | "matte" | "plastic" | "metal" | "warmMatte" | "translucentPowder" | "powder" | "dkEdge" | "softEdge" | "clear" | "softmetal">; /** The reverse map (XSD → user) */
|
|
461
|
-
reverse: Record<"flat" | "legacyMatte" | "legacyPlastic" | "legacyMetal" | "legacyWireframe" | "matte" | "plastic" | "metal" | "warmMatte" | "translucentPowder" | "powder" | "dkEdge" | "softEdge" | "clear" | "softmetal", "flat" | "legacyMatte" | "legacyPlastic" | "legacyMetal" | "legacyWireframe" | "matte" | "plastic" | "metal" | "warmMatte" | "translucentPowder" | "powder" | "darkEdge" | "softEdge" | "clear" | "softMetal">;
|
|
462
|
-
};
|
|
463
|
-
declare const xsdPattern: {
|
|
464
|
-
/** User-friendly value → XSD value */to: (key: string) => string; /** XSD value → user-friendly value */
|
|
465
|
-
from: (xsd: string) => string; /** The forward map (user → XSD) */
|
|
466
|
-
forward: Record<"percent5" | "percent10" | "percent20" | "percent25" | "percent30" | "percent40" | "percent50" | "percent60" | "percent70" | "percent75" | "percent80" | "percent90" | "horizontal" | "vertical" | "lightHorizontal" | "lightVertical" | "darkHorizontal" | "darkVertical" | "narrowHorizontal" | "narrowVertical" | "dashedHorizontal" | "dashedVertical" | "cross" | "downDiagonal" | "upDiagonal" | "lightDownDiagonal" | "lightUpDiagonal" | "darkDownDiagonal" | "darkUpDiagonal" | "wideDownDiagonal" | "wideUpDiagonal" | "dashedDownDiagonal" | "dashedUpDiagonal" | "diagonalCross" | "smallChecker" | "largeChecker" | "smallGrid" | "largeGrid" | "dotGrid" | "smallConfetti" | "largeConfetti" | "horizontalBrick" | "diagonalBrick" | "solidDiamond" | "openDiamond" | "dottedDiamond" | "plaid" | "sphere" | "weave" | "divot" | "shingle" | "wave" | "trellis" | "zigZag", "pct5" | "pct10" | "pct20" | "pct25" | "pct30" | "pct40" | "pct50" | "pct60" | "pct70" | "pct75" | "pct80" | "pct90" | "horz" | "vert" | "ltHorz" | "ltVert" | "dkHorz" | "dkVert" | "narHorz" | "narVert" | "dashHorz" | "dashVert" | "cross" | "dnDiag" | "upDiag" | "ltDnDiag" | "ltUpDiag" | "dkDnDiag" | "dkUpDiag" | "wdDnDiag" | "wdUpDiag" | "dashDnDiag" | "dashUpDiag" | "diagCross" | "smCheck" | "lgCheck" | "smGrid" | "lgGrid" | "dotGrid" | "smConfetti" | "lgConfetti" | "horzBrick" | "diagBrick" | "solidDmnd" | "openDmnd" | "dotDmnd" | "plaid" | "sphere" | "weave" | "divot" | "shingle" | "wave" | "trellis" | "zigZag">; /** The reverse map (XSD → user) */
|
|
467
|
-
reverse: Record<"pct5" | "pct10" | "pct20" | "pct25" | "pct30" | "pct40" | "pct50" | "pct60" | "pct70" | "pct75" | "pct80" | "pct90" | "horz" | "vert" | "ltHorz" | "ltVert" | "dkHorz" | "dkVert" | "narHorz" | "narVert" | "dashHorz" | "dashVert" | "cross" | "dnDiag" | "upDiag" | "ltDnDiag" | "ltUpDiag" | "dkDnDiag" | "dkUpDiag" | "wdDnDiag" | "wdUpDiag" | "dashDnDiag" | "dashUpDiag" | "diagCross" | "smCheck" | "lgCheck" | "smGrid" | "lgGrid" | "dotGrid" | "smConfetti" | "lgConfetti" | "horzBrick" | "diagBrick" | "solidDmnd" | "openDmnd" | "dotDmnd" | "plaid" | "sphere" | "weave" | "divot" | "shingle" | "wave" | "trellis" | "zigZag", "percent5" | "percent10" | "percent20" | "percent25" | "percent30" | "percent40" | "percent50" | "percent60" | "percent70" | "percent75" | "percent80" | "percent90" | "horizontal" | "vertical" | "lightHorizontal" | "lightVertical" | "darkHorizontal" | "darkVertical" | "narrowHorizontal" | "narrowVertical" | "dashedHorizontal" | "dashedVertical" | "cross" | "downDiagonal" | "upDiagonal" | "lightDownDiagonal" | "lightUpDiagonal" | "darkDownDiagonal" | "darkUpDiagonal" | "wideDownDiagonal" | "wideUpDiagonal" | "dashedDownDiagonal" | "dashedUpDiagonal" | "diagonalCross" | "smallChecker" | "largeChecker" | "smallGrid" | "largeGrid" | "dotGrid" | "smallConfetti" | "largeConfetti" | "horizontalBrick" | "diagonalBrick" | "solidDiamond" | "openDiamond" | "dottedDiamond" | "plaid" | "sphere" | "weave" | "divot" | "shingle" | "wave" | "trellis" | "zigZag">;
|
|
468
|
-
};
|
|
469
|
-
declare const xsdVerticalMergeRev: {
|
|
470
|
-
/** User-friendly value → XSD value */to: (key: string) => string; /** XSD value → user-friendly value */
|
|
471
|
-
from: (xsd: string) => string; /** The forward map (user → XSD) */
|
|
472
|
-
forward: Record<"continue" | "restart", "cont" | "rest">; /** The reverse map (XSD → user) */
|
|
473
|
-
reverse: Record<"cont" | "rest", "continue" | "restart">;
|
|
474
|
-
};
|
|
475
|
-
declare const xsdUnderlineStyle: {
|
|
476
|
-
/** User-friendly value → XSD value */to: (key: string) => string; /** XSD value → user-friendly value */
|
|
477
|
-
from: (xsd: string) => string; /** The forward map (user → XSD) */
|
|
478
|
-
forward: Record<"none" | "single" | "double", "none" | "sng" | "dbl">; /** The reverse map (XSD → user) */
|
|
479
|
-
reverse: Record<"none" | "sng" | "dbl", "none" | "single" | "double">;
|
|
480
|
-
};
|
|
481
|
-
declare const xsdStrikeStyle: {
|
|
482
|
-
/** User-friendly value → XSD value */to: (key: string) => string; /** XSD value → user-friendly value */
|
|
483
|
-
from: (xsd: string) => string; /** The forward map (user → XSD) */
|
|
484
|
-
forward: Record<"singleStrike" | "doubleStrike" | "noStrike", "sngStrike" | "dblStrike" | "noStrike">; /** The reverse map (XSD → user) */
|
|
485
|
-
reverse: Record<"sngStrike" | "dblStrike" | "noStrike", "singleStrike" | "doubleStrike" | "noStrike">;
|
|
486
|
-
};
|
|
487
|
-
declare const xsdTextCaps: {
|
|
488
|
-
/** User-friendly value → XSD value */to: (key: string) => string; /** XSD value → user-friendly value */
|
|
489
|
-
from: (xsd: string) => string; /** The forward map (user → XSD) */
|
|
490
|
-
forward: Record<"none" | "small" | "all", "none" | "small" | "all">; /** The reverse map (XSD → user) */
|
|
491
|
-
reverse: Record<"none" | "small" | "all", "none" | "small" | "all">;
|
|
492
|
-
};
|
|
493
|
-
//#endregion
|
|
494
|
-
//#region src/compiler-utils.d.ts
|
|
495
|
-
/**
|
|
496
|
-
* Convert a mapping of XML files + overrides + media into a Zippable structure.
|
|
497
|
-
*
|
|
498
|
-
* Centralises the mapping→Zippable conversion shared by all three compilers.
|
|
499
|
-
*/
|
|
500
|
-
declare function compileMapping(mapping: Record<string, {
|
|
501
|
-
data: string;
|
|
502
|
-
path: string;
|
|
503
|
-
}>, overrides?: readonly XmlifyedFile[], media?: readonly {
|
|
504
|
-
data: Uint8Array;
|
|
505
|
-
path: string;
|
|
506
|
-
}[], mediaLevel?: number): Zippable;
|
|
507
|
-
//#endregion
|
|
508
|
-
//#region src/crypto.d.ts
|
|
509
|
-
/**
|
|
510
|
-
* Password hashing utilities for OOXML document protection.
|
|
511
|
-
*
|
|
512
|
-
* Implements ECMA-376 Agile Encryption password derivation.
|
|
513
|
-
*
|
|
514
|
-
* @module
|
|
515
|
-
*/
|
|
516
|
-
/**
|
|
517
|
-
* Generates cryptographically secure random bytes.
|
|
518
|
-
*/
|
|
519
|
-
declare function randomBytes(length: number): Uint8Array;
|
|
520
|
-
/**
|
|
521
|
-
* Computes the ECMA-376 Agile Encryption hash for a password.
|
|
522
|
-
*
|
|
523
|
-
* Algorithm: SHA-512(salt + UTF-8(password)), then iterate SHA-512(hash + i.toUint32LE()) spinCount times.
|
|
524
|
-
*/
|
|
525
|
-
declare function hashPasswordAgile(password: string, salt: Uint8Array, spinCount: number): string;
|
|
526
|
-
/**
|
|
527
|
-
* Derives a password hash for OOXML document protection.
|
|
528
|
-
*
|
|
529
|
-
* Returns base64-encoded hashValue, saltValue, spinCount, and algorithmName
|
|
530
|
-
* suitable for direct use in document protection options.
|
|
531
|
-
*/
|
|
532
|
-
declare function derivePasswordHash(password: string, spinCount?: number): {
|
|
533
|
-
hashValue: string;
|
|
534
|
-
saltValue: string;
|
|
535
|
-
spinCount: number;
|
|
536
|
-
algorithmName: string;
|
|
537
|
-
};
|
|
538
|
-
//#endregion
|
|
539
|
-
export { type AdjLstOptions, type AdjOptions, AllChartTypeOptions, AnimLevelValue, type AnimLvlOptions, type AnimOneOptions, AnimOneValue, AppProperties, Area3DChart, AreaChart, AttributePayload, AxisChartType, type BackdropOptions, Bar3DChart, BarChart, BaseXmlComponent, type BevelOptions, BevelPresetType, BlendMode, type BlipEffectsOptions, type BlipFillConfigOptions, type BlipFillMediaData, type BlipFillOptions, type BlipOptions, type BlurEffectOptions, BubbleChart, BubbleChartOptions, type BubbleSeriesData, BuilderElement, COLOR_CATEGORIES, type CameraOptions, CatAx, type ChMaxOptions, type ChPrefOptions, ChartCollection, ChartData, ChartSeriesData, ChartSpace, ChartSpaceOptions, ChartTitle, ChartType, ChartTypeOptions, type ColorListOptions, ColorMethod, type ColorSchemeOptions, type ColorTransformOptions, type ColorsDefHdrLstOptions, type ColorsDefHdrOptions, CompileFn, CompoundLine, CompressionOptions, Connection, type ConnectionSite, Context, CoreProperties, type CustomGeometryOptions, DEFAULT_COLORS, DEFAULT_DRAWING_XML, DOCX_NS, type DashStop, DataLabelPosition, DataLabels, DataLabelsOptions, DataModel, type DataType, DateAx, type DefaultAttributes, DefaultTheme, type DiagramCategoryOptions, type DiagramDescriptionOptions, type DiagramExtLstOptions, type DiagramExtensionOptions, type DiagramNameOptions, type DiagramRelIdsOptions, type DiagramStyleLblOptions, type DiagramStyleOptions, type DiagramTextPropsOptions, DoughnutChart, EMPTY_OBJECT, type EffectContainerType, type EffectDagOptions, type EffectListOptions, EmptyElement, ErrorBarDirection, ErrorBarOptions, ErrorBarType, ErrorBars, ErrorValueType, type FillOptions, type FillOverlayEffectOptions, FontCollectionIndex, type FontSchemeOptions, Formatter, type GeomRect, type GeometryGuide, type GlowEffectOptions, type GradientFillOptions, type GradientShadeOptions, type GradientStop, type GradientStopOptions, type GraphicFrameLockingOptions, type GroupLockingOptions, type GroupTransform2DOptions, type HierBranchOptions, HierBranchStyle, type HslColorOptions, HueDirection, IXmlAttribute, IXmlableObject, IdFormat, IgnoreIfEmptyXmlComponent, ImportedRootElementAttributes, ImportedXmlComponent, InitializableXmlComponent, type InnerShadowEffectOptions, LAYOUT_CATEGORIES, type LayoutDefHdrLstOptions, type LayoutDefHdrOptions, type LightRigOptions, Line3DChart, LineCap, LineChart, LineEndLength, type LineEndOptions, LineEndType, LineEndWidth, LineJoin, type LinearShadeOptions, LockedCanvas, type LockedCanvasOptions, type MediaDataTransformation, type MediaTransformation, type OnOffStyleType, OoxmlMimeType, type OrgChartOptions, type OuterShadowEffectOptions, type OutlineFillProperties, type OutlineOptions, OutputByType, OutputType, type OverrideAttributes, PPTX_NS, Packer, PackerOptions, type PageMarginsOptions, type PageSetupOptions, ParsedArchive, type PathCommand, type PathFillMode, type PathOptions, type PathShadeOptions, PathShadeType, type PatternFillOptions, PenAlignment, Percentage, type PictureLockingOptions, Pie3DChart, PieChart, Point, type Point3D, PointPropertySetOptions, PositivePercentage, PositiveUniversalMeasure, type PresLayoutVarsOptions, PresetColor, type PresetColorOptions, PresetDash, PresetGeometry, type PresetGeometryOptions, PresetMaterialType, PresetPattern, type PresetShadowEffectOptions, PresetShadowVal, RadarChart, RawPassthrough, RectAlignment, type ReflectionEffectOptions, type RelationshipType, Relationships, RelativeMeasure, type RelativeRect, type RenderedParagraphNode, type ReplacerConfig, type RgbColorOptions, STYLE_CATEGORIES, type ScRgbColorOptions, ScatterChart, type Scene3DOptions, SchemeColor, type SchemeColorOptions, SerAx, type Shape3DOptions, type ShapeLockingOptions, SmartArtCollection, SmartArtData, SmartArtRelOptions, type SolidFillOptions, type SourceRectangleOptions, type SphereCoords, StockChart, Stretch, type StyleDefHdrLstOptions, type StyleDefHdrOptions, StyleMatrixIndex, type StyleMatrixReferenceOptions, SurfaceChart, SystemColor, type SystemColorOptions, type TableCellBorderOptions, type TableCellStyleOptions, type TablePartStyleOptions, type TableStyleListOptions, type TableStyleOptions, type TableStyleRegion, type TableTextStyleOptions, TargetModeType, ThemeColor, ThemeFont, type ThemeOptions, type ThemeableLineStyleOptions, TileAlignment, TileFlipMode, type TileOptions, TimeUnit, TokenNotFoundError, TransPoint, type Transform2DOptions, TreeNode, Trendline, TrendlineOptions, TrendlineType, UniqueNumericIdCreator, UniversalMeasure, ValAx, type Vector3D, View3D, View3DOptions, type WpCanvasOptions, type WpContentPartOptions, type WpGraphicFrameOptions, type WpGroupOptions, type WpLinkedTextboxOptions, type WpNonVisualDrawingPropsOptions, type WpShapeOptions, type WpTextboxOptions, type XdrMarkerOptions, type XdrShapeAttributes, type XdrTwoCellAnchorOptions, XmlComponent, type XmlNamespaceConfig, XmlifyedFile, ZIP_DEFLATE_LEVEL, ZIP_STORED_LEVEL, type ZipOptions, type Zippable, addSmartArtRelationships, appendContentType, appendRelationship, attrObj, buildAttrObject, buildCorePropertiesXml, buildCorePropertiesXmlString, buildFill, buildThemeXml, chartAttr, collectPlaceholderKeys, compileMapping, convertEmuToInches, convertEmuToPixels, convertEmuToPoints, convertInchesToEmu, convertInchesToTwip, convertMillimetersToTwip, convertOutput, convertPixelsToEmu, convertPointsToEmu, convertToXmlComponent, createAdj, createAdjLst, createAdjustmentValues, createAnimLvl, createAnimOne, createApplyToEnd, createApplyToFront, createApplyToSides, createAudioCd, createAutoUpdate, createBackWall, createBandFmt, createBandFmts, createBaseTimeUnit, createBevel, createBevelElement, createBldChart, createBldDgm, createBlip, createBlipEffects, createBlipFill, createBottom, createBottomBevel, createBr, createBuBlip, createBuClrTx, createBuFontTx, createBuSzPts, createBuSzTx, createBubble3D, createBubbleScale, createBuiltInUnit, createCNvCxnSpPr, createCNvGraphicFramePr, createCNvGrpSpPr, createCNvSpPr, createCdrAbsSizeAnchor, createCdrBlipFill, createCdrCNvCxnSpPr, createCdrCNvGraphicFramePr, createCdrCNvGrpSpPr, createCdrCNvPicPr, createCdrCNvPr, createCdrCNvSpPr, createCdrCxnSp, createCdrExt, createCdrFrom, createCdrGraphicFrame, createCdrGrpSp, createCdrGrpSpPr, createCdrNvCxnSpPr, createCdrNvGraphicFramePr, createCdrNvGrpSpPr, createCdrNvPicPr, createCdrNvSpPr, createCdrPic, createCdrRelSizeAnchor, createCdrSp, createCdrSpPr, createCdrStyle, createCdrTo, createCdrTxBody, createCdrX, createCdrXfrm, createCdrY, createCell3D, createChMax, createChPref, createChart, createChartObject, createChartType, createClrMap, createClrMapOvr, createColorElement, createColorTransforms, createColorsDefHdr, createColorsDefHdrLst, createCpLocks, createCrossBetween, createCrossesAt, createCustClr, createCustClrLst, createCustSplit, createCustUnit, createCustomDash, createCustomGeometry, createCxnSp, createCxnSpLocks, createDLbl, createDPt, createDTable, createData, createDataModel, createDefault, createDgm, createDiagramExtLst, createDiagramRelIds, createDiagramSp3d, createDiagramStyle, createDiagramTxPr, createDispBlanksAs, createDispUnits, createDispUnitsLbl, createDownBars, createEffectClrLst, createEffectDag, createEffectList, createEnd, createEndCxn, createEvenFooter, createEvenHeader, createExplosion, createExt, createExtLst, createExtentionList, createExternalData, createExtraClrScheme, createFillClrLst, createFillOverlayEffect, createFirstFooter, createFirstHeader, createFloor, createFmtId, createFontElement, createFormatting, createGapDepth, createGapWidth, createGlowEffect, createGradientFill, createGradientStop, createGraphicFrame, createGraphicFrameLocking, createGroupFill, createGroupLocking, createGroupTransform2D, createGrpSp, createGrpSpPr, createH, createHMode, createHeader, createHeaderFooter, createHeaders, createHiLowLines, createHierBranch, createHighlight, createHlinkMouseOver, createHoleSize, createHslColor, createInnerShadowEffect, createInsideH, createInsideV, createInvertIfNegative, createLayoutDefHdr, createLayoutDefHdrLst, createLayoutTarget, createLblAlgn, createLeaderLines, createLeft, createLegacyDrawingHF, createLegendEntry, createLinClrLst, createLineEnd, createLnBlToTr, createLnDef, createLnTlToBr, createLogBase, createLvl, createMajorGridlines, createMajorTickMark, createMajorTimeUnit, createMajorUnit, createManualLayout, createMarker, createMax, createMin, createMinorGridlines, createMinorTickMark, createMinorTimeUnit, createMinorUnit, createMinus, createMultiLvlStrCache, createMultiLvlStrRef, createName, createNoFill, createNumLit, createNumRef, createNvCxnSpPr, createNvGraphicFramePr, createNvGrpSpPr, createNvPicPr, createNvSpPr, createOddFooter, createOddHeader, createOfPieChart, createOfPieType, createOrgChart, createOuterShadowEffect, createOutline, createOverlap, createOverride, createOverrideClrMapping, createPacker, createPageMargins, createPageSetup, createPatternFill, createPic, createPictureFormat, createPictureLocking, createPictureOptions, createPictureStackUnit, createPivotFmt, createPivotFmts, createPivotSource, createPlotVisOnly, createPlus, createPresLayoutVars, createPresetColor, createPresetShadowEffect, createPrintSettings, createProtection, createQuickTimeFile, createReflectionEffect, createReplacer, createRgbColor, createRight, createRound, createRunRenderer, createScRgbColor, createScene3D, createSchemeColor, createSecondPiePt, createSecondPieSize, createSelection, createSerLines, createShape, createShape3D, createShapeLocking, createShowDLblsOverMax, createShowHorzBorder, createShowKeys, createShowLeaderLines, createShowNegBubbles, createShowOutline, createShowVertBorder, createSideWall, createSize, createSizeRepresents, createSmooth, createSnd, createSoftEdgeEffect, createSolidFill, createSourceRectangle, createSp, createSpDef, createSplitInject, createSplitPos, createSplitType, createSt, createStCxn, createStart, createStrLit, createStrRef, createStyleDefHdr, createStyleDefHdrLst, createStyleElement, createStyleLbl, createSurface3DChart, createSym, createSymbol, createSystemColor, createTab, createTabLst, createTableStyle, createTableStyleElement, createTableStyleList, createTextElementContents, createThemeManager, createThemeOverride, createThickness, createTickLblPos, createTickMarkSkip, createTileInfo, createTl2br, createTokenReplacer, createTop, createTr2bl, createTransform2D, createTransformation, createTraverser, createTrendlineLbl, createTxDef, createTxEffectClrLst, createTxFillClrLst, createTxLinClrLst, createTxSp, createUFill, createUFillTx, createULn, createULnTx, createUpBars, createUpDownBars, createUseSpRect, createUserInterface, createUserShapes, createW, createWMode, createWavAudioFile, createWpBg, createWpBodyPr, createWpCNvCnPr, createWpCNvContentPartPr, createWpCNvFrPr, createWpCNvGrpSpPr, createWpCNvPr, createWpCNvSpPr, createWpCanvas, createWpContentPart, createWpExtLst, createWpGraphicFrame, createWpGrpSp, createWpGrpSpPr, createWpLinkedTxbx, createWpNestedGrpSp, createWpNvContentPartPr, createWpSp, createWpSpPr, createWpStyle, createWpTxbx, createWpTxbxContent, createWpWhole, createWpXfrm, createX, createXMode, createXdrBlipFill, createXdrCNvCxnSpPr, createXdrCNvGrpSpPr, createXdrCNvPicPr, createXdrCNvPr, createXdrCNvSpPr, createXdrCol, createXdrColOff, createXdrContentPart, createXdrCxnSp, createXdrFrom, createXdrGrpSp, createXdrGrpSpPr, createXdrNvCxnSpPr, createXdrNvGrpSpPr, createXdrNvPicPr, createXdrNvSpPr, createXdrOneCellAnchor, createXdrPic, createXdrRow, createXdrRowOff, createXdrSp, createXdrSpPr, createXdrStyle, createXdrTo, createXdrTwoCellAnchor, createXdrTxBody, createY, createYMode, createZipStream, dateTimeValue, decimalNumber, derivePasswordHash, eighthPointMeasureValue, elementToCompact, extractBlipFillMedia, formatId, getColorXml, getFirstLevelElements, getLayoutXml, getNextRelationshipIndex, getReferencedMedia, getStyleXml, hasPlaceholders, hashPasswordAgile, hashedId, hexBinary, hexColorValue, hpsMeasureObj, hpsMeasureValue, invertMap, longHexNumber, measurementOrPercentValue, numberValObj, onOffObj, parseArchive, parseCorePropsElement, patchSpaceAttribute, percentageValue, pointMeasureValue, positiveUniversalMeasureValue, randomBytes, replaceChartPlaceholders, replaceImagePlaceholders, replaceSmartArtPlaceholders, shortHexNumber, signedHpsMeasureValue, signedTwipsMeasureValue, strFromU8, stringContainerObj, stringEnumValObj, stringValObj, toJson, toUint8Array, twipsMeasureValue, uCharHexNumber, uniqueId, uniqueNumericIdCreator, uniqueUuid, universalMeasureValue, unsignedDecimalNumber, unzipSync, wrapEl, xsdBlendMode, xsdCompoundLine, xsdEffectContainer, xsdLineCap, xsdLineEndSize, xsdMaterialType, xsdPathFillMode, xsdPattern, xsdPenAlignment, xsdPresetShadow, xsdRectAlignment, xsdStrikeStyle, xsdTextAlign, xsdTextAnchor, xsdTextCaps, xsdUnderlineStyle, xsdVerticalMergeRev, zipAndConvert, zipSyncAndConvert };
|
|
6
|
+
import { a as ColorSchemeOptions, i as createThemeXml, n as DEFAULT_COLORS, o as FontSchemeOptions, r as buildThemeXml, s as ThemeOptions, t as themeDesc } from "./index-DByjp6ug.mjs";
|
|
7
|
+
import { C as uCharHexNumber, S as twipsMeasureValue, T as unsignedDecimalNumber, _ as pointMeasureValue, a as ThemeColor, b as signedHpsMeasureValue, c as dateTimeValue, d as hexBinary, f as hexColorValue, g as percentageValue, h as measurementOrPercentValue, i as RelativeMeasure, l as decimalNumber, m as longHexNumber, n as PositivePercentage, o as ThemeFont, p as hpsMeasureValue, r as PositiveUniversalMeasure, s as UniversalMeasure, t as Percentage, u as eighthPointMeasureValue, v as positiveUniversalMeasureValue, w as universalMeasureValue, x as signedTwipsMeasureValue, y as shortHexNumber } from "./values-Dqj8cbcy.mjs";
|
|
8
|
+
export { APP_PROPS_XML, type AdjLstOptions, type AdjOptions, AnimLevelValue, type AnimLvlOptions, type AnimOneOptions, AnimOneValue, type AttrSpec, AxisChartType, type BackdropOptions, type BevelOptions, BevelPresetType, BlendMode, type BlipEffectsOptions, type BlipFillConfigOptions, type BlipFillMediaData, type BlipFillOptions, type BlipOptions, type BlurEffectOptions, BubbleSeriesData, COLOR_CATEGORIES, type CameraOptions, type ChMaxOptions, type ChPrefOptions, ChartCollection, ChartData, ChartSeriesData, ChartSpaceOptions, ChartType, type ChildSpec, type ChildrenSpec, type ColorListOptions, ColorMethod, type ColorSchemeOptions, type ColorTransformOptions, type ColorsDefHdrLstOptions, type ColorsDefHdrOptions, type CompileFn, CompoundLine, type CompressionOptions, type ConnectionSite, type ContentSpec, type CoreProperties, type CustomDescriptor, type CustomGeometryOptions, DEFAULT_COLORS, DEFAULT_DRAWING_XML, DOCX_NS, type DashStop, DataLabelPosition, DataLabelsOptions, type DataType, type DefaultAttributes, type Descriptor, DescriptorBuilder, DescriptorRegistry, type DiagramCategoryOptions, type DiagramDescriptionOptions, type DiagramExtLstOptions, type DiagramExtensionOptions, type DiagramNameOptions, type DiagramRelIdsOptions, type DiagramStyleLblOptions, type DiagramStyleOptions, type DiagramTextPropsOptions, type EffectContainerType, type EffectDagOptions, type EffectExtent, type EffectListOptions, type ElementDescriptor, EmuPosition, ErrorBarDirection, ErrorBarOptions, ErrorBarType, ErrorValueType, type FillOptions, type FillOverlayEffectOptions, FontCollectionIndex, type FontSchemeOptions, type GeomRect, type GeometryGuide, type GlowEffectOptions, type GradientFillOptions, type GradientShadeOptions, type GradientStop, type GradientStopOptions, type GraphicFrameLockingOptions, type GroupLockingOptions, type GroupTransform2DOptions, type HierBranchOptions, HierBranchStyle, type HslColorOptions, HueDirection, IdFormat, type InnerShadowEffectOptions, LAYOUT_CATEGORIES, type LayoutDefHdrLstOptions, type LayoutDefHdrOptions, type LightRigOptions, LineCap, LineEndLength, type LineEndOptions, LineEndType, LineEndWidth, LineJoin, type LinearShadeOptions, type MediaDataTransformation, type MediaTransformation, type OnOffStyleType, OoxmlMimeType, type OrgChartOptions, type OuterShadowEffectOptions, type OutlineFillProperties, type OutlineOptions, type OutputByType, type OutputType, type OverrideAttributes, PPTX_NS, type Packer, type PackerOptions, ParsedArchive, type PathCommand, type PathFillMode, type PathOptions, type PathShadeOptions, PathShadeType, type PatternFillOptions, PenAlignment, Percentage, type PictureLockingOptions, PixelPosition, type Point3D, PointPropertySetOptions, PositivePercentage, PositiveUniversalMeasure, type PresLayoutVarsOptions, PresetColor, type PresetColorOptions, PresetDash, type PresetGeometryOptions, PresetMaterialType, PresetPattern, type PresetShadowEffectOptions, PresetShadowVal, type ReadContext, RectAlignment, type ReflectionEffectOptions, type RelationshipType, Relationships, RelativeMeasure, type RelativeRect, type RenderedParagraphNode, type ReplacerConfig, type RgbColorOptions, STYLE_CATEGORIES, type ScRgbColorOptions, type Scene3DOptions, SchemeColor, type SchemeColorOptions, type Shape3DOptions, type ShapeLockingOptions, SmartArtCollection, SmartArtData, SmartArtRelOptions, type SolidFillOptions, type SourceRectangleOptions, type SphereCoords, type StyleDefHdrLstOptions, type StyleDefHdrOptions, StyleMatrixIndex, type StyleMatrixReferenceOptions, SystemColor, type SystemColorOptions, type TableCellBorderOptions, type TableCellStyleOptions, type TablePartStyleOptions, type TableStyleListOptions, type TableStyleOptions, type TableStyleRegion, type TableTextStyleOptions, TargetModeType, type TextSpec, ThemeColor, ThemeFont, type ThemeOptions, type ThemeableLineStyleOptions, TileAlignment, TileFlipMode, type TileOptions, TimeUnit, TokenNotFoundError, type Transform2DOptions, TreeNode, TrendlineOptions, TrendlineType, type UnionSpec, type UnionVariant, UniqueNumericIdCreator, UniversalMeasure, type Vector3D, View3DOptions, type WriteContext, type XmlNamespaceConfig, type XmlifyedFile, ZIP_DEFLATE_LEVEL, ZIP_STORED_LEVEL, type ZipOptions, type Zippable, addSmartArtRelationships, appendContentType, appendRelationship, bevelDesc, blipDesc, blipFillDesc, boolDecode, boolEncode, buildCorePropertiesXml, buildCorePropertiesXmlString, buildFill, buildThemeXml, calculateEffectExtent, chartSpaceDesc, collectPlaceholderKeys, compileMapping, convertEmuToInches, convertEmuToPixels, convertEmuToPoints, convertInchesToEmu, convertInchesToTwip, convertMillimetersToTwip, convertOutput, convertPixelsToEmu, convertPointsToEmu, convertPositionToEmu, convertToEmu, convertToTwip, convertUniversalMeasureToEmu, convertUniversalMeasureToTwip, createAdj, createAdjLst, createAnimLvl, createAnimOne, createBevel, createBlip, createBlipEffects, createBlipFill, createBottomBevel, createChMax, createChPref, createColorElement, createColorTransforms, createColorsDefHdr, createColorsDefHdrLst, createCustomDash, createCustomGeometry, createDataModel, createDefault, createDiagramExtLst, createDiagramRelIds, createDiagramSp3d, createDiagramStyle, createDiagramTxPr, createEffectClrLst, createEffectDag, createEffectList, createExtentionList, createFillClrLst, createFillOverlayEffect, createGlowEffect, createGradientFill, createGradientStop, createGraphicFrameLocking, createGroupFill, createGroupLocking, createGroupTransform2D, createHierBranch, createHslColor, createInnerShadowEffect, createLayoutDefHdr, createLayoutDefHdrLst, createLinClrLst, createLineEnd, createNoFill, createOrgChart, createOuterShadowEffect, createOutline, createOverride, createPacker, createPatternFill, createPictureLocking, createPresLayoutVars, createPresetColor, createPresetShadowEffect, createReflectionEffect, createReplacer, createRgbColor, createRunRenderer, createScRgbColor, createScene3D, createSchemeColor, createShape3D, createShapeLocking, createSoftEdgeEffect, createSolidFill, createSourceRectangle, createSplitInject, createStyleDefHdr, createStyleDefHdrLst, createStyleLbl, createSystemColor, createTableStyle, createTableStyleList, createTextElementContents, createThemeXml, createTileInfo, createTokenReplacer, createTransform2D, createTransformation, createTraverser, createTxEffectClrLst, createTxFillClrLst, createTxLinClrLst, createZipStream, customGeometryDesc, dateTimeValue, decimalNumber, derivePasswordHash, diagramExtLstDesc, diagramRelIdsDesc, diagramStyleDesc, effectListDesc, eighthPointMeasureValue, element, enumDecode, enumEncode, extractBlipFillMedia, fillDesc, findAndReplaceImagePlaceholders, formatId, getColorDescriptor, getColorXml, getFirstLevelElements, getLayoutXml, getMediaRefs, getNextRelationshipIndex, getReferencedMedia, getStyleXml, getVideoRefs, gradientFillDesc, graphicFrameLockingDesc, groupLockingDesc, groupTransform2DDesc, hasPlaceholders, hashPasswordAgile, hashedId, hexBinary, hexColorValue, hpsMeasureValue, hslColorDesc, invertMap, longHexNumber, measurementOrPercentValue, outlineDesc, parse, parseArchive, parseCorePropsElement, parseUniversalMeasure, patchSpaceAttribute, patternFillDesc, percentageValue, pictureLockingDesc, pointMeasureValue, positiveUniversalMeasureValue, presLayoutVarsDesc, presetColorDesc, presetGeometryDesc, randomBytes, replaceAllPlaceholders, replaceChartPlaceholders, replaceHyperlinkPlaceholders, replaceImagePlaceholders, replaceMediaPlaceholders, replaceNumberingPlaceholders, replaceSmartArtPlaceholders, replaceVideoPlaceholders, rgbColorDesc, scRgbColorDesc, scene3DDesc, schemeColorDesc, shape3DDesc, shapeLockingDesc, shortHexNumber, signedHpsMeasureValue, signedTwipsMeasureValue, solidFillDesc, sourceRectangleDesc, strFromU8, stretchDesc, stringify, stringifyAdjustmentValues, stringifyConnection, stringifyDataModel, stringifyPoint, stringifyPresetGeometry, stringifyStretch, stringifyTransPoint, systemColorDesc, themeDesc, tileDesc, toJson, toUint8Array, transform2DDesc, twipsMeasureValue, uCharHexNumber, uniqueId, uniqueNumericIdCreator, uniqueUuid, universalMeasureValue, unsignedDecimalNumber, unzipSync, xsdBlendMode, xsdCompoundLine, xsdEffectContainer, xsdLineCap, xsdLineEndSize, xsdMaterialType, xsdPathFillMode, xsdPattern, xsdPenAlignment, xsdPresetShadow, xsdRectAlignment, xsdStrikeStyle, xsdTextAlign, xsdTextAnchor, xsdTextCaps, xsdUnderlineStyle, xsdVerticalMergeRev, zipAndConvert, zipSyncAndConvert };
|