ooxml-core 1.10.0 → 1.12.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.
Files changed (205) hide show
  1. package/dist/PptxHandler-DNZHAHUY.cjs +12 -0
  2. package/dist/PptxHandler-E44KDHMQ.mjs +3 -0
  3. package/dist/{PptxHandler-ADEFY476.mjs → PptxHandler-NROFYT2N.mjs} +2 -2
  4. package/dist/automation/index.cjs +3504 -2888
  5. package/dist/automation/index.mjs +3504 -2888
  6. package/dist/{chunk-3N6XMMTT.cjs → chunk-2UVH6RHI.cjs} +1138 -996
  7. package/dist/{chunk-ZOUGMAZG.mjs → chunk-7DSZI7S6.mjs} +1 -1
  8. package/dist/{chunk-S6DOCMQC.cjs → chunk-7QZGRB3T.cjs} +0 -10
  9. package/dist/chunk-ANZ4Q6I3.cjs +21 -0
  10. package/dist/{chunk-5NVJN4E6.mjs → chunk-EC2W2MDY.mjs} +1 -1
  11. package/dist/chunk-EGTRL3QJ.mjs +19 -0
  12. package/dist/chunk-GXHKNSZX.mjs +9 -0
  13. package/dist/{chunk-CCHYFCPD.mjs → chunk-HCXUI5UC.mjs} +296 -103
  14. package/dist/chunk-HDQXPSHY.cjs +17 -0
  15. package/dist/chunk-KTYBFGEY.mjs +14 -0
  16. package/dist/chunk-QOO36KG4.cjs +42 -0
  17. package/dist/chunk-R2KZXD6U.mjs +39 -0
  18. package/dist/{chunk-A6P7G3UK.mjs → chunk-U2DF3EGK.mjs} +1 -1
  19. package/dist/{chunk-R6KSBNKX.mjs → chunk-UAY26XOI.mjs} +1 -9
  20. package/dist/{chunk-WUE5ZHU3.mjs → chunk-W5ARCUJB.mjs} +3 -3
  21. package/dist/chunk-XZPZHXV4.cjs +12 -0
  22. package/dist/{chunk-ZE53K7DH.mjs → chunk-YB5SRNFS.mjs} +244 -102
  23. package/dist/docx/embedded.cjs +1 -1
  24. package/dist/docx/embedded.mjs +1 -1
  25. package/dist/docx/index.cjs +1 -1
  26. package/dist/docx/index.mjs +1 -1
  27. package/dist/docx/layout/adapt-table.d.ts.map +1 -1
  28. package/dist/docx/layout/flow-table.d.ts.map +1 -1
  29. package/dist/docx/layout/index.cjs +266 -61
  30. package/dist/docx/layout/index.d.ts +1 -0
  31. package/dist/docx/layout/index.d.ts.map +1 -1
  32. package/dist/docx/layout/index.mjs +266 -62
  33. package/dist/docx/layout/input.d.ts +5 -0
  34. package/dist/docx/layout/input.d.ts.map +1 -1
  35. package/dist/docx/layout/layout-session.d.ts +10 -0
  36. package/dist/docx/layout/layout-session.d.ts.map +1 -0
  37. package/dist/docx/layout/nested-fragment-edges.d.ts +9 -0
  38. package/dist/docx/layout/nested-fragment-edges.d.ts.map +1 -0
  39. package/dist/docx/layout/paragraph-cache.d.ts +8 -0
  40. package/dist/docx/layout/paragraph-cache.d.ts.map +1 -0
  41. package/dist/docx/layout/paragraph-layout.d.ts.map +1 -1
  42. package/dist/docx/layout/paragraph-tokens.d.ts +1 -1
  43. package/dist/docx/layout/paragraph-tokens.d.ts.map +1 -1
  44. package/dist/docx/layout/result.d.ts +7 -0
  45. package/dist/docx/layout/result.d.ts.map +1 -1
  46. package/dist/docx/layout/table-border-layout.d.ts +1 -1
  47. package/dist/docx/layout/table-border-layout.d.ts.map +1 -1
  48. package/dist/docx/layout/table-cell-layout.d.ts +1 -1
  49. package/dist/docx/layout/table-cell-layout.d.ts.map +1 -1
  50. package/dist/docx/layout/table-frames.d.ts.map +1 -1
  51. package/dist/docx/layout/table-layout.d.ts +1 -1
  52. package/dist/docx/layout/table-layout.d.ts.map +1 -1
  53. package/dist/docx/layout/table-paragraph-keeps.d.ts +14 -0
  54. package/dist/docx/layout/table-paragraph-keeps.d.ts.map +1 -0
  55. package/dist/docx/load/index.cjs +1 -1
  56. package/dist/docx/load/index.mjs +1 -1
  57. package/dist/docx/ui/index.cjs +83 -6
  58. package/dist/docx/ui/index.mjs +83 -7
  59. package/dist/docx/ui/ribbon-action-ids.d.ts +1 -1
  60. package/dist/docx/ui/ribbon-action-ids.d.ts.map +1 -1
  61. package/dist/docx/ui/word-count.d.ts +3 -0
  62. package/dist/docx/ui/word-count.d.ts.map +1 -1
  63. package/dist/geometry/element-transform.d.ts +90 -0
  64. package/dist/geometry/element-transform.d.ts.map +1 -0
  65. package/dist/geometry/index.cjs +90 -0
  66. package/dist/geometry/index.d.ts +1 -0
  67. package/dist/geometry/index.d.ts.map +1 -1
  68. package/dist/geometry/index.mjs +83 -1
  69. package/dist/index.cjs +90 -0
  70. package/dist/index.mjs +90 -0
  71. package/dist/pptx/automation/index.cjs +266 -114
  72. package/dist/pptx/automation/index.d.ts +5 -4
  73. package/dist/pptx/automation/index.d.ts.map +1 -1
  74. package/dist/pptx/automation/index.mjs +5 -5
  75. package/dist/pptx/chunks/{text-operations-BqHmLaLA.d.ts → elements-DD3UGOMd.d.ts} +17 -3262
  76. package/dist/pptx/chunks/elements-DD3UGOMd.d.ts.map +1 -0
  77. package/dist/pptx/chunks/{index-DUCGeZh7.d.ts → index-BZrFyNtU.d.ts} +53 -5
  78. package/dist/pptx/chunks/index-BZrFyNtU.d.ts.map +1 -0
  79. package/dist/pptx/chunks/{index-Cuxtr76Y.d.ts → index-DdX02BSm.d.ts} +5 -3
  80. package/dist/pptx/chunks/index-DdX02BSm.d.ts.map +1 -0
  81. package/dist/pptx/chunks/smart-art-ENMMEbmW.d.ts +1512 -0
  82. package/dist/pptx/chunks/smart-art-ENMMEbmW.d.ts.map +1 -0
  83. package/dist/pptx/chunks/text-D49FKllA.d.ts +1473 -0
  84. package/dist/pptx/chunks/text-D49FKllA.d.ts.map +1 -0
  85. package/dist/pptx/chunks/text-operations-CyMTMfID.d.ts +3261 -0
  86. package/dist/pptx/chunks/text-operations-CyMTMfID.d.ts.map +1 -0
  87. package/dist/pptx/cli/index.cjs +266 -114
  88. package/dist/pptx/cli/index.d.ts +1 -1
  89. package/dist/pptx/cli/index.mjs +4 -4
  90. package/dist/pptx/converter/index.d.ts +1 -1
  91. package/dist/pptx/converter/index.mjs +2 -2
  92. package/dist/pptx/editor/render/find-replace.cjs +17 -16
  93. package/dist/pptx/editor/render/find-replace.d.ts +2 -2
  94. package/dist/pptx/editor/render/find-replace.mjs +2 -1
  95. package/dist/pptx/editor/render/font-family-update.cjs +14 -0
  96. package/dist/pptx/editor/render/font-family-update.d.ts +17 -0
  97. package/dist/pptx/editor/render/font-family-update.d.ts.map +1 -0
  98. package/dist/pptx/editor/render/font-family-update.mjs +1 -0
  99. package/dist/pptx/editor/render/paragraph-geometry-overrides.cjs +14 -0
  100. package/dist/pptx/editor/render/paragraph-geometry-overrides.d.ts +17 -0
  101. package/dist/pptx/editor/render/paragraph-geometry-overrides.d.ts.map +1 -0
  102. package/dist/pptx/editor/render/paragraph-geometry-overrides.mjs +12 -0
  103. package/dist/pptx/editor/render/slide-operations.cjs +9 -8
  104. package/dist/pptx/editor/render/slide-operations.mjs +3 -2
  105. package/dist/pptx/editor/render/table-data-grid-ops.cjs +1 -1
  106. package/dist/pptx/editor/render/table-data-grid-ops.mjs +1 -1
  107. package/dist/pptx/editor/render/text-content-style.cjs +18 -0
  108. package/dist/pptx/editor/render/text-content-style.d.ts +9 -0
  109. package/dist/pptx/editor/render/text-content-style.d.ts.map +1 -0
  110. package/dist/pptx/editor/render/text-content-style.mjs +5 -0
  111. package/dist/pptx/editor/render/text-runs-style-patch.cjs +17 -0
  112. package/dist/pptx/editor/render/text-runs-style-patch.d.ts +7 -0
  113. package/dist/pptx/editor/render/text-runs-style-patch.d.ts.map +1 -0
  114. package/dist/pptx/editor/render/text-runs-style-patch.mjs +15 -0
  115. package/dist/pptx/editor/render/text-style-scope.cjs +173 -0
  116. package/dist/pptx/editor/render/text-style-scope.d.ts +76 -0
  117. package/dist/pptx/editor/render/text-style-scope.d.ts.map +1 -0
  118. package/dist/pptx/editor/render/text-style-scope.mjs +164 -0
  119. package/dist/pptx/editor/render/theme-editor-model.cjs +1 -1
  120. package/dist/pptx/editor/render/theme-editor-model.mjs +1 -1
  121. package/dist/pptx/editor/render/update-text-segment-style.cjs +11 -0
  122. package/dist/pptx/editor/render/update-text-segment-style.d.ts +14 -0
  123. package/dist/pptx/editor/render/update-text-segment-style.d.ts.map +1 -0
  124. package/dist/pptx/editor/render/update-text-segment-style.mjs +2 -0
  125. package/dist/pptx/index.cjs +329 -114
  126. package/dist/pptx/index.d.ts +7 -5
  127. package/dist/pptx/index.mjs +5 -5
  128. package/dist/pptx/smartart-layouts/index.d.ts +1 -1
  129. package/dist/teams/index.cjs +112 -16
  130. package/dist/teams/index.mjs +112 -16
  131. package/dist/visio/edit-commands.d.ts +3 -3
  132. package/dist/visio/edit-commands.d.ts.map +1 -1
  133. package/dist/visio/edit-formatting-scope.d.ts.map +1 -1
  134. package/dist/visio/edit-recalculate-index.d.ts.map +1 -1
  135. package/dist/visio/edit-text-field-commands.d.ts +15 -0
  136. package/dist/visio/edit-text-field-commands.d.ts.map +1 -1
  137. package/dist/visio/edit-text-field.d.ts +2 -2
  138. package/dist/visio/edit-text-field.d.ts.map +1 -1
  139. package/dist/visio/edit.d.ts +1 -1
  140. package/dist/visio/edit.d.ts.map +1 -1
  141. package/dist/visio/index.cjs +696 -249
  142. package/dist/visio/index.d.ts +2 -1
  143. package/dist/visio/index.d.ts.map +1 -1
  144. package/dist/visio/index.mjs +695 -250
  145. package/dist/visio/model.d.ts +18 -0
  146. package/dist/visio/model.d.ts.map +1 -1
  147. package/dist/visio/paper-sizes.d.ts +5 -0
  148. package/dist/visio/paper-sizes.d.ts.map +1 -1
  149. package/dist/visio/parser.d.ts.map +1 -1
  150. package/dist/visio/print-count.d.ts +20 -0
  151. package/dist/visio/print-count.d.ts.map +1 -0
  152. package/dist/visio/print-settings.d.ts +14 -0
  153. package/dist/visio/print-settings.d.ts.map +1 -0
  154. package/dist/visio/shapes.d.ts.map +1 -1
  155. package/dist/visio/style.d.ts +1 -1
  156. package/dist/visio/style.d.ts.map +1 -1
  157. package/dist/visio/text-field-display.d.ts +3 -0
  158. package/dist/visio/text-field-display.d.ts.map +1 -1
  159. package/dist/visio/text-field-editability.d.ts +6 -0
  160. package/dist/visio/text-field-editability.d.ts.map +1 -0
  161. package/dist/visio/text-field-independent.d.ts +4 -0
  162. package/dist/visio/text-field-independent.d.ts.map +1 -0
  163. package/dist/visio/text-field-source.d.ts +6 -0
  164. package/dist/visio/text-field-source.d.ts.map +1 -0
  165. package/dist/visio/ui/edit-commands.d.ts.map +1 -1
  166. package/dist/visio/ui/index.cjs +588 -215
  167. package/dist/visio/ui/index.mjs +588 -215
  168. package/dist/visio/ui/snapshot-scene.d.ts.map +1 -1
  169. package/dist/xlsx/edit/pivots.d.ts.map +1 -1
  170. package/dist/xlsx/index.cjs +773 -514
  171. package/dist/xlsx/index.mjs +772 -515
  172. package/dist/xlsx/load/index.cjs +541 -292
  173. package/dist/xlsx/load/index.mjs +541 -292
  174. package/dist/xlsx/model-pivots.d.ts +8 -0
  175. package/dist/xlsx/model-pivots.d.ts.map +1 -1
  176. package/dist/xlsx/pivot/admission.d.ts.map +1 -1
  177. package/dist/xlsx/pivot/aggregate.d.ts.map +1 -1
  178. package/dist/xlsx/pivot/data.d.ts +2 -2
  179. package/dist/xlsx/pivot/data.d.ts.map +1 -1
  180. package/dist/xlsx/pivot/index.d.ts +2 -0
  181. package/dist/xlsx/pivot/index.d.ts.map +1 -1
  182. package/dist/xlsx/pivot/measures.d.ts +1 -1
  183. package/dist/xlsx/pivot/measures.d.ts.map +1 -1
  184. package/dist/xlsx/pivot/page-filter-admission.d.ts +5 -0
  185. package/dist/xlsx/pivot/page-filter-admission.d.ts.map +1 -0
  186. package/dist/xlsx/pivot/page-filter.d.ts +11 -0
  187. package/dist/xlsx/pivot/page-filter.d.ts.map +1 -0
  188. package/dist/xlsx/pivot/read.d.ts.map +1 -1
  189. package/dist/xlsx/pivot/table-xml.d.ts.map +1 -1
  190. package/dist/xlsx/pivot/values-axis.d.ts +4 -1
  191. package/dist/xlsx/pivot/values-axis.d.ts.map +1 -1
  192. package/dist/xlsx/ui/commands/i18n/navigation.d.ts.map +1 -1
  193. package/dist/xlsx/ui/commands/i18n/pivots.d.ts.map +1 -1
  194. package/dist/xlsx/ui/index.cjs +95 -12
  195. package/dist/xlsx/ui/index.mjs +95 -12
  196. package/dist/xlsx/ui/ribbon/parts.d.ts +1 -0
  197. package/dist/xlsx/ui/ribbon/parts.d.ts.map +1 -1
  198. package/package.json +2 -2
  199. package/dist/PptxHandler-5UURGJEV.mjs +0 -2
  200. package/dist/PptxHandler-U5XB2HUE.cjs +0 -11
  201. package/dist/pptx/chunks/index-Cuxtr76Y.d.ts.map +0 -1
  202. package/dist/pptx/chunks/index-DUCGeZh7.d.ts.map +0 -1
  203. package/dist/pptx/chunks/smart-art-D-sXa_Nb.d.ts +0 -2980
  204. package/dist/pptx/chunks/smart-art-D-sXa_Nb.d.ts.map +0 -1
  205. package/dist/pptx/chunks/text-operations-BqHmLaLA.d.ts.map +0 -1
