@sapui5/sap.ui.export 1.108.33 → 1.108.35
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/package.json +1 -1
- package/src/sap/ui/export/.library +1 -1
- package/src/sap/ui/export/ExportBase.js +6 -2
- package/src/sap/ui/export/ExportDialog.js +43 -25
- package/src/sap/ui/export/ExportHandler.js +2 -2
- package/src/sap/ui/export/ExportUtils.js +6 -4
- package/src/sap/ui/export/PortableDocument.js +107 -11
- package/src/sap/ui/export/Spreadsheet.js +11 -7
- package/src/sap/ui/export/SpreadsheetExport.js +1 -1
- package/src/sap/ui/export/library.js +2 -2
- package/src/sap/ui/export/messagebundle.properties +21 -9
- package/src/sap/ui/export/messagebundle_en_US_saprigi.properties +21 -9
- package/src/sap/ui/export/messagebundle_en_US_saptrc.properties +122 -60
package/package.json
CHANGED
|
@@ -27,7 +27,7 @@ sap.ui.define([
|
|
|
27
27
|
* @constructor The <code>sap.ui.export.ExportBase</code> class allows you to export table data from a UI5 application to certain formats. This class is an abstract class that requires specific implementations for each file format.
|
|
28
28
|
*
|
|
29
29
|
* @author SAP SE
|
|
30
|
-
* @version 1.108.
|
|
30
|
+
* @version 1.108.35
|
|
31
31
|
*
|
|
32
32
|
* @since 1.96
|
|
33
33
|
* @name sap.ui.export.ExportBase
|
|
@@ -36,9 +36,11 @@ sap.ui.define([
|
|
|
36
36
|
*/
|
|
37
37
|
var ExportBase = EventProvider.extend('sap.ui.export.ExportBase', {
|
|
38
38
|
|
|
39
|
-
constructor: function(mSettings) {
|
|
39
|
+
constructor: function(mSettings, mCapabilities) {
|
|
40
40
|
EventProvider.call(this, mSettings);
|
|
41
41
|
|
|
42
|
+
this._mCapabilities = mCapabilities || {};
|
|
43
|
+
|
|
42
44
|
/* Default settings */
|
|
43
45
|
this._mSettings = {
|
|
44
46
|
fileName: 'Export'
|
|
@@ -121,6 +123,8 @@ sap.ui.define([
|
|
|
121
123
|
EventProvider.prototype.destroy.apply(this, arguments);
|
|
122
124
|
|
|
123
125
|
this.cancel();
|
|
126
|
+
this._mSettings = null;
|
|
127
|
+
this._mCapabilities = null;
|
|
124
128
|
this.bIsDestroyed = true;
|
|
125
129
|
};
|
|
126
130
|
|
|
@@ -15,8 +15,9 @@ sap.ui.define([
|
|
|
15
15
|
'sap/m/ProgressIndicator',
|
|
16
16
|
'sap/m/Text',
|
|
17
17
|
'sap/m/MessageBox',
|
|
18
|
+
'sap/ui/export/ExportUtils',
|
|
18
19
|
'sap/ui/core/format/NumberFormat'
|
|
19
|
-
], function(coreLibrary, MLibrary, Dialog, Button, ProgressIndicator, Text, MessageBox, NumberFormat) {
|
|
20
|
+
], function(coreLibrary, MLibrary, Dialog, Button, ProgressIndicator, Text, MessageBox, ExportUtils, NumberFormat) {
|
|
20
21
|
'use strict';
|
|
21
22
|
|
|
22
23
|
var ValueState = coreLibrary.ValueState;
|
|
@@ -24,9 +25,6 @@ sap.ui.define([
|
|
|
24
25
|
var DialogType = MLibrary.DialogType;
|
|
25
26
|
var ButtonType = MLibrary.ButtonType;
|
|
26
27
|
|
|
27
|
-
/* Async call to resource bundle */
|
|
28
|
-
var oResourceBundlePromise = sap.ui.getCore().getLibraryResourceBundle("sap.ui.export", true);
|
|
29
|
-
|
|
30
28
|
/**
|
|
31
29
|
* The method returns a new Promise that results in a new
|
|
32
30
|
* progress dialog.
|
|
@@ -37,7 +35,7 @@ sap.ui.define([
|
|
|
37
35
|
return new Promise(function(fnResolve, fnReject) {
|
|
38
36
|
var dialog;
|
|
39
37
|
|
|
40
|
-
|
|
38
|
+
ExportUtils.getResourceBundle().then(function(oResourceBundle) {
|
|
41
39
|
var cancelButton = new Button({
|
|
42
40
|
text : oResourceBundle.getText("CANCEL_BUTTON"),
|
|
43
41
|
press : function() {
|
|
@@ -117,45 +115,65 @@ sap.ui.define([
|
|
|
117
115
|
* Shows a warning dialog that can show several warning messages, either alone or combined.
|
|
118
116
|
*
|
|
119
117
|
* @param {Object} mParams Configuration of the warning dialog
|
|
120
|
-
* @param {number} mParams.rows
|
|
121
|
-
* @param {number} mParams.columns
|
|
122
|
-
* @param {boolean} mParams.
|
|
123
|
-
* @param {boolean} mParams.
|
|
118
|
+
* @param {number} mParams.rows Number of rows that will be exported
|
|
119
|
+
* @param {number} mParams.columns Number of columns that will be exported
|
|
120
|
+
* @param {boolean} mParams.cellLimit Number of cells that are supported
|
|
121
|
+
* @param {boolean} mParams.rowLimit Number of rows that are supported
|
|
122
|
+
* @param {String} mParams.fileType File type of the exported document
|
|
124
123
|
* @returns {Promise} Promise that gets resolved when the user wants to export, regardless of the warning
|
|
125
124
|
*/
|
|
126
125
|
function showWarningDialog(mParams) {
|
|
127
126
|
return new Promise(function(fnResolve, fnReject) {
|
|
128
127
|
|
|
129
|
-
|
|
130
|
-
var bContinue, oWarningDialog, oWarningText,
|
|
128
|
+
ExportUtils.getResourceBundle().then(function(oResourceBundle) {
|
|
129
|
+
var aText, bContinue, oWarningDialog, oWarningText, oNumberFormat, sRowCount, sCellCount, sCellLimit, sLimit, sFileType;
|
|
131
130
|
|
|
132
|
-
|
|
131
|
+
aText = [];
|
|
133
132
|
bContinue = false;
|
|
134
|
-
|
|
133
|
+
oNumberFormat = NumberFormat.getIntegerInstance({groupingEnabled: true});
|
|
134
|
+
sFileType = oResourceBundle.getText(mParams.fileType + "_FILETYPE");
|
|
135
|
+
sLimit = oNumberFormat.format(mParams.rowLimit);
|
|
135
136
|
|
|
136
|
-
if (
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
137
|
+
if (mParams.rows) {
|
|
138
|
+
sRowCount = oNumberFormat.format(mParams.rows);
|
|
139
|
+
|
|
140
|
+
if (mParams.columns) {
|
|
141
|
+
sCellCount = oNumberFormat.format(mParams.rows * mParams.columns);
|
|
142
|
+
aText.push(oResourceBundle.getText("MSG_WARNING_CELL_COUNT", [sRowCount, mParams.columns, sCellCount]));
|
|
143
|
+
} else {
|
|
144
|
+
aText.push(oResourceBundle.getText("MSG_WARNING_ROW_COUNT", [sRowCount]));
|
|
145
|
+
}
|
|
140
146
|
|
|
141
|
-
if (mParams.
|
|
142
|
-
|
|
147
|
+
if (mParams.rows > mParams.rowLimit) {
|
|
148
|
+
aText.push(oResourceBundle.getText("MSG_WARNING_ROW_LIMIT", [sLimit, sFileType]));
|
|
143
149
|
}
|
|
144
150
|
|
|
145
|
-
if (mParams.
|
|
146
|
-
|
|
147
|
-
sWarningText += oResourceBundle.getText("MSG_WARNING_CUT_OFF", [sRowsFormatted]);
|
|
151
|
+
if (mParams.count && (mParams.rows < mParams.count)) {
|
|
152
|
+
aText.push(oResourceBundle.getText("MSG_WARNING_ROW_LIMIT", [mParams.rows, sFileType]));
|
|
148
153
|
}
|
|
154
|
+
|
|
155
|
+
if (mParams.rows * mParams.columns > mParams.cellLimit) {
|
|
156
|
+
sCellLimit = oNumberFormat.format(mParams.cellLimit);
|
|
157
|
+
aText.push(oResourceBundle.getText("MSG_WARNING_CELL_LIMIT", [sCellLimit]));
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
} else {
|
|
161
|
+
aText.push(oResourceBundle.getText("MSG_WARNING_COUNT_UNKNOWN"));
|
|
162
|
+
aText.push(oResourceBundle.getText("MSG_WARNING_ROW_LIMIT", [sLimit, sFileType]));
|
|
163
|
+
aText.push(oResourceBundle.getText("MSG_WARNING_ADVICE"));
|
|
149
164
|
}
|
|
150
165
|
|
|
166
|
+
aText.push(oResourceBundle.getText("MSG_WARNING_EXPORT_ANYWAY"));
|
|
167
|
+
|
|
151
168
|
oWarningText = new Text({
|
|
152
|
-
text:
|
|
169
|
+
text: aText.join('\n\n')
|
|
153
170
|
});
|
|
154
171
|
oWarningDialog = new Dialog({
|
|
155
|
-
title: oResourceBundle.getText('
|
|
172
|
+
title: oResourceBundle.getText('WARNING_TITLE'),
|
|
156
173
|
type: DialogType.Message,
|
|
157
174
|
state: ValueState.Warning,
|
|
158
175
|
content: oWarningText,
|
|
176
|
+
contentWidth: '550px', // UX recommendation
|
|
159
177
|
ariaLabelledBy: oWarningText,
|
|
160
178
|
endButton: new Button({
|
|
161
179
|
type: ButtonType.Transparent,
|
|
@@ -197,7 +215,7 @@ sap.ui.define([
|
|
|
197
215
|
sMessage = sMessage.message;
|
|
198
216
|
}
|
|
199
217
|
|
|
200
|
-
|
|
218
|
+
ExportUtils.getResourceBundle().then(function(oResourceBundle) {
|
|
201
219
|
var sErrorMessage = sMessage || oResourceBundle.getText('PROGRESS_ERROR_DEFAULT');
|
|
202
220
|
|
|
203
221
|
// Replace technical error message in case of "out of memory"
|
|
@@ -15,7 +15,7 @@ sap.ui.define(['./library', './ExportUtils', './ExportDialog', 'sap/m/MessageToa
|
|
|
15
15
|
* @constructor The <code>sap.ui.export.ExportHandler</code> class allows you to export table data from a UI5 application.
|
|
16
16
|
*
|
|
17
17
|
* @author SAP SE
|
|
18
|
-
* @version 1.108.
|
|
18
|
+
* @version 1.108.35
|
|
19
19
|
*
|
|
20
20
|
* @since 1.102
|
|
21
21
|
* @name sap.ui.export.ExportHandler
|
|
@@ -248,7 +248,7 @@ sap.ui.define(['./library', './ExportUtils', './ExportDialog', 'sap/m/MessageToa
|
|
|
248
248
|
|
|
249
249
|
return Promise.all([
|
|
250
250
|
ExportUtils.getResourceBundle(),
|
|
251
|
-
ExportUtils.getExportInstance(mExportSettings)
|
|
251
|
+
ExportUtils.getExportInstance(mExportSettings, this._mCapabilities)
|
|
252
252
|
]).then(function(aResolve) {
|
|
253
253
|
var oResourceBundle = aResolve[0];
|
|
254
254
|
var oExportInstance = aResolve[1];
|
|
@@ -132,7 +132,7 @@ sap.ui.define([
|
|
|
132
132
|
* Utilities related to export to enable reuse in integration scenarios (e.g. tables).
|
|
133
133
|
*
|
|
134
134
|
* @author SAP SE
|
|
135
|
-
* @version 1.108.
|
|
135
|
+
* @version 1.108.35
|
|
136
136
|
*
|
|
137
137
|
* @since 1.59
|
|
138
138
|
* @name sap.ui.export.ExportUtils
|
|
@@ -1141,7 +1141,7 @@ sap.ui.define([
|
|
|
1141
1141
|
*
|
|
1142
1142
|
* @param {object} oContext Context object
|
|
1143
1143
|
* @param {string} [oContext.application] Name of the application (default: "SAP UI5")
|
|
1144
|
-
* @param {string} [oContext.version] Application version (default: "1.108.
|
|
1144
|
+
* @param {string} [oContext.version] Application version (default: "1.108.35")
|
|
1145
1145
|
* @param {string} [oContext.title] Title that will be written to the file (NOT the filename)
|
|
1146
1146
|
* @param {string} [oContext.modifiedBy] Optional user context that will be written to the file
|
|
1147
1147
|
* @param {string} [oContext.sheetName] Name of the data sheet - Maximum length of 31 characters
|
|
@@ -1287,11 +1287,13 @@ sap.ui.define([
|
|
|
1287
1287
|
* no specific FileType is defined in the export settings.
|
|
1288
1288
|
*
|
|
1289
1289
|
* @param {object} mSettings Export configuration with optional FileType
|
|
1290
|
+
* @param {object} [mCapabilities] Export capabilities for all supported types
|
|
1290
1291
|
* @returns {Promise} A Promise that gets resolved with the requested instance
|
|
1291
1292
|
*/
|
|
1292
|
-
getExportInstance: function(mSettings) {
|
|
1293
|
+
getExportInstance: function(mSettings, mCapabilities) {
|
|
1293
1294
|
var sClassName, sFileType;
|
|
1294
1295
|
|
|
1296
|
+
mCapabilities = mCapabilities ? mCapabilities : {};
|
|
1295
1297
|
sFileType = typeof mSettings.fileType === 'string' ? mSettings.fileType.toUpperCase() : mSettings.fileType;
|
|
1296
1298
|
|
|
1297
1299
|
switch (sFileType) {
|
|
@@ -1304,7 +1306,7 @@ sap.ui.define([
|
|
|
1304
1306
|
|
|
1305
1307
|
return new Promise(function(fnResolve) {
|
|
1306
1308
|
sap.ui.require([sClassName], function(ExportClass) {
|
|
1307
|
-
fnResolve(new ExportClass(mSettings));
|
|
1309
|
+
fnResolve(new ExportClass(mSettings, mCapabilities[sFileType]));
|
|
1308
1310
|
});
|
|
1309
1311
|
});
|
|
1310
1312
|
},
|
|
@@ -8,16 +8,19 @@ sap.ui.define([
|
|
|
8
8
|
'sap/m/MessageToast',
|
|
9
9
|
'sap/ui/core/Core',
|
|
10
10
|
'sap/ui/export/ExportBase',
|
|
11
|
+
'sap/ui/export/ExportDialog',
|
|
11
12
|
'sap/ui/export/ExportUtils',
|
|
13
|
+
'sap/ui/export/library',
|
|
12
14
|
'sap/ui/model/odata/v4/ODataModel'
|
|
13
|
-
], function(Log, MessageToast, Core, ExportBase, ExportUtils, ODataModel) {
|
|
15
|
+
], function(Log, MessageToast, Core, ExportBase, ExportDialog, ExportUtils, Library, ODataModel) {
|
|
14
16
|
'use strict';
|
|
15
17
|
|
|
18
|
+
var FileType = Library.FileType;
|
|
16
19
|
/**
|
|
17
20
|
* @class The <code>sap.ui.export.PortableDocument</code> class allows you to export table data from a UI5 application to a Portable Document Format (*.PDF) file.
|
|
18
21
|
*
|
|
19
22
|
* @author SAP SE
|
|
20
|
-
* @version 1.108.
|
|
23
|
+
* @version 1.108.35
|
|
21
24
|
*
|
|
22
25
|
* @since 1.96
|
|
23
26
|
* @alias sap.ui.export.PortableDocument
|
|
@@ -26,9 +29,8 @@ sap.ui.define([
|
|
|
26
29
|
*/
|
|
27
30
|
var PortableDocument = ExportBase.extend('sap.ui.export.PortableDocument', {
|
|
28
31
|
|
|
29
|
-
constructor: function(mSettings) {
|
|
30
|
-
ExportBase.call(this, mSettings);
|
|
31
|
-
|
|
32
|
+
constructor: function(mSettings, mCapabilities) {
|
|
33
|
+
ExportBase.call(this, mSettings, mCapabilities);
|
|
32
34
|
|
|
33
35
|
/* Only apply supported properties */
|
|
34
36
|
['paperSize', 'orientation', 'font', 'fontSize', 'doEnableAccessibility', 'fitToPage', 'signature', 'signatureReason', 'pdfArchive'].forEach(function(sProperty) {
|
|
@@ -124,14 +126,42 @@ sap.ui.define([
|
|
|
124
126
|
type: 'odata',
|
|
125
127
|
version: bV4ODataModel ? 4 : 2,
|
|
126
128
|
dataUrl: oDataUrl.toString(),
|
|
127
|
-
serviceUrl:
|
|
128
|
-
headers: bV4ODataModel ? oModel.getHttpHeaders(true) : oModel.getHeaders()
|
|
129
|
+
serviceUrl: this._resolveServiceUrl(sServiceUrl),
|
|
130
|
+
headers: bV4ODataModel ? oModel.getHttpHeaders(true) : oModel.getHeaders(),
|
|
131
|
+
count: ExportUtils.getCountFromBinding(oBinding)
|
|
129
132
|
};
|
|
130
133
|
}
|
|
131
134
|
|
|
132
135
|
return oDataSource;
|
|
133
136
|
};
|
|
134
137
|
|
|
138
|
+
/**
|
|
139
|
+
* Resolves the service URL that contains the DocumentDescription
|
|
140
|
+
* relative to the current service URL. The returned service URL
|
|
141
|
+
* always ends with an forward slash.
|
|
142
|
+
*
|
|
143
|
+
* @param {string} sCurrentServiceUrl URL of the data service
|
|
144
|
+
* @returns {string} Converted service url
|
|
145
|
+
*/
|
|
146
|
+
PortableDocument.prototype._resolveServiceUrl = function(sCurrentServiceUrl) {
|
|
147
|
+
var isRelative, sReference;
|
|
148
|
+
|
|
149
|
+
sCurrentServiceUrl += sCurrentServiceUrl.endsWith('/') ? '' : '/';
|
|
150
|
+
isRelative = /^[\./]/.test(sCurrentServiceUrl);
|
|
151
|
+
sReference = this._mCapabilities.DocumentDescriptionReference;
|
|
152
|
+
|
|
153
|
+
if (typeof sReference !== 'string') {
|
|
154
|
+
return sCurrentServiceUrl.split('/').slice(0, -5).join('/') + '/default/iwbep/common/0001/';
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
sReference = sReference.endsWith('/') ? sReference : sReference.split('/').slice(0, -1).join('/') + '/';
|
|
158
|
+
var oUrl = new URL(sCurrentServiceUrl, document.baseURI);
|
|
159
|
+
|
|
160
|
+
oUrl = new URL(sReference, oUrl.href);
|
|
161
|
+
|
|
162
|
+
return isRelative ? oUrl.pathname : oUrl.href;
|
|
163
|
+
};
|
|
164
|
+
|
|
135
165
|
/**
|
|
136
166
|
* Creates the DocumentDescription based on the given export
|
|
137
167
|
* settings and assigns a unique Id to it.
|
|
@@ -230,9 +260,15 @@ sap.ui.define([
|
|
|
230
260
|
* @returns {string} Name of the EntitySet according to the OData version
|
|
231
261
|
*/
|
|
232
262
|
PortableDocument.prototype._getEntitySetName = function(mDataSource) {
|
|
233
|
-
var
|
|
263
|
+
var sCollectionName, iVersion;
|
|
264
|
+
|
|
265
|
+
iVersion = mDataSource && mDataSource.version || 2; // Use OData V2 by default
|
|
234
266
|
|
|
235
|
-
|
|
267
|
+
if (this._mCapabilities && typeof this._mCapabilities.DocumentDescriptionCollection === 'string') {
|
|
268
|
+
sCollectionName = this._mCapabilities.DocumentDescriptionCollection;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
return sCollectionName || (iVersion == 4 ? 'MyDocumentDescriptions' : 'SAP__MyDocumentDescriptions');
|
|
236
272
|
};
|
|
237
273
|
|
|
238
274
|
/**
|
|
@@ -250,6 +286,61 @@ sap.ui.define([
|
|
|
250
286
|
}) : this._oModel;
|
|
251
287
|
};
|
|
252
288
|
|
|
289
|
+
/**
|
|
290
|
+
* Shows a warning dialog that the exported file might get cut off.
|
|
291
|
+
* If the count is less than the ResultSizeMaximum of the PDF capabilities,
|
|
292
|
+
* no dialog will be shown and the export will proceed automatically.
|
|
293
|
+
*
|
|
294
|
+
* @param {object} mSettings Export configuration object
|
|
295
|
+
* @returns {Promise} Promise that gets resolved if the requirements
|
|
296
|
+
* for the warning are not met or if the user decides to proceed.
|
|
297
|
+
* When the user cancels the export, the Promise will reject.
|
|
298
|
+
*
|
|
299
|
+
* @private
|
|
300
|
+
*/
|
|
301
|
+
PortableDocument.prototype._showWarning = function(mSettings) {
|
|
302
|
+
var mParams, oWarningPromise;
|
|
303
|
+
|
|
304
|
+
mParams = {
|
|
305
|
+
rows: mSettings.dataSource.count,
|
|
306
|
+
rowLimit: this._mCapabilities.ResultSizeMaximum,
|
|
307
|
+
fileType: FileType.PDF
|
|
308
|
+
};
|
|
309
|
+
|
|
310
|
+
oWarningPromise = Promise.resolve();
|
|
311
|
+
|
|
312
|
+
if (isNaN(mParams.rows) || (mParams.rows > mParams.rowLimit)) {
|
|
313
|
+
oWarningPromise = ExportDialog.showWarningDialog(mParams);
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
return oWarningPromise;
|
|
317
|
+
};
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* Adds the ResultSizeMaximum from the com.sap.vocabularies.PDF.v1.Features
|
|
321
|
+
* annotation as $top to the data URL. If this property is not available on
|
|
322
|
+
* the annotation or its value is not a number, it will be ignored.
|
|
323
|
+
*
|
|
324
|
+
* @param {string} sUrl Data URL that is used to request the PDF document
|
|
325
|
+
* @returns {string} The modified data URL that contains $top. The value of $top is
|
|
326
|
+
* based on the ResultSizeMaximum of the com.sap.vocabularies.PDF.v1.Features
|
|
327
|
+
* annotation.
|
|
328
|
+
*/
|
|
329
|
+
PortableDocument.prototype._applyResultSize = function(sUrl) {
|
|
330
|
+
var iLimit, mDataUrl;
|
|
331
|
+
|
|
332
|
+
iLimit = parseInt(this._mCapabilities.ResultSizeMaximum);
|
|
333
|
+
|
|
334
|
+
if (!isNaN(iLimit) && iLimit > 0) {
|
|
335
|
+
|
|
336
|
+
mDataUrl = new URL(sUrl);
|
|
337
|
+
mDataUrl.search += '&$top=' + iLimit;
|
|
338
|
+
sUrl = mDataUrl.toString();
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
return sUrl;
|
|
342
|
+
};
|
|
343
|
+
|
|
253
344
|
/**
|
|
254
345
|
* Applies default settings to the export configuration.
|
|
255
346
|
*
|
|
@@ -356,7 +447,10 @@ sap.ui.define([
|
|
|
356
447
|
oDocumentDescription = that._createDocumentDescription(mSettings);
|
|
357
448
|
oBusyDialog.open();
|
|
358
449
|
|
|
359
|
-
return
|
|
450
|
+
return this._showWarning(mSettings).then(function() {
|
|
451
|
+
return that.postDocumentDescription(oDocumentDescription, mSettings.dataSource);
|
|
452
|
+
}).then(function(sDocumentDescriptionId) {
|
|
453
|
+
|
|
360
454
|
/*
|
|
361
455
|
* Keep reference to oBusyDialog to prevent further processing if the user has canceled the export
|
|
362
456
|
* while the DocumentDescription was sent to the backend via POST. There is no dedicated option to
|
|
@@ -372,7 +466,7 @@ sap.ui.define([
|
|
|
372
466
|
return;
|
|
373
467
|
}
|
|
374
468
|
|
|
375
|
-
|
|
469
|
+
MessageToast.show('Error during PDF export!');
|
|
376
470
|
}).finally(function() {
|
|
377
471
|
oBusyDialog && oBusyDialog.close();
|
|
378
472
|
});
|
|
@@ -386,6 +480,8 @@ sap.ui.define([
|
|
|
386
480
|
* @returns {Promise} A Promise that gets resolved after the XHR request
|
|
387
481
|
*/
|
|
388
482
|
PortableDocument.prototype.sendRequest = function(sUrl, sDocumentDescriptionId) {
|
|
483
|
+
sUrl = this._applyResultSize(sUrl);
|
|
484
|
+
|
|
389
485
|
return new Promise(function(fnResolve, fnReject) {
|
|
390
486
|
var oXHR = this.request = new XMLHttpRequest();
|
|
391
487
|
|
|
@@ -10,15 +10,17 @@ sap.ui.define([
|
|
|
10
10
|
'sap/ui/Device',
|
|
11
11
|
'sap/ui/export/SpreadsheetExport',
|
|
12
12
|
'sap/base/Log',
|
|
13
|
-
'sap/ui/export/ExportUtils'
|
|
13
|
+
'sap/ui/export/ExportUtils',
|
|
14
|
+
'sap/ui/export/library'
|
|
14
15
|
],
|
|
15
|
-
function(Core, ExportDialog, ExportBase, Device, SpreadsheetExport, Log, ExportUtils) {
|
|
16
|
+
function(Core, ExportDialog, ExportBase, Device, SpreadsheetExport, Log, ExportUtils, Library) {
|
|
16
17
|
'use strict';
|
|
17
18
|
|
|
18
19
|
// eslint-disable-next-line
|
|
19
20
|
/* global Blob */
|
|
20
21
|
|
|
21
22
|
var CLASS_NAME = 'sap.ui.export.Spreadsheet';
|
|
23
|
+
var FileType = Library.FileType;
|
|
22
24
|
|
|
23
25
|
/**
|
|
24
26
|
* Creates a new spreadsheet export object. Use this object to build and download a spreadsheet file in Office Open XML Spreadsheet format from tabular data.
|
|
@@ -83,7 +85,7 @@ sap.ui.define([
|
|
|
83
85
|
* <li><code>workbook.context</code> - Context object that will be applied to the generated file. It may contain the following fields:</li>
|
|
84
86
|
* <ul>
|
|
85
87
|
* <li><code>application</code> (string) - The application that creates the XLSX document (default: "SAP UI5")</li>
|
|
86
|
-
* <li><code>version</code> (string) - Application version that creates the XLSX document (default: "1.108.
|
|
88
|
+
* <li><code>version</code> (string) - Application version that creates the XLSX document (default: "1.108.35")</li>
|
|
87
89
|
* <li><code>title</code> (string) - Title of the XLSX document (NOT the filename)</li>
|
|
88
90
|
* <li><code>modifiedBy</code> (string) - User context for the XLSX document</li>
|
|
89
91
|
* <li><code>sheetName</code> (string) - The label of the data sheet</li>
|
|
@@ -166,7 +168,7 @@ sap.ui.define([
|
|
|
166
168
|
* columns: aColumns,
|
|
167
169
|
* context: {
|
|
168
170
|
* application: 'Debug Test Application',
|
|
169
|
-
* version: '1.108.
|
|
171
|
+
* version: '1.108.35',
|
|
170
172
|
* title: 'Some random title',
|
|
171
173
|
* modifiedBy: 'John Doe',
|
|
172
174
|
* metaSheetName: 'Custom metadata',
|
|
@@ -278,7 +280,7 @@ sap.ui.define([
|
|
|
278
280
|
* @constructor The <code>sap.ui.export.Spreadsheet</code> class allows you to export table data from a UI5 application to a spreadsheet file.
|
|
279
281
|
*
|
|
280
282
|
* @author SAP SE
|
|
281
|
-
* @version 1.108.
|
|
283
|
+
* @version 1.108.35
|
|
282
284
|
*
|
|
283
285
|
* @since 1.50
|
|
284
286
|
* @name sap.ui.export.Spreadsheet
|
|
@@ -750,8 +752,10 @@ sap.ui.define([
|
|
|
750
752
|
var oDialogSettings = {
|
|
751
753
|
rows: nRows,
|
|
752
754
|
columns: nColumns,
|
|
753
|
-
|
|
754
|
-
|
|
755
|
+
cellLimit: nSizeLimit,
|
|
756
|
+
rowLimit: MAX_ROWS,
|
|
757
|
+
fileType: FileType.XLSX,
|
|
758
|
+
count: nRows
|
|
755
759
|
};
|
|
756
760
|
|
|
757
761
|
// Show warning and execute
|
|
@@ -17,7 +17,7 @@ sap.ui.define([
|
|
|
17
17
|
* @namespace
|
|
18
18
|
* @alias sap.ui.export
|
|
19
19
|
* @author SAP SE
|
|
20
|
-
* @version 1.108.
|
|
20
|
+
* @version 1.108.35
|
|
21
21
|
* @public
|
|
22
22
|
*/
|
|
23
23
|
|
|
@@ -33,7 +33,7 @@ sap.ui.define([
|
|
|
33
33
|
interfaces: [],
|
|
34
34
|
controls: [],
|
|
35
35
|
elements: [],
|
|
36
|
-
version: "1.108.
|
|
36
|
+
version: "1.108.35"
|
|
37
37
|
});
|
|
38
38
|
|
|
39
39
|
|
|
@@ -13,20 +13,35 @@ EXPORT_BUTTON=Export
|
|
|
13
13
|
#XHED: Default title text for the export progress dialog
|
|
14
14
|
PROGRESS_TITLE=Export Document
|
|
15
15
|
|
|
16
|
+
#XHED: Default title text for the export warning dialog
|
|
17
|
+
WARNING_TITLE=Warning
|
|
18
|
+
|
|
16
19
|
#XMSG: Message text informing that exported data is fetched from the server
|
|
17
20
|
PROGRESS_FETCHING_MSG=Fetching data from server...
|
|
18
21
|
|
|
19
22
|
#XHED: Default title text for the export progress error message box
|
|
20
23
|
PROGRESS_ERROR_TITLE=Error
|
|
21
24
|
|
|
22
|
-
#XMSG: Message text informing that an error has occurred during export
|
|
23
|
-
PROGRESS_ERROR_MSG=The following error has occurred during export:
|
|
24
|
-
|
|
25
25
|
#XMSG: Message text informing that the exported file is too big
|
|
26
|
-
|
|
26
|
+
MSG_WARNING_CELL_COUNT=The document contains {0} rows and {1} column(s) ({2} cells).
|
|
27
|
+
|
|
28
|
+
#XMSG: Part of a message text that informs about the file specific cell limit for exporting
|
|
29
|
+
MSG_WARNING_CELL_LIMIT=Documents with more than {0} cells might be too large to process.
|
|
30
|
+
|
|
31
|
+
#XMSG: Part of a message text that informs about the number of rows which will be exported
|
|
32
|
+
MSG_WARNING_ROW_COUNT=The document contains {0} rows.
|
|
27
33
|
|
|
28
|
-
#XMSG:
|
|
29
|
-
|
|
34
|
+
#XMSG: Part of a message text that contains information about the file specific export limit - Placeholder 1 references the limit and placeholder 2 references the file type
|
|
35
|
+
MSG_WARNING_ROW_LIMIT=Only {0} rows can be exported in a single {1} file.
|
|
36
|
+
|
|
37
|
+
#XMSG: Part of a message text that will be used when the number of rows is unknown
|
|
38
|
+
MSG_WARNING_COUNT_UNKNOWN=The document contains an unknown number of rows.
|
|
39
|
+
|
|
40
|
+
#XMSG: Part of a message text that gives advice on how to proceed
|
|
41
|
+
MSG_WARNING_ADVICE=Please do not proceed unless you are sure that the current filter settings do not result in a large amount of data, as the file might be too large to process.
|
|
42
|
+
|
|
43
|
+
#XMSG: Last sentence of a warning message to ask the user if he/she still wants to export
|
|
44
|
+
MSG_WARNING_EXPORT_ANYWAY=Export anyway?
|
|
30
45
|
|
|
31
46
|
#XMSG: Textual representation of the technical error message which indicates that the export ran out of memory.
|
|
32
47
|
MSG_ERROR_OUT_OF_MEMORY=The export process ran out of memory and was terminated.\n Please adjust your column or filter settings to select a smaller number of cells.
|
|
@@ -121,9 +136,6 @@ FILENAME_ERROR=You cannot use any of the following characters in a file name: \\
|
|
|
121
136
|
#XMSG: Message text informing that exported file is being created
|
|
122
137
|
PROGRESS_BUNDLE_MSG=Generating file...
|
|
123
138
|
|
|
124
|
-
#XMSG: Message text informing that the exported file size cannot be predicted
|
|
125
|
-
NO_COUNT_WARNING_MSG=There is no count provided in the export configuration. \nThe total number of exported rows cannot be predicted and might exceed the memory capacity of the application. \nPlease do not proceed unless you are sure that the current filter settings do not result in a large amount of data.
|
|
126
|
-
|
|
127
139
|
#XTIT: Title of the XLSX document if no title is defined in SpreadSheet settings
|
|
128
140
|
XLSX_DEFAULT_TITLE=SAPUI5 Export
|
|
129
141
|
|
|
@@ -13,20 +13,35 @@ EXPORT_BUTTON=\u206A\u206A\u206A\u200D\u200B\u200C\u200B\u200D\u200B\u200D\u200C
|
|
|
13
13
|
#XHED: Default title text for the export progress dialog
|
|
14
14
|
PROGRESS_TITLE=\u206A\u206A\u206A\u200C\u200C\u200C\u200D\u200C\u200B\u200B\u200D\u200C\u200D\u200B\u200D\u200C\u200B\u200C\u200B\u200B\u200C\u200C\u200B\u200D\u200D\u200B\u200D\u200C\u200B\u200B\u200B\u200D\u200D\u200B\u200D\u200B\u200C\u200C\u200C\u200D\u200C\u200C\u206AExport Document\u206A\u206A
|
|
15
15
|
|
|
16
|
+
#XHED: Default title text for the export warning dialog
|
|
17
|
+
WARNING_TITLE=\u206A\u206A\u206A\u200C\u200C\u200B\u200C\u200C\u200D\u200D\u200B\u200D\u200B\u200C\u200D\u200D\u200C\u200C\u200B\u200D\u200C\u200C\u200B\u200B\u200B\u200C\u200C\u200B\u200B\u200B\u200C\u200B\u200C\u200C\u200C\u200B\u200C\u200B\u200C\u200B\u206AWarning\u206A\u206A
|
|
18
|
+
|
|
16
19
|
#XMSG: Message text informing that exported data is fetched from the server
|
|
17
20
|
PROGRESS_FETCHING_MSG=\u206A\u206A\u206A\u200C\u200C\u200B\u200C\u200D\u200D\u200B\u200D\u200B\u200C\u200B\u200B\u200C\u200D\u200B\u200D\u200C\u200C\u200B\u200D\u200D\u200C\u200C\u200C\u200B\u200B\u200C\u200B\u200C\u200B\u200B\u200D\u200B\u200C\u200B\u200D\u200D\u200B\u200C\u200C\u206AFetching data from server...\u206A\u206A
|
|
18
21
|
|
|
19
22
|
#XHED: Default title text for the export progress error message box
|
|
20
23
|
PROGRESS_ERROR_TITLE=\u206A\u206A\u206A\u200D\u200C\u200B\u200B\u200C\u200D\u200B\u200C\u200D\u200D\u200B\u200D\u200B\u200B\u200B\u200D\u200C\u200D\u200C\u200D\u200D\u200D\u200B\u200C\u200D\u200B\u200B\u200C\u200B\u200D\u200D\u200B\u200C\u200D\u200B\u200B\u200C\u200D\u200D\u200C\u206AError\u206A\u206A
|
|
21
24
|
|
|
22
|
-
#XMSG: Message text informing that an error has occurred during export
|
|
23
|
-
PROGRESS_ERROR_MSG=\u206A\u206A\u206A\u200C\u200C\u200D\u200C\u200B\u200B\u200B\u200C\u200C\u200C\u200C\u200C\u200C\u200C\u200C\u200D\u200C\u200B\u200B\u200B\u200D\u200B\u200B\u200D\u200D\u200B\u200B\u200D\u200B\u200C\u200C\u200D\u200C\u200D\u200D\u200D\u200D\u200C\u200B\u200B\u206AThe following error has occurred during export\:\u206A\u206A
|
|
24
|
-
|
|
25
25
|
#XMSG: Message text informing that the exported file is too big
|
|
26
|
-
|
|
26
|
+
MSG_WARNING_CELL_COUNT=\u206A\u206A\u206A\u200D\u200B\u200C\u200B\u200D\u200B\u200B\u200D\u200B\u200D\u200B\u200B\u200B\u200B\u200D\u200D\u200D\u200D\u200B\u200D\u200D\u200D\u200D\u200C\u200C\u200C\u200D\u200B\u200D\u200B\u200B\u200D\u200D\u200B\u200C\u200C\u200D\u200B\u200D\u200D\u206AThe document contains \u200B\u200B\u200B{0}\u200C\u200C\u200C rows and \u200B\u200B\u200B{1}\u200C\u200C\u200C column(s) (\u200B\u200B\u200B{2}\u200C\u200C\u200C cells).\u206A\u206A
|
|
27
|
+
|
|
28
|
+
#XMSG: Part of a message text that informs about the file specific cell limit for exporting
|
|
29
|
+
MSG_WARNING_CELL_LIMIT=\u206A\u206A\u206A\u200C\u200B\u200B\u200B\u200D\u200D\u200B\u200D\u200B\u200D\u200D\u200B\u200B\u200C\u200C\u200D\u200C\u200C\u200D\u200D\u200B\u200D\u200B\u200C\u200D\u200B\u200B\u200C\u200D\u200C\u200D\u200B\u200B\u200C\u200C\u200C\u200B\u200C\u200C\u200D\u206ADocuments with more than \u200B\u200B\u200B{0}\u200C\u200C\u200C cells might be too large to process.\u206A\u206A
|
|
30
|
+
|
|
31
|
+
#XMSG: Part of a message text that informs about the number of rows which will be exported
|
|
32
|
+
MSG_WARNING_ROW_COUNT=\u206A\u206A\u206A\u200C\u200B\u200B\u200B\u200B\u200B\u200B\u200C\u200C\u200B\u200D\u200B\u200C\u200B\u200C\u200B\u200B\u200C\u200B\u200C\u200B\u200B\u200D\u200D\u200C\u200C\u200B\u200D\u200D\u200B\u200B\u200C\u200C\u200D\u200D\u200C\u200C\u200D\u200B\u200D\u206AThe document contains \u200B\u200B\u200B{0}\u200C\u200C\u200C rows.\u206A\u206A
|
|
27
33
|
|
|
28
|
-
#XMSG:
|
|
29
|
-
|
|
34
|
+
#XMSG: Part of a message text that contains information about the file specific export limit - Placeholder 1 references the limit and placeholder 2 references the file type
|
|
35
|
+
MSG_WARNING_ROW_LIMIT=\u206A\u206A\u206A\u200D\u200D\u200B\u200D\u200C\u200D\u200B\u200D\u200D\u200B\u200C\u200B\u200C\u200B\u200C\u200C\u200D\u200C\u200D\u200B\u200C\u200C\u200C\u200D\u200B\u200C\u200B\u200D\u200C\u200B\u200B\u200B\u200B\u200D\u200B\u200D\u200D\u200B\u200D\u200B\u206AOnly \u200B\u200B\u200B{0}\u200C\u200C\u200C rows can be exported in a single \u200B\u200B\u200B{1}\u200C\u200C\u200C file.\u206A\u206A
|
|
36
|
+
|
|
37
|
+
#XMSG: Part of a message text that will be used when the number of rows is unknown
|
|
38
|
+
MSG_WARNING_COUNT_UNKNOWN=\u206A\u206A\u206A\u200C\u200C\u200B\u200C\u200B\u200C\u200B\u200C\u200D\u200C\u200B\u200D\u200C\u200D\u200D\u200B\u200D\u200D\u200D\u200D\u200C\u200B\u200D\u200C\u200D\u200D\u200B\u200D\u200D\u200D\u200D\u200C\u200B\u200C\u200C\u200D\u200B\u200D\u200D\u200B\u206AThe document contains an unknown number of rows.\u206A\u206A
|
|
39
|
+
|
|
40
|
+
#XMSG: Part of a message text that gives advice on how to proceed
|
|
41
|
+
MSG_WARNING_ADVICE=\u206A\u206A\u206A\u200C\u200D\u200C\u200D\u200C\u200B\u200B\u200B\u200B\u200C\u200C\u200B\u200C\u200D\u200B\u200B\u200C\u200D\u200D\u200C\u200C\u200D\u200B\u200C\u200D\u200D\u200B\u200C\u200B\u200D\u200B\u200C\u200B\u200D\u200D\u200D\u200C\u200B\u200D\u200B\u206APlease do not proceed unless you are sure that the current filter settings will not result in a large amount of data, since the file might be too large to process.\u206A\u206A
|
|
42
|
+
|
|
43
|
+
#XMSG: Last sentence of a warning message to ask the user if he/she still wants to export
|
|
44
|
+
MSG_WARNING_EXPORT_ANYWAY=\u206A\u206A\u206A\u200C\u200B\u200D\u200D\u200D\u200C\u200D\u200D\u200B\u200D\u200B\u200B\u200B\u200C\u200D\u200D\u200D\u200D\u200C\u200C\u200C\u200D\u200C\u200B\u200C\u200B\u200C\u200B\u200C\u200C\u200C\u200C\u200D\u200B\u200D\u200B\u200B\u200C\u200C\u200C\u206AExport anyway?\u206A\u206A
|
|
30
45
|
|
|
31
46
|
#XMSG: Textual representation of the technical error message which indicates that the export ran out of memory.
|
|
32
47
|
MSG_ERROR_OUT_OF_MEMORY=\u206A\u206A\u206A\u200D\u200D\u200D\u200B\u200D\u200B\u200C\u200B\u200D\u200B\u200D\u200D\u200D\u200C\u200D\u200B\u200C\u200D\u200C\u200D\u200B\u200C\u200C\u200C\u200D\u200C\u200D\u200D\u200B\u200D\u200B\u200B\u200C\u200C\u200C\u200C\u200D\u200C\u200C\u200B\u206AThe export process ran out of memory and was terminated.\nPlease adjust your column or filter settings to select a smaller number of cells.\u206A\u206A
|
|
@@ -121,9 +136,6 @@ FILENAME_ERROR=\u206A\u206A\u206A\u200D\u200B\u200B\u200C\u200C\u200B\u200D\u200
|
|
|
121
136
|
#XMSG: Message text informing that exported file is being created
|
|
122
137
|
PROGRESS_BUNDLE_MSG=\u206A\u206A\u206A\u200C\u200D\u200C\u200B\u200B\u200D\u200D\u200D\u200B\u200C\u200B\u200C\u200D\u200D\u200B\u200B\u200B\u200B\u200B\u200D\u200B\u200B\u200C\u200D\u200B\u200B\u200D\u200C\u200B\u200B\u200B\u200C\u200D\u200B\u200B\u200D\u200C\u200D\u200C\u206AGenerating file...\u206A\u206A
|
|
123
138
|
|
|
124
|
-
#XMSG: Message text informing that the exported file size cannot be predicted
|
|
125
|
-
NO_COUNT_WARNING_MSG=\u206A\u206A\u206A\u200D\u200B\u200B\u200C\u200D\u200B\u200B\u200B\u200D\u200D\u200B\u200B\u200B\u200B\u200D\u200D\u200C\u200C\u200B\u200D\u200B\u200B\u200C\u200C\u200C\u200C\u200B\u200C\u200D\u200D\u200C\u200D\u200B\u200C\u200C\u200D\u200C\u200C\u200C\u200B\u206AThere is no count provided in the export configuration. \nThe total number of exported rows cannot be predicted and might exceed the memory capacity of the application. \nPlease do not proceed unless you are sure that the current filter settings will not result in a large amount of data.\u206A\u206A
|
|
126
|
-
|
|
127
139
|
#XTIT: Title of the XLSX document if no title is defined in SpreadSheet settings
|
|
128
140
|
XLSX_DEFAULT_TITLE=\u206A\u206A\u206A\u200C\u200B\u200B\u200B\u200D\u200B\u200D\u200C\u200D\u200C\u200C\u200D\u200C\u200C\u200C\u200B\u200D\u200B\u200C\u200B\u200C\u200B\u200D\u200B\u200B\u200D\u200D\u200C\u200B\u200B\u200D\u200D\u200B\u200B\u200C\u200D\u200D\u200B\u200D\u200C\u200C\u206ASAPUI5 Export\u206A\u206A
|
|
129
141
|
|
|
@@ -1,120 +1,182 @@
|
|
|
1
|
+
#This is the resource bundle for the SAPUI5 sap.ui.export library
|
|
2
|
+
#
|
|
1
3
|
|
|
2
|
-
|
|
4
|
+
#XBUT: Cancel button in the dialog
|
|
5
|
+
CANCEL_BUTTON=rdHpHmSK8N4rhIio1cuNZA_Cancel
|
|
3
6
|
|
|
4
|
-
|
|
7
|
+
#XBUT: Close button in the dialog
|
|
8
|
+
CLOSE_BUTTON=g26J+FeyGXmco3HBlGCVIQ_Close
|
|
5
9
|
|
|
6
|
-
|
|
10
|
+
#XBUT: Export button in the dialog. The meaning is: "Continue" but the first character should not be the same as by "Cancel"
|
|
11
|
+
EXPORT_BUTTON=W/NAUyiyaoIDDcxWQ0gxOw_Export
|
|
7
12
|
|
|
8
|
-
|
|
13
|
+
#XHED: Default title text for the export progress dialog
|
|
14
|
+
PROGRESS_TITLE=kbFQrcuQVNQZnY+gNXRtIg_Export Document
|
|
9
15
|
|
|
10
|
-
|
|
16
|
+
#XMSG: Message text informing that exported data is fetched from the server
|
|
17
|
+
PROGRESS_FETCHING_MSG=L+WXvEZA6QK0Rts6T9gpXQ_Fetching data from server...
|
|
11
18
|
|
|
12
|
-
|
|
19
|
+
#XHED: Default title text for the export progress error message box
|
|
20
|
+
PROGRESS_ERROR_TITLE=keo+SJ/l+zUQzNGf1V23ng_Error
|
|
13
21
|
|
|
14
|
-
|
|
22
|
+
#XMSG: Message text informing that an error has occurred during export
|
|
23
|
+
PROGRESS_ERROR_MSG=cmRH2Ru0NPovXK8jOdZG9A_The following error has occurred during export\:
|
|
15
24
|
|
|
16
|
-
|
|
25
|
+
#XMSG: Message text informing that the exported file is too big
|
|
26
|
+
SIZE_WARNING_MSG=pUFMeEx9PMLVdzoSGd8RHw_The exported document with {0} rows and {1} columns is too big.\nThe memory capacity of the application might be exceeded.\nCancel and select a smaller data set for the export.
|
|
17
27
|
|
|
18
|
-
|
|
28
|
+
#XMSG: Message text informing that the amount of items is too large to be exported in a single spreadsheet and the export is being cut off to maximum allowed amount of 1,048,576.
|
|
29
|
+
MSG_WARNING_CUT_OFF=U06hM5PKu5B607u80lJDjQ_The number of rows ({0}) exceeds the maximum number of rows that you can export per spreadsheet (1,048,576).\nIf you proceed, the export will be cut off to match the maximum number.
|
|
19
30
|
|
|
20
|
-
|
|
31
|
+
#XMSG: Textual representation of the technical error message which indicates that the export ran out of memory.
|
|
32
|
+
MSG_ERROR_OUT_OF_MEMORY=hbZb/xjJcL8z6Br83uGkmw_The export process ran out of memory and was terminated.\nPlease adjust your column or filter settings to select a smaller number of cells.
|
|
21
33
|
|
|
22
|
-
|
|
34
|
+
#XMSG: Message text informing that the original error message is empty or no specific error provided
|
|
35
|
+
PROGRESS_ERROR_DEFAULT=2alay68vv/mPPKedb1RnUQ_Unknown error
|
|
23
36
|
|
|
24
|
-
|
|
37
|
+
#XHED: Default title text for the export settings dialog
|
|
38
|
+
EXPORT_SETTINGS_TITLE=vSWDYMV31q5N36Xod/D7Mg_Export As
|
|
25
39
|
|
|
26
|
-
|
|
40
|
+
#XFLD: Label for File Name input field
|
|
41
|
+
FILE_NAME=840yRRhLPCsrX8YXDDHkzA_File Name
|
|
27
42
|
|
|
28
|
-
|
|
43
|
+
#XFLD: Label for the file format Select control
|
|
44
|
+
SELECT_FORMAT=rQ1NCbnwJhdsnkBNSt3xew_Format
|
|
29
45
|
|
|
30
|
-
|
|
46
|
+
#XFLD: Split cells with multiple values
|
|
47
|
+
SPLIT_CELLS=CJ4Y5mLccT/TS2mcnigr7A_Split cells with multiple values
|
|
31
48
|
|
|
32
|
-
|
|
49
|
+
#XFLD: Include filter settings
|
|
50
|
+
INCLUDE_FILTER_SETTINGS=4Po0dNDyQA1C7KKIV7uZqA_Include filter settings
|
|
33
51
|
|
|
34
|
-
|
|
52
|
+
#XFLD: Techincal Information
|
|
53
|
+
TECHNICAL_INFORMATION=R/C1gAzR9ict7mNbgn6Msw_Technical Information
|
|
35
54
|
|
|
36
|
-
|
|
55
|
+
#XFLD: User Information
|
|
56
|
+
USER_NAME=NlUOU64MgeA9ti8VCGf4jA_User
|
|
37
57
|
|
|
38
|
-
|
|
58
|
+
#XFLD: Creation time
|
|
59
|
+
CREATED_TIME=riv42Wy3YNEDhRwcLDtLDA_Creation Time
|
|
39
60
|
|
|
40
|
-
|
|
61
|
+
#XFLD: Archive format
|
|
62
|
+
ARCHIVE_FORMAT=Gd11uZPMGbGKds0Yrys4Dw_Archive Format
|
|
41
63
|
|
|
42
|
-
|
|
64
|
+
#XHED: Header of the filter sheet
|
|
65
|
+
FILTER_HEADER=i2ziUGHRP3TZnj2DhUI2Pg_Filter
|
|
43
66
|
|
|
44
|
-
|
|
67
|
+
#XFLD: Add current date and time to the file name
|
|
68
|
+
ADD_DATE_TIME=y0dpIhCXTiIbpOv+YTp9Uw_Add current date and time to the file name
|
|
45
69
|
|
|
46
|
-
|
|
70
|
+
#XLST: Spreadsheet file type config for Microsoft Excel specific format
|
|
71
|
+
XLSX_FILETYPE=iHz16BBsPS7yJ6brUHh27w_Microsoft Excel (*.xlsx)
|
|
47
72
|
|
|
48
|
-
|
|
73
|
+
#XLST: Spreadsheet file type for exporting to Google Sheets
|
|
74
|
+
GSHEET_FILETYPE=xj+1E5kZfE0BJ6ofS4mfcg_Google Sheets
|
|
49
75
|
|
|
50
|
-
|
|
76
|
+
#XMSG: File name warning text
|
|
77
|
+
FILENAME_WARNING=F7dYsPgwxUDNUKzs5akB3w_The file name you entered exceeds 100 characters. This may prevent the spreadsheet from opening correctly.
|
|
51
78
|
|
|
52
|
-
|
|
79
|
+
#XFLD: Paper Size
|
|
80
|
+
PAPER_SIZE=yBvm+ixKOpXFlMRSCLXqGQ_Paper Size
|
|
53
81
|
|
|
54
|
-
|
|
82
|
+
#XFLD: Orientation
|
|
83
|
+
ORIENTATION=OgST9ns9Fp4s8Gtae17yFA_Orientation
|
|
55
84
|
|
|
56
|
-
|
|
85
|
+
#XFLD: Font Size
|
|
86
|
+
FONT_SIZE=SOP0fIngCNXrpxtW2fujgQ_Font Size
|
|
57
87
|
|
|
58
|
-
|
|
88
|
+
#XLST: Paper size config for PDF export
|
|
89
|
+
PAPER_SIZE_A4=HM+wbfjfixV9dPg+vBe9Ww_A4
|
|
59
90
|
|
|
60
|
-
|
|
91
|
+
#XLST: Paper size config for PDF export
|
|
92
|
+
PAPER_SIZE_US_LETTER=kuK4zyxJ9Ir45LgQfS9kOA_US Letter
|
|
61
93
|
|
|
62
|
-
|
|
94
|
+
#XLST: Orientation config for PDF export
|
|
95
|
+
ORIENTATION_LAND=1oMjVChlnh4POvojWA4PZg_Landscape
|
|
63
96
|
|
|
64
|
-
|
|
97
|
+
#XLST: Orientation config for PDF export
|
|
98
|
+
ORIENTATION_PORT=LjWZYc+l9KFYWKo/9+hp6Q_Portrait
|
|
65
99
|
|
|
66
|
-
|
|
100
|
+
#XMSG: Font size error text
|
|
101
|
+
NUMBER_ERROR=HMSuAgHpFxJ/uSe19D3mqQ_The value should be a number.
|
|
67
102
|
|
|
68
|
-
|
|
103
|
+
#XFLD: Fit to Page
|
|
104
|
+
ENABLE_ACCESSIBILITY=6a4+aSS2MVkl5B+tixKseg_Enable Accessibility
|
|
69
105
|
|
|
70
|
-
|
|
106
|
+
#XFLD: Enable Accessibility
|
|
107
|
+
FITTOPAGE=upYV4D9RtBRv3psIpWOaDg_Fit to Page
|
|
71
108
|
|
|
72
|
-
|
|
109
|
+
#XFLD: Enable Signature
|
|
110
|
+
ENABLE_SIGNATURE=ziQx898HmzyEw59nj2kloA_Enable Signature
|
|
73
111
|
|
|
74
|
-
|
|
112
|
+
#XFLD: Reason for the Signature
|
|
113
|
+
SIGNATURE_REASON=LWItV1z5RMgXnlWqtcPAFA_Reason
|
|
75
114
|
|
|
76
|
-
|
|
115
|
+
#XMSG: Message text informing that PDF is generated
|
|
116
|
+
PDF_GENERATION_IN_PROGRESS=vR2FQERRgY+LJROqzaEPyA_PDF is being generated
|
|
77
117
|
|
|
78
|
-
|
|
118
|
+
#XMSG: File name error text
|
|
119
|
+
FILENAME_ERROR=/yAJqrRjezaRUhMxL3lg9g_You cannot use any of the following characters in a file name\: \\ / \: * ? " < > |
|
|
79
120
|
|
|
80
|
-
|
|
121
|
+
#XMSG: Message text informing that exported file is being created
|
|
122
|
+
PROGRESS_BUNDLE_MSG=om8ladlvMXlXsTmoyjPqhA_Generating file...
|
|
81
123
|
|
|
82
|
-
|
|
124
|
+
#XMSG: Message text informing that the exported file size cannot be predicted
|
|
125
|
+
NO_COUNT_WARNING_MSG=4uF5N0MUzvwx2Sc05XgykQ_There is no count provided in the export configuration. \nThe total number of exported rows cannot be predicted and might exceed the memory capacity of the application. \nPlease do not proceed unless you are sure that the current filter settings will not result in a large amount of data.
|
|
83
126
|
|
|
84
|
-
|
|
127
|
+
#XTIT: Title of the XLSX document if no title is defined in SpreadSheet settings
|
|
128
|
+
XLSX_DEFAULT_TITLE=WX3SGxILj4rGzj7sHNUpzw_SAPUI5 Export
|
|
85
129
|
|
|
86
|
-
|
|
130
|
+
#XTIT,30: Default label of the data sheet - use less than 31 characters!
|
|
131
|
+
XLSX_DEFAULT_SHEETNAME=Tm6PZAV+rU4zHiZeddlfVA_SAPUI5 Export
|
|
87
132
|
|
|
88
|
-
|
|
133
|
+
#XLST: Portable Document Format type config for PDF export
|
|
134
|
+
PDF_FILETYPE=phh+qQdy4h9VOdCIiU+ITg_Portable Document Format (*.pdf)
|
|
89
135
|
|
|
90
|
-
|
|
136
|
+
#XMSG: Tooltip that explains the Accessibility checkbox and why it might be disabled
|
|
137
|
+
TOOLTIP_PDF_ACCESSIBILITY=DBRgOTbZkuW8l/dKEdXutA_Defines whether the generated document is accessible. If this option is unavailable, it is not supported by the back-end service.
|
|
91
138
|
|
|
92
|
-
|
|
139
|
+
#XMSG: Tooltip that explains the Signature checkbox and why it might be disabled
|
|
140
|
+
TOOLTIP_PDF_SIGNATURE=krVFWFla0ArCXOmvVJy6Sw_Defines whether the generated document is signed with a digital signature. If this option is unavailable, it is not supported by the back-end service.
|
|
93
141
|
|
|
94
|
-
|
|
142
|
+
#XMSG: Tooltip that explains the FitToPage checkbox and why it might be disabled
|
|
143
|
+
TOOLTIP_FITTOPAGE=XO472tsp9DAoD9KI3N7aHw_The generated document will have content that fits to the size of the page. If this option is unavailable, it is not supported by the back-end service.
|
|
95
144
|
|
|
96
|
-
|
|
145
|
+
#XMSG: Tooltip that explains the Archive format checkbox and why it might be disabled
|
|
146
|
+
TOOLTIP_ARCHIVE_FORMAT=jXtdNPwIXX6mi8LoLuHS6w_The generated document will conform with PDF/A. If this option is unavailable, it is not supported by the back-end service.
|
|
97
147
|
|
|
98
|
-
|
|
148
|
+
#XMSG: Tooltip that explains the filter settings checkbox and why it might be disabled
|
|
149
|
+
TOOLTIP_FILTER_SETTINGS=AWQddQIDFcWKFERzRlKMJw_The generated document will have filter settings in the cover page. If this option is unavailable, it is not supported by the back-end service.
|
|
99
150
|
|
|
100
|
-
|
|
151
|
+
#XMSG: Tooltip that explains the font size input and why it might be disabled
|
|
152
|
+
TOOLTIP_FONT_SIZE=4Um5Tf9B+ViWcpN2QAl33Q_Defines the font size of the generated document. If this option is unavailable, it is not supported by the back-end service.
|
|
101
153
|
|
|
102
|
-
|
|
154
|
+
#XFLD: Label for the Destination Select control - Destination refers to the target location where the exported file should be stored and can be either Local or Remote/Cloud
|
|
155
|
+
SELECT_DESTINATION=nV0B4WsC6SMwsKvj00wxYA_Destination
|
|
103
156
|
|
|
104
|
-
|
|
157
|
+
#XLST: This option indicates that the exported file will be saved on the local device
|
|
158
|
+
DESTINATION_LOCAL=08fVliQhRoYT92oarJEYCA_Local
|
|
105
159
|
|
|
106
|
-
|
|
160
|
+
#XLST: This option indicates that the exported file will be saved on a remote or cloud file share
|
|
161
|
+
DESTINATION_REMOTE=qYXJbGNOCwnsfBTX0SF5Zw_Cloud
|
|
107
162
|
|
|
108
|
-
|
|
163
|
+
#XHED: Dialog header for the CloudFilePicker
|
|
164
|
+
DESTINATION_DIALOG_TITLE=M0Krh85dLx2hhCo3tZ2cfA_Export To
|
|
109
165
|
|
|
110
|
-
|
|
166
|
+
#XMSG: Status text on the progress dialog for transfering the file to the cloud destination
|
|
167
|
+
DESTINATION_DIALOG_STATUS=mDZv36J6ESHD2CnOC8N0lQ_File is being transferred - please be patient...
|
|
111
168
|
|
|
112
|
-
|
|
169
|
+
#XMSG: Error message when exported file could not be transferred
|
|
170
|
+
DESTINATION_TRANSFER_ERROR=nD9P7IZ7shhmPUNCHKaLyg_File could not be transferred.
|
|
113
171
|
|
|
114
|
-
|
|
172
|
+
#XMSG: Succuess message when the file has been saved to the cloud destination
|
|
173
|
+
DESTINATION_TRANSFER_SUCCESS=6R0ocd0ULQzUE8b9XhuoWg_Your file has been saved successfully.
|
|
115
174
|
|
|
116
|
-
|
|
175
|
+
#XMSG: Error message when the user did not select a proper FileShare for storing the file
|
|
176
|
+
DESTINATION_SELECTION_INCOMPLETE=pcNkkmUtUV1weKdRMEHqTA_The selected file share is invalid.
|
|
117
177
|
|
|
118
|
-
|
|
178
|
+
#XBUT: Export button in the dialog when the user has selected to save the file on a cloud destination. This will open another file/folder selection. The text is followed by an ellipsis
|
|
179
|
+
DIALOG_BUTTON_CLOUD_DESTINATION=nc8fUqN3Rk0LzR5pyIWVyg_Export To...
|
|
119
180
|
|
|
120
|
-
|
|
181
|
+
#XMSG: Error message that is shown when the user has selected Google Sheets as format but the selected file location is on a FileShare that has a vendor different than Google
|
|
182
|
+
DESTINATION_ERROR_NOT_GOOGLE=FN/JmgYwR3QI7VQgV5tjZA_Exporting a file to Google Sheets requires a Google Workspace as a file share.\nPlease select a different file format or a different file share.
|