@silurus/ooxml 0.61.0 → 0.62.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.
@@ -312,6 +312,19 @@ declare interface ChartData {
312
312
  catAxisTitle?: string | null;
313
313
  /** Value axis title (c:valAx/c:title). */
314
314
  valAxisTitle?: string | null;
315
+ /** `<c:catAx><c:title>` run-prop font size (hpt), from the parser's
316
+ * catAxisTitleSize. Distinct from `catAxisFontSizeHpt` (tick labels). */
317
+ catAxisTitleSize?: number | null;
318
+ /** `<c:catAx><c:title>` run-prop bold flag. */
319
+ catAxisTitleBold?: boolean | null;
320
+ /** `<c:catAx><c:title>` run-prop color (hex without '#'). */
321
+ catAxisTitleColor?: string | null;
322
+ /** `<c:valAx><c:title>` run-prop font size (hpt). */
323
+ valAxisTitleSize?: number | null;
324
+ /** `<c:valAx><c:title>` run-prop bold flag. */
325
+ valAxisTitleBold?: boolean | null;
326
+ /** `<c:valAx><c:title>` run-prop color (hex without '#'). */
327
+ valAxisTitleColor?: string | null;
315
328
  /** True when <c:legend> is present. Absence means the legend is hidden. */
316
329
  showLegend?: boolean;
317
330
  /** `<c:legendPos val>` — "r"|"l"|"t"|"b"|"tr". null/undefined = default ("r"). */
@@ -384,6 +397,12 @@ declare interface ChartData {
384
397
  catAxisLineWidthEmu?: number;
385
398
  valAxisLineColor?: string;
386
399
  valAxisLineWidthEmu?: number;
400
+ /** Explicit chart border color (hex without '#') from
401
+ * `<c:chartSpace><c:spPr><a:ln><a:solidFill><a:srgbClr>`. Only set when the
402
+ * XML explicitly declares a paintable line (no default border). */
403
+ chartBorderColor?: string | null;
404
+ /** `<c:chartSpace><c:spPr><a:ln@w>` border width in EMU. */
405
+ chartBorderWidthEmu?: number | null;
387
406
  /** `<c:catAx | valAx><c:majorTickMark val>` / `<c:minorTickMark val>` —
388
407
  * one of `none`/`out`/`in`/`cross` (ECMA-376 §21.2.2.49). */
389
408
  catAxisMajorTickMark?: string;
@@ -510,6 +529,38 @@ declare interface ChartElement {
510
529
  scatterStyle?: string | null;
511
530
  /** `<c:radarChart><c:radarStyle val>` (ECMA-376 §21.2.3.10). */
512
531
  radarStyle?: string | null;
532
+ /** `<c:catAx><c:title>` plain text (ECMA-376 §21.2.2.6). For scatter the
533
+ * bottom `<c:valAx>` (axPos b/t) feeds this. null = no title. */
534
+ catAxisTitle?: string | null;
535
+ /** `<c:valAx><c:title>` plain text. For scatter the left `<c:valAx>`
536
+ * (axPos l/r) feeds this. null = no title. */
537
+ valAxisTitle?: string | null;
538
+ /** `<c:catAx><c:title>` run-prop font size (hpt). Distinct from
539
+ * `catAxisFontSizeHpt` (tick labels). null = renderer default. */
540
+ catAxisTitleSize?: number | null;
541
+ /** `<c:catAx><c:title>` run-prop bold flag. null = not bold. */
542
+ catAxisTitleBold?: boolean | null;
543
+ /** `<c:catAx><c:title>` run-prop color (hex without '#'). null = default. */
544
+ catAxisTitleColor?: string | null;
545
+ /** `<c:valAx><c:title>` run-prop font size (hpt). null = renderer default. */
546
+ valAxisTitleSize?: number | null;
547
+ /** `<c:valAx><c:title>` run-prop bold flag. null = not bold. */
548
+ valAxisTitleBold?: boolean | null;
549
+ /** `<c:valAx><c:title>` run-prop color (hex without '#'). null = default. */
550
+ valAxisTitleColor?: string | null;
551
+ /** `<c:title>...defRPr@b` chart title bold flag. null = not bold. */
552
+ titleFontBold?: boolean | null;
553
+ /** `<c:catAx><c:txPr>...defRPr@b` X-axis tick-label bold flag. null = not bold. */
554
+ catAxisFontBold?: boolean | null;
555
+ /** `<c:valAx><c:txPr>...defRPr@b` Y-axis tick-label bold flag. null = not bold. */
556
+ valAxisFontBold?: boolean | null;
557
+ /** Explicit chart border color (hex without '#') from
558
+ * `<c:chartSpace><c:spPr><a:ln><a:solidFill><a:srgbClr>`. Only set when the
559
+ * XML explicitly declares a paintable line; null otherwise (no default border). */
560
+ chartBorderColor?: string | null;
561
+ /** `<c:chartSpace><c:spPr><a:ln@w>` border width in EMU. null = 1px hairline
562
+ * when a color is present. */
563
+ chartBorderWidthEmu?: number | null;
513
564
  }
514
565
 
515
566
  declare interface ChartErrBars {
@@ -644,6 +695,27 @@ declare interface ChartModel {
644
695
  catAxisFontBold?: boolean | null;
645
696
  /** `<c:valAx><c:txPr>...defRPr@b>` Y-axis tick label bold flag. */
646
697
  valAxisFontBold?: boolean | null;
698
+ /** `<c:catAx><c:title>` run-prop font size (hpt). Distinct from
699
+ * `catAxisFontSizeHpt` (tick labels). null = renderer default. */
700
+ catAxisTitleFontSizeHpt?: number | null;
701
+ /** `<c:catAx><c:title>` run-prop bold flag. null = not bold. */
702
+ catAxisTitleFontBold?: boolean | null;
703
+ /** `<c:catAx><c:title>` run-prop color (hex without '#'). null = default. */
704
+ catAxisTitleFontColor?: string | null;
705
+ /** `<c:valAx><c:title>` run-prop font size (hpt). null = renderer default. */
706
+ valAxisTitleFontSizeHpt?: number | null;
707
+ /** `<c:valAx><c:title>` run-prop bold flag. null = not bold. */
708
+ valAxisTitleFontBold?: boolean | null;
709
+ /** `<c:valAx><c:title>` run-prop color (hex without '#'). null = default. */
710
+ valAxisTitleFontColor?: string | null;
711
+ /** Explicit chart border color (hex without '#') from
712
+ * `<c:chartSpace><c:spPr><a:ln><a:solidFill><a:srgbClr>`. Only set when the
713
+ * XML explicitly declares a paintable line; null otherwise (no default
714
+ * border is drawn). */
715
+ chartBorderColor?: string | null;
716
+ /** `<c:chartSpace><c:spPr><a:ln@w>` border width in EMU. null = 1px hairline
717
+ * when a color is present. */
718
+ chartBorderWidthEmu?: number | null;
647
719
  /**
648
720
  * `<c:catAx><c:crosses val>` (`autoZero` | `min` | `max`). Drives the Y
649
721
  * coordinate where the X axis is drawn. Default `autoZero` puts the X
@@ -3361,6 +3433,13 @@ declare interface TextRunData {
3361
3433
  * present; absent means CJK falls back to fontFamily.
3362
3434
  */
3363
3435
  fontFamilyEa?: string;
3436
+ /**
3437
+ * Symbol font family from rPr > a:sym (ECMA-376 §21.1.2.3.10), resolved
3438
+ * through the theme. PowerPoint stores symbol-font glyphs as Private-Use
3439
+ * codepoints U+F020–U+F0FF; the renderer uses this font to resolve them.
3440
+ * Absent means no symbol font was declared.
3441
+ */
3442
+ fontFamilySym?: string;
3364
3443
  /** Baseline shift in thousandths of a point. Positive = superscript, negative = subscript. */
3365
3444
  baseline?: number;
3366
3445
  /**
@@ -181,6 +181,38 @@ export declare interface ChartElement {
181
181
  scatterStyle?: string | null;
182
182
  /** `<c:radarChart><c:radarStyle val>` (ECMA-376 §21.2.3.10). */
183
183
  radarStyle?: string | null;
184
+ /** `<c:catAx><c:title>` plain text (ECMA-376 §21.2.2.6). For scatter the
185
+ * bottom `<c:valAx>` (axPos b/t) feeds this. null = no title. */
186
+ catAxisTitle?: string | null;
187
+ /** `<c:valAx><c:title>` plain text. For scatter the left `<c:valAx>`
188
+ * (axPos l/r) feeds this. null = no title. */
189
+ valAxisTitle?: string | null;
190
+ /** `<c:catAx><c:title>` run-prop font size (hpt). Distinct from
191
+ * `catAxisFontSizeHpt` (tick labels). null = renderer default. */
192
+ catAxisTitleSize?: number | null;
193
+ /** `<c:catAx><c:title>` run-prop bold flag. null = not bold. */
194
+ catAxisTitleBold?: boolean | null;
195
+ /** `<c:catAx><c:title>` run-prop color (hex without '#'). null = default. */
196
+ catAxisTitleColor?: string | null;
197
+ /** `<c:valAx><c:title>` run-prop font size (hpt). null = renderer default. */
198
+ valAxisTitleSize?: number | null;
199
+ /** `<c:valAx><c:title>` run-prop bold flag. null = not bold. */
200
+ valAxisTitleBold?: boolean | null;
201
+ /** `<c:valAx><c:title>` run-prop color (hex without '#'). null = default. */
202
+ valAxisTitleColor?: string | null;
203
+ /** `<c:title>...defRPr@b` chart title bold flag. null = not bold. */
204
+ titleFontBold?: boolean | null;
205
+ /** `<c:catAx><c:txPr>...defRPr@b` X-axis tick-label bold flag. null = not bold. */
206
+ catAxisFontBold?: boolean | null;
207
+ /** `<c:valAx><c:txPr>...defRPr@b` Y-axis tick-label bold flag. null = not bold. */
208
+ valAxisFontBold?: boolean | null;
209
+ /** Explicit chart border color (hex without '#') from
210
+ * `<c:chartSpace><c:spPr><a:ln><a:solidFill><a:srgbClr>`. Only set when the
211
+ * XML explicitly declares a paintable line; null otherwise (no default border). */
212
+ chartBorderColor?: string | null;
213
+ /** `<c:chartSpace><c:spPr><a:ln@w>` border width in EMU. null = 1px hairline
214
+ * when a color is present. */
215
+ chartBorderWidthEmu?: number | null;
184
216
  }
185
217
 
186
218
  declare interface ChartErrBars {
@@ -315,6 +347,27 @@ export declare interface ChartModel {
315
347
  catAxisFontBold?: boolean | null;
316
348
  /** `<c:valAx><c:txPr>...defRPr@b>` Y-axis tick label bold flag. */
317
349
  valAxisFontBold?: boolean | null;
350
+ /** `<c:catAx><c:title>` run-prop font size (hpt). Distinct from
351
+ * `catAxisFontSizeHpt` (tick labels). null = renderer default. */
352
+ catAxisTitleFontSizeHpt?: number | null;
353
+ /** `<c:catAx><c:title>` run-prop bold flag. null = not bold. */
354
+ catAxisTitleFontBold?: boolean | null;
355
+ /** `<c:catAx><c:title>` run-prop color (hex without '#'). null = default. */
356
+ catAxisTitleFontColor?: string | null;
357
+ /** `<c:valAx><c:title>` run-prop font size (hpt). null = renderer default. */
358
+ valAxisTitleFontSizeHpt?: number | null;
359
+ /** `<c:valAx><c:title>` run-prop bold flag. null = not bold. */
360
+ valAxisTitleFontBold?: boolean | null;
361
+ /** `<c:valAx><c:title>` run-prop color (hex without '#'). null = default. */
362
+ valAxisTitleFontColor?: string | null;
363
+ /** Explicit chart border color (hex without '#') from
364
+ * `<c:chartSpace><c:spPr><a:ln><a:solidFill><a:srgbClr>`. Only set when the
365
+ * XML explicitly declares a paintable line; null otherwise (no default
366
+ * border is drawn). */
367
+ chartBorderColor?: string | null;
368
+ /** `<c:chartSpace><c:spPr><a:ln@w>` border width in EMU. null = 1px hairline
369
+ * when a color is present. */
370
+ chartBorderWidthEmu?: number | null;
318
371
  /**
319
372
  * `<c:catAx><c:crosses val>` (`autoZero` | `min` | `max`). Drives the Y
320
373
  * coordinate where the X axis is drawn. Default `autoZero` puts the X
@@ -1616,6 +1669,13 @@ export declare interface TextRunData {
1616
1669
  * present; absent means CJK falls back to fontFamily.
1617
1670
  */
1618
1671
  fontFamilyEa?: string;
1672
+ /**
1673
+ * Symbol font family from rPr > a:sym (ECMA-376 §21.1.2.3.10), resolved
1674
+ * through the theme. PowerPoint stores symbol-font glyphs as Private-Use
1675
+ * codepoints U+F020–U+F0FF; the renderer uses this font to resolve them.
1676
+ * Absent means no symbol font was declared.
1677
+ */
1678
+ fontFamilySym?: string;
1619
1679
  /** Baseline shift in thousandths of a point. Positive = superscript, negative = subscript. */
1620
1680
  baseline?: number;
1621
1681
  /**
@@ -230,6 +230,19 @@ export declare interface ChartData {
230
230
  catAxisTitle?: string | null;
231
231
  /** Value axis title (c:valAx/c:title). */
232
232
  valAxisTitle?: string | null;
233
+ /** `<c:catAx><c:title>` run-prop font size (hpt), from the parser's
234
+ * catAxisTitleSize. Distinct from `catAxisFontSizeHpt` (tick labels). */
235
+ catAxisTitleSize?: number | null;
236
+ /** `<c:catAx><c:title>` run-prop bold flag. */
237
+ catAxisTitleBold?: boolean | null;
238
+ /** `<c:catAx><c:title>` run-prop color (hex without '#'). */
239
+ catAxisTitleColor?: string | null;
240
+ /** `<c:valAx><c:title>` run-prop font size (hpt). */
241
+ valAxisTitleSize?: number | null;
242
+ /** `<c:valAx><c:title>` run-prop bold flag. */
243
+ valAxisTitleBold?: boolean | null;
244
+ /** `<c:valAx><c:title>` run-prop color (hex without '#'). */
245
+ valAxisTitleColor?: string | null;
233
246
  /** True when <c:legend> is present. Absence means the legend is hidden. */
234
247
  showLegend?: boolean;
235
248
  /** `<c:legendPos val>` — "r"|"l"|"t"|"b"|"tr". null/undefined = default ("r"). */
@@ -302,6 +315,12 @@ export declare interface ChartData {
302
315
  catAxisLineWidthEmu?: number;
303
316
  valAxisLineColor?: string;
304
317
  valAxisLineWidthEmu?: number;
318
+ /** Explicit chart border color (hex without '#') from
319
+ * `<c:chartSpace><c:spPr><a:ln><a:solidFill><a:srgbClr>`. Only set when the
320
+ * XML explicitly declares a paintable line (no default border). */
321
+ chartBorderColor?: string | null;
322
+ /** `<c:chartSpace><c:spPr><a:ln@w>` border width in EMU. */
323
+ chartBorderWidthEmu?: number | null;
305
324
  /** `<c:catAx | valAx><c:majorTickMark val>` / `<c:minorTickMark val>` —
306
325
  * one of `none`/`out`/`in`/`cross` (ECMA-376 §21.2.2.49). */
307
326
  catAxisMajorTickMark?: string;