@@ -0,0 +1,164 @@
1
+ import { isContentSegment } from '../../../chunk-KTYBFGEY.mjs';
2
+ import { hasTextProperties } from '../../../chunk-GXHKNSZX.mjs';
3
+ import '../../../chunk-LRKFBOAA.mjs';
4
+ import '../../../chunk-VPHSMBTD.mjs';
5
+ import '../../../chunk-BEGN4NBQ.mjs';
6
+ import '../../../chunk-WWOVZOGU.mjs';
7
+
8
+ // pptx/editor/render/text-style-scope.ts
9
+ var BODY_TEXT_STYLE_KEYS = /* @__PURE__ */ new Set([
10
+ // autofit (`a:normAutofit` / `a:spAutoFit`)
11
+ "autoFit",
12
+ "autoFitMode",
13
+ "autoFitFontScale",
14
+ "autoFitLineSpacingReduction",
15
+ // `a:bodyPr` anchoring, direction, rotation
16
+ "vAlign",
17
+ "anchorCenter",
18
+ "textDirection",
19
+ "textBodyRotation",
20
+ "upright",
21
+ // `a:bodyPr` columns, overflow, wrap
22
+ "columnCount",
23
+ "columnSpacing",
24
+ "rtlColumns",
25
+ "hOverflow",
26
+ "vertOverflow",
27
+ "textWrap",
28
+ // `a:bodyPr` insets
29
+ "bodyInsetLeft",
30
+ "bodyInsetTop",
31
+ "bodyInsetRight",
32
+ "bodyInsetBottom",
33
+ // paragraph geometry the block applies body-wide
34
+ "paragraphMarginLeft",
35
+ "paragraphMarginRight",
36
+ "paragraphIndent",
37
+ "paragraphSpacingBefore",
38
+ "paragraphSpacingAfter",
39
+ "lineSpacing",
40
+ "lineSpacingExactPt",
41
+ "tabStops",
42
+ "defaultTabSize",
43
+ "eaLineBreak",
44
+ "latinLineBreak",
45
+ "fontAlignment",
46
+ "hangingPunctuation",
47
+ // `a:bodyPr` flags
48
+ "spaceFirstLastParagraph",
49
+ "fromWordArt",
50
+ "forceAntiAlias",
51
+ "compatibleLineSpacing",
52
+ // warp and 3D scene on the body
53
+ "textWarpPreset",
54
+ "textWarpAdj",
55
+ "textWarpAdj2",
56
+ "text3d",
57
+ "textBodyScene3d",
58
+ "textBodyScene3dXml",
59
+ "flatText",
60
+ "bodyPropertiesExtLstXml"
61
+ ]);
62
+ function isBodyTextStyleKey(key) {
63
+ return BODY_TEXT_STYLE_KEYS.has(key);
64
+ }
65
+ function splitTextStyleUpdate(updates) {
66
+ const body = {};
67
+ const run = {};
68
+ for (const [key, value] of Object.entries(updates)) {
69
+ (isBodyTextStyleKey(key) ? body : run)[key] = value;
70
+ }
71
+ return { body, run };
72
+ }
73
+ function reconcileDecorationFlags(segments, textStyle, flags) {
74
+ const nextStyle = { ...textStyle ?? {} };
75
+ let nextSegments = [...segments];
76
+ for (const flag of flags) {
77
+ const body = nextStyle[flag] ?? false;
78
+ const content = nextSegments.filter(isContentSegment);
79
+ if (content.length === 0) {
80
+ continue;
81
+ }
82
+ if (content.every((segment) => segment.style?.[flag] ?? body)) {
83
+ nextStyle[flag] = true;
84
+ continue;
85
+ }
86
+ if (!body) {
87
+ continue;
88
+ }
89
+ delete nextStyle[flag];
90
+ nextSegments = nextSegments.map(
91
+ (segment) => isContentSegment(segment) && segment.style?.[flag] === void 0 ? { ...segment, style: { ...segment.style, [flag]: true } } : segment
92
+ );
93
+ }
94
+ return { textStyle: nextStyle, textSegments: nextSegments };
95
+ }
96
+ var LINE_SPACING_TWIN = {
97
+ lineSpacing: "lineSpacingExactPt",
98
+ lineSpacingExactPt: "lineSpacing"
99
+ };
100
+ function withExclusiveLineSpacing(updates) {
101
+ const next = { ...updates };
102
+ for (const key of Object.keys(updates)) {
103
+ const twin = LINE_SPACING_TWIN[key];
104
+ if (twin && updates[key] !== void 0 && !(twin in updates)) {
105
+ next[twin] = void 0;
106
+ }
107
+ }
108
+ return next;
109
+ }
110
+ function overrideParagraphProperties(segments, updates, inheritedSpacing) {
111
+ const keys = Object.keys(updates).filter(isBodyTextStyleKey);
112
+ return segments.map((segment, index) => {
113
+ const own = segment.paragraphProperties;
114
+ const previous = segments[index - 1];
115
+ const inherited = index === 0 || previous?.isParagraphBreak || previous?.text === "\n" && !previous.isLineBreak ? inheritedSpacing?.[segment.paragraphLevel ?? 0] : void 0;
116
+ const pinned = keys.filter(
117
+ (key) => (key === "lineSpacing" || key === "lineSpacingExactPt") && updates[key] !== void 0 && inherited && (inherited.lineSpacing !== void 0 || inherited.lineSpacingExactPt !== void 0) && (inherited[key] !== updates[key] || LINE_SPACING_TWIN[key] !== void 0 && inherited[LINE_SPACING_TWIN[key]] !== void 0)
118
+ );
119
+ const declared = keys.filter((key) => {
120
+ const twin = LINE_SPACING_TWIN[key];
121
+ return own && (key in own || twin !== void 0 && twin in own) || pinned.includes(key) || twin !== void 0 && pinned.includes(twin);
122
+ });
123
+ if (declared.length === 0) {
124
+ return segment;
125
+ }
126
+ const next = { ...own };
127
+ for (const key of declared) {
128
+ if (updates[key] === void 0) {
129
+ delete next[key];
130
+ } else {
131
+ Object.assign(next, { [key]: updates[key] });
132
+ }
133
+ }
134
+ return { ...segment, paragraphProperties: next };
135
+ });
136
+ }
137
+ function overrideParagraphIndents(element, updates) {
138
+ const { paragraphMarginLeft, paragraphIndent } = updates;
139
+ if (!hasTextProperties(element) || !element.paragraphIndents || paragraphMarginLeft === void 0 && paragraphIndent === void 0) {
140
+ return {};
141
+ }
142
+ return {
143
+ paragraphIndents: element.paragraphIndents.map((entry) => ({
144
+ ...entry,
145
+ ...paragraphMarginLeft === void 0 ? {} : { marginLeft: paragraphMarginLeft },
146
+ ...paragraphIndent === void 0 ? {} : { indent: paragraphIndent }
147
+ }))
148
+ };
149
+ }
150
+ function paragraphOverridePatch(element, updates) {
151
+ const current = hasTextProperties(element) ? element.textSegments : void 0;
152
+ const overridden = current && overrideParagraphProperties(
153
+ current,
154
+ updates,
155
+ hasTextProperties(element) ? element.textStyle?.inheritedParagraphSpacing : void 0
156
+ );
157
+ const changed = overridden?.some((segment, index) => segment !== current?.[index]);
158
+ return {
159
+ ...changed ? { textSegments: overridden } : {},
160
+ ...overrideParagraphIndents(element, updates)
161
+ };
162
+ }
163
+
164
+ export { BODY_TEXT_STYLE_KEYS, isBodyTextStyleKey, overrideParagraphIndents, overrideParagraphProperties, paragraphOverridePatch, reconcileDecorationFlags, splitTextStyleUpdate, withExclusiveLineSpacing };
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkLQ5OQSRU_cjs = require('../../../chunk-LQ5OQSRU.cjs');
4
3
  var chunk2VW7LWJQ_cjs = require('../../../chunk-2VW7LWJQ.cjs');
