igniteui-webcomponents-excel 5.2.0 → 5.3.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/bundles/igniteui-webcomponents-excel.umd.js +11358 -8475
- package/bundles/igniteui-webcomponents-excel.umd.min.js +1 -1
- package/esm2015/lib/AddInFunctionResolver.js +1 -1
- package/esm2015/lib/AlternateContentChoice_combined.js +581 -251
- package/esm2015/lib/BiffRecordStream.js +3 -3
- package/esm2015/lib/BmpPartManager.js +1 -51
- package/esm2015/lib/CT_GraphicalObject_combined.js +5 -5
- package/esm2015/lib/CellShiftOperation_CellCache.js +7 -0
- package/esm2015/lib/ChartPatternFill.js +44 -0
- package/esm2015/lib/ColorInfo.js +5 -5
- package/esm2015/lib/ConditionBaseExtensions.js +5 -0
- package/esm2015/lib/ConditionalFormattingUtils.js +16 -13
- package/esm2015/lib/CustomListSortCondition.js +4 -4
- package/esm2015/lib/DefaultStyleHelper_combined.js +4387 -3883
- package/esm2015/lib/DrawingMLSpreadsheetDrawing.js +1 -1
- package/esm2015/lib/DrawingPartManagerHelpers_combined.js +43 -43
- package/esm2015/lib/DxfInfo.js +1 -1
- package/esm2015/lib/EmfPartManager.js +1 -43
- package/esm2015/lib/ExcelDocumentManager.js +36 -36
- package/esm2015/lib/GifPartManager.js +1 -43
- package/esm2015/lib/LegacyShapeData.js +1 -1
- package/esm2015/lib/MetadataPartManager.js +45 -0
- package/esm2015/lib/MultipleCellValueInfo.js +5 -5
- package/esm2015/lib/ObjectModelDrawingPartManager_ShapeLoader_ShapeTypeCreator.js +2 -2
- package/esm2015/lib/ObjectModelMetadataPartManager.js +7 -0
- package/esm2015/lib/ObjectModelRdArrayPartManager.js +7 -0
- package/esm2015/lib/ObjectModelRdRichValuePartManager.js +7 -0
- package/esm2015/lib/ObjectModelRdRichValueStructurePartManager.js +7 -0
- package/esm2015/lib/ObjectModelRdRichValueTypesPartManager.js +7 -0
- package/esm2015/lib/ObjectModelRdRichValueWebImagePartManager.js +7 -0
- package/esm2015/lib/ObjectModelRdSupportingPropertyBagPartManager.js +7 -0
- package/esm2015/lib/ObjectModelRdSupportingPropertyBagStructurePartManager.js +7 -0
- package/esm2015/lib/ObjectModelRichStylesPartManager.js +7 -0
- package/esm2015/lib/ObjectModelRichValueRelPartManager.js +7 -0
- package/esm2015/lib/ObjectModelVmlDrawingPartManager_UpdateLegacyShapeData.js +1 -1
- package/esm2015/lib/OrderedSortCondition.js +2 -2
- package/esm2015/lib/PatternType.js +237 -0
- package/esm2015/lib/PngPartManager.js +1 -43
- package/esm2015/lib/RdArrayPartManager.js +43 -0
- package/esm2015/lib/RdRichValuePartManager.js +44 -0
- package/esm2015/lib/RdRichValueStructurePartManager.js +44 -0
- package/esm2015/lib/RdRichValueTypesPartManager.js +44 -0
- package/esm2015/lib/RdRichValueWebImagePartManager.js +44 -0
- package/esm2015/lib/RdSupportingPropertyBagPartManager.js +45 -0
- package/esm2015/lib/RdSupportingPropertyBagStructurePartManager.js +45 -0
- package/esm2015/lib/RichStylesPartManager.js +43 -0
- package/esm2015/lib/RichValueRelPartManager.js +44 -0
- package/esm2015/lib/RoundTripControlData.js +9 -7
- package/esm2015/lib/RoundTripPartData.js +4 -2
- package/esm2015/lib/SerializationNumberFormatInfo.js +2 -2
- package/esm2015/lib/SpreadsheetML2009Main_combined.js +1149 -849
- package/esm2015/lib/TiffPartManager.js +1 -43
- package/esm2015/lib/UltraCalcConditionalFunctionBase_combined.js +1 -1
- package/esm2015/lib/UltraCalcFunctionCell.js +7 -7
- package/esm2015/lib/UltraCalcFunctionColumn.js +1 -1
- package/esm2015/lib/UltraCalcFunctionHLookup.js +1 -1
- package/esm2015/lib/UltraCalcFunctionLookup.js +1 -1
- package/esm2015/lib/UltraCalcFunctionMatch.js +1 -1
- package/esm2015/lib/UltraCalcFunctionRow.js +1 -1
- package/esm2015/lib/UltraCalcFunctionVLookup.js +1 -1
- package/esm2015/lib/WeakWorkbookOwner.js +4 -0
- package/esm2015/lib/WmfPartManager.js +1 -43
- package/esm2015/lib/WorkbookLoadManagerExcel2007_ShapeAnchorApplicator.js +2 -2
- package/esm2015/lib/WorkbookLoadManagerExcel2007_combined.js +2819 -2123
- package/esm2015/lib/WorkbookMetadataCellBlock.js +33 -0
- package/esm2015/lib/WorkbookMetadataItem.js +25 -0
- package/esm2015/lib/WorkbookMetadataRecord.js +23 -0
- package/esm2015/lib/WorkbookMetadataType.js +75 -0
- package/esm2015/lib/WorkbookSaveManagerExcel2003_SaveTokenVisitor.js +1 -1
- package/esm2015/lib/WorkbookSaveManagerExcel2003_combined.js +154 -154
- package/esm2015/public_api.js +28 -1
- package/esm5/lib/AddInFunctionResolver.js +1 -1
- package/esm5/lib/AlternateContentChoice_combined.js +691 -251
- package/esm5/lib/BiffRecordStream.js +3 -3
- package/esm5/lib/BmpPartManager.js +1 -69
- package/esm5/lib/CT_GraphicalObject_combined.js +5 -5
- package/esm5/lib/CellShiftOperation_CellCache.js +7 -0
- package/esm5/lib/ChartPatternFill.js +58 -0
- package/esm5/lib/ColorInfo.js +5 -5
- package/esm5/lib/ConditionBaseExtensions.js +5 -0
- package/esm5/lib/ConditionalFormattingUtils.js +19 -13
- package/esm5/lib/CustomListSortCondition.js +4 -4
- package/esm5/lib/DefaultStyleHelper_combined.js +4470 -3934
- package/esm5/lib/DrawingMLSpreadsheetDrawing.js +1 -1
- package/esm5/lib/DrawingPartManagerHelpers_combined.js +43 -43
- package/esm5/lib/DxfInfo.js +1 -1
- package/esm5/lib/EmfPartManager.js +1 -60
- package/esm5/lib/ExcelDocumentManager.js +36 -36
- package/esm5/lib/GifPartManager.js +1 -60
- package/esm5/lib/LegacyShapeData.js +1 -1
- package/esm5/lib/MetadataPartManager.js +57 -0
- package/esm5/lib/MultipleCellValueInfo.js +5 -5
- package/esm5/lib/ObjectModelDrawingPartManager_ShapeLoader_ShapeTypeCreator.js +2 -2
- package/esm5/lib/ObjectModelMetadataPartManager.js +7 -0
- package/esm5/lib/ObjectModelRdArrayPartManager.js +7 -0
- package/esm5/lib/ObjectModelRdRichValuePartManager.js +7 -0
- package/esm5/lib/ObjectModelRdRichValueStructurePartManager.js +7 -0
- package/esm5/lib/ObjectModelRdRichValueTypesPartManager.js +7 -0
- package/esm5/lib/ObjectModelRdRichValueWebImagePartManager.js +7 -0
- package/esm5/lib/ObjectModelRdSupportingPropertyBagPartManager.js +7 -0
- package/esm5/lib/ObjectModelRdSupportingPropertyBagStructurePartManager.js +7 -0
- package/esm5/lib/ObjectModelRichStylesPartManager.js +7 -0
- package/esm5/lib/ObjectModelRichValueRelPartManager.js +7 -0
- package/esm5/lib/ObjectModelVmlDrawingPartManager_UpdateLegacyShapeData.js +1 -1
- package/esm5/lib/OrderedSortCondition.js +2 -2
- package/esm5/lib/PatternType.js +237 -0
- package/esm5/lib/PngPartManager.js +1 -60
- package/esm5/lib/RdArrayPartManager.js +55 -0
- package/esm5/lib/RdRichValuePartManager.js +56 -0
- package/esm5/lib/RdRichValueStructurePartManager.js +56 -0
- package/esm5/lib/RdRichValueTypesPartManager.js +56 -0
- package/esm5/lib/RdRichValueWebImagePartManager.js +56 -0
- package/esm5/lib/RdSupportingPropertyBagPartManager.js +57 -0
- package/esm5/lib/RdSupportingPropertyBagStructurePartManager.js +57 -0
- package/esm5/lib/RichStylesPartManager.js +55 -0
- package/esm5/lib/RichValueRelPartManager.js +56 -0
- package/esm5/lib/RoundTripControlData.js +9 -7
- package/esm5/lib/RoundTripPartData.js +4 -2
- package/esm5/lib/SerializationNumberFormatInfo.js +2 -2
- package/esm5/lib/SpreadsheetML2009Main_combined.js +1523 -1096
- package/esm5/lib/TiffPartManager.js +1 -60
- package/esm5/lib/UltraCalcConditionalFunctionBase_combined.js +1 -1
- package/esm5/lib/UltraCalcFunctionCell.js +7 -7
- package/esm5/lib/UltraCalcFunctionColumn.js +1 -1
- package/esm5/lib/UltraCalcFunctionHLookup.js +1 -1
- package/esm5/lib/UltraCalcFunctionLookup.js +1 -1
- package/esm5/lib/UltraCalcFunctionMatch.js +1 -1
- package/esm5/lib/UltraCalcFunctionRow.js +1 -1
- package/esm5/lib/UltraCalcFunctionVLookup.js +1 -1
- package/esm5/lib/WeakWorkbookOwner.js +8 -0
- package/esm5/lib/WmfPartManager.js +1 -60
- package/esm5/lib/WorkbookLoadManagerExcel2007_ShapeAnchorApplicator.js +2 -2
- package/esm5/lib/WorkbookLoadManagerExcel2007_combined.js +2874 -2128
- package/esm5/lib/WorkbookMetadataCellBlock.js +39 -0
- package/esm5/lib/WorkbookMetadataItem.js +27 -0
- package/esm5/lib/WorkbookMetadataRecord.js +25 -0
- package/esm5/lib/WorkbookMetadataType.js +77 -0
- package/esm5/lib/WorkbookSaveManagerExcel2003_SaveTokenVisitor.js +1 -1
- package/esm5/lib/WorkbookSaveManagerExcel2003_combined.js +154 -154
- package/esm5/public_api.js +28 -1
- package/fesm2015/igniteui-webcomponents-excel.js +10186 -7665
- package/fesm5/igniteui-webcomponents-excel.js +11332 -8477
- package/lib/AlternateContentChoice_combined.d.ts +174 -66
- package/lib/BmpPartManager.d.ts +1 -22
- package/lib/CellShiftOperation_CellCache.d.ts +1 -0
- package/lib/ChartPatternFill.d.ts +26 -0
- package/lib/ConditionalFormattingUtils.d.ts +1 -1
- package/lib/DefaultStyleHelper_combined.d.ts +1021 -847
- package/lib/EmfPartManager.d.ts +1 -20
- package/lib/ExcelDocumentManager.d.ts +12 -12
- package/lib/GifPartManager.d.ts +1 -20
- package/lib/MetadataPartManager.d.ts +19 -0
- package/lib/ObjectModelMetadataPartManager.d.ts +1 -0
- package/lib/ObjectModelRdArrayPartManager.d.ts +1 -0
- package/lib/ObjectModelRdRichValuePartManager.d.ts +1 -0
- package/lib/ObjectModelRdRichValueStructurePartManager.d.ts +1 -0
- package/lib/ObjectModelRdRichValueTypesPartManager.d.ts +1 -0
- package/lib/ObjectModelRdRichValueWebImagePartManager.d.ts +1 -0
- package/lib/ObjectModelRdSupportingPropertyBagPartManager.d.ts +1 -0
- package/lib/ObjectModelRdSupportingPropertyBagStructurePartManager.d.ts +1 -0
- package/lib/ObjectModelRichStylesPartManager.d.ts +1 -0
- package/lib/ObjectModelRichValueRelPartManager.d.ts +1 -0
- package/lib/PatternType.d.ts +230 -0
- package/lib/PngPartManager.d.ts +1 -20
- package/lib/RdArrayPartManager.d.ts +17 -0
- package/lib/RdRichValuePartManager.d.ts +18 -0
- package/lib/RdRichValueStructurePartManager.d.ts +18 -0
- package/lib/RdRichValueTypesPartManager.d.ts +18 -0
- package/lib/RdRichValueWebImagePartManager.d.ts +18 -0
- package/lib/RdSupportingPropertyBagPartManager.d.ts +19 -0
- package/lib/RdSupportingPropertyBagStructurePartManager.d.ts +19 -0
- package/lib/RichStylesPartManager.d.ts +17 -0
- package/lib/RichValueRelPartManager.d.ts +18 -0
- package/lib/RoundTripControlData.d.ts +6 -4
- package/lib/RoundTripPartData.d.ts +6 -2
- package/lib/SpreadsheetML2009Main_combined.d.ts +591 -533
- package/lib/TiffPartManager.d.ts +1 -20
- package/lib/WeakWorkbookOwner.d.ts +1 -0
- package/lib/WmfPartManager.d.ts +1 -20
- package/lib/WorkbookLoadManagerExcel2007_combined.d.ts +480 -319
- package/lib/WorkbookMetadataCellBlock.d.ts +13 -0
- package/lib/WorkbookMetadataItem.d.ts +12 -0
- package/lib/WorkbookMetadataRecord.d.ts +11 -0
- package/lib/WorkbookMetadataType.d.ts +36 -0
- package/lib/WorkbookSaveManagerExcel2003_combined.d.ts +3 -3
- package/package.json +2 -2
- package/public_api.d.ts +28 -1
|
@@ -19,6 +19,9 @@ import { WorkItemExtensions } from "./WorkItemExtensions";
|
|
|
19
19
|
import { Uri } from "igniteui-webcomponents-core";
|
|
20
20
|
import { UriUtilities } from "./UriUtilities";
|
|
21
21
|
import { Tuple$2 } from "igniteui-webcomponents-core";
|
|
22
|
+
import { ImageData } from "./ImageData";
|
|
23
|
+
import { Guid } from "igniteui-webcomponents-core";
|
|
24
|
+
import { ImageFormat } from "./ImageFormat";
|
|
22
25
|
import { Async } from "./Async";
|
|
23
26
|
import { DocCoreUtils } from "./DocCoreUtils";
|
|
24
27
|
import { IPackageRelationship_$type } from "./IPackageRelationship";
|
|
@@ -31,7 +34,7 @@ import { OverrideContentTypePart } from "./OverrideContentTypePart";
|
|
|
31
34
|
import { List$1 } from "igniteui-webcomponents-core";
|
|
32
35
|
import { RoundTripControlData } from "./RoundTripControlData";
|
|
33
36
|
import { nullableEquals, nullableNotEquals } from "igniteui-webcomponents-core";
|
|
34
|
-
import { stringEmpty, stringIsNullOrEmpty, stringJoin1, stringToString$1, stringIsNullOrWhiteSpace } from "igniteui-webcomponents-core";
|
|
37
|
+
import { stringEmpty, stringIsNullOrEmpty, stringJoin1, stringReplace, stringToString$1, stringIsNullOrWhiteSpace } from "igniteui-webcomponents-core";
|
|
35
38
|
import { CultureInfo } from "igniteui-webcomponents-core";
|
|
36
39
|
import { Enumerable } from "igniteui-webcomponents-core";
|
|
37
40
|
import { XmlReadManager_AlternateContentChoiceContext } from "./XmlReadManager_AlternateContentChoiceContext";
|
|
@@ -41,14 +44,14 @@ import { arrayCopy2 } from "igniteui-webcomponents-core";
|
|
|
41
44
|
import { stringSplit, trimStart, trimEnd } from "igniteui-webcomponents-core";
|
|
42
45
|
import { XmlWriter } from "igniteui-webcomponents-core";
|
|
43
46
|
import { StringBuilder } from "igniteui-webcomponents-core";
|
|
44
|
-
import { ImageData } from "./ImageData";
|
|
45
|
-
import { ImageFormat } from "./ImageFormat";
|
|
46
47
|
import { XmlTextReader } from "igniteui-webcomponents-core";
|
|
47
48
|
import { Encoding } from "igniteui-webcomponents-core";
|
|
48
49
|
import { XmlTextWriter } from "igniteui-webcomponents-core";
|
|
49
50
|
import { NotImplementedException } from "igniteui-webcomponents-core";
|
|
50
51
|
import { BinaryData } from "./BinaryData";
|
|
51
52
|
import { RoundTripPartData } from "./RoundTripPartData";
|
|
53
|
+
import { MemoryStream } from "igniteui-webcomponents-core";
|
|
54
|
+
import { StreamReader } from "igniteui-webcomponents-core";
|
|
52
55
|
import { EqualityComparer$1 } from "igniteui-webcomponents-core";
|
|
53
56
|
import { ST_FillMethod_$type } from "./ST_FillMethod";
|
|
54
57
|
import { ST_OnOff } from "./ST_OnOff";
|
|
@@ -245,144 +248,183 @@ export let OfficeDocumentManager = /*@__PURE__*/ (() => {
|
|
|
245
248
|
constructor(a, b, c, d) {
|
|
246
249
|
super();
|
|
247
250
|
this._c = null;
|
|
248
|
-
this.
|
|
249
|
-
this.
|
|
250
|
-
this._aj = null;
|
|
251
|
+
this._ar = toNullable(ST_ConformanceClass_$type, null);
|
|
252
|
+
this._ad = false;
|
|
251
253
|
this._al = null;
|
|
252
|
-
this.
|
|
253
|
-
this._am = null;
|
|
254
|
-
this._aq = null;
|
|
255
|
-
this._ah = null;
|
|
254
|
+
this._an = null;
|
|
256
255
|
this._ai = null;
|
|
257
|
-
this._y = null;
|
|
258
|
-
this._a = null;
|
|
259
256
|
this._ao = null;
|
|
257
|
+
this._as = null;
|
|
258
|
+
this._aj = null;
|
|
259
|
+
this._ak = null;
|
|
260
|
+
this._aa = null;
|
|
261
|
+
this._a = null;
|
|
262
|
+
this._aq = null;
|
|
260
263
|
this._h = null;
|
|
261
264
|
this._i = null;
|
|
262
|
-
this.
|
|
265
|
+
this._o = null;
|
|
266
|
+
this._az = null;
|
|
263
267
|
this._ax = null;
|
|
264
|
-
this.
|
|
265
|
-
this.
|
|
266
|
-
this.
|
|
267
|
-
this.
|
|
268
|
-
this.
|
|
269
|
-
this.
|
|
270
|
-
this.
|
|
271
|
-
this.
|
|
272
|
-
this.
|
|
273
|
-
this.
|
|
274
|
-
this.
|
|
275
|
-
this.
|
|
276
|
-
this.
|
|
277
|
-
this.
|
|
278
|
-
if (a != null && this._ao != null) {
|
|
268
|
+
this._ay = null;
|
|
269
|
+
this._ah = false;
|
|
270
|
+
this._al = new HashSet$1(String_$type, 0);
|
|
271
|
+
this._an = new Stack$1(IPackagePart_$type);
|
|
272
|
+
this._ai = new Dictionary$2(String_$type, Base.$, 2, StringUtilities.f);
|
|
273
|
+
this._ao = new Stack$1(OfficeDocumentManager_PartRelationshipCounter.$);
|
|
274
|
+
this._ao.h(new OfficeDocumentManager_PartRelationshipCounter());
|
|
275
|
+
this._as = {};
|
|
276
|
+
this._aj = new Dictionary$2(String_$type, PartManagerBase.$, 0);
|
|
277
|
+
this._ak = new Dictionary$2(String_$type, PartManagerBase.$, 0);
|
|
278
|
+
this._ar = d;
|
|
279
|
+
this._ad = c;
|
|
280
|
+
this._aq = b;
|
|
281
|
+
if (a != null && this._aq != null) {
|
|
279
282
|
this._a = new InvalidPackage();
|
|
280
|
-
let e = WorkItemExtensions.f(IPackage_$type, a._open$i(this.
|
|
283
|
+
let e = WorkItemExtensions.f(IPackage_$type, a._open$i(this._aq, this._ad ? 3 : 2), (f) => {
|
|
281
284
|
this._a = WorkItemExtensions.m(IPackage_$type, f);
|
|
282
285
|
return null;
|
|
283
286
|
});
|
|
284
|
-
this.
|
|
287
|
+
this._o = e;
|
|
285
288
|
}
|
|
286
289
|
else {
|
|
287
|
-
this.
|
|
290
|
+
this._o = WorkItem.g(Base.$, null);
|
|
288
291
|
}
|
|
289
292
|
}
|
|
290
293
|
dispose() {
|
|
291
294
|
this.disposeCore(true);
|
|
292
295
|
}
|
|
293
|
-
|
|
294
|
-
return this.
|
|
296
|
+
_a2(a, b) {
|
|
297
|
+
return this._a3(a, b.o(this._ab));
|
|
295
298
|
}
|
|
296
|
-
|
|
297
|
-
return this.
|
|
299
|
+
_a3(a, b) {
|
|
300
|
+
return this._a4(a, b, 0);
|
|
298
301
|
}
|
|
299
|
-
|
|
300
|
-
|
|
302
|
+
_a1(a, b, c = null) {
|
|
303
|
+
if (c != null && this._ag(c)) {
|
|
304
|
+
this._bg(a, b, 1, c, null);
|
|
305
|
+
return c;
|
|
306
|
+
}
|
|
307
|
+
return this._a4(a, b, 1);
|
|
301
308
|
}
|
|
302
|
-
|
|
309
|
+
_a0(a, b) {
|
|
303
310
|
let c;
|
|
304
311
|
if (((() => { let d = UriUtilities.a(a, c); c = d.p1; return d.ret; })())) {
|
|
305
|
-
return this.
|
|
312
|
+
return this._a1(c, b);
|
|
306
313
|
}
|
|
307
|
-
return this.
|
|
314
|
+
return this._a4(null, b, 1, a);
|
|
308
315
|
}
|
|
309
|
-
_j(a, b = null
|
|
310
|
-
let
|
|
316
|
+
_j(a, b = null) {
|
|
317
|
+
let c;
|
|
318
|
+
let d = a.d.o;
|
|
319
|
+
if (Guid.l_op_Equality(d, ImageFormat.r)) {
|
|
320
|
+
c = PngPartManager.y;
|
|
321
|
+
}
|
|
322
|
+
else if (Guid.l_op_Equality(d, ImageFormat.k)) {
|
|
323
|
+
c = BmpPartManager.y;
|
|
324
|
+
}
|
|
325
|
+
else if (Guid.l_op_Equality(d, ImageFormat.l)) {
|
|
326
|
+
c = BmpPartManager.z;
|
|
327
|
+
}
|
|
328
|
+
else if (Guid.l_op_Equality(d, ImageFormat.p)) {
|
|
329
|
+
c = JpegPartManager.y;
|
|
330
|
+
}
|
|
331
|
+
else if (Guid.l_op_Equality(d, ImageFormat.n)) {
|
|
332
|
+
c = GifPartManager.y;
|
|
333
|
+
}
|
|
334
|
+
else if (Guid.l_op_Equality(d, ImageFormat.s)) {
|
|
335
|
+
c = TiffPartManager.y;
|
|
336
|
+
}
|
|
337
|
+
else if (Guid.l_op_Equality(d, ImageFormat.m)) {
|
|
338
|
+
c = EmfPartManager.y;
|
|
339
|
+
}
|
|
340
|
+
else if (Guid.l_op_Equality(d, ImageFormat.t)) {
|
|
341
|
+
c = WmfPartManager.y;
|
|
342
|
+
}
|
|
343
|
+
else {
|
|
344
|
+
c = PngPartManager.y;
|
|
345
|
+
}
|
|
346
|
+
return this._k(c, a, b);
|
|
347
|
+
}
|
|
348
|
+
_k(a, b, c = null) {
|
|
349
|
+
return this._l(a, b, c);
|
|
350
|
+
}
|
|
351
|
+
_l(a, b = null, c = null) {
|
|
352
|
+
let d = a.n(this._x);
|
|
311
353
|
if (a.g) {
|
|
312
|
-
d = this.
|
|
354
|
+
d = this._a8(d, a.h == false);
|
|
313
355
|
}
|
|
314
|
-
return this.
|
|
356
|
+
return this._m(a, d, b, c);
|
|
315
357
|
}
|
|
316
|
-
|
|
358
|
+
_m(a, b, c = null, d = null) {
|
|
317
359
|
let e = UriUtilities.b(b);
|
|
318
360
|
let f;
|
|
319
|
-
if (d != null && this.
|
|
361
|
+
if (d != null && this._ag(d)) {
|
|
320
362
|
f = d;
|
|
321
|
-
this.
|
|
363
|
+
this._bg(e, a.o(this._ab), 0, f, null);
|
|
322
364
|
}
|
|
323
365
|
else {
|
|
324
|
-
f = this.
|
|
366
|
+
f = this._a4(e, a.o(this._ab), 0);
|
|
325
367
|
}
|
|
326
368
|
let g = this._c;
|
|
327
369
|
return WorkItemExtensions.g(Tuple$2.$.specialize(Uri.$, String_$type), Async.h(() => {
|
|
328
370
|
if (g != null) {
|
|
329
|
-
this.
|
|
371
|
+
this._an.h(g);
|
|
330
372
|
}
|
|
331
373
|
let h = this._a.createPart(e, a.m);
|
|
332
374
|
this._c = h;
|
|
333
|
-
this.
|
|
375
|
+
this._ao.h(new OfficeDocumentManager_PartRelationshipCounter());
|
|
334
376
|
return WorkItemExtensions.a(Async.o(Stream.$, h.getStream(2, 2), (i) => {
|
|
335
377
|
let j = a.e(this, i);
|
|
336
378
|
return j.b(c);
|
|
337
379
|
}), () => {
|
|
338
|
-
this.
|
|
339
|
-
this.
|
|
380
|
+
this._ao.e();
|
|
381
|
+
this._ai.addItem(b, c);
|
|
340
382
|
});
|
|
341
383
|
}, () => {
|
|
342
384
|
if (g != null) {
|
|
343
|
-
this.
|
|
385
|
+
this._an.e();
|
|
344
386
|
}
|
|
345
387
|
this._c = g;
|
|
346
388
|
}), () => Tuple.a(Uri.$, String_$type, e, f));
|
|
347
389
|
}
|
|
348
|
-
|
|
390
|
+
_n(a, b, c = null, d = null) {
|
|
349
391
|
if (b == null) {
|
|
350
392
|
return null;
|
|
351
393
|
}
|
|
352
|
-
let e = this.
|
|
394
|
+
let e = this._y(a);
|
|
353
395
|
if (e == null) {
|
|
354
396
|
return null;
|
|
355
397
|
}
|
|
356
|
-
return this.
|
|
398
|
+
return this._m(e, b, c, d);
|
|
357
399
|
}
|
|
358
|
-
|
|
359
|
-
if (this.
|
|
400
|
+
_a7() {
|
|
401
|
+
if (this._aq == null) {
|
|
360
402
|
return null;
|
|
361
403
|
}
|
|
362
|
-
return DocCoreUtils.z(this.
|
|
404
|
+
return DocCoreUtils.z(this._aq);
|
|
363
405
|
}
|
|
364
|
-
|
|
365
|
-
return (this.
|
|
406
|
+
_w(a) {
|
|
407
|
+
return (this._as[a] || null);
|
|
366
408
|
}
|
|
367
409
|
_e(a) {
|
|
368
410
|
return this._b.getPart(a);
|
|
369
411
|
}
|
|
370
|
-
|
|
371
|
-
return this.
|
|
412
|
+
_at(a) {
|
|
413
|
+
return this._av(a.uri.toString());
|
|
372
414
|
}
|
|
373
|
-
|
|
415
|
+
_au(a) {
|
|
374
416
|
let b = PackageUtilities.ak(a).originalString;
|
|
375
|
-
return this.
|
|
417
|
+
return this._av(b);
|
|
376
418
|
}
|
|
377
|
-
|
|
378
|
-
for (let b of fromEnum(this.
|
|
419
|
+
_bf(a) {
|
|
420
|
+
for (let b of fromEnum(this._ai)) {
|
|
379
421
|
if (Base.equalsStatic(b.value, a)) {
|
|
380
422
|
return UriUtilities.b(b.key);
|
|
381
423
|
}
|
|
382
424
|
}
|
|
383
425
|
return null;
|
|
384
426
|
}
|
|
385
|
-
|
|
427
|
+
_aw(a) {
|
|
386
428
|
let b = this._g(a);
|
|
387
429
|
if (b == null) {
|
|
388
430
|
return null;
|
|
@@ -393,13 +435,13 @@ export let OfficeDocumentManager = /*@__PURE__*/ (() => {
|
|
|
393
435
|
}
|
|
394
436
|
return b.targetUri;
|
|
395
437
|
}
|
|
396
|
-
return this.
|
|
438
|
+
return this._au(b);
|
|
397
439
|
}
|
|
398
|
-
|
|
399
|
-
let b = a.o(this.
|
|
400
|
-
for (let c of fromEnum(this.
|
|
440
|
+
_be($tData, a) {
|
|
441
|
+
let b = a.o(this._ab);
|
|
442
|
+
for (let c of fromEnum(this._am())) {
|
|
401
443
|
if (c.relationshipType == b) {
|
|
402
|
-
let d = this.
|
|
444
|
+
let d = this._aw(c.id);
|
|
403
445
|
if (d != null) {
|
|
404
446
|
return Tuple.a(String_$type, $tData, c.id, typeCastObjTo$t($tData, d));
|
|
405
447
|
}
|
|
@@ -412,17 +454,17 @@ export let OfficeDocumentManager = /*@__PURE__*/ (() => {
|
|
|
412
454
|
return this._c != null ? this._c.getRelationship(a) : this._a.getRelationship(a);
|
|
413
455
|
}
|
|
414
456
|
_f(a) {
|
|
415
|
-
for (let b of fromEnum(this.
|
|
416
|
-
if (this.
|
|
457
|
+
for (let b of fromEnum(this._am())) {
|
|
458
|
+
if (this._au(b) == a) {
|
|
417
459
|
return b;
|
|
418
460
|
}
|
|
419
461
|
}
|
|
420
462
|
return null;
|
|
421
463
|
}
|
|
422
|
-
|
|
464
|
+
_a9(a, b) {
|
|
423
465
|
let c = a;
|
|
424
466
|
let d = c == 0 ? 1 : 0;
|
|
425
|
-
for (let e of fromEnum(this.
|
|
467
|
+
for (let e of fromEnum(this._ak)) {
|
|
426
468
|
let f = e.value.o(d);
|
|
427
469
|
let g = e.value.o(c);
|
|
428
470
|
if (f == b || b == g) {
|
|
@@ -431,78 +473,78 @@ export let OfficeDocumentManager = /*@__PURE__*/ (() => {
|
|
|
431
473
|
}
|
|
432
474
|
return null;
|
|
433
475
|
}
|
|
434
|
-
|
|
435
|
-
this.
|
|
436
|
-
this.
|
|
437
|
-
this.
|
|
438
|
-
this.
|
|
439
|
-
this.
|
|
440
|
-
this.
|
|
441
|
-
this.
|
|
442
|
-
this.
|
|
443
|
-
this.
|
|
444
|
-
this.
|
|
445
|
-
this.
|
|
446
|
-
this.
|
|
447
|
-
this.
|
|
448
|
-
this.
|
|
449
|
-
this.
|
|
450
|
-
this.
|
|
451
|
-
this.
|
|
452
|
-
this.
|
|
453
|
-
this.
|
|
454
|
-
this.
|
|
455
|
-
this.
|
|
456
|
-
this.
|
|
457
|
-
let a = this.
|
|
476
|
+
_bj() {
|
|
477
|
+
this._bm(XmlNamespace.ao);
|
|
478
|
+
this._bm(VmlNamespace.ao);
|
|
479
|
+
this._bm(CoreProperties.ao);
|
|
480
|
+
this._bm(DcDcmiType.ao);
|
|
481
|
+
this._bm(DcElements.ao);
|
|
482
|
+
this._bm(DcTerms.ao);
|
|
483
|
+
this._bm(Drawing2010Main.ao);
|
|
484
|
+
this._bm(Drawing2010Slicer.ao);
|
|
485
|
+
this._bm(DrawingMLChart.ao);
|
|
486
|
+
this._bm(DrawingMLChart2014.ao);
|
|
487
|
+
this._bm(DrawingMLChartEx2015_9_8.ao);
|
|
488
|
+
this._bm(DrawingMLChartEx2015_10_21.ao);
|
|
489
|
+
this._bm(DrawingMLChartEx2016_5_10.ao);
|
|
490
|
+
this._bm(DrawingMLMain.ao);
|
|
491
|
+
this._bm(EmptyNamespace.ao);
|
|
492
|
+
this._bm(MarkupCompatibility2006.ao);
|
|
493
|
+
this._bm(OfficeDocumentDocPropsVTypes.ao);
|
|
494
|
+
this._bm(OfficeDocumentExtendedProperties.ao);
|
|
495
|
+
this._bm(OfficeDocumentRelationships.ao);
|
|
496
|
+
this._bm(OfficeNamespace.ao);
|
|
497
|
+
this._bm(XmlSchemaInstance.ao);
|
|
498
|
+
this._bm(IGOfficeExtensions.ao);
|
|
499
|
+
let a = this._v;
|
|
458
500
|
if (a != null) {
|
|
459
|
-
this.
|
|
501
|
+
this._bm(a);
|
|
460
502
|
}
|
|
461
|
-
if (nullableEquals(this.
|
|
462
|
-
this.
|
|
503
|
+
if (nullableEquals(this._ar, null)) {
|
|
504
|
+
this._ar = toNullable(ST_ConformanceClass_$type, this._ac());
|
|
463
505
|
}
|
|
464
506
|
}
|
|
465
|
-
|
|
466
|
-
return (this.
|
|
507
|
+
_af(a) {
|
|
508
|
+
return (this._as[a] != null);
|
|
467
509
|
}
|
|
468
|
-
|
|
469
|
-
return WorkItemExtensions.c(this.
|
|
470
|
-
this.
|
|
471
|
-
return this.
|
|
510
|
+
_p() {
|
|
511
|
+
return WorkItemExtensions.c(this._o, () => {
|
|
512
|
+
this._bj();
|
|
513
|
+
return this._q();
|
|
472
514
|
});
|
|
473
515
|
}
|
|
474
|
-
|
|
516
|
+
_bl() {
|
|
475
517
|
}
|
|
476
|
-
|
|
518
|
+
_bd(a) {
|
|
477
519
|
if (a == null || a.length == 0) {
|
|
478
|
-
if (this.
|
|
479
|
-
return this.
|
|
520
|
+
if (this._ay != null) {
|
|
521
|
+
return this._ay;
|
|
480
522
|
}
|
|
481
523
|
}
|
|
482
|
-
else if (Base.equalsStatic(a, this.
|
|
483
|
-
return this.
|
|
524
|
+
else if (Base.equalsStatic(a, this._az)) {
|
|
525
|
+
return this._ax;
|
|
484
526
|
}
|
|
485
527
|
else {
|
|
486
|
-
this.
|
|
528
|
+
this._az = a;
|
|
487
529
|
}
|
|
488
|
-
let b = this.
|
|
530
|
+
let b = this._w(a);
|
|
489
531
|
if (b != null) {
|
|
490
532
|
a = b.s(1);
|
|
491
533
|
}
|
|
492
534
|
if (a == null || a.length == 0) {
|
|
493
|
-
this.
|
|
535
|
+
this._ay = a;
|
|
494
536
|
}
|
|
495
537
|
else {
|
|
496
|
-
this.
|
|
538
|
+
this._ax = a;
|
|
497
539
|
}
|
|
498
540
|
return a;
|
|
499
541
|
}
|
|
500
|
-
|
|
501
|
-
this.
|
|
502
|
-
return WorkItemExtensions.c(WorkItemExtensions.c(WorkItemExtensions.c(this.
|
|
542
|
+
_t() {
|
|
543
|
+
this._bj();
|
|
544
|
+
return WorkItemExtensions.c(WorkItemExtensions.c(WorkItemExtensions.c(this._o, () => this._u()), () => Async.g(this._h != null, () => this._l(Office2007ExtensibilityPartManager.a5))), () => Async.g(this._i != null, () => this._l(Office2010ExtensibilityPartManager.a5)));
|
|
503
545
|
}
|
|
504
|
-
|
|
505
|
-
this.
|
|
546
|
+
_bp(a) {
|
|
547
|
+
this._ar = toNullable(ST_ConformanceClass_$type, a);
|
|
506
548
|
}
|
|
507
549
|
disposeCore(a) {
|
|
508
550
|
if (this._a != null) {
|
|
@@ -510,45 +552,45 @@ export let OfficeDocumentManager = /*@__PURE__*/ (() => {
|
|
|
510
552
|
this._a = null;
|
|
511
553
|
}
|
|
512
554
|
}
|
|
513
|
-
|
|
514
|
-
return WorkItemExtensions.f(Boolean_$type, this.
|
|
555
|
+
_q() {
|
|
556
|
+
return WorkItemExtensions.f(Boolean_$type, this._s(null, null, this._a.getRelationships(), false), (a) => {
|
|
515
557
|
let b = WorkItemExtensions.m(Boolean_$type, a);
|
|
516
|
-
return Async.g((this.
|
|
517
|
-
let c = this.
|
|
558
|
+
return Async.g((this._aa != null && this._ah == false), () => {
|
|
559
|
+
let c = this._a8(this._aa.n(this._x), void 0, true);
|
|
518
560
|
let d = null;
|
|
519
|
-
return Async.g((this.
|
|
561
|
+
return Async.g((this._al.contains(c) == false && ((() => { let e = Uri.tryCreate(c, 2, d); d = e.p2; return e.ret; })()) && this._a.partExists(d)), () => this._r(this._a.getPart(d)));
|
|
520
562
|
});
|
|
521
563
|
});
|
|
522
564
|
}
|
|
523
|
-
_bi(a) {
|
|
524
|
-
this._bj();
|
|
525
|
-
}
|
|
526
565
|
_bk(a) {
|
|
527
|
-
this.
|
|
528
|
-
this._aq[a.s(0)] = a;
|
|
566
|
+
this._bl();
|
|
529
567
|
}
|
|
530
|
-
|
|
568
|
+
_bm(a) {
|
|
569
|
+
this._as[a.s(1)] = a;
|
|
570
|
+
this._as[a.s(0)] = a;
|
|
571
|
+
}
|
|
572
|
+
_bn(a, b = true) {
|
|
531
573
|
if (b) {
|
|
532
|
-
this.
|
|
574
|
+
this._aj.item(a.m, a);
|
|
533
575
|
}
|
|
534
|
-
this.
|
|
576
|
+
this._ak.item(a.o(this._ab), a);
|
|
535
577
|
if (a.m == "image/jpeg") {
|
|
536
|
-
this.
|
|
578
|
+
this._aj.item("image/jpg", a);
|
|
537
579
|
}
|
|
538
580
|
let c = typeCast(ThemePartManager.$, a);
|
|
539
581
|
if (c != null) {
|
|
540
|
-
this.
|
|
582
|
+
this._aa = c;
|
|
541
583
|
}
|
|
542
584
|
}
|
|
543
|
-
|
|
585
|
+
_a4(a, b, c, d = null) {
|
|
544
586
|
let e;
|
|
545
|
-
let f = this.
|
|
546
|
-
e = OfficeDocumentManager.
|
|
547
|
-
this.
|
|
587
|
+
let f = this._ao.d();
|
|
588
|
+
e = OfficeDocumentManager._a5(f.b);
|
|
589
|
+
this._bg(a, b, c, e, d);
|
|
548
590
|
return e;
|
|
549
591
|
}
|
|
550
|
-
|
|
551
|
-
this.
|
|
592
|
+
_bg(a, b, c, d, e) {
|
|
593
|
+
this._ao.d().c();
|
|
552
594
|
let f;
|
|
553
595
|
if (c == 0) {
|
|
554
596
|
if (this._c == null) {
|
|
@@ -576,23 +618,23 @@ export let OfficeDocumentManager = /*@__PURE__*/ (() => {
|
|
|
576
618
|
this._c.createRelationship(f, c, b, d);
|
|
577
619
|
}
|
|
578
620
|
}
|
|
579
|
-
static
|
|
621
|
+
static _a5(a) {
|
|
580
622
|
return "rId" + (a + 1).toString();
|
|
581
623
|
}
|
|
582
|
-
|
|
624
|
+
_am() {
|
|
583
625
|
if (this._c != null) {
|
|
584
626
|
return this._c.getRelationships();
|
|
585
627
|
}
|
|
586
628
|
return this._a.getRelationships();
|
|
587
629
|
}
|
|
588
|
-
|
|
589
|
-
switch (this.
|
|
590
|
-
case 0: return OfficeDocumentManager.
|
|
591
|
-
case 1: return OfficeDocumentManager.
|
|
592
|
-
default: return OfficeDocumentManager.
|
|
630
|
+
_a6() {
|
|
631
|
+
switch (this._ab) {
|
|
632
|
+
case 0: return OfficeDocumentManager._bb;
|
|
633
|
+
case 1: return OfficeDocumentManager._ba;
|
|
634
|
+
default: return OfficeDocumentManager._bb;
|
|
593
635
|
}
|
|
594
636
|
}
|
|
595
|
-
|
|
637
|
+
_a8(a, b = false, c = false) {
|
|
596
638
|
let d = new HashSet$1(String_$type, 2, StringUtilities.f);
|
|
597
639
|
if (c == false && b) {
|
|
598
640
|
for (let e of fromEnum(this._a.getParts())) {
|
|
@@ -622,58 +664,58 @@ export let OfficeDocumentManager = /*@__PURE__*/ (() => {
|
|
|
622
664
|
k++;
|
|
623
665
|
}
|
|
624
666
|
}
|
|
625
|
-
|
|
667
|
+
_av(a) {
|
|
626
668
|
let b;
|
|
627
|
-
let c = this.
|
|
669
|
+
let c = this._ai.tryGetValue(a, b);
|
|
628
670
|
b = c.p1;
|
|
629
671
|
return b;
|
|
630
672
|
}
|
|
631
|
-
|
|
673
|
+
_y(a) {
|
|
632
674
|
let b;
|
|
633
|
-
let c = this.
|
|
675
|
+
let c = this._aj.tryGetValue(a, b);
|
|
634
676
|
b = c.p1;
|
|
635
677
|
return b;
|
|
636
678
|
}
|
|
637
|
-
|
|
679
|
+
_z(a) {
|
|
638
680
|
let b;
|
|
639
|
-
if (((() => { let c = this.
|
|
681
|
+
if (((() => { let c = this._ak.tryGetValue(a, b); b = c.p1; return c.ret; })()) == false) {
|
|
640
682
|
let c = "http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet";
|
|
641
683
|
let d = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet";
|
|
642
684
|
let e = "http://purl.oclc.org/ooxml/officeDocument/relationships/drawing";
|
|
643
685
|
let f = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing";
|
|
644
686
|
switch (a) {
|
|
645
687
|
case c:
|
|
646
|
-
let g = this.
|
|
688
|
+
let g = this._ak.tryGetValue(d, b);
|
|
647
689
|
b = g.p1;
|
|
648
690
|
break;
|
|
649
691
|
case e:
|
|
650
|
-
let h = this.
|
|
692
|
+
let h = this._ak.tryGetValue(f, b);
|
|
651
693
|
b = h.p1;
|
|
652
694
|
break;
|
|
653
695
|
}
|
|
654
696
|
}
|
|
655
697
|
return b;
|
|
656
698
|
}
|
|
657
|
-
|
|
658
|
-
for (let b of fromEnum(this.
|
|
699
|
+
_ag(a) {
|
|
700
|
+
for (let b of fromEnum(this._am())) {
|
|
659
701
|
if (b.id == a) {
|
|
660
702
|
return false;
|
|
661
703
|
}
|
|
662
704
|
}
|
|
663
705
|
return true;
|
|
664
706
|
}
|
|
665
|
-
|
|
707
|
+
_r(a, b = null) {
|
|
666
708
|
if (b == null) {
|
|
667
|
-
b = this.
|
|
709
|
+
b = this._y(a.contentType);
|
|
668
710
|
}
|
|
669
711
|
let c = a.getRelationships();
|
|
670
712
|
let d = a.uri.toString();
|
|
671
|
-
if (this.
|
|
713
|
+
if (this._al.add_1(d) == false) {
|
|
672
714
|
return null;
|
|
673
715
|
}
|
|
674
716
|
let e = null;
|
|
675
717
|
let f = null;
|
|
676
|
-
return WorkItemExtensions.f(Boolean_$type, this.
|
|
718
|
+
return WorkItemExtensions.f(Boolean_$type, this._s(a, b, c, false), (g) => {
|
|
677
719
|
let h = WorkItemExtensions.m(Boolean_$type, g);
|
|
678
720
|
return WorkItemExtensions.a(WorkItemExtensions.c(Async.g((b != null), () => {
|
|
679
721
|
let i = this._c;
|
|
@@ -685,13 +727,13 @@ export let OfficeDocumentManager = /*@__PURE__*/ (() => {
|
|
|
685
727
|
});
|
|
686
728
|
}, () => this._c = i);
|
|
687
729
|
}, () => {
|
|
688
|
-
this.
|
|
730
|
+
this._bk(a);
|
|
689
731
|
return null;
|
|
690
732
|
}), () => {
|
|
691
733
|
if (e != null) {
|
|
692
|
-
this.
|
|
734
|
+
this._ai.item(d, e);
|
|
693
735
|
}
|
|
694
|
-
return Async.g(h, () => this.
|
|
736
|
+
return Async.g(h, () => this._s(a, b, c, true));
|
|
695
737
|
}), () => {
|
|
696
738
|
if (f != null) {
|
|
697
739
|
f.q();
|
|
@@ -699,23 +741,23 @@ export let OfficeDocumentManager = /*@__PURE__*/ (() => {
|
|
|
699
741
|
});
|
|
700
742
|
});
|
|
701
743
|
}
|
|
702
|
-
|
|
744
|
+
_s(a, b, c, d) {
|
|
703
745
|
let e = false;
|
|
704
746
|
return WorkItemExtensions.g(Boolean_$type, Async.h(() => {
|
|
705
747
|
if (a != null) {
|
|
706
|
-
this.
|
|
748
|
+
this._an.h(a);
|
|
707
749
|
}
|
|
708
|
-
let f = this.
|
|
750
|
+
let f = this._bo(b, c);
|
|
709
751
|
c = f.p1;
|
|
710
752
|
return Async.d(IPackageRelationship_$type, c, (g) => {
|
|
711
|
-
if (g.relationshipType == this.
|
|
753
|
+
if (g.relationshipType == this._a6()) {
|
|
712
754
|
return null;
|
|
713
755
|
}
|
|
714
756
|
switch (g.targetMode) {
|
|
715
757
|
case 0:
|
|
716
758
|
{
|
|
717
759
|
if (b != null) {
|
|
718
|
-
let h = this.
|
|
760
|
+
let h = this._z(g.relationshipType);
|
|
719
761
|
let i = h != null && b.i(h);
|
|
720
762
|
if (d != i) {
|
|
721
763
|
e = true;
|
|
@@ -732,13 +774,13 @@ export let OfficeDocumentManager = /*@__PURE__*/ (() => {
|
|
|
732
774
|
l = b.f(k, g);
|
|
733
775
|
}
|
|
734
776
|
if (l == null && k != null && k.contentType == "application/xml") {
|
|
735
|
-
let m = this.
|
|
777
|
+
let m = this._z(g.relationshipType);
|
|
736
778
|
if (m != null && m.m != k.contentType) {
|
|
737
779
|
k = new OverrideContentTypePart(k, m.m);
|
|
738
780
|
}
|
|
739
781
|
l = m;
|
|
740
782
|
}
|
|
741
|
-
return this.
|
|
783
|
+
return this._r(k, l);
|
|
742
784
|
}
|
|
743
785
|
case 1: break;
|
|
744
786
|
default: break;
|
|
@@ -747,11 +789,11 @@ export let OfficeDocumentManager = /*@__PURE__*/ (() => {
|
|
|
747
789
|
});
|
|
748
790
|
}, () => {
|
|
749
791
|
if (a != null) {
|
|
750
|
-
this.
|
|
792
|
+
this._an.e();
|
|
751
793
|
}
|
|
752
794
|
}), () => e);
|
|
753
795
|
}
|
|
754
|
-
|
|
796
|
+
_bo(a, b) {
|
|
755
797
|
if (a == null) {
|
|
756
798
|
return {
|
|
757
799
|
p1: b
|
|
@@ -765,7 +807,7 @@ export let OfficeDocumentManager = /*@__PURE__*/ (() => {
|
|
|
765
807
|
}
|
|
766
808
|
let d = new Dictionary$2(String_$type, Number_$type, 0);
|
|
767
809
|
for (let e of fromEnum(c)) {
|
|
768
|
-
d.addItem(e.key.o(this.
|
|
810
|
+
d.addItem(e.key.o(this._ab), e.value);
|
|
769
811
|
}
|
|
770
812
|
let f = new List$1(IPackageRelationship_$type, 1, b);
|
|
771
813
|
f.aa((g, h) => {
|
|
@@ -792,22 +834,22 @@ export let OfficeDocumentManager = /*@__PURE__*/ (() => {
|
|
|
792
834
|
get _d() {
|
|
793
835
|
return this._c;
|
|
794
836
|
}
|
|
795
|
-
get
|
|
796
|
-
return this.
|
|
837
|
+
get _ab() {
|
|
838
|
+
return this._ar.getValueOrDefault1(0);
|
|
797
839
|
}
|
|
798
|
-
get
|
|
799
|
-
return this.
|
|
840
|
+
get _ae() {
|
|
841
|
+
return this._ad;
|
|
800
842
|
}
|
|
801
|
-
get
|
|
802
|
-
return this.
|
|
843
|
+
get _ap() {
|
|
844
|
+
return this._an;
|
|
803
845
|
}
|
|
804
846
|
get _b() {
|
|
805
847
|
return this._a;
|
|
806
848
|
}
|
|
807
849
|
}
|
|
808
850
|
OfficeDocumentManager.$t = /*@__PURE__*/ markType(OfficeDocumentManager, 'OfficeDocumentManager', Base.$, [IDisposable_$type]);
|
|
809
|
-
OfficeDocumentManager.
|
|
810
|
-
OfficeDocumentManager.
|
|
851
|
+
OfficeDocumentManager._bb = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink";
|
|
852
|
+
OfficeDocumentManager._ba = "http://purl.oclc.org/ooxml/officeDocument/relationships/hyperlink";
|
|
811
853
|
return OfficeDocumentManager;
|
|
812
854
|
})();
|
|
813
855
|
/**
|
|
@@ -862,7 +904,7 @@ export let QualifiedNameInfo = /*@__PURE__*/ (() => {
|
|
|
862
904
|
if (a == null) {
|
|
863
905
|
return QualifiedNameInfo.d(this.g, this.f);
|
|
864
906
|
}
|
|
865
|
-
return QualifiedNameInfo.d(a.
|
|
907
|
+
return QualifiedNameInfo.d(a._bd(this.g), this.f);
|
|
866
908
|
}
|
|
867
909
|
i(a, b, c) {
|
|
868
910
|
if (a == stringEmpty()) {
|
|
@@ -879,7 +921,7 @@ export let QualifiedNameInfo = /*@__PURE__*/ (() => {
|
|
|
879
921
|
if (a == null) {
|
|
880
922
|
return this;
|
|
881
923
|
}
|
|
882
|
-
return new QualifiedNameInfo(1, this.h, a.
|
|
924
|
+
return new QualifiedNameInfo(1, this.h, a._bd(this.g), this.f);
|
|
883
925
|
}
|
|
884
926
|
get c() {
|
|
885
927
|
return this.f == null;
|
|
@@ -1652,7 +1694,7 @@ export let XmlWriteManager = /*@__PURE__*/ (() => {
|
|
|
1652
1694
|
this.w = b;
|
|
1653
1695
|
}
|
|
1654
1696
|
d(a) {
|
|
1655
|
-
return this.w.a(a.s(this.a.
|
|
1697
|
+
return this.w.a(a.s(this.a._ab));
|
|
1656
1698
|
}
|
|
1657
1699
|
e(a, b, c, d) {
|
|
1658
1700
|
let e = a.lastIndexOf("/");
|
|
@@ -1668,10 +1710,10 @@ export let XmlWriteManager = /*@__PURE__*/ (() => {
|
|
|
1668
1710
|
}
|
|
1669
1711
|
c = a.substr(e + 1);
|
|
1670
1712
|
d = a.substr(0, e);
|
|
1671
|
-
if (this.a.
|
|
1672
|
-
let f = this.a.
|
|
1713
|
+
if (this.a._ab != 1) {
|
|
1714
|
+
let f = this.a._w(d);
|
|
1673
1715
|
if (f != null) {
|
|
1674
|
-
d = f.s(this.a.
|
|
1716
|
+
d = f.s(this.a._ab);
|
|
1675
1717
|
}
|
|
1676
1718
|
}
|
|
1677
1719
|
b = this.w.a(d);
|
|
@@ -1767,14 +1809,14 @@ export let XmlWriteManager = /*@__PURE__*/ (() => {
|
|
|
1767
1809
|
this.w.am(a);
|
|
1768
1810
|
}
|
|
1769
1811
|
l(a, b = false) {
|
|
1770
|
-
this.m(a.t, a.s(this.a.
|
|
1812
|
+
this.m(a.t, a.s(this.a._ab), b);
|
|
1771
1813
|
}
|
|
1772
1814
|
m(a, b, c = false) {
|
|
1773
1815
|
let d = b;
|
|
1774
|
-
if (this.a.
|
|
1775
|
-
let e = this.a.
|
|
1816
|
+
if (this.a._ab != 1) {
|
|
1817
|
+
let e = this.a._w(b);
|
|
1776
1818
|
if (e != null) {
|
|
1777
|
-
d = e.s(this.a.
|
|
1819
|
+
d = e.s(this.a._ab);
|
|
1778
1820
|
}
|
|
1779
1821
|
}
|
|
1780
1822
|
this.w.j("xmlns", a, "http://www.w3.org/2000/xmlns/", d);
|
|
@@ -1953,6 +1995,53 @@ export let ImagePartManagerBase = /*@__PURE__*/ (() => {
|
|
|
1953
1995
|
ImagePartManagerBase.w = "http://purl.oclc.org/ooxml/officeDocument/relationships/image";
|
|
1954
1996
|
return ImagePartManagerBase;
|
|
1955
1997
|
})();
|
|
1998
|
+
/**
|
|
1999
|
+
* @hidden
|
|
2000
|
+
*/
|
|
2001
|
+
export let BmpPartManager = /*@__PURE__*/ (() => {
|
|
2002
|
+
class BmpPartManager extends ImagePartManagerBase {
|
|
2003
|
+
constructor(a) {
|
|
2004
|
+
super();
|
|
2005
|
+
this.aa = false;
|
|
2006
|
+
this.aa = a;
|
|
2007
|
+
}
|
|
2008
|
+
get_s() {
|
|
2009
|
+
return this.aa ? "/xl/media/image.dib" : "/xl/media/image.bmp";
|
|
2010
|
+
}
|
|
2011
|
+
get s() {
|
|
2012
|
+
return this.get_s();
|
|
2013
|
+
}
|
|
2014
|
+
get_t() {
|
|
2015
|
+
return this.aa ? "/ppt/media/image.dib" : "/ppt/media/image.bmp";
|
|
2016
|
+
}
|
|
2017
|
+
get t() {
|
|
2018
|
+
return this.get_t();
|
|
2019
|
+
}
|
|
2020
|
+
get_u() {
|
|
2021
|
+
return this.aa ? "/word/media/image.dib" : "/word/media/image.bmp";
|
|
2022
|
+
}
|
|
2023
|
+
get u() {
|
|
2024
|
+
return this.get_u();
|
|
2025
|
+
}
|
|
2026
|
+
get_m() {
|
|
2027
|
+
return "image/bmp";
|
|
2028
|
+
}
|
|
2029
|
+
get m() {
|
|
2030
|
+
return this.get_m();
|
|
2031
|
+
}
|
|
2032
|
+
r(a) {
|
|
2033
|
+
let b = IOPath.getExtension(a);
|
|
2034
|
+
if (b.toLowerCase() == ".dib") {
|
|
2035
|
+
return ImageFormat.b;
|
|
2036
|
+
}
|
|
2037
|
+
return ImageFormat.a;
|
|
2038
|
+
}
|
|
2039
|
+
}
|
|
2040
|
+
BmpPartManager.$t = /*@__PURE__*/ markType(BmpPartManager, 'BmpPartManager', ImagePartManagerBase.$);
|
|
2041
|
+
BmpPartManager.y = /*@__PURE__*/ new BmpPartManager(false);
|
|
2042
|
+
BmpPartManager.z = /*@__PURE__*/ new BmpPartManager(true);
|
|
2043
|
+
return BmpPartManager;
|
|
2044
|
+
})();
|
|
1956
2045
|
/**
|
|
1957
2046
|
* @hidden
|
|
1958
2047
|
*/
|
|
@@ -2021,7 +2110,7 @@ export let XmlPartManagerBase = /*@__PURE__*/ (() => {
|
|
|
2021
2110
|
return (this.am[a] || this.v);
|
|
2022
2111
|
}
|
|
2023
2112
|
z(a) {
|
|
2024
|
-
this.d.
|
|
2113
|
+
this.d._bl();
|
|
2025
2114
|
return 0;
|
|
2026
2115
|
}
|
|
2027
2116
|
av(a) {
|
|
@@ -2081,7 +2170,7 @@ export let XmlPartManagerBase = /*@__PURE__*/ (() => {
|
|
|
2081
2170
|
if (stringIsNullOrEmpty(e)) {
|
|
2082
2171
|
continue;
|
|
2083
2172
|
}
|
|
2084
|
-
if (this.d.
|
|
2173
|
+
if (this.d._af(e) == false) {
|
|
2085
2174
|
return false;
|
|
2086
2175
|
}
|
|
2087
2176
|
}
|
|
@@ -2130,6 +2219,46 @@ export let XmlPartManagerBase = /*@__PURE__*/ (() => {
|
|
|
2130
2219
|
XmlPartManagerBase.$t = /*@__PURE__*/ markType(XmlPartManagerBase, 'XmlPartManagerBase', PartManagerBase.$);
|
|
2131
2220
|
return XmlPartManagerBase;
|
|
2132
2221
|
})();
|
|
2222
|
+
/**
|
|
2223
|
+
* @hidden
|
|
2224
|
+
*/
|
|
2225
|
+
export let EmfPartManager = /*@__PURE__*/ (() => {
|
|
2226
|
+
class EmfPartManager extends ImagePartManagerBase {
|
|
2227
|
+
constructor() {
|
|
2228
|
+
super();
|
|
2229
|
+
}
|
|
2230
|
+
get_s() {
|
|
2231
|
+
return "/xl/media/image.emf";
|
|
2232
|
+
}
|
|
2233
|
+
get s() {
|
|
2234
|
+
return this.get_s();
|
|
2235
|
+
}
|
|
2236
|
+
get_t() {
|
|
2237
|
+
return "/ppt/media/image.emf";
|
|
2238
|
+
}
|
|
2239
|
+
get t() {
|
|
2240
|
+
return this.get_t();
|
|
2241
|
+
}
|
|
2242
|
+
get_u() {
|
|
2243
|
+
return "/word/media/image.emf";
|
|
2244
|
+
}
|
|
2245
|
+
get u() {
|
|
2246
|
+
return this.get_u();
|
|
2247
|
+
}
|
|
2248
|
+
get_m() {
|
|
2249
|
+
return "image/x-emf";
|
|
2250
|
+
}
|
|
2251
|
+
get m() {
|
|
2252
|
+
return this.get_m();
|
|
2253
|
+
}
|
|
2254
|
+
r(a) {
|
|
2255
|
+
return ImageFormat.c;
|
|
2256
|
+
}
|
|
2257
|
+
}
|
|
2258
|
+
EmfPartManager.$t = /*@__PURE__*/ markType(EmfPartManager, 'EmfPartManager', ImagePartManagerBase.$);
|
|
2259
|
+
EmfPartManager.y = /*@__PURE__*/ new EmfPartManager();
|
|
2260
|
+
return EmfPartManager;
|
|
2261
|
+
})();
|
|
2133
2262
|
/**
|
|
2134
2263
|
* @hidden
|
|
2135
2264
|
*/
|
|
@@ -2152,7 +2281,7 @@ export let OfficeExtensibilityPartManagerBase = /*@__PURE__*/ (() => {
|
|
|
2152
2281
|
return new RoundTripDataPartManager(a.contentType, c.toString(), b.relationshipType, this.d);
|
|
2153
2282
|
}
|
|
2154
2283
|
a() {
|
|
2155
|
-
let a = RoundTripDataPartManager.
|
|
2284
|
+
let a = RoundTripDataPartManager.s(this.d, this.l, this.m);
|
|
2156
2285
|
this.a3 = a;
|
|
2157
2286
|
return WorkItem.g(Base.$, a);
|
|
2158
2287
|
}
|
|
@@ -2161,7 +2290,7 @@ export let OfficeExtensibilityPartManagerBase = /*@__PURE__*/ (() => {
|
|
|
2161
2290
|
if (b == null) {
|
|
2162
2291
|
return null;
|
|
2163
2292
|
}
|
|
2164
|
-
return RoundTripDataPartManager.
|
|
2293
|
+
return RoundTripDataPartManager.t(b, this.d, this.l, true);
|
|
2165
2294
|
}
|
|
2166
2295
|
u(a) {
|
|
2167
2296
|
throw new NotImplementedException(0);
|
|
@@ -2242,6 +2371,46 @@ export let Office2010ExtensibilityPartManager = /*@__PURE__*/ (() => {
|
|
|
2242
2371
|
Office2010ExtensibilityPartManager.a5 = /*@__PURE__*/ new Office2010ExtensibilityPartManager();
|
|
2243
2372
|
return Office2010ExtensibilityPartManager;
|
|
2244
2373
|
})();
|
|
2374
|
+
/**
|
|
2375
|
+
* @hidden
|
|
2376
|
+
*/
|
|
2377
|
+
export let GifPartManager = /*@__PURE__*/ (() => {
|
|
2378
|
+
class GifPartManager extends ImagePartManagerBase {
|
|
2379
|
+
constructor() {
|
|
2380
|
+
super();
|
|
2381
|
+
}
|
|
2382
|
+
get_s() {
|
|
2383
|
+
return "/xl/media/image.gif";
|
|
2384
|
+
}
|
|
2385
|
+
get s() {
|
|
2386
|
+
return this.get_s();
|
|
2387
|
+
}
|
|
2388
|
+
get_t() {
|
|
2389
|
+
return "/ppt/media/image.gif";
|
|
2390
|
+
}
|
|
2391
|
+
get t() {
|
|
2392
|
+
return this.get_t();
|
|
2393
|
+
}
|
|
2394
|
+
get_u() {
|
|
2395
|
+
return "/word/media/image.gif";
|
|
2396
|
+
}
|
|
2397
|
+
get u() {
|
|
2398
|
+
return this.get_u();
|
|
2399
|
+
}
|
|
2400
|
+
get_m() {
|
|
2401
|
+
return "image/gif";
|
|
2402
|
+
}
|
|
2403
|
+
get m() {
|
|
2404
|
+
return this.get_m();
|
|
2405
|
+
}
|
|
2406
|
+
r(a) {
|
|
2407
|
+
return ImageFormat.e;
|
|
2408
|
+
}
|
|
2409
|
+
}
|
|
2410
|
+
GifPartManager.$t = /*@__PURE__*/ markType(GifPartManager, 'GifPartManager', ImagePartManagerBase.$);
|
|
2411
|
+
GifPartManager.y = /*@__PURE__*/ new GifPartManager();
|
|
2412
|
+
return GifPartManager;
|
|
2413
|
+
})();
|
|
2245
2414
|
/**
|
|
2246
2415
|
* @hidden
|
|
2247
2416
|
*/
|
|
@@ -2282,6 +2451,46 @@ export let JpegPartManager = /*@__PURE__*/ (() => {
|
|
|
2282
2451
|
JpegPartManager.y = /*@__PURE__*/ new JpegPartManager();
|
|
2283
2452
|
return JpegPartManager;
|
|
2284
2453
|
})();
|
|
2454
|
+
/**
|
|
2455
|
+
* @hidden
|
|
2456
|
+
*/
|
|
2457
|
+
export let PngPartManager = /*@__PURE__*/ (() => {
|
|
2458
|
+
class PngPartManager extends ImagePartManagerBase {
|
|
2459
|
+
constructor() {
|
|
2460
|
+
super();
|
|
2461
|
+
}
|
|
2462
|
+
get_s() {
|
|
2463
|
+
return "/xl/media/image.png";
|
|
2464
|
+
}
|
|
2465
|
+
get s() {
|
|
2466
|
+
return this.get_s();
|
|
2467
|
+
}
|
|
2468
|
+
get_t() {
|
|
2469
|
+
return "/ppt/media/image.png";
|
|
2470
|
+
}
|
|
2471
|
+
get t() {
|
|
2472
|
+
return this.get_t();
|
|
2473
|
+
}
|
|
2474
|
+
get_u() {
|
|
2475
|
+
return "/word/media/image.png";
|
|
2476
|
+
}
|
|
2477
|
+
get u() {
|
|
2478
|
+
return this.get_u();
|
|
2479
|
+
}
|
|
2480
|
+
get_m() {
|
|
2481
|
+
return "image/png";
|
|
2482
|
+
}
|
|
2483
|
+
get m() {
|
|
2484
|
+
return this.get_m();
|
|
2485
|
+
}
|
|
2486
|
+
r(a) {
|
|
2487
|
+
return ImageFormat.h;
|
|
2488
|
+
}
|
|
2489
|
+
}
|
|
2490
|
+
PngPartManager.$t = /*@__PURE__*/ markType(PngPartManager, 'PngPartManager', ImagePartManagerBase.$);
|
|
2491
|
+
PngPartManager.y = /*@__PURE__*/ new PngPartManager();
|
|
2492
|
+
return PngPartManager;
|
|
2493
|
+
})();
|
|
2285
2494
|
/**
|
|
2286
2495
|
* @hidden
|
|
2287
2496
|
*/
|
|
@@ -2289,14 +2498,14 @@ export let RoundTripDataPartManager = /*@__PURE__*/ (() => {
|
|
|
2289
2498
|
class RoundTripDataPartManager extends PartManagerBase {
|
|
2290
2499
|
constructor(a, b, c, d) {
|
|
2291
2500
|
super();
|
|
2292
|
-
this.u = null;
|
|
2293
2501
|
this.v = null;
|
|
2294
2502
|
this.w = null;
|
|
2295
|
-
this.
|
|
2296
|
-
this.u =
|
|
2297
|
-
this.v =
|
|
2298
|
-
this.w =
|
|
2299
|
-
this.
|
|
2503
|
+
this.x = null;
|
|
2504
|
+
this.u = null;
|
|
2505
|
+
this.v = a;
|
|
2506
|
+
this.w = b;
|
|
2507
|
+
this.x = c;
|
|
2508
|
+
this.u = d;
|
|
2300
2509
|
}
|
|
2301
2510
|
a() {
|
|
2302
2511
|
return WorkItem.g(Base.$, new BinaryData(DocCoreUtils.c(this.l)));
|
|
@@ -2310,13 +2519,13 @@ export let RoundTripDataPartManager = /*@__PURE__*/ (() => {
|
|
|
2310
2519
|
return null;
|
|
2311
2520
|
}
|
|
2312
2521
|
n(a) {
|
|
2313
|
-
return this.
|
|
2522
|
+
return this.w;
|
|
2314
2523
|
}
|
|
2315
2524
|
o(a) {
|
|
2316
|
-
return this.
|
|
2525
|
+
return this.u._a9(a, this.x);
|
|
2317
2526
|
}
|
|
2318
2527
|
get_m() {
|
|
2319
|
-
return this.
|
|
2528
|
+
return this.v;
|
|
2320
2529
|
}
|
|
2321
2530
|
get m() {
|
|
2322
2531
|
return this.get_m();
|
|
@@ -2327,41 +2536,82 @@ export let RoundTripDataPartManager = /*@__PURE__*/ (() => {
|
|
|
2327
2536
|
get g() {
|
|
2328
2537
|
return this.get_g();
|
|
2329
2538
|
}
|
|
2539
|
+
static s(a, b, c) {
|
|
2540
|
+
return RoundTripDataPartManager.r(a, DocCoreUtils.c(b), c);
|
|
2541
|
+
}
|
|
2330
2542
|
static r(a, b, c) {
|
|
2331
|
-
let d = new RoundTripControlData(c, a._d.uri.toString(),
|
|
2543
|
+
let d = new RoundTripControlData(c, a._d.uri.toString(), a._ab, b);
|
|
2332
2544
|
for (let e of fromEnum(a._d.getRelationships())) {
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
if (f == null) {
|
|
2545
|
+
let f = a._au(e);
|
|
2546
|
+
let g = typeCast(BinaryData.$, f);
|
|
2547
|
+
let h = typeCast(ImageData.$, f);
|
|
2548
|
+
if (g == null && h == null && e.targetMode == 0) {
|
|
2338
2549
|
continue;
|
|
2339
2550
|
}
|
|
2340
|
-
let
|
|
2341
|
-
let
|
|
2342
|
-
let
|
|
2343
|
-
d.
|
|
2551
|
+
let i = PackageUtilities.ak(e);
|
|
2552
|
+
let j = a._e(i);
|
|
2553
|
+
let k = PackageUtilities.ak(e).toString();
|
|
2554
|
+
d.d.add(((() => {
|
|
2344
2555
|
let $ret = new RoundTripPartData();
|
|
2345
|
-
$ret.
|
|
2346
|
-
$ret.
|
|
2347
|
-
$ret.
|
|
2348
|
-
$ret.
|
|
2349
|
-
$ret.
|
|
2556
|
+
$ret.c = j.contentType;
|
|
2557
|
+
$ret.e = e.id;
|
|
2558
|
+
$ret.g = e.targetUri;
|
|
2559
|
+
$ret.b = h;
|
|
2560
|
+
$ret.a = g;
|
|
2561
|
+
$ret.f = e.relationshipType;
|
|
2562
|
+
$ret.d = i.toString();
|
|
2350
2563
|
return $ret;
|
|
2351
2564
|
})()));
|
|
2352
2565
|
}
|
|
2353
2566
|
return d;
|
|
2354
2567
|
}
|
|
2355
|
-
static
|
|
2356
|
-
return WorkItemExtensions.a(Async.d(RoundTripPartData.$, a.
|
|
2568
|
+
static t(a, b, c, d = false, ...e) {
|
|
2569
|
+
return WorkItemExtensions.a(Async.d(RoundTripPartData.$, a.d, (f) => {
|
|
2570
|
+
if (f.b != null) {
|
|
2571
|
+
return b._j(f.b, f.e);
|
|
2572
|
+
}
|
|
2573
|
+
else if (f.a == null) {
|
|
2574
|
+
b._a1(f.g, f.f, f.e);
|
|
2575
|
+
return null;
|
|
2576
|
+
}
|
|
2357
2577
|
if (d) {
|
|
2358
|
-
let
|
|
2359
|
-
let
|
|
2360
|
-
return b.
|
|
2578
|
+
let g = (((h) => h != null ? h : f.f)(b._a9(b._ab, f.f)));
|
|
2579
|
+
let h = new RoundTripDataPartManager(f.c, f.d, g, b);
|
|
2580
|
+
return b._l(h, f.a, f.e);
|
|
2361
2581
|
}
|
|
2362
|
-
return WorkItemExtensions.e(Tuple$2.$.specialize(Uri.$, String_$type), b.
|
|
2582
|
+
return WorkItemExtensions.e(Tuple$2.$.specialize(Uri.$, String_$type), b._n(f.c, f.d, f.a, f.e), (i) => {
|
|
2363
2583
|
});
|
|
2364
|
-
}), () =>
|
|
2584
|
+
}), () => {
|
|
2585
|
+
let f = a.a;
|
|
2586
|
+
if (e != null && e.length > 0 && b._ab != a.b) {
|
|
2587
|
+
{
|
|
2588
|
+
let g = new MemoryStream(2, f);
|
|
2589
|
+
try {
|
|
2590
|
+
{
|
|
2591
|
+
let h = new StreamReader(g);
|
|
2592
|
+
try {
|
|
2593
|
+
let i = h.h();
|
|
2594
|
+
for (let j = 0; j < e.length; j++) {
|
|
2595
|
+
i = stringReplace(i, e[j].s(a.b), e[j].s(b._ab));
|
|
2596
|
+
}
|
|
2597
|
+
f = Encoding.uTF8.getBytes1(i);
|
|
2598
|
+
}
|
|
2599
|
+
finally {
|
|
2600
|
+
if (h != null) {
|
|
2601
|
+
h.dispose();
|
|
2602
|
+
}
|
|
2603
|
+
}
|
|
2604
|
+
}
|
|
2605
|
+
}
|
|
2606
|
+
finally {
|
|
2607
|
+
if (g != null) {
|
|
2608
|
+
g.dispose();
|
|
2609
|
+
}
|
|
2610
|
+
}
|
|
2611
|
+
}
|
|
2612
|
+
}
|
|
2613
|
+
c.write(f, 0, f.length);
|
|
2614
|
+
});
|
|
2365
2615
|
}
|
|
2366
2616
|
}
|
|
2367
2617
|
RoundTripDataPartManager.$t = /*@__PURE__*/ markType(RoundTripDataPartManager, 'RoundTripDataPartManager', PartManagerBase.$);
|
|
@@ -2413,7 +2663,7 @@ export let ThemePartManager = /*@__PURE__*/ (() => {
|
|
|
2413
2663
|
return this.get_g();
|
|
2414
2664
|
}
|
|
2415
2665
|
a() {
|
|
2416
|
-
this.d.
|
|
2666
|
+
this.d._ah = true;
|
|
2417
2667
|
return super.a();
|
|
2418
2668
|
}
|
|
2419
2669
|
}
|
|
@@ -2423,6 +2673,86 @@ export let ThemePartManager = /*@__PURE__*/ (() => {
|
|
|
2423
2673
|
ThemePartManager.a8 = "http://purl.oclc.org/ooxml/officeDocument/relationships/theme";
|
|
2424
2674
|
return ThemePartManager;
|
|
2425
2675
|
})();
|
|
2676
|
+
/**
|
|
2677
|
+
* @hidden
|
|
2678
|
+
*/
|
|
2679
|
+
export let TiffPartManager = /*@__PURE__*/ (() => {
|
|
2680
|
+
class TiffPartManager extends ImagePartManagerBase {
|
|
2681
|
+
constructor() {
|
|
2682
|
+
super();
|
|
2683
|
+
}
|
|
2684
|
+
get_s() {
|
|
2685
|
+
return "/xl/media/image.tiff";
|
|
2686
|
+
}
|
|
2687
|
+
get s() {
|
|
2688
|
+
return this.get_s();
|
|
2689
|
+
}
|
|
2690
|
+
get_t() {
|
|
2691
|
+
return "/ppt/media/image.tiff";
|
|
2692
|
+
}
|
|
2693
|
+
get t() {
|
|
2694
|
+
return this.get_t();
|
|
2695
|
+
}
|
|
2696
|
+
get_u() {
|
|
2697
|
+
return "/word/media/image.tiff";
|
|
2698
|
+
}
|
|
2699
|
+
get u() {
|
|
2700
|
+
return this.get_u();
|
|
2701
|
+
}
|
|
2702
|
+
get_m() {
|
|
2703
|
+
return "image/tiff";
|
|
2704
|
+
}
|
|
2705
|
+
get m() {
|
|
2706
|
+
return this.get_m();
|
|
2707
|
+
}
|
|
2708
|
+
r(a) {
|
|
2709
|
+
return ImageFormat.i;
|
|
2710
|
+
}
|
|
2711
|
+
}
|
|
2712
|
+
TiffPartManager.$t = /*@__PURE__*/ markType(TiffPartManager, 'TiffPartManager', ImagePartManagerBase.$);
|
|
2713
|
+
TiffPartManager.y = /*@__PURE__*/ new TiffPartManager();
|
|
2714
|
+
return TiffPartManager;
|
|
2715
|
+
})();
|
|
2716
|
+
/**
|
|
2717
|
+
* @hidden
|
|
2718
|
+
*/
|
|
2719
|
+
export let WmfPartManager = /*@__PURE__*/ (() => {
|
|
2720
|
+
class WmfPartManager extends ImagePartManagerBase {
|
|
2721
|
+
constructor() {
|
|
2722
|
+
super();
|
|
2723
|
+
}
|
|
2724
|
+
get_s() {
|
|
2725
|
+
return "/xl/media/image.wmf";
|
|
2726
|
+
}
|
|
2727
|
+
get s() {
|
|
2728
|
+
return this.get_s();
|
|
2729
|
+
}
|
|
2730
|
+
get_t() {
|
|
2731
|
+
return "/ppt/media/image.wmf";
|
|
2732
|
+
}
|
|
2733
|
+
get t() {
|
|
2734
|
+
return this.get_t();
|
|
2735
|
+
}
|
|
2736
|
+
get_u() {
|
|
2737
|
+
return "/word/media/image.wmf";
|
|
2738
|
+
}
|
|
2739
|
+
get u() {
|
|
2740
|
+
return this.get_u();
|
|
2741
|
+
}
|
|
2742
|
+
get_m() {
|
|
2743
|
+
return "image/x-wmf";
|
|
2744
|
+
}
|
|
2745
|
+
get m() {
|
|
2746
|
+
return this.get_m();
|
|
2747
|
+
}
|
|
2748
|
+
r(a) {
|
|
2749
|
+
return ImageFormat.j;
|
|
2750
|
+
}
|
|
2751
|
+
}
|
|
2752
|
+
WmfPartManager.$t = /*@__PURE__*/ markType(WmfPartManager, 'WmfPartManager', ImagePartManagerBase.$);
|
|
2753
|
+
WmfPartManager.y = /*@__PURE__*/ new WmfPartManager();
|
|
2754
|
+
return WmfPartManager;
|
|
2755
|
+
})();
|
|
2426
2756
|
/**
|
|
2427
2757
|
* @hidden
|
|
2428
2758
|
*/
|
|
@@ -2552,7 +2882,7 @@ export let XmlNamespaceDefinitionBase = /*@__PURE__*/ (() => {
|
|
|
2552
2882
|
}
|
|
2553
2883
|
static ac(a, b, c, d) {
|
|
2554
2884
|
a.ad.p(b, c);
|
|
2555
|
-
let e = new QualifiedNameInfo(1, DcTerms.ao.t, DcTerms.ao.s(a.d.
|
|
2885
|
+
let e = new QualifiedNameInfo(1, DcTerms.ao.t, DcTerms.ao.s(a.d._ab), XmlNamespaceDefinitionBase.r("http://purl.org/dc/terms/W3CDTF"));
|
|
2556
2886
|
a.ad.h(XmlSchemaInstance.ar, e.toString());
|
|
2557
2887
|
a.ad.u(PackageUtilities.k(d));
|
|
2558
2888
|
}
|
|
@@ -2720,7 +3050,7 @@ export let CoreProperties = /*@__PURE__*/ (() => {
|
|
|
2720
3050
|
}
|
|
2721
3051
|
static a7(a) {
|
|
2722
3052
|
a.ad.p(CoreProperties.as, "cp");
|
|
2723
|
-
let b = a.d.
|
|
3053
|
+
let b = a.d._ab;
|
|
2724
3054
|
a.ad.l(CoreProperties.ao);
|
|
2725
3055
|
a.ad.l(DcElements.ao);
|
|
2726
3056
|
a.ad.l(DcTerms.ao);
|
|
@@ -3426,7 +3756,7 @@ export let DrawingMLMain = /*@__PURE__*/ (() => {
|
|
|
3426
3756
|
c = new ST_FixedPercentage();
|
|
3427
3757
|
}
|
|
3428
3758
|
else {
|
|
3429
|
-
c = ST_FixedPercentage.c(d, a.d.
|
|
3759
|
+
c = ST_FixedPercentage.c(d, a.d._ab);
|
|
3430
3760
|
}
|
|
3431
3761
|
return {
|
|
3432
3762
|
p2: c
|
|
@@ -3435,7 +3765,7 @@ export let DrawingMLMain = /*@__PURE__*/ (() => {
|
|
|
3435
3765
|
static nz(a, b, c) {
|
|
3436
3766
|
a.ad.p(b, "a");
|
|
3437
3767
|
let d;
|
|
3438
|
-
d = c.s(a.d.
|
|
3768
|
+
d = c.s(a.d._ab);
|
|
3439
3769
|
a.ad.h("val", d);
|
|
3440
3770
|
}
|
|
3441
3771
|
static kz(a, b, c, d, e) {
|
|
@@ -3534,7 +3864,7 @@ export let DrawingMLMain = /*@__PURE__*/ (() => {
|
|
|
3534
3864
|
c = new ST_Percentage();
|
|
3535
3865
|
}
|
|
3536
3866
|
else {
|
|
3537
|
-
c = ST_Percentage.d(d, a.d.
|
|
3867
|
+
c = ST_Percentage.d(d, a.d._ab);
|
|
3538
3868
|
}
|
|
3539
3869
|
return {
|
|
3540
3870
|
p2: c
|
|
@@ -3543,7 +3873,7 @@ export let DrawingMLMain = /*@__PURE__*/ (() => {
|
|
|
3543
3873
|
static n2(a, b, c) {
|
|
3544
3874
|
a.ad.p(b, "a");
|
|
3545
3875
|
let d;
|
|
3546
|
-
d = c.r(a.d.
|
|
3876
|
+
d = c.r(a.d._ab);
|
|
3547
3877
|
a.ad.h("val", d);
|
|
3548
3878
|
}
|
|
3549
3879
|
static k2(a, b, c, d) {
|
|
@@ -3597,7 +3927,7 @@ export let DrawingMLMain = /*@__PURE__*/ (() => {
|
|
|
3597
3927
|
c = new ST_PositiveFixedPercentage();
|
|
3598
3928
|
}
|
|
3599
3929
|
else {
|
|
3600
|
-
c = ST_PositiveFixedPercentage.f(d, a.d.
|
|
3930
|
+
c = ST_PositiveFixedPercentage.f(d, a.d._ab);
|
|
3601
3931
|
}
|
|
3602
3932
|
return {
|
|
3603
3933
|
p2: c
|
|
@@ -3606,7 +3936,7 @@ export let DrawingMLMain = /*@__PURE__*/ (() => {
|
|
|
3606
3936
|
static n5(a, b, c) {
|
|
3607
3937
|
a.ad.p(b, "a");
|
|
3608
3938
|
let d;
|
|
3609
|
-
d = c.u(a.d.
|
|
3939
|
+
d = c.u(a.d._ab);
|
|
3610
3940
|
a.ad.h("val", d);
|
|
3611
3941
|
}
|
|
3612
3942
|
static k5(a, b, c) {
|
|
@@ -3615,7 +3945,7 @@ export let DrawingMLMain = /*@__PURE__*/ (() => {
|
|
|
3615
3945
|
c = new ST_PositivePercentage();
|
|
3616
3946
|
}
|
|
3617
3947
|
else {
|
|
3618
|
-
c = ST_PositivePercentage.f(d, a.d.
|
|
3948
|
+
c = ST_PositivePercentage.f(d, a.d._ab);
|
|
3619
3949
|
}
|
|
3620
3950
|
return {
|
|
3621
3951
|
p2: c
|
|
@@ -3624,7 +3954,7 @@ export let DrawingMLMain = /*@__PURE__*/ (() => {
|
|
|
3624
3954
|
static n6(a, b, c) {
|
|
3625
3955
|
a.ad.p(b, "a");
|
|
3626
3956
|
let d;
|
|
3627
|
-
d = c.s(a.d.
|
|
3957
|
+
d = c.s(a.d._ab);
|
|
3628
3958
|
a.ad.h("val", d);
|
|
3629
3959
|
}
|
|
3630
3960
|
static k6(a, b, c, d) {
|
|
@@ -3659,7 +3989,7 @@ export let DrawingMLMain = /*@__PURE__*/ (() => {
|
|
|
3659
3989
|
d = ST_Percentage.b(0);
|
|
3660
3990
|
e = ST_Percentage.b(0);
|
|
3661
3991
|
f = ST_Percentage.b(0);
|
|
3662
|
-
let g = a.d.
|
|
3992
|
+
let g = a.d._ab;
|
|
3663
3993
|
for (let h of fromEnum(a.ab.u)) {
|
|
3664
3994
|
switch (h.a.e(a.d)) {
|
|
3665
3995
|
case "l":
|
|
@@ -3687,7 +4017,7 @@ export let DrawingMLMain = /*@__PURE__*/ (() => {
|
|
|
3687
4017
|
static n8(a, b, c, d, e, f) {
|
|
3688
4018
|
a.ad.p(b, "a");
|
|
3689
4019
|
let g;
|
|
3690
|
-
let h = a.d.
|
|
4020
|
+
let h = a.d._ab;
|
|
3691
4021
|
if (ST_Percentage.g(c, ST_Percentage.b(0))) {
|
|
3692
4022
|
g = c.r(h);
|
|
3693
4023
|
a.ad.h("l", g);
|
|
@@ -5151,7 +5481,7 @@ export let DrawingMLMain = /*@__PURE__*/ (() => {
|
|
|
5151
5481
|
m = toNullable(Boolean_$type, ST_OnOff.e(aa.d));
|
|
5152
5482
|
break;
|
|
5153
5483
|
case "baseline":
|
|
5154
|
-
n = toNullable(ST_Percentage.$, ST_Percentage.d(aa.d, a.d.
|
|
5484
|
+
n = toNullable(ST_Percentage.$, ST_Percentage.d(aa.d, a.d._ab));
|
|
5155
5485
|
break;
|
|
5156
5486
|
case "noProof":
|
|
5157
5487
|
o = toNullable(Boolean_$type, ST_OnOff.e(aa.d));
|
|
@@ -5258,7 +5588,7 @@ export let DrawingMLMain = /*@__PURE__*/ (() => {
|
|
|
5258
5588
|
a.ad.h("normalizeH", u);
|
|
5259
5589
|
}
|
|
5260
5590
|
if (ST_Percentage.h(n, toNullable(ST_Percentage.$, null))) {
|
|
5261
|
-
u = n.value.r(a.d.
|
|
5591
|
+
u = n.value.r(a.d._ab);
|
|
5262
5592
|
a.ad.h("baseline", u);
|
|
5263
5593
|
}
|
|
5264
5594
|
if (nullableNotEquals(o, null)) {
|
|
@@ -6547,7 +6877,7 @@ export let EmptyNamespace = /*@__PURE__*/ (() => {
|
|
|
6547
6877
|
}
|
|
6548
6878
|
static ar(a, b = toNullable(Number_$type, null), c = toNullable(Number_$type, null)) {
|
|
6549
6879
|
a.ad.o("xml");
|
|
6550
|
-
let d = a.d.
|
|
6880
|
+
let d = a.d._ab;
|
|
6551
6881
|
a.ad.l(VmlNamespace.ao);
|
|
6552
6882
|
a.ad.l(OfficeNamespace.ao);
|
|
6553
6883
|
}
|
|
@@ -7295,7 +7625,7 @@ export let OfficeDocumentExtendedProperties = /*@__PURE__*/ (() => {
|
|
|
7295
7625
|
}
|
|
7296
7626
|
static cr(a) {
|
|
7297
7627
|
a.ad.p(OfficeDocumentExtendedProperties.ba, null);
|
|
7298
|
-
let b = a.d.
|
|
7628
|
+
let b = a.d._ab;
|
|
7299
7629
|
a.ad.l(OfficeDocumentExtendedProperties.ao);
|
|
7300
7630
|
a.ad.l(OfficeDocumentDocPropsVTypes.ao);
|
|
7301
7631
|
}
|