igniteui-webcomponents-excel 5.2.1-beta.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 +9766 -6903
- 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 +3179 -2695
- 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/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/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_combined.js +2733 -2037
- 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 +110 -110
- 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 +3276 -2760
- 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/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/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_combined.js +2789 -2043
- 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 +110 -110
- package/esm5/public_api.js +28 -1
- package/fesm2015/igniteui-webcomponents-excel.js +8980 -6479
- package/fesm5/igniteui-webcomponents-excel.js +9740 -6905
- 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 +736 -566
- 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/package.json +2 -2
- package/public_api.d.ts +28 -1
|
@@ -20,6 +20,9 @@ import { WorkItemExtensions } from "./WorkItemExtensions";
|
|
|
20
20
|
import { Uri } from "igniteui-webcomponents-core";
|
|
21
21
|
import { UriUtilities } from "./UriUtilities";
|
|
22
22
|
import { Tuple$2 } from "igniteui-webcomponents-core";
|
|
23
|
+
import { ImageData } from "./ImageData";
|
|
24
|
+
import { Guid } from "igniteui-webcomponents-core";
|
|
25
|
+
import { ImageFormat } from "./ImageFormat";
|
|
23
26
|
import { Async } from "./Async";
|
|
24
27
|
import { DocCoreUtils } from "./DocCoreUtils";
|
|
25
28
|
import { IPackageRelationship_$type } from "./IPackageRelationship";
|
|
@@ -32,7 +35,7 @@ import { OverrideContentTypePart } from "./OverrideContentTypePart";
|
|
|
32
35
|
import { List$1 } from "igniteui-webcomponents-core";
|
|
33
36
|
import { RoundTripControlData } from "./RoundTripControlData";
|
|
34
37
|
import { nullableEquals, nullableNotEquals } from "igniteui-webcomponents-core";
|
|
35
|
-
import { stringEmpty, stringIsNullOrEmpty, stringJoin1, stringToString$1, stringIsNullOrWhiteSpace } from "igniteui-webcomponents-core";
|
|
38
|
+
import { stringEmpty, stringIsNullOrEmpty, stringJoin1, stringReplace, stringToString$1, stringIsNullOrWhiteSpace } from "igniteui-webcomponents-core";
|
|
36
39
|
import { CultureInfo } from "igniteui-webcomponents-core";
|
|
37
40
|
import { Enumerable } from "igniteui-webcomponents-core";
|
|
38
41
|
import { XmlReadManager_AlternateContentChoiceContext } from "./XmlReadManager_AlternateContentChoiceContext";
|
|
@@ -42,14 +45,14 @@ import { arrayCopy2 } from "igniteui-webcomponents-core";
|
|
|
42
45
|
import { stringSplit, trimStart, trimEnd } from "igniteui-webcomponents-core";
|
|
43
46
|
import { XmlWriter } from "igniteui-webcomponents-core";
|
|
44
47
|
import { StringBuilder } from "igniteui-webcomponents-core";
|
|
45
|
-
import { ImageData } from "./ImageData";
|
|
46
|
-
import { ImageFormat } from "./ImageFormat";
|
|
47
48
|
import { XmlTextReader } from "igniteui-webcomponents-core";
|
|
48
49
|
import { Encoding } from "igniteui-webcomponents-core";
|
|
49
50
|
import { XmlTextWriter } from "igniteui-webcomponents-core";
|
|
50
51
|
import { NotImplementedException } from "igniteui-webcomponents-core";
|
|
51
52
|
import { BinaryData } from "./BinaryData";
|
|
52
53
|
import { RoundTripPartData } from "./RoundTripPartData";
|
|
54
|
+
import { MemoryStream } from "igniteui-webcomponents-core";
|
|
55
|
+
import { StreamReader } from "igniteui-webcomponents-core";
|
|
53
56
|
import { EqualityComparer$1 } from "igniteui-webcomponents-core";
|
|
54
57
|
import { ST_FillMethod_$type } from "./ST_FillMethod";
|
|
55
58
|
import { ST_OnOff } from "./ST_OnOff";
|
|
@@ -273,82 +276,130 @@ var OfficeDocumentManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
273
276
|
function OfficeDocumentManager(a, b, c, d) {
|
|
274
277
|
var _this = _super.call(this) || this;
|
|
275
278
|
_this._c = null;
|
|
276
|
-
_this.
|
|
277
|
-
_this.
|
|
278
|
-
_this._aj = null;
|
|
279
|
+
_this._ar = toNullable(ST_ConformanceClass_$type, null);
|
|
280
|
+
_this._ad = false;
|
|
279
281
|
_this._al = null;
|
|
280
|
-
_this.
|
|
281
|
-
_this._am = null;
|
|
282
|
-
_this._aq = null;
|
|
283
|
-
_this._ah = null;
|
|
282
|
+
_this._an = null;
|
|
284
283
|
_this._ai = null;
|
|
285
|
-
_this._y = null;
|
|
286
|
-
_this._a = null;
|
|
287
284
|
_this._ao = null;
|
|
285
|
+
_this._as = null;
|
|
286
|
+
_this._aj = null;
|
|
287
|
+
_this._ak = null;
|
|
288
|
+
_this._aa = null;
|
|
289
|
+
_this._a = null;
|
|
290
|
+
_this._aq = null;
|
|
288
291
|
_this._h = null;
|
|
289
292
|
_this._i = null;
|
|
290
|
-
_this.
|
|
293
|
+
_this._o = null;
|
|
294
|
+
_this._az = null;
|
|
291
295
|
_this._ax = null;
|
|
292
|
-
_this.
|
|
293
|
-
_this.
|
|
294
|
-
_this.
|
|
295
|
-
_this.
|
|
296
|
-
_this.
|
|
297
|
-
_this.
|
|
298
|
-
_this.
|
|
299
|
-
_this.
|
|
300
|
-
_this.
|
|
301
|
-
_this.
|
|
302
|
-
_this.
|
|
303
|
-
_this.
|
|
304
|
-
_this.
|
|
305
|
-
_this.
|
|
306
|
-
if (a != null && _this._ao != null) {
|
|
296
|
+
_this._ay = null;
|
|
297
|
+
_this._ah = false;
|
|
298
|
+
_this._al = new HashSet$1(String_$type, 0);
|
|
299
|
+
_this._an = new Stack$1(IPackagePart_$type);
|
|
300
|
+
_this._ai = new Dictionary$2(String_$type, Base.$, 2, StringUtilities.f);
|
|
301
|
+
_this._ao = new Stack$1(OfficeDocumentManager_PartRelationshipCounter.$);
|
|
302
|
+
_this._ao.h(new OfficeDocumentManager_PartRelationshipCounter());
|
|
303
|
+
_this._as = {};
|
|
304
|
+
_this._aj = new Dictionary$2(String_$type, PartManagerBase.$, 0);
|
|
305
|
+
_this._ak = new Dictionary$2(String_$type, PartManagerBase.$, 0);
|
|
306
|
+
_this._ar = d;
|
|
307
|
+
_this._ad = c;
|
|
308
|
+
_this._aq = b;
|
|
309
|
+
if (a != null && _this._aq != null) {
|
|
307
310
|
_this._a = new InvalidPackage();
|
|
308
|
-
var e = WorkItemExtensions.f(IPackage_$type, a._open$i(_this.
|
|
311
|
+
var e = WorkItemExtensions.f(IPackage_$type, a._open$i(_this._aq, _this._ad ? 3 : 2), function (f) {
|
|
309
312
|
_this._a = WorkItemExtensions.m(IPackage_$type, f);
|
|
310
313
|
return null;
|
|
311
314
|
});
|
|
312
|
-
_this.
|
|
315
|
+
_this._o = e;
|
|
313
316
|
}
|
|
314
317
|
else {
|
|
315
|
-
_this.
|
|
318
|
+
_this._o = WorkItem.g(Base.$, null);
|
|
316
319
|
}
|
|
317
320
|
return _this;
|
|
318
321
|
}
|
|
319
322
|
OfficeDocumentManager.prototype.dispose = function () {
|
|
320
323
|
this.disposeCore(true);
|
|
321
324
|
};
|
|
322
|
-
OfficeDocumentManager.prototype.
|
|
323
|
-
return this.
|
|
325
|
+
OfficeDocumentManager.prototype._a2 = function (a, b) {
|
|
326
|
+
return this._a3(a, b.o(this._ab));
|
|
324
327
|
};
|
|
325
|
-
OfficeDocumentManager.prototype.
|
|
326
|
-
return this.
|
|
328
|
+
OfficeDocumentManager.prototype._a3 = function (a, b) {
|
|
329
|
+
return this._a4(a, b, 0);
|
|
327
330
|
};
|
|
328
|
-
OfficeDocumentManager.prototype.
|
|
329
|
-
|
|
331
|
+
OfficeDocumentManager.prototype._a1 = function (a, b, c) {
|
|
332
|
+
if (c === void 0) {
|
|
333
|
+
c = null;
|
|
334
|
+
}
|
|
335
|
+
if (c != null && this._ag(c)) {
|
|
336
|
+
this._bg(a, b, 1, c, null);
|
|
337
|
+
return c;
|
|
338
|
+
}
|
|
339
|
+
return this._a4(a, b, 1);
|
|
330
340
|
};
|
|
331
|
-
OfficeDocumentManager.prototype.
|
|
341
|
+
OfficeDocumentManager.prototype._a0 = function (a, b) {
|
|
332
342
|
var c;
|
|
333
343
|
if (((function () { var d = UriUtilities.a(a, c); c = d.p1; return d.ret; })())) {
|
|
334
|
-
return this.
|
|
344
|
+
return this._a1(c, b);
|
|
335
345
|
}
|
|
336
|
-
return this.
|
|
346
|
+
return this._a4(null, b, 1, a);
|
|
337
347
|
};
|
|
338
|
-
OfficeDocumentManager.prototype._j = function (a, b
|
|
348
|
+
OfficeDocumentManager.prototype._j = function (a, b) {
|
|
339
349
|
if (b === void 0) {
|
|
340
350
|
b = null;
|
|
341
351
|
}
|
|
352
|
+
var c;
|
|
353
|
+
var d = a.d.o;
|
|
354
|
+
if (Guid.l_op_Equality(d, ImageFormat.r)) {
|
|
355
|
+
c = PngPartManager.y;
|
|
356
|
+
}
|
|
357
|
+
else if (Guid.l_op_Equality(d, ImageFormat.k)) {
|
|
358
|
+
c = BmpPartManager.y;
|
|
359
|
+
}
|
|
360
|
+
else if (Guid.l_op_Equality(d, ImageFormat.l)) {
|
|
361
|
+
c = BmpPartManager.z;
|
|
362
|
+
}
|
|
363
|
+
else if (Guid.l_op_Equality(d, ImageFormat.p)) {
|
|
364
|
+
c = JpegPartManager.y;
|
|
365
|
+
}
|
|
366
|
+
else if (Guid.l_op_Equality(d, ImageFormat.n)) {
|
|
367
|
+
c = GifPartManager.y;
|
|
368
|
+
}
|
|
369
|
+
else if (Guid.l_op_Equality(d, ImageFormat.s)) {
|
|
370
|
+
c = TiffPartManager.y;
|
|
371
|
+
}
|
|
372
|
+
else if (Guid.l_op_Equality(d, ImageFormat.m)) {
|
|
373
|
+
c = EmfPartManager.y;
|
|
374
|
+
}
|
|
375
|
+
else if (Guid.l_op_Equality(d, ImageFormat.t)) {
|
|
376
|
+
c = WmfPartManager.y;
|
|
377
|
+
}
|
|
378
|
+
else {
|
|
379
|
+
c = PngPartManager.y;
|
|
380
|
+
}
|
|
381
|
+
return this._k(c, a, b);
|
|
382
|
+
};
|
|
383
|
+
OfficeDocumentManager.prototype._k = function (a, b, c) {
|
|
342
384
|
if (c === void 0) {
|
|
343
385
|
c = null;
|
|
344
386
|
}
|
|
345
|
-
|
|
387
|
+
return this._l(a, b, c);
|
|
388
|
+
};
|
|
389
|
+
OfficeDocumentManager.prototype._l = function (a, b, c) {
|
|
390
|
+
if (b === void 0) {
|
|
391
|
+
b = null;
|
|
392
|
+
}
|
|
393
|
+
if (c === void 0) {
|
|
394
|
+
c = null;
|
|
395
|
+
}
|
|
396
|
+
var d = a.n(this._x);
|
|
346
397
|
if (a.g) {
|
|
347
|
-
d = this.
|
|
398
|
+
d = this._a8(d, a.h == false);
|
|
348
399
|
}
|
|
349
|
-
return this.
|
|
400
|
+
return this._m(a, d, b, c);
|
|
350
401
|
};
|
|
351
|
-
OfficeDocumentManager.prototype.
|
|
402
|
+
OfficeDocumentManager.prototype._m = function (a, b, c, d) {
|
|
352
403
|
var _this = this;
|
|
353
404
|
if (c === void 0) {
|
|
354
405
|
c = null;
|
|
@@ -358,36 +409,36 @@ var OfficeDocumentManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
358
409
|
}
|
|
359
410
|
var e = UriUtilities.b(b);
|
|
360
411
|
var f;
|
|
361
|
-
if (d != null && this.
|
|
412
|
+
if (d != null && this._ag(d)) {
|
|
362
413
|
f = d;
|
|
363
|
-
this.
|
|
414
|
+
this._bg(e, a.o(this._ab), 0, f, null);
|
|
364
415
|
}
|
|
365
416
|
else {
|
|
366
|
-
f = this.
|
|
417
|
+
f = this._a4(e, a.o(this._ab), 0);
|
|
367
418
|
}
|
|
368
419
|
var g = this._c;
|
|
369
420
|
return WorkItemExtensions.g(Tuple$2.$.specialize(Uri.$, String_$type), Async.h(function () {
|
|
370
421
|
if (g != null) {
|
|
371
|
-
_this.
|
|
422
|
+
_this._an.h(g);
|
|
372
423
|
}
|
|
373
424
|
var h = _this._a.createPart(e, a.m);
|
|
374
425
|
_this._c = h;
|
|
375
|
-
_this.
|
|
426
|
+
_this._ao.h(new OfficeDocumentManager_PartRelationshipCounter());
|
|
376
427
|
return WorkItemExtensions.a(Async.o(Stream.$, h.getStream(2, 2), function (i) {
|
|
377
428
|
var j = a.e(_this, i);
|
|
378
429
|
return j.b(c);
|
|
379
430
|
}), function () {
|
|
380
|
-
_this.
|
|
381
|
-
_this.
|
|
431
|
+
_this._ao.e();
|
|
432
|
+
_this._ai.addItem(b, c);
|
|
382
433
|
});
|
|
383
434
|
}, function () {
|
|
384
435
|
if (g != null) {
|
|
385
|
-
_this.
|
|
436
|
+
_this._an.e();
|
|
386
437
|
}
|
|
387
438
|
_this._c = g;
|
|
388
439
|
}), function () { return Tuple.a(Uri.$, String_$type, e, f); });
|
|
389
440
|
};
|
|
390
|
-
OfficeDocumentManager.prototype.
|
|
441
|
+
OfficeDocumentManager.prototype._n = function (a, b, c, d) {
|
|
391
442
|
if (c === void 0) {
|
|
392
443
|
c = null;
|
|
393
444
|
}
|
|
@@ -397,35 +448,35 @@ var OfficeDocumentManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
397
448
|
if (b == null) {
|
|
398
449
|
return null;
|
|
399
450
|
}
|
|
400
|
-
var e = this.
|
|
451
|
+
var e = this._y(a);
|
|
401
452
|
if (e == null) {
|
|
402
453
|
return null;
|
|
403
454
|
}
|
|
404
|
-
return this.
|
|
455
|
+
return this._m(e, b, c, d);
|
|
405
456
|
};
|
|
406
|
-
OfficeDocumentManager.prototype.
|
|
407
|
-
if (this.
|
|
457
|
+
OfficeDocumentManager.prototype._a7 = function () {
|
|
458
|
+
if (this._aq == null) {
|
|
408
459
|
return null;
|
|
409
460
|
}
|
|
410
|
-
return DocCoreUtils.z(this.
|
|
461
|
+
return DocCoreUtils.z(this._aq);
|
|
411
462
|
};
|
|
412
|
-
OfficeDocumentManager.prototype.
|
|
413
|
-
return (this.
|
|
463
|
+
OfficeDocumentManager.prototype._w = function (a) {
|
|
464
|
+
return (this._as[a] || null);
|
|
414
465
|
};
|
|
415
466
|
OfficeDocumentManager.prototype._e = function (a) {
|
|
416
467
|
return this._b.getPart(a);
|
|
417
468
|
};
|
|
418
|
-
OfficeDocumentManager.prototype.
|
|
419
|
-
return this.
|
|
469
|
+
OfficeDocumentManager.prototype._at = function (a) {
|
|
470
|
+
return this._av(a.uri.toString());
|
|
420
471
|
};
|
|
421
|
-
OfficeDocumentManager.prototype.
|
|
472
|
+
OfficeDocumentManager.prototype._au = function (a) {
|
|
422
473
|
var b = PackageUtilities.ak(a).originalString;
|
|
423
|
-
return this.
|
|
474
|
+
return this._av(b);
|
|
424
475
|
};
|
|
425
|
-
OfficeDocumentManager.prototype.
|
|
476
|
+
OfficeDocumentManager.prototype._bf = function (a) {
|
|
426
477
|
var e_1, _0;
|
|
427
478
|
try {
|
|
428
|
-
for (var _1 = __values(fromEnum(this.
|
|
479
|
+
for (var _1 = __values(fromEnum(this._ai)), _2 = _1.next(); !_2.done; _2 = _1.next()) {
|
|
429
480
|
var b = _2.value;
|
|
430
481
|
if (Base.equalsStatic(b.value, a)) {
|
|
431
482
|
return UriUtilities.b(b.key);
|
|
@@ -447,7 +498,7 @@ var OfficeDocumentManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
447
498
|
}
|
|
448
499
|
return null;
|
|
449
500
|
};
|
|
450
|
-
OfficeDocumentManager.prototype.
|
|
501
|
+
OfficeDocumentManager.prototype._aw = function (a) {
|
|
451
502
|
var b = this._g(a);
|
|
452
503
|
if (b == null) {
|
|
453
504
|
return null;
|
|
@@ -458,16 +509,16 @@ var OfficeDocumentManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
458
509
|
}
|
|
459
510
|
return b.targetUri;
|
|
460
511
|
}
|
|
461
|
-
return this.
|
|
512
|
+
return this._au(b);
|
|
462
513
|
};
|
|
463
|
-
OfficeDocumentManager.prototype.
|
|
514
|
+
OfficeDocumentManager.prototype._be = function ($tData, a) {
|
|
464
515
|
var e_2, _0;
|
|
465
|
-
var b = a.o(this.
|
|
516
|
+
var b = a.o(this._ab);
|
|
466
517
|
try {
|
|
467
|
-
for (var _1 = __values(fromEnum(this.
|
|
518
|
+
for (var _1 = __values(fromEnum(this._am())), _2 = _1.next(); !_2.done; _2 = _1.next()) {
|
|
468
519
|
var c = _2.value;
|
|
469
520
|
if (c.relationshipType == b) {
|
|
470
|
-
var d = this.
|
|
521
|
+
var d = this._aw(c.id);
|
|
471
522
|
if (d != null) {
|
|
472
523
|
return Tuple.a(String_$type, $tData, c.id, typeCastObjTo$t($tData, d));
|
|
473
524
|
}
|
|
@@ -496,9 +547,9 @@ var OfficeDocumentManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
496
547
|
OfficeDocumentManager.prototype._f = function (a) {
|
|
497
548
|
var e_3, _0;
|
|
498
549
|
try {
|
|
499
|
-
for (var _1 = __values(fromEnum(this.
|
|
550
|
+
for (var _1 = __values(fromEnum(this._am())), _2 = _1.next(); !_2.done; _2 = _1.next()) {
|
|
500
551
|
var b = _2.value;
|
|
501
|
-
if (this.
|
|
552
|
+
if (this._au(b) == a) {
|
|
502
553
|
return b;
|
|
503
554
|
}
|
|
504
555
|
}
|
|
@@ -518,12 +569,12 @@ var OfficeDocumentManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
518
569
|
}
|
|
519
570
|
return null;
|
|
520
571
|
};
|
|
521
|
-
OfficeDocumentManager.prototype.
|
|
572
|
+
OfficeDocumentManager.prototype._a9 = function (a, b) {
|
|
522
573
|
var e_4, _0;
|
|
523
574
|
var c = a;
|
|
524
575
|
var d = c == 0 ? 1 : 0;
|
|
525
576
|
try {
|
|
526
|
-
for (var _1 = __values(fromEnum(this.
|
|
577
|
+
for (var _1 = __values(fromEnum(this._ak)), _2 = _1.next(); !_2.done; _2 = _1.next()) {
|
|
527
578
|
var e = _2.value;
|
|
528
579
|
var f = e.value.o(d);
|
|
529
580
|
var g = e.value.o(c);
|
|
@@ -547,80 +598,80 @@ var OfficeDocumentManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
547
598
|
}
|
|
548
599
|
return null;
|
|
549
600
|
};
|
|
550
|
-
OfficeDocumentManager.prototype.
|
|
551
|
-
this.
|
|
552
|
-
this.
|
|
553
|
-
this.
|
|
554
|
-
this.
|
|
555
|
-
this.
|
|
556
|
-
this.
|
|
557
|
-
this.
|
|
558
|
-
this.
|
|
559
|
-
this.
|
|
560
|
-
this.
|
|
561
|
-
this.
|
|
562
|
-
this.
|
|
563
|
-
this.
|
|
564
|
-
this.
|
|
565
|
-
this.
|
|
566
|
-
this.
|
|
567
|
-
this.
|
|
568
|
-
this.
|
|
569
|
-
this.
|
|
570
|
-
this.
|
|
571
|
-
this.
|
|
572
|
-
this.
|
|
573
|
-
var a = this.
|
|
601
|
+
OfficeDocumentManager.prototype._bj = function () {
|
|
602
|
+
this._bm(XmlNamespace.ao);
|
|
603
|
+
this._bm(VmlNamespace.ao);
|
|
604
|
+
this._bm(CoreProperties.ao);
|
|
605
|
+
this._bm(DcDcmiType.ao);
|
|
606
|
+
this._bm(DcElements.ao);
|
|
607
|
+
this._bm(DcTerms.ao);
|
|
608
|
+
this._bm(Drawing2010Main.ao);
|
|
609
|
+
this._bm(Drawing2010Slicer.ao);
|
|
610
|
+
this._bm(DrawingMLChart.ao);
|
|
611
|
+
this._bm(DrawingMLChart2014.ao);
|
|
612
|
+
this._bm(DrawingMLChartEx2015_9_8.ao);
|
|
613
|
+
this._bm(DrawingMLChartEx2015_10_21.ao);
|
|
614
|
+
this._bm(DrawingMLChartEx2016_5_10.ao);
|
|
615
|
+
this._bm(DrawingMLMain.ao);
|
|
616
|
+
this._bm(EmptyNamespace.ao);
|
|
617
|
+
this._bm(MarkupCompatibility2006.ao);
|
|
618
|
+
this._bm(OfficeDocumentDocPropsVTypes.ao);
|
|
619
|
+
this._bm(OfficeDocumentExtendedProperties.ao);
|
|
620
|
+
this._bm(OfficeDocumentRelationships.ao);
|
|
621
|
+
this._bm(OfficeNamespace.ao);
|
|
622
|
+
this._bm(XmlSchemaInstance.ao);
|
|
623
|
+
this._bm(IGOfficeExtensions.ao);
|
|
624
|
+
var a = this._v;
|
|
574
625
|
if (a != null) {
|
|
575
|
-
this.
|
|
626
|
+
this._bm(a);
|
|
576
627
|
}
|
|
577
|
-
if (nullableEquals(this.
|
|
578
|
-
this.
|
|
628
|
+
if (nullableEquals(this._ar, null)) {
|
|
629
|
+
this._ar = toNullable(ST_ConformanceClass_$type, this._ac());
|
|
579
630
|
}
|
|
580
631
|
};
|
|
581
|
-
OfficeDocumentManager.prototype.
|
|
582
|
-
return (this.
|
|
632
|
+
OfficeDocumentManager.prototype._af = function (a) {
|
|
633
|
+
return (this._as[a] != null);
|
|
583
634
|
};
|
|
584
|
-
OfficeDocumentManager.prototype.
|
|
635
|
+
OfficeDocumentManager.prototype._p = function () {
|
|
585
636
|
var _this = this;
|
|
586
|
-
return WorkItemExtensions.c(this.
|
|
587
|
-
_this.
|
|
588
|
-
return _this.
|
|
637
|
+
return WorkItemExtensions.c(this._o, function () {
|
|
638
|
+
_this._bj();
|
|
639
|
+
return _this._q();
|
|
589
640
|
});
|
|
590
641
|
};
|
|
591
|
-
OfficeDocumentManager.prototype.
|
|
642
|
+
OfficeDocumentManager.prototype._bl = function () {
|
|
592
643
|
};
|
|
593
|
-
OfficeDocumentManager.prototype.
|
|
644
|
+
OfficeDocumentManager.prototype._bd = function (a) {
|
|
594
645
|
if (a == null || a.length == 0) {
|
|
595
|
-
if (this.
|
|
596
|
-
return this.
|
|
646
|
+
if (this._ay != null) {
|
|
647
|
+
return this._ay;
|
|
597
648
|
}
|
|
598
649
|
}
|
|
599
|
-
else if (Base.equalsStatic(a, this.
|
|
600
|
-
return this.
|
|
650
|
+
else if (Base.equalsStatic(a, this._az)) {
|
|
651
|
+
return this._ax;
|
|
601
652
|
}
|
|
602
653
|
else {
|
|
603
|
-
this.
|
|
654
|
+
this._az = a;
|
|
604
655
|
}
|
|
605
|
-
var b = this.
|
|
656
|
+
var b = this._w(a);
|
|
606
657
|
if (b != null) {
|
|
607
658
|
a = b.s(1);
|
|
608
659
|
}
|
|
609
660
|
if (a == null || a.length == 0) {
|
|
610
|
-
this.
|
|
661
|
+
this._ay = a;
|
|
611
662
|
}
|
|
612
663
|
else {
|
|
613
|
-
this.
|
|
664
|
+
this._ax = a;
|
|
614
665
|
}
|
|
615
666
|
return a;
|
|
616
667
|
};
|
|
617
|
-
OfficeDocumentManager.prototype.
|
|
668
|
+
OfficeDocumentManager.prototype._t = function () {
|
|
618
669
|
var _this = this;
|
|
619
|
-
this.
|
|
620
|
-
return WorkItemExtensions.c(WorkItemExtensions.c(WorkItemExtensions.c(this.
|
|
670
|
+
this._bj();
|
|
671
|
+
return WorkItemExtensions.c(WorkItemExtensions.c(WorkItemExtensions.c(this._o, function () { return _this._u(); }), function () { return Async.g(_this._h != null, function () { return _this._l(Office2007ExtensibilityPartManager.a5); }); }), function () { return Async.g(_this._i != null, function () { return _this._l(Office2010ExtensibilityPartManager.a5); }); });
|
|
621
672
|
};
|
|
622
|
-
OfficeDocumentManager.prototype.
|
|
623
|
-
this.
|
|
673
|
+
OfficeDocumentManager.prototype._bp = function (a) {
|
|
674
|
+
this._ar = toNullable(ST_ConformanceClass_$type, a);
|
|
624
675
|
};
|
|
625
676
|
OfficeDocumentManager.prototype.disposeCore = function (a) {
|
|
626
677
|
if (this._a != null) {
|
|
@@ -628,52 +679,52 @@ var OfficeDocumentManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
628
679
|
this._a = null;
|
|
629
680
|
}
|
|
630
681
|
};
|
|
631
|
-
OfficeDocumentManager.prototype.
|
|
682
|
+
OfficeDocumentManager.prototype._q = function () {
|
|
632
683
|
var _this = this;
|
|
633
|
-
return WorkItemExtensions.f(Boolean_$type, this.
|
|
684
|
+
return WorkItemExtensions.f(Boolean_$type, this._s(null, null, this._a.getRelationships(), false), function (a) {
|
|
634
685
|
var b = WorkItemExtensions.m(Boolean_$type, a);
|
|
635
|
-
return Async.g((_this.
|
|
636
|
-
var c = _this.
|
|
686
|
+
return Async.g((_this._aa != null && _this._ah == false), function () {
|
|
687
|
+
var c = _this._a8(_this._aa.n(_this._x), void 0, true);
|
|
637
688
|
var d = null;
|
|
638
|
-
return Async.g((_this.
|
|
689
|
+
return Async.g((_this._al.contains(c) == false && ((function () { var e = Uri.tryCreate(c, 2, d); d = e.p2; return e.ret; })()) && _this._a.partExists(d)), function () { return _this._r(_this._a.getPart(d)); });
|
|
639
690
|
});
|
|
640
691
|
});
|
|
641
692
|
};
|
|
642
|
-
OfficeDocumentManager.prototype._bi = function (a) {
|
|
643
|
-
this._bj();
|
|
644
|
-
};
|
|
645
693
|
OfficeDocumentManager.prototype._bk = function (a) {
|
|
646
|
-
this.
|
|
647
|
-
this._aq[a.s(0)] = a;
|
|
694
|
+
this._bl();
|
|
648
695
|
};
|
|
649
|
-
OfficeDocumentManager.prototype.
|
|
696
|
+
OfficeDocumentManager.prototype._bm = function (a) {
|
|
697
|
+
this._as[a.s(1)] = a;
|
|
698
|
+
this._as[a.s(0)] = a;
|
|
699
|
+
};
|
|
700
|
+
OfficeDocumentManager.prototype._bn = function (a, b) {
|
|
650
701
|
if (b === void 0) {
|
|
651
702
|
b = true;
|
|
652
703
|
}
|
|
653
704
|
if (b) {
|
|
654
|
-
this.
|
|
705
|
+
this._aj.item(a.m, a);
|
|
655
706
|
}
|
|
656
|
-
this.
|
|
707
|
+
this._ak.item(a.o(this._ab), a);
|
|
657
708
|
if (a.m == "image/jpeg") {
|
|
658
|
-
this.
|
|
709
|
+
this._aj.item("image/jpg", a);
|
|
659
710
|
}
|
|
660
711
|
var c = typeCast(ThemePartManager.$, a);
|
|
661
712
|
if (c != null) {
|
|
662
|
-
this.
|
|
713
|
+
this._aa = c;
|
|
663
714
|
}
|
|
664
715
|
};
|
|
665
|
-
OfficeDocumentManager.prototype.
|
|
716
|
+
OfficeDocumentManager.prototype._a4 = function (a, b, c, d) {
|
|
666
717
|
if (d === void 0) {
|
|
667
718
|
d = null;
|
|
668
719
|
}
|
|
669
720
|
var e;
|
|
670
|
-
var f = this.
|
|
671
|
-
e = OfficeDocumentManager.
|
|
672
|
-
this.
|
|
721
|
+
var f = this._ao.d();
|
|
722
|
+
e = OfficeDocumentManager._a5(f.b);
|
|
723
|
+
this._bg(a, b, c, e, d);
|
|
673
724
|
return e;
|
|
674
725
|
};
|
|
675
|
-
OfficeDocumentManager.prototype.
|
|
676
|
-
this.
|
|
726
|
+
OfficeDocumentManager.prototype._bg = function (a, b, c, d, e) {
|
|
727
|
+
this._ao.d().c();
|
|
677
728
|
var f;
|
|
678
729
|
if (c == 0) {
|
|
679
730
|
if (this._c == null) {
|
|
@@ -701,23 +752,23 @@ var OfficeDocumentManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
701
752
|
this._c.createRelationship(f, c, b, d);
|
|
702
753
|
}
|
|
703
754
|
};
|
|
704
|
-
OfficeDocumentManager.
|
|
755
|
+
OfficeDocumentManager._a5 = function (a) {
|
|
705
756
|
return "rId" + (a + 1).toString();
|
|
706
757
|
};
|
|
707
|
-
OfficeDocumentManager.prototype.
|
|
758
|
+
OfficeDocumentManager.prototype._am = function () {
|
|
708
759
|
if (this._c != null) {
|
|
709
760
|
return this._c.getRelationships();
|
|
710
761
|
}
|
|
711
762
|
return this._a.getRelationships();
|
|
712
763
|
};
|
|
713
|
-
OfficeDocumentManager.prototype.
|
|
714
|
-
switch (this.
|
|
715
|
-
case 0: return OfficeDocumentManager.
|
|
716
|
-
case 1: return OfficeDocumentManager.
|
|
717
|
-
default: return OfficeDocumentManager.
|
|
764
|
+
OfficeDocumentManager.prototype._a6 = function () {
|
|
765
|
+
switch (this._ab) {
|
|
766
|
+
case 0: return OfficeDocumentManager._bb;
|
|
767
|
+
case 1: return OfficeDocumentManager._ba;
|
|
768
|
+
default: return OfficeDocumentManager._bb;
|
|
718
769
|
}
|
|
719
770
|
};
|
|
720
|
-
OfficeDocumentManager.prototype.
|
|
771
|
+
OfficeDocumentManager.prototype._a8 = function (a, b, c) {
|
|
721
772
|
var e_5, _0;
|
|
722
773
|
if (b === void 0) {
|
|
723
774
|
b = false;
|
|
@@ -770,43 +821,43 @@ var OfficeDocumentManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
770
821
|
k++;
|
|
771
822
|
}
|
|
772
823
|
};
|
|
773
|
-
OfficeDocumentManager.prototype.
|
|
824
|
+
OfficeDocumentManager.prototype._av = function (a) {
|
|
774
825
|
var b;
|
|
775
|
-
var c = this.
|
|
826
|
+
var c = this._ai.tryGetValue(a, b);
|
|
776
827
|
b = c.p1;
|
|
777
828
|
return b;
|
|
778
829
|
};
|
|
779
|
-
OfficeDocumentManager.prototype.
|
|
830
|
+
OfficeDocumentManager.prototype._y = function (a) {
|
|
780
831
|
var b;
|
|
781
|
-
var c = this.
|
|
832
|
+
var c = this._aj.tryGetValue(a, b);
|
|
782
833
|
b = c.p1;
|
|
783
834
|
return b;
|
|
784
835
|
};
|
|
785
|
-
OfficeDocumentManager.prototype.
|
|
836
|
+
OfficeDocumentManager.prototype._z = function (a) {
|
|
786
837
|
var _this = this;
|
|
787
838
|
var b;
|
|
788
|
-
if (((function () { var c = _this.
|
|
839
|
+
if (((function () { var c = _this._ak.tryGetValue(a, b); b = c.p1; return c.ret; })()) == false) {
|
|
789
840
|
var c = "http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet";
|
|
790
841
|
var d = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet";
|
|
791
842
|
var e = "http://purl.oclc.org/ooxml/officeDocument/relationships/drawing";
|
|
792
843
|
var f = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing";
|
|
793
844
|
switch (a) {
|
|
794
845
|
case c:
|
|
795
|
-
var g = this.
|
|
846
|
+
var g = this._ak.tryGetValue(d, b);
|
|
796
847
|
b = g.p1;
|
|
797
848
|
break;
|
|
798
849
|
case e:
|
|
799
|
-
var h = this.
|
|
850
|
+
var h = this._ak.tryGetValue(f, b);
|
|
800
851
|
b = h.p1;
|
|
801
852
|
break;
|
|
802
853
|
}
|
|
803
854
|
}
|
|
804
855
|
return b;
|
|
805
856
|
};
|
|
806
|
-
OfficeDocumentManager.prototype.
|
|
857
|
+
OfficeDocumentManager.prototype._ag = function (a) {
|
|
807
858
|
var e_6, _0;
|
|
808
859
|
try {
|
|
809
|
-
for (var _1 = __values(fromEnum(this.
|
|
860
|
+
for (var _1 = __values(fromEnum(this._am())), _2 = _1.next(); !_2.done; _2 = _1.next()) {
|
|
810
861
|
var b = _2.value;
|
|
811
862
|
if (b.id == a) {
|
|
812
863
|
return false;
|
|
@@ -828,22 +879,22 @@ var OfficeDocumentManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
828
879
|
}
|
|
829
880
|
return true;
|
|
830
881
|
};
|
|
831
|
-
OfficeDocumentManager.prototype.
|
|
882
|
+
OfficeDocumentManager.prototype._r = function (a, b) {
|
|
832
883
|
var _this = this;
|
|
833
884
|
if (b === void 0) {
|
|
834
885
|
b = null;
|
|
835
886
|
}
|
|
836
887
|
if (b == null) {
|
|
837
|
-
b = this.
|
|
888
|
+
b = this._y(a.contentType);
|
|
838
889
|
}
|
|
839
890
|
var c = a.getRelationships();
|
|
840
891
|
var d = a.uri.toString();
|
|
841
|
-
if (this.
|
|
892
|
+
if (this._al.add_1(d) == false) {
|
|
842
893
|
return null;
|
|
843
894
|
}
|
|
844
895
|
var e = null;
|
|
845
896
|
var f = null;
|
|
846
|
-
return WorkItemExtensions.f(Boolean_$type, this.
|
|
897
|
+
return WorkItemExtensions.f(Boolean_$type, this._s(a, b, c, false), function (g) {
|
|
847
898
|
var h = WorkItemExtensions.m(Boolean_$type, g);
|
|
848
899
|
return WorkItemExtensions.a(WorkItemExtensions.c(Async.g((b != null), function () {
|
|
849
900
|
var i = _this._c;
|
|
@@ -855,13 +906,13 @@ var OfficeDocumentManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
855
906
|
});
|
|
856
907
|
}, function () { return _this._c = i; });
|
|
857
908
|
}, function () {
|
|
858
|
-
_this.
|
|
909
|
+
_this._bk(a);
|
|
859
910
|
return null;
|
|
860
911
|
}), function () {
|
|
861
912
|
if (e != null) {
|
|
862
|
-
_this.
|
|
913
|
+
_this._ai.item(d, e);
|
|
863
914
|
}
|
|
864
|
-
return Async.g(h, function () { return _this.
|
|
915
|
+
return Async.g(h, function () { return _this._s(a, b, c, true); });
|
|
865
916
|
}), function () {
|
|
866
917
|
if (f != null) {
|
|
867
918
|
f.q();
|
|
@@ -869,24 +920,24 @@ var OfficeDocumentManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
869
920
|
});
|
|
870
921
|
});
|
|
871
922
|
};
|
|
872
|
-
OfficeDocumentManager.prototype.
|
|
923
|
+
OfficeDocumentManager.prototype._s = function (a, b, c, d) {
|
|
873
924
|
var _this = this;
|
|
874
925
|
var e = false;
|
|
875
926
|
return WorkItemExtensions.g(Boolean_$type, Async.h(function () {
|
|
876
927
|
if (a != null) {
|
|
877
|
-
_this.
|
|
928
|
+
_this._an.h(a);
|
|
878
929
|
}
|
|
879
|
-
var f = _this.
|
|
930
|
+
var f = _this._bo(b, c);
|
|
880
931
|
c = f.p1;
|
|
881
932
|
return Async.d(IPackageRelationship_$type, c, function (g) {
|
|
882
|
-
if (g.relationshipType == _this.
|
|
933
|
+
if (g.relationshipType == _this._a6()) {
|
|
883
934
|
return null;
|
|
884
935
|
}
|
|
885
936
|
switch (g.targetMode) {
|
|
886
937
|
case 0:
|
|
887
938
|
{
|
|
888
939
|
if (b != null) {
|
|
889
|
-
var h = _this.
|
|
940
|
+
var h = _this._z(g.relationshipType);
|
|
890
941
|
var i = h != null && b.i(h);
|
|
891
942
|
if (d != i) {
|
|
892
943
|
e = true;
|
|
@@ -903,13 +954,13 @@ var OfficeDocumentManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
903
954
|
l = b.f(k, g);
|
|
904
955
|
}
|
|
905
956
|
if (l == null && k != null && k.contentType == "application/xml") {
|
|
906
|
-
var m = _this.
|
|
957
|
+
var m = _this._z(g.relationshipType);
|
|
907
958
|
if (m != null && m.m != k.contentType) {
|
|
908
959
|
k = new OverrideContentTypePart(k, m.m);
|
|
909
960
|
}
|
|
910
961
|
l = m;
|
|
911
962
|
}
|
|
912
|
-
return _this.
|
|
963
|
+
return _this._r(k, l);
|
|
913
964
|
}
|
|
914
965
|
case 1: break;
|
|
915
966
|
default: break;
|
|
@@ -918,11 +969,11 @@ var OfficeDocumentManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
918
969
|
});
|
|
919
970
|
}, function () {
|
|
920
971
|
if (a != null) {
|
|
921
|
-
_this.
|
|
972
|
+
_this._an.e();
|
|
922
973
|
}
|
|
923
974
|
}), function () { return e; });
|
|
924
975
|
};
|
|
925
|
-
OfficeDocumentManager.prototype.
|
|
976
|
+
OfficeDocumentManager.prototype._bo = function (a, b) {
|
|
926
977
|
var e_7, _0;
|
|
927
978
|
if (a == null) {
|
|
928
979
|
return {
|
|
@@ -939,7 +990,7 @@ var OfficeDocumentManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
939
990
|
try {
|
|
940
991
|
for (var _1 = __values(fromEnum(c)), _2 = _1.next(); !_2.done; _2 = _1.next()) {
|
|
941
992
|
var e = _2.value;
|
|
942
|
-
d.addItem(e.key.o(this.
|
|
993
|
+
d.addItem(e.key.o(this._ab), e.value);
|
|
943
994
|
}
|
|
944
995
|
}
|
|
945
996
|
catch (e_7_1) {
|
|
@@ -984,23 +1035,23 @@ var OfficeDocumentManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
984
1035
|
enumerable: false,
|
|
985
1036
|
configurable: true
|
|
986
1037
|
});
|
|
987
|
-
Object.defineProperty(OfficeDocumentManager.prototype, "
|
|
1038
|
+
Object.defineProperty(OfficeDocumentManager.prototype, "_ab", {
|
|
988
1039
|
get: function () {
|
|
989
|
-
return this.
|
|
1040
|
+
return this._ar.getValueOrDefault1(0);
|
|
990
1041
|
},
|
|
991
1042
|
enumerable: false,
|
|
992
1043
|
configurable: true
|
|
993
1044
|
});
|
|
994
|
-
Object.defineProperty(OfficeDocumentManager.prototype, "
|
|
1045
|
+
Object.defineProperty(OfficeDocumentManager.prototype, "_ae", {
|
|
995
1046
|
get: function () {
|
|
996
|
-
return this.
|
|
1047
|
+
return this._ad;
|
|
997
1048
|
},
|
|
998
1049
|
enumerable: false,
|
|
999
1050
|
configurable: true
|
|
1000
1051
|
});
|
|
1001
|
-
Object.defineProperty(OfficeDocumentManager.prototype, "
|
|
1052
|
+
Object.defineProperty(OfficeDocumentManager.prototype, "_ap", {
|
|
1002
1053
|
get: function () {
|
|
1003
|
-
return this.
|
|
1054
|
+
return this._an;
|
|
1004
1055
|
},
|
|
1005
1056
|
enumerable: false,
|
|
1006
1057
|
configurable: true
|
|
@@ -1013,8 +1064,8 @@ var OfficeDocumentManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1013
1064
|
configurable: true
|
|
1014
1065
|
});
|
|
1015
1066
|
OfficeDocumentManager.$t = markType(OfficeDocumentManager, 'OfficeDocumentManager', Base.$, [IDisposable_$type]);
|
|
1016
|
-
OfficeDocumentManager.
|
|
1017
|
-
OfficeDocumentManager.
|
|
1067
|
+
OfficeDocumentManager._bb = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink";
|
|
1068
|
+
OfficeDocumentManager._ba = "http://purl.oclc.org/ooxml/officeDocument/relationships/hyperlink";
|
|
1018
1069
|
return OfficeDocumentManager;
|
|
1019
1070
|
}(Base));
|
|
1020
1071
|
export { OfficeDocumentManager };
|
|
@@ -1075,7 +1126,7 @@ var QualifiedNameInfo = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1075
1126
|
if (a == null) {
|
|
1076
1127
|
return QualifiedNameInfo.d(this.g, this.f);
|
|
1077
1128
|
}
|
|
1078
|
-
return QualifiedNameInfo.d(a.
|
|
1129
|
+
return QualifiedNameInfo.d(a._bd(this.g), this.f);
|
|
1079
1130
|
};
|
|
1080
1131
|
QualifiedNameInfo.prototype.i = function (a, b, c) {
|
|
1081
1132
|
if (a == stringEmpty()) {
|
|
@@ -1092,7 +1143,7 @@ var QualifiedNameInfo = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1092
1143
|
if (a == null) {
|
|
1093
1144
|
return this;
|
|
1094
1145
|
}
|
|
1095
|
-
return new QualifiedNameInfo(1, this.h, a.
|
|
1146
|
+
return new QualifiedNameInfo(1, this.h, a._bd(this.g), this.f);
|
|
1096
1147
|
};
|
|
1097
1148
|
Object.defineProperty(QualifiedNameInfo.prototype, "c", {
|
|
1098
1149
|
get: function () {
|
|
@@ -2037,7 +2088,7 @@ var XmlWriteManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2037
2088
|
return _this;
|
|
2038
2089
|
}
|
|
2039
2090
|
XmlWriteManager.prototype.d = function (a) {
|
|
2040
|
-
return this.w.a(a.s(this.a.
|
|
2091
|
+
return this.w.a(a.s(this.a._ab));
|
|
2041
2092
|
};
|
|
2042
2093
|
XmlWriteManager.prototype.e = function (a, b, c, d) {
|
|
2043
2094
|
var e = a.lastIndexOf("/");
|
|
@@ -2053,10 +2104,10 @@ var XmlWriteManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2053
2104
|
}
|
|
2054
2105
|
c = a.substr(e + 1);
|
|
2055
2106
|
d = a.substr(0, e);
|
|
2056
|
-
if (this.a.
|
|
2057
|
-
var f = this.a.
|
|
2107
|
+
if (this.a._ab != 1) {
|
|
2108
|
+
var f = this.a._w(d);
|
|
2058
2109
|
if (f != null) {
|
|
2059
|
-
d = f.s(this.a.
|
|
2110
|
+
d = f.s(this.a._ab);
|
|
2060
2111
|
}
|
|
2061
2112
|
}
|
|
2062
2113
|
b = this.w.a(d);
|
|
@@ -2227,17 +2278,17 @@ var XmlWriteManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2227
2278
|
if (b === void 0) {
|
|
2228
2279
|
b = false;
|
|
2229
2280
|
}
|
|
2230
|
-
this.m(a.t, a.s(this.a.
|
|
2281
|
+
this.m(a.t, a.s(this.a._ab), b);
|
|
2231
2282
|
};
|
|
2232
2283
|
XmlWriteManager.prototype.m = function (a, b, c) {
|
|
2233
2284
|
if (c === void 0) {
|
|
2234
2285
|
c = false;
|
|
2235
2286
|
}
|
|
2236
2287
|
var d = b;
|
|
2237
|
-
if (this.a.
|
|
2238
|
-
var e = this.a.
|
|
2288
|
+
if (this.a._ab != 1) {
|
|
2289
|
+
var e = this.a._w(b);
|
|
2239
2290
|
if (e != null) {
|
|
2240
|
-
d = e.s(this.a.
|
|
2291
|
+
d = e.s(this.a._ab);
|
|
2241
2292
|
}
|
|
2242
2293
|
}
|
|
2243
2294
|
this.w.j("xmlns", a, "http://www.w3.org/2000/xmlns/", d);
|
|
@@ -2469,6 +2520,70 @@ var ImagePartManagerBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2469
2520
|
return ImagePartManagerBase;
|
|
2470
2521
|
}(PartManagerBase));
|
|
2471
2522
|
export { ImagePartManagerBase };
|
|
2523
|
+
/**
|
|
2524
|
+
* @hidden
|
|
2525
|
+
*/
|
|
2526
|
+
var BmpPartManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
2527
|
+
__extends(BmpPartManager, _super);
|
|
2528
|
+
function BmpPartManager(a) {
|
|
2529
|
+
var _this = _super.call(this) || this;
|
|
2530
|
+
_this.aa = false;
|
|
2531
|
+
_this.aa = a;
|
|
2532
|
+
return _this;
|
|
2533
|
+
}
|
|
2534
|
+
BmpPartManager.prototype.get_s = function () {
|
|
2535
|
+
return this.aa ? "/xl/media/image.dib" : "/xl/media/image.bmp";
|
|
2536
|
+
};
|
|
2537
|
+
Object.defineProperty(BmpPartManager.prototype, "s", {
|
|
2538
|
+
get: function () {
|
|
2539
|
+
return this.get_s();
|
|
2540
|
+
},
|
|
2541
|
+
enumerable: false,
|
|
2542
|
+
configurable: true
|
|
2543
|
+
});
|
|
2544
|
+
BmpPartManager.prototype.get_t = function () {
|
|
2545
|
+
return this.aa ? "/ppt/media/image.dib" : "/ppt/media/image.bmp";
|
|
2546
|
+
};
|
|
2547
|
+
Object.defineProperty(BmpPartManager.prototype, "t", {
|
|
2548
|
+
get: function () {
|
|
2549
|
+
return this.get_t();
|
|
2550
|
+
},
|
|
2551
|
+
enumerable: false,
|
|
2552
|
+
configurable: true
|
|
2553
|
+
});
|
|
2554
|
+
BmpPartManager.prototype.get_u = function () {
|
|
2555
|
+
return this.aa ? "/word/media/image.dib" : "/word/media/image.bmp";
|
|
2556
|
+
};
|
|
2557
|
+
Object.defineProperty(BmpPartManager.prototype, "u", {
|
|
2558
|
+
get: function () {
|
|
2559
|
+
return this.get_u();
|
|
2560
|
+
},
|
|
2561
|
+
enumerable: false,
|
|
2562
|
+
configurable: true
|
|
2563
|
+
});
|
|
2564
|
+
BmpPartManager.prototype.get_m = function () {
|
|
2565
|
+
return "image/bmp";
|
|
2566
|
+
};
|
|
2567
|
+
Object.defineProperty(BmpPartManager.prototype, "m", {
|
|
2568
|
+
get: function () {
|
|
2569
|
+
return this.get_m();
|
|
2570
|
+
},
|
|
2571
|
+
enumerable: false,
|
|
2572
|
+
configurable: true
|
|
2573
|
+
});
|
|
2574
|
+
BmpPartManager.prototype.r = function (a) {
|
|
2575
|
+
var b = IOPath.getExtension(a);
|
|
2576
|
+
if (b.toLowerCase() == ".dib") {
|
|
2577
|
+
return ImageFormat.b;
|
|
2578
|
+
}
|
|
2579
|
+
return ImageFormat.a;
|
|
2580
|
+
};
|
|
2581
|
+
BmpPartManager.$t = markType(BmpPartManager, 'BmpPartManager', ImagePartManagerBase.$);
|
|
2582
|
+
BmpPartManager.y = new BmpPartManager(false);
|
|
2583
|
+
BmpPartManager.z = new BmpPartManager(true);
|
|
2584
|
+
return BmpPartManager;
|
|
2585
|
+
}(ImagePartManagerBase));
|
|
2586
|
+
export { BmpPartManager };
|
|
2472
2587
|
/**
|
|
2473
2588
|
* @hidden
|
|
2474
2589
|
*/
|
|
@@ -2540,7 +2655,7 @@ var XmlPartManagerBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2540
2655
|
return (this.am[a] || this.v);
|
|
2541
2656
|
};
|
|
2542
2657
|
XmlPartManagerBase.prototype.z = function (a) {
|
|
2543
|
-
this.d.
|
|
2658
|
+
this.d._bl();
|
|
2544
2659
|
return 0;
|
|
2545
2660
|
};
|
|
2546
2661
|
XmlPartManagerBase.prototype.av = function (a) {
|
|
@@ -2623,7 +2738,7 @@ var XmlPartManagerBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2623
2738
|
if (stringIsNullOrEmpty(e)) {
|
|
2624
2739
|
continue;
|
|
2625
2740
|
}
|
|
2626
|
-
if (this.d.
|
|
2741
|
+
if (this.d._af(e) == false) {
|
|
2627
2742
|
return false;
|
|
2628
2743
|
}
|
|
2629
2744
|
}
|
|
@@ -2695,6 +2810,62 @@ var XmlPartManagerBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2695
2810
|
return XmlPartManagerBase;
|
|
2696
2811
|
}(PartManagerBase));
|
|
2697
2812
|
export { XmlPartManagerBase };
|
|
2813
|
+
/**
|
|
2814
|
+
* @hidden
|
|
2815
|
+
*/
|
|
2816
|
+
var EmfPartManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
2817
|
+
__extends(EmfPartManager, _super);
|
|
2818
|
+
function EmfPartManager() {
|
|
2819
|
+
return _super.call(this) || this;
|
|
2820
|
+
}
|
|
2821
|
+
EmfPartManager.prototype.get_s = function () {
|
|
2822
|
+
return "/xl/media/image.emf";
|
|
2823
|
+
};
|
|
2824
|
+
Object.defineProperty(EmfPartManager.prototype, "s", {
|
|
2825
|
+
get: function () {
|
|
2826
|
+
return this.get_s();
|
|
2827
|
+
},
|
|
2828
|
+
enumerable: false,
|
|
2829
|
+
configurable: true
|
|
2830
|
+
});
|
|
2831
|
+
EmfPartManager.prototype.get_t = function () {
|
|
2832
|
+
return "/ppt/media/image.emf";
|
|
2833
|
+
};
|
|
2834
|
+
Object.defineProperty(EmfPartManager.prototype, "t", {
|
|
2835
|
+
get: function () {
|
|
2836
|
+
return this.get_t();
|
|
2837
|
+
},
|
|
2838
|
+
enumerable: false,
|
|
2839
|
+
configurable: true
|
|
2840
|
+
});
|
|
2841
|
+
EmfPartManager.prototype.get_u = function () {
|
|
2842
|
+
return "/word/media/image.emf";
|
|
2843
|
+
};
|
|
2844
|
+
Object.defineProperty(EmfPartManager.prototype, "u", {
|
|
2845
|
+
get: function () {
|
|
2846
|
+
return this.get_u();
|
|
2847
|
+
},
|
|
2848
|
+
enumerable: false,
|
|
2849
|
+
configurable: true
|
|
2850
|
+
});
|
|
2851
|
+
EmfPartManager.prototype.get_m = function () {
|
|
2852
|
+
return "image/x-emf";
|
|
2853
|
+
};
|
|
2854
|
+
Object.defineProperty(EmfPartManager.prototype, "m", {
|
|
2855
|
+
get: function () {
|
|
2856
|
+
return this.get_m();
|
|
2857
|
+
},
|
|
2858
|
+
enumerable: false,
|
|
2859
|
+
configurable: true
|
|
2860
|
+
});
|
|
2861
|
+
EmfPartManager.prototype.r = function (a) {
|
|
2862
|
+
return ImageFormat.c;
|
|
2863
|
+
};
|
|
2864
|
+
EmfPartManager.$t = markType(EmfPartManager, 'EmfPartManager', ImagePartManagerBase.$);
|
|
2865
|
+
EmfPartManager.y = new EmfPartManager();
|
|
2866
|
+
return EmfPartManager;
|
|
2867
|
+
}(ImagePartManagerBase));
|
|
2868
|
+
export { EmfPartManager };
|
|
2698
2869
|
/**
|
|
2699
2870
|
* @hidden
|
|
2700
2871
|
*/
|
|
@@ -2728,7 +2899,7 @@ var OfficeExtensibilityPartManagerBase = /** @class */ /*@__PURE__*/ (function (
|
|
|
2728
2899
|
return new RoundTripDataPartManager(a.contentType, c.toString(), b.relationshipType, this.d);
|
|
2729
2900
|
};
|
|
2730
2901
|
OfficeExtensibilityPartManagerBase.prototype.a = function () {
|
|
2731
|
-
var a = RoundTripDataPartManager.
|
|
2902
|
+
var a = RoundTripDataPartManager.s(this.d, this.l, this.m);
|
|
2732
2903
|
this.a3 = a;
|
|
2733
2904
|
return WorkItem.g(Base.$, a);
|
|
2734
2905
|
};
|
|
@@ -2737,7 +2908,7 @@ var OfficeExtensibilityPartManagerBase = /** @class */ /*@__PURE__*/ (function (
|
|
|
2737
2908
|
if (b == null) {
|
|
2738
2909
|
return null;
|
|
2739
2910
|
}
|
|
2740
|
-
return RoundTripDataPartManager.
|
|
2911
|
+
return RoundTripDataPartManager.t(b, this.d, this.l, true);
|
|
2741
2912
|
};
|
|
2742
2913
|
OfficeExtensibilityPartManagerBase.prototype.u = function (a) {
|
|
2743
2914
|
throw new NotImplementedException(0);
|
|
@@ -2826,6 +2997,62 @@ var Office2010ExtensibilityPartManager = /** @class */ /*@__PURE__*/ (function (
|
|
|
2826
2997
|
return Office2010ExtensibilityPartManager;
|
|
2827
2998
|
}(OfficeExtensibilityPartManagerBase));
|
|
2828
2999
|
export { Office2010ExtensibilityPartManager };
|
|
3000
|
+
/**
|
|
3001
|
+
* @hidden
|
|
3002
|
+
*/
|
|
3003
|
+
var GifPartManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
3004
|
+
__extends(GifPartManager, _super);
|
|
3005
|
+
function GifPartManager() {
|
|
3006
|
+
return _super.call(this) || this;
|
|
3007
|
+
}
|
|
3008
|
+
GifPartManager.prototype.get_s = function () {
|
|
3009
|
+
return "/xl/media/image.gif";
|
|
3010
|
+
};
|
|
3011
|
+
Object.defineProperty(GifPartManager.prototype, "s", {
|
|
3012
|
+
get: function () {
|
|
3013
|
+
return this.get_s();
|
|
3014
|
+
},
|
|
3015
|
+
enumerable: false,
|
|
3016
|
+
configurable: true
|
|
3017
|
+
});
|
|
3018
|
+
GifPartManager.prototype.get_t = function () {
|
|
3019
|
+
return "/ppt/media/image.gif";
|
|
3020
|
+
};
|
|
3021
|
+
Object.defineProperty(GifPartManager.prototype, "t", {
|
|
3022
|
+
get: function () {
|
|
3023
|
+
return this.get_t();
|
|
3024
|
+
},
|
|
3025
|
+
enumerable: false,
|
|
3026
|
+
configurable: true
|
|
3027
|
+
});
|
|
3028
|
+
GifPartManager.prototype.get_u = function () {
|
|
3029
|
+
return "/word/media/image.gif";
|
|
3030
|
+
};
|
|
3031
|
+
Object.defineProperty(GifPartManager.prototype, "u", {
|
|
3032
|
+
get: function () {
|
|
3033
|
+
return this.get_u();
|
|
3034
|
+
},
|
|
3035
|
+
enumerable: false,
|
|
3036
|
+
configurable: true
|
|
3037
|
+
});
|
|
3038
|
+
GifPartManager.prototype.get_m = function () {
|
|
3039
|
+
return "image/gif";
|
|
3040
|
+
};
|
|
3041
|
+
Object.defineProperty(GifPartManager.prototype, "m", {
|
|
3042
|
+
get: function () {
|
|
3043
|
+
return this.get_m();
|
|
3044
|
+
},
|
|
3045
|
+
enumerable: false,
|
|
3046
|
+
configurable: true
|
|
3047
|
+
});
|
|
3048
|
+
GifPartManager.prototype.r = function (a) {
|
|
3049
|
+
return ImageFormat.e;
|
|
3050
|
+
};
|
|
3051
|
+
GifPartManager.$t = markType(GifPartManager, 'GifPartManager', ImagePartManagerBase.$);
|
|
3052
|
+
GifPartManager.y = new GifPartManager();
|
|
3053
|
+
return GifPartManager;
|
|
3054
|
+
}(ImagePartManagerBase));
|
|
3055
|
+
export { GifPartManager };
|
|
2829
3056
|
/**
|
|
2830
3057
|
* @hidden
|
|
2831
3058
|
*/
|
|
@@ -2882,6 +3109,62 @@ var JpegPartManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2882
3109
|
return JpegPartManager;
|
|
2883
3110
|
}(ImagePartManagerBase));
|
|
2884
3111
|
export { JpegPartManager };
|
|
3112
|
+
/**
|
|
3113
|
+
* @hidden
|
|
3114
|
+
*/
|
|
3115
|
+
var PngPartManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
3116
|
+
__extends(PngPartManager, _super);
|
|
3117
|
+
function PngPartManager() {
|
|
3118
|
+
return _super.call(this) || this;
|
|
3119
|
+
}
|
|
3120
|
+
PngPartManager.prototype.get_s = function () {
|
|
3121
|
+
return "/xl/media/image.png";
|
|
3122
|
+
};
|
|
3123
|
+
Object.defineProperty(PngPartManager.prototype, "s", {
|
|
3124
|
+
get: function () {
|
|
3125
|
+
return this.get_s();
|
|
3126
|
+
},
|
|
3127
|
+
enumerable: false,
|
|
3128
|
+
configurable: true
|
|
3129
|
+
});
|
|
3130
|
+
PngPartManager.prototype.get_t = function () {
|
|
3131
|
+
return "/ppt/media/image.png";
|
|
3132
|
+
};
|
|
3133
|
+
Object.defineProperty(PngPartManager.prototype, "t", {
|
|
3134
|
+
get: function () {
|
|
3135
|
+
return this.get_t();
|
|
3136
|
+
},
|
|
3137
|
+
enumerable: false,
|
|
3138
|
+
configurable: true
|
|
3139
|
+
});
|
|
3140
|
+
PngPartManager.prototype.get_u = function () {
|
|
3141
|
+
return "/word/media/image.png";
|
|
3142
|
+
};
|
|
3143
|
+
Object.defineProperty(PngPartManager.prototype, "u", {
|
|
3144
|
+
get: function () {
|
|
3145
|
+
return this.get_u();
|
|
3146
|
+
},
|
|
3147
|
+
enumerable: false,
|
|
3148
|
+
configurable: true
|
|
3149
|
+
});
|
|
3150
|
+
PngPartManager.prototype.get_m = function () {
|
|
3151
|
+
return "image/png";
|
|
3152
|
+
};
|
|
3153
|
+
Object.defineProperty(PngPartManager.prototype, "m", {
|
|
3154
|
+
get: function () {
|
|
3155
|
+
return this.get_m();
|
|
3156
|
+
},
|
|
3157
|
+
enumerable: false,
|
|
3158
|
+
configurable: true
|
|
3159
|
+
});
|
|
3160
|
+
PngPartManager.prototype.r = function (a) {
|
|
3161
|
+
return ImageFormat.h;
|
|
3162
|
+
};
|
|
3163
|
+
PngPartManager.$t = markType(PngPartManager, 'PngPartManager', ImagePartManagerBase.$);
|
|
3164
|
+
PngPartManager.y = new PngPartManager();
|
|
3165
|
+
return PngPartManager;
|
|
3166
|
+
}(ImagePartManagerBase));
|
|
3167
|
+
export { PngPartManager };
|
|
2885
3168
|
/**
|
|
2886
3169
|
* @hidden
|
|
2887
3170
|
*/
|
|
@@ -2889,14 +3172,14 @@ var RoundTripDataPartManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2889
3172
|
__extends(RoundTripDataPartManager, _super);
|
|
2890
3173
|
function RoundTripDataPartManager(a, b, c, d) {
|
|
2891
3174
|
var _this = _super.call(this) || this;
|
|
2892
|
-
_this.u = null;
|
|
2893
3175
|
_this.v = null;
|
|
2894
3176
|
_this.w = null;
|
|
2895
|
-
_this.
|
|
2896
|
-
_this.u =
|
|
2897
|
-
_this.v =
|
|
2898
|
-
_this.w =
|
|
2899
|
-
_this.
|
|
3177
|
+
_this.x = null;
|
|
3178
|
+
_this.u = null;
|
|
3179
|
+
_this.v = a;
|
|
3180
|
+
_this.w = b;
|
|
3181
|
+
_this.x = c;
|
|
3182
|
+
_this.u = d;
|
|
2900
3183
|
return _this;
|
|
2901
3184
|
}
|
|
2902
3185
|
RoundTripDataPartManager.prototype.a = function () {
|
|
@@ -2911,13 +3194,13 @@ var RoundTripDataPartManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2911
3194
|
return null;
|
|
2912
3195
|
};
|
|
2913
3196
|
RoundTripDataPartManager.prototype.n = function (a) {
|
|
2914
|
-
return this.
|
|
3197
|
+
return this.w;
|
|
2915
3198
|
};
|
|
2916
3199
|
RoundTripDataPartManager.prototype.o = function (a) {
|
|
2917
|
-
return this.
|
|
3200
|
+
return this.u._a9(a, this.x);
|
|
2918
3201
|
};
|
|
2919
3202
|
RoundTripDataPartManager.prototype.get_m = function () {
|
|
2920
|
-
return this.
|
|
3203
|
+
return this.v;
|
|
2921
3204
|
};
|
|
2922
3205
|
Object.defineProperty(RoundTripDataPartManager.prototype, "m", {
|
|
2923
3206
|
get: function () {
|
|
@@ -2936,27 +3219,31 @@ var RoundTripDataPartManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2936
3219
|
enumerable: false,
|
|
2937
3220
|
configurable: true
|
|
2938
3221
|
});
|
|
3222
|
+
RoundTripDataPartManager.s = function (a, b, c) {
|
|
3223
|
+
return RoundTripDataPartManager.r(a, DocCoreUtils.c(b), c);
|
|
3224
|
+
};
|
|
2939
3225
|
RoundTripDataPartManager.r = function (a, b, c) {
|
|
2940
3226
|
var e_18, _0;
|
|
2941
|
-
var d = new RoundTripControlData(c, a._d.uri.toString(),
|
|
3227
|
+
var d = new RoundTripControlData(c, a._d.uri.toString(), a._ab, b);
|
|
2942
3228
|
var _loop_1 = function (e) {
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
if (f == null) {
|
|
3229
|
+
var f = a._au(e);
|
|
3230
|
+
var g = typeCast(BinaryData.$, f);
|
|
3231
|
+
var h = typeCast(ImageData.$, f);
|
|
3232
|
+
if (g == null && h == null && e.targetMode == 0) {
|
|
2948
3233
|
return "continue";
|
|
2949
3234
|
}
|
|
2950
|
-
var
|
|
2951
|
-
var
|
|
2952
|
-
var
|
|
2953
|
-
d.
|
|
3235
|
+
var i = PackageUtilities.ak(e);
|
|
3236
|
+
var j = a._e(i);
|
|
3237
|
+
var k = PackageUtilities.ak(e).toString();
|
|
3238
|
+
d.d.add(((function () {
|
|
2954
3239
|
var $ret = new RoundTripPartData();
|
|
2955
|
-
$ret.
|
|
2956
|
-
$ret.
|
|
2957
|
-
$ret.
|
|
2958
|
-
$ret.
|
|
2959
|
-
$ret.
|
|
3240
|
+
$ret.c = j.contentType;
|
|
3241
|
+
$ret.e = e.id;
|
|
3242
|
+
$ret.g = e.targetUri;
|
|
3243
|
+
$ret.b = h;
|
|
3244
|
+
$ret.a = g;
|
|
3245
|
+
$ret.f = e.relationshipType;
|
|
3246
|
+
$ret.d = i.toString();
|
|
2960
3247
|
return $ret;
|
|
2961
3248
|
})()));
|
|
2962
3249
|
};
|
|
@@ -2981,19 +3268,60 @@ var RoundTripDataPartManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2981
3268
|
}
|
|
2982
3269
|
return d;
|
|
2983
3270
|
};
|
|
2984
|
-
RoundTripDataPartManager.
|
|
3271
|
+
RoundTripDataPartManager.t = function (a, b, c, d) {
|
|
2985
3272
|
if (d === void 0) {
|
|
2986
3273
|
d = false;
|
|
2987
3274
|
}
|
|
2988
|
-
|
|
3275
|
+
var e = [];
|
|
3276
|
+
for (var _0 = 4; _0 < arguments.length; _0++) {
|
|
3277
|
+
e[_0 - 4] = arguments[_0];
|
|
3278
|
+
}
|
|
3279
|
+
return WorkItemExtensions.a(Async.d(RoundTripPartData.$, a.d, function (f) {
|
|
3280
|
+
if (f.b != null) {
|
|
3281
|
+
return b._j(f.b, f.e);
|
|
3282
|
+
}
|
|
3283
|
+
else if (f.a == null) {
|
|
3284
|
+
b._a1(f.g, f.f, f.e);
|
|
3285
|
+
return null;
|
|
3286
|
+
}
|
|
2989
3287
|
if (d) {
|
|
2990
|
-
var
|
|
2991
|
-
var
|
|
2992
|
-
return b.
|
|
3288
|
+
var g = ((function (h) { return h != null ? h : f.f; })(b._a9(b._ab, f.f)));
|
|
3289
|
+
var h = new RoundTripDataPartManager(f.c, f.d, g, b);
|
|
3290
|
+
return b._l(h, f.a, f.e);
|
|
2993
3291
|
}
|
|
2994
|
-
return WorkItemExtensions.e(Tuple$2.$.specialize(Uri.$, String_$type), b.
|
|
3292
|
+
return WorkItemExtensions.e(Tuple$2.$.specialize(Uri.$, String_$type), b._n(f.c, f.d, f.a, f.e), function (i) {
|
|
2995
3293
|
});
|
|
2996
|
-
}), function () {
|
|
3294
|
+
}), function () {
|
|
3295
|
+
var f = a.a;
|
|
3296
|
+
if (e != null && e.length > 0 && b._ab != a.b) {
|
|
3297
|
+
{
|
|
3298
|
+
var g = new MemoryStream(2, f);
|
|
3299
|
+
try {
|
|
3300
|
+
{
|
|
3301
|
+
var h = new StreamReader(g);
|
|
3302
|
+
try {
|
|
3303
|
+
var i = h.h();
|
|
3304
|
+
for (var j = 0; j < e.length; j++) {
|
|
3305
|
+
i = stringReplace(i, e[j].s(a.b), e[j].s(b._ab));
|
|
3306
|
+
}
|
|
3307
|
+
f = Encoding.uTF8.getBytes1(i);
|
|
3308
|
+
}
|
|
3309
|
+
finally {
|
|
3310
|
+
if (h != null) {
|
|
3311
|
+
h.dispose();
|
|
3312
|
+
}
|
|
3313
|
+
}
|
|
3314
|
+
}
|
|
3315
|
+
}
|
|
3316
|
+
finally {
|
|
3317
|
+
if (g != null) {
|
|
3318
|
+
g.dispose();
|
|
3319
|
+
}
|
|
3320
|
+
}
|
|
3321
|
+
}
|
|
3322
|
+
}
|
|
3323
|
+
c.write(f, 0, f.length);
|
|
3324
|
+
});
|
|
2997
3325
|
};
|
|
2998
3326
|
RoundTripDataPartManager.$t = markType(RoundTripDataPartManager, 'RoundTripDataPartManager', PartManagerBase.$);
|
|
2999
3327
|
return RoundTripDataPartManager;
|
|
@@ -3054,7 +3382,7 @@ var ThemePartManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3054
3382
|
configurable: true
|
|
3055
3383
|
});
|
|
3056
3384
|
ThemePartManager.prototype.a = function () {
|
|
3057
|
-
this.d.
|
|
3385
|
+
this.d._ah = true;
|
|
3058
3386
|
return _super.prototype.a.call(this);
|
|
3059
3387
|
};
|
|
3060
3388
|
ThemePartManager.$t = markType(ThemePartManager, 'ThemePartManager', XmlPartManagerBase.$);
|
|
@@ -3064,6 +3392,118 @@ var ThemePartManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3064
3392
|
return ThemePartManager;
|
|
3065
3393
|
}(XmlPartManagerBase));
|
|
3066
3394
|
export { ThemePartManager };
|
|
3395
|
+
/**
|
|
3396
|
+
* @hidden
|
|
3397
|
+
*/
|
|
3398
|
+
var TiffPartManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
3399
|
+
__extends(TiffPartManager, _super);
|
|
3400
|
+
function TiffPartManager() {
|
|
3401
|
+
return _super.call(this) || this;
|
|
3402
|
+
}
|
|
3403
|
+
TiffPartManager.prototype.get_s = function () {
|
|
3404
|
+
return "/xl/media/image.tiff";
|
|
3405
|
+
};
|
|
3406
|
+
Object.defineProperty(TiffPartManager.prototype, "s", {
|
|
3407
|
+
get: function () {
|
|
3408
|
+
return this.get_s();
|
|
3409
|
+
},
|
|
3410
|
+
enumerable: false,
|
|
3411
|
+
configurable: true
|
|
3412
|
+
});
|
|
3413
|
+
TiffPartManager.prototype.get_t = function () {
|
|
3414
|
+
return "/ppt/media/image.tiff";
|
|
3415
|
+
};
|
|
3416
|
+
Object.defineProperty(TiffPartManager.prototype, "t", {
|
|
3417
|
+
get: function () {
|
|
3418
|
+
return this.get_t();
|
|
3419
|
+
},
|
|
3420
|
+
enumerable: false,
|
|
3421
|
+
configurable: true
|
|
3422
|
+
});
|
|
3423
|
+
TiffPartManager.prototype.get_u = function () {
|
|
3424
|
+
return "/word/media/image.tiff";
|
|
3425
|
+
};
|
|
3426
|
+
Object.defineProperty(TiffPartManager.prototype, "u", {
|
|
3427
|
+
get: function () {
|
|
3428
|
+
return this.get_u();
|
|
3429
|
+
},
|
|
3430
|
+
enumerable: false,
|
|
3431
|
+
configurable: true
|
|
3432
|
+
});
|
|
3433
|
+
TiffPartManager.prototype.get_m = function () {
|
|
3434
|
+
return "image/tiff";
|
|
3435
|
+
};
|
|
3436
|
+
Object.defineProperty(TiffPartManager.prototype, "m", {
|
|
3437
|
+
get: function () {
|
|
3438
|
+
return this.get_m();
|
|
3439
|
+
},
|
|
3440
|
+
enumerable: false,
|
|
3441
|
+
configurable: true
|
|
3442
|
+
});
|
|
3443
|
+
TiffPartManager.prototype.r = function (a) {
|
|
3444
|
+
return ImageFormat.i;
|
|
3445
|
+
};
|
|
3446
|
+
TiffPartManager.$t = markType(TiffPartManager, 'TiffPartManager', ImagePartManagerBase.$);
|
|
3447
|
+
TiffPartManager.y = new TiffPartManager();
|
|
3448
|
+
return TiffPartManager;
|
|
3449
|
+
}(ImagePartManagerBase));
|
|
3450
|
+
export { TiffPartManager };
|
|
3451
|
+
/**
|
|
3452
|
+
* @hidden
|
|
3453
|
+
*/
|
|
3454
|
+
var WmfPartManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
3455
|
+
__extends(WmfPartManager, _super);
|
|
3456
|
+
function WmfPartManager() {
|
|
3457
|
+
return _super.call(this) || this;
|
|
3458
|
+
}
|
|
3459
|
+
WmfPartManager.prototype.get_s = function () {
|
|
3460
|
+
return "/xl/media/image.wmf";
|
|
3461
|
+
};
|
|
3462
|
+
Object.defineProperty(WmfPartManager.prototype, "s", {
|
|
3463
|
+
get: function () {
|
|
3464
|
+
return this.get_s();
|
|
3465
|
+
},
|
|
3466
|
+
enumerable: false,
|
|
3467
|
+
configurable: true
|
|
3468
|
+
});
|
|
3469
|
+
WmfPartManager.prototype.get_t = function () {
|
|
3470
|
+
return "/ppt/media/image.wmf";
|
|
3471
|
+
};
|
|
3472
|
+
Object.defineProperty(WmfPartManager.prototype, "t", {
|
|
3473
|
+
get: function () {
|
|
3474
|
+
return this.get_t();
|
|
3475
|
+
},
|
|
3476
|
+
enumerable: false,
|
|
3477
|
+
configurable: true
|
|
3478
|
+
});
|
|
3479
|
+
WmfPartManager.prototype.get_u = function () {
|
|
3480
|
+
return "/word/media/image.wmf";
|
|
3481
|
+
};
|
|
3482
|
+
Object.defineProperty(WmfPartManager.prototype, "u", {
|
|
3483
|
+
get: function () {
|
|
3484
|
+
return this.get_u();
|
|
3485
|
+
},
|
|
3486
|
+
enumerable: false,
|
|
3487
|
+
configurable: true
|
|
3488
|
+
});
|
|
3489
|
+
WmfPartManager.prototype.get_m = function () {
|
|
3490
|
+
return "image/x-wmf";
|
|
3491
|
+
};
|
|
3492
|
+
Object.defineProperty(WmfPartManager.prototype, "m", {
|
|
3493
|
+
get: function () {
|
|
3494
|
+
return this.get_m();
|
|
3495
|
+
},
|
|
3496
|
+
enumerable: false,
|
|
3497
|
+
configurable: true
|
|
3498
|
+
});
|
|
3499
|
+
WmfPartManager.prototype.r = function (a) {
|
|
3500
|
+
return ImageFormat.j;
|
|
3501
|
+
};
|
|
3502
|
+
WmfPartManager.$t = markType(WmfPartManager, 'WmfPartManager', ImagePartManagerBase.$);
|
|
3503
|
+
WmfPartManager.y = new WmfPartManager();
|
|
3504
|
+
return WmfPartManager;
|
|
3505
|
+
}(ImagePartManagerBase));
|
|
3506
|
+
export { WmfPartManager };
|
|
3067
3507
|
/**
|
|
3068
3508
|
* @hidden
|
|
3069
3509
|
*/
|
|
@@ -3216,7 +3656,7 @@ var XmlNamespaceDefinitionBase = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
3216
3656
|
};
|
|
3217
3657
|
XmlNamespaceDefinitionBase.ac = function (a, b, c, d) {
|
|
3218
3658
|
a.ad.p(b, c);
|
|
3219
|
-
var e = new QualifiedNameInfo(1, DcTerms.ao.t, DcTerms.ao.s(a.d.
|
|
3659
|
+
var e = new QualifiedNameInfo(1, DcTerms.ao.t, DcTerms.ao.s(a.d._ab), XmlNamespaceDefinitionBase.r("http://purl.org/dc/terms/W3CDTF"));
|
|
3220
3660
|
a.ad.h(XmlSchemaInstance.ar, e.toString());
|
|
3221
3661
|
a.ad.u(PackageUtilities.k(d));
|
|
3222
3662
|
};
|
|
@@ -3400,7 +3840,7 @@ var CoreProperties = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3400
3840
|
};
|
|
3401
3841
|
CoreProperties.a7 = function (a) {
|
|
3402
3842
|
a.ad.p(CoreProperties.as, "cp");
|
|
3403
|
-
var b = a.d.
|
|
3843
|
+
var b = a.d._ab;
|
|
3404
3844
|
a.ad.l(CoreProperties.ao);
|
|
3405
3845
|
a.ad.l(DcElements.ao);
|
|
3406
3846
|
a.ad.l(DcTerms.ao);
|
|
@@ -4156,7 +4596,7 @@ var DrawingMLMain = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
4156
4596
|
c = new ST_FixedPercentage();
|
|
4157
4597
|
}
|
|
4158
4598
|
else {
|
|
4159
|
-
c = ST_FixedPercentage.c(d, a.d.
|
|
4599
|
+
c = ST_FixedPercentage.c(d, a.d._ab);
|
|
4160
4600
|
}
|
|
4161
4601
|
return {
|
|
4162
4602
|
p2: c
|
|
@@ -4165,7 +4605,7 @@ var DrawingMLMain = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
4165
4605
|
DrawingMLMain.nz = function (a, b, c) {
|
|
4166
4606
|
a.ad.p(b, "a");
|
|
4167
4607
|
var d;
|
|
4168
|
-
d = c.s(a.d.
|
|
4608
|
+
d = c.s(a.d._ab);
|
|
4169
4609
|
a.ad.h("val", d);
|
|
4170
4610
|
};
|
|
4171
4611
|
DrawingMLMain.kz = function (a, b, c, d, e) {
|
|
@@ -4298,7 +4738,7 @@ var DrawingMLMain = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
4298
4738
|
c = new ST_Percentage();
|
|
4299
4739
|
}
|
|
4300
4740
|
else {
|
|
4301
|
-
c = ST_Percentage.d(d, a.d.
|
|
4741
|
+
c = ST_Percentage.d(d, a.d._ab);
|
|
4302
4742
|
}
|
|
4303
4743
|
return {
|
|
4304
4744
|
p2: c
|
|
@@ -4307,7 +4747,7 @@ var DrawingMLMain = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
4307
4747
|
DrawingMLMain.n2 = function (a, b, c) {
|
|
4308
4748
|
a.ad.p(b, "a");
|
|
4309
4749
|
var d;
|
|
4310
|
-
d = c.r(a.d.
|
|
4750
|
+
d = c.r(a.d._ab);
|
|
4311
4751
|
a.ad.h("val", d);
|
|
4312
4752
|
};
|
|
4313
4753
|
DrawingMLMain.k2 = function (a, b, c, d) {
|
|
@@ -4378,7 +4818,7 @@ var DrawingMLMain = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
4378
4818
|
c = new ST_PositiveFixedPercentage();
|
|
4379
4819
|
}
|
|
4380
4820
|
else {
|
|
4381
|
-
c = ST_PositiveFixedPercentage.f(d, a.d.
|
|
4821
|
+
c = ST_PositiveFixedPercentage.f(d, a.d._ab);
|
|
4382
4822
|
}
|
|
4383
4823
|
return {
|
|
4384
4824
|
p2: c
|
|
@@ -4387,7 +4827,7 @@ var DrawingMLMain = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
4387
4827
|
DrawingMLMain.n5 = function (a, b, c) {
|
|
4388
4828
|
a.ad.p(b, "a");
|
|
4389
4829
|
var d;
|
|
4390
|
-
d = c.u(a.d.
|
|
4830
|
+
d = c.u(a.d._ab);
|
|
4391
4831
|
a.ad.h("val", d);
|
|
4392
4832
|
};
|
|
4393
4833
|
DrawingMLMain.k5 = function (a, b, c) {
|
|
@@ -4396,7 +4836,7 @@ var DrawingMLMain = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
4396
4836
|
c = new ST_PositivePercentage();
|
|
4397
4837
|
}
|
|
4398
4838
|
else {
|
|
4399
|
-
c = ST_PositivePercentage.f(d, a.d.
|
|
4839
|
+
c = ST_PositivePercentage.f(d, a.d._ab);
|
|
4400
4840
|
}
|
|
4401
4841
|
return {
|
|
4402
4842
|
p2: c
|
|
@@ -4405,7 +4845,7 @@ var DrawingMLMain = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
4405
4845
|
DrawingMLMain.n6 = function (a, b, c) {
|
|
4406
4846
|
a.ad.p(b, "a");
|
|
4407
4847
|
var d;
|
|
4408
|
-
d = c.s(a.d.
|
|
4848
|
+
d = c.s(a.d._ab);
|
|
4409
4849
|
a.ad.h("val", d);
|
|
4410
4850
|
};
|
|
4411
4851
|
DrawingMLMain.k6 = function (a, b, c, d) {
|
|
@@ -4458,7 +4898,7 @@ var DrawingMLMain = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
4458
4898
|
d = ST_Percentage.b(0);
|
|
4459
4899
|
e = ST_Percentage.b(0);
|
|
4460
4900
|
f = ST_Percentage.b(0);
|
|
4461
|
-
var g = a.d.
|
|
4901
|
+
var g = a.d._ab;
|
|
4462
4902
|
try {
|
|
4463
4903
|
for (var _1 = __values(fromEnum(a.ab.u)), _2 = _1.next(); !_2.done; _2 = _1.next()) {
|
|
4464
4904
|
var h = _2.value;
|
|
@@ -4502,7 +4942,7 @@ var DrawingMLMain = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
4502
4942
|
DrawingMLMain.n8 = function (a, b, c, d, e, f) {
|
|
4503
4943
|
a.ad.p(b, "a");
|
|
4504
4944
|
var g;
|
|
4505
|
-
var h = a.d.
|
|
4945
|
+
var h = a.d._ab;
|
|
4506
4946
|
if (ST_Percentage.g(c, ST_Percentage.b(0))) {
|
|
4507
4947
|
g = c.r(h);
|
|
4508
4948
|
a.ad.h("l", g);
|
|
@@ -6372,7 +6812,7 @@ var DrawingMLMain = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
6372
6812
|
m = toNullable(Boolean_$type, ST_OnOff.e(aa.d));
|
|
6373
6813
|
break;
|
|
6374
6814
|
case "baseline":
|
|
6375
|
-
n = toNullable(ST_Percentage.$, ST_Percentage.d(aa.d, a.d.
|
|
6815
|
+
n = toNullable(ST_Percentage.$, ST_Percentage.d(aa.d, a.d._ab));
|
|
6376
6816
|
break;
|
|
6377
6817
|
case "noProof":
|
|
6378
6818
|
o = toNullable(Boolean_$type, ST_OnOff.e(aa.d));
|
|
@@ -6550,7 +6990,7 @@ var DrawingMLMain = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
6550
6990
|
a.ad.h("normalizeH", u);
|
|
6551
6991
|
}
|
|
6552
6992
|
if (ST_Percentage.h(n, toNullable(ST_Percentage.$, null))) {
|
|
6553
|
-
u = n.value.r(a.d.
|
|
6993
|
+
u = n.value.r(a.d._ab);
|
|
6554
6994
|
a.ad.h("baseline", u);
|
|
6555
6995
|
}
|
|
6556
6996
|
if (nullableNotEquals(o, null)) {
|
|
@@ -8225,7 +8665,7 @@ var EmptyNamespace = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
8225
8665
|
c = toNullable(Number_$type, null);
|
|
8226
8666
|
}
|
|
8227
8667
|
a.ad.o("xml");
|
|
8228
|
-
var d = a.d.
|
|
8668
|
+
var d = a.d._ab;
|
|
8229
8669
|
a.ad.l(VmlNamespace.ao);
|
|
8230
8670
|
a.ad.l(OfficeNamespace.ao);
|
|
8231
8671
|
};
|
|
@@ -9006,7 +9446,7 @@ var OfficeDocumentExtendedProperties = /** @class */ /*@__PURE__*/ (function (_s
|
|
|
9006
9446
|
};
|
|
9007
9447
|
OfficeDocumentExtendedProperties.cr = function (a) {
|
|
9008
9448
|
a.ad.p(OfficeDocumentExtendedProperties.ba, null);
|
|
9009
|
-
var b = a.d.
|
|
9449
|
+
var b = a.d._ab;
|
|
9010
9450
|
a.ad.l(OfficeDocumentExtendedProperties.ao);
|
|
9011
9451
|
a.ad.l(OfficeDocumentDocPropsVTypes.ao);
|
|
9012
9452
|
};
|