barsa-sap-ui 2.3.124 → 2.3.125
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.
|
@@ -4493,7 +4493,20 @@ class BlobViewerComponent extends BaseComponent {
|
|
|
4493
4493
|
this.fileType = this.type;
|
|
4494
4494
|
}
|
|
4495
4495
|
this.fallbackUrl = this.getFallbackUrl(this.file.Id);
|
|
4496
|
-
const listofPdfSupport = [
|
|
4496
|
+
const listofPdfSupport = [
|
|
4497
|
+
'doc',
|
|
4498
|
+
'pdf',
|
|
4499
|
+
'docx',
|
|
4500
|
+
'dot',
|
|
4501
|
+
'dotx',
|
|
4502
|
+
'dotm',
|
|
4503
|
+
'docm',
|
|
4504
|
+
'rtf',
|
|
4505
|
+
'odt',
|
|
4506
|
+
'ott',
|
|
4507
|
+
'word',
|
|
4508
|
+
'msword'
|
|
4509
|
+
];
|
|
4497
4510
|
this.canConvertToPdf = listofPdfSupport.includes(this.fileType.toLowerCase());
|
|
4498
4511
|
this._downloadFileId(this.file.Id, true, this.canConvertToPdf ? 'pdf' : null, false, false);
|
|
4499
4512
|
}
|