4
+ var chunkLQ5OQSRU_cjs = require('../../../chunk-LQ5OQSRU.cjs');
5
5
  var chunkZR7YDG22_cjs = require('../../../chunk-ZR7YDG22.cjs');
6
6
  var pptx = require('ooxml-core/pptx');
7
7
 
@@ -1,5 +1,5 @@
1
- import { DEFAULT_THEME_COLOR_SCHEME } from '../../../chunk-LEUX4TXY.mjs';
2
1
  import { THEME_COLOR_TINT_ROWS } from '../../../chunk-H3T5SE36.mjs';
2
+ import { DEFAULT_THEME_COLOR_SCHEME } from '../../../chunk-LEUX4TXY.mjs';
3
3
  import { THEME_COLOR_SLOT_LABEL_KEYS } from '../../../chunk-SEN6Y2LT.mjs';
4
4
  import { THEME_COLOR_SCHEME_KEYS } from 'ooxml-core/pptx';
5
5
 
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ var chunkANZ4Q6I3_cjs = require('../../../chunk-ANZ4Q6I3.cjs');
4
+ require('../../../chunk-QOO36KG4.cjs');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "updateTextSegmentStyle", {
9
+ enumerable: true,
10
+ get: function () { return chunkANZ4Q6I3_cjs.updateTextSegmentStyle; }
11
+ });
@@ -0,0 +1,14 @@
1
+ import { i as TextStyle, r as TextSegment } from "../../chunks/text-D49FKllA.js";
2
+ //#region pptx/editor/render/update-text-segment-style.d.ts
3
+ /**
4
+ * Keep a runless paragraph's future body formatting in the same style edit.
5
+ * `options.inherited` is the text box style the run inherits unset fields
6
+ * from, so a font family pick can tell which script faces matched the old
7
+ * effective Latin face (see `font-family-update.ts`).
8
+ */
9
+ export declare function updateTextSegmentStyle(segment: TextSegment, updates: Partial<TextStyle>, options?: {
10
+ updateBodyStyle?: boolean;
11
+ inherited?: TextStyle | undefined;
12
+ }): TextSegment;
13
+ //#endregion
14
+ //# sourceMappingURL=update-text-segment-style.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-text-segment-style.d.ts","names":[],"sources":["../../../../pptx/editor/render/update-text-segment-style.ts"],"mappings":";;;;;;;;wBAUgB,uBACf,SAAS,aACT,SAAS,QAAQ,YACjB;EAAW;EAA2B,YAAY;IAChD"}
@@ -0,0 +1,2 @@
1
+ export { updateTextSegmentStyle } from '../../../chunk-EGTRL3QJ.mjs';
2
+ import '../../../chunk-R2KZXD6U.mjs';