Lines Matching +full:top +full:- +full:tech
3 * © SpryMedia Ltd - datatables.net/license
5 * FileSaver.js (1.3.3) - MIT license
6 * Copyright © 2016 Eli Grey - http://eligrey.com
12 define( ['jquery', 'datatables.net', 'datatables.net-buttons'], function ( $ ) {
25 require('datatables.net-buttons')(root, $);
97 (typeof navigator !== 'undefined' && /MSIE [1-9]\./.test(navigator.userAgent))
119 force_saveable_type = 'application/octet-stream',
138 while (i--) {
150 // prepend BOM for UTF-8 XML and text/* types (including HTML)
151 // note: your browser will automatically convert UTF-16 U+FEFF to EF BB BF
153 /^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(
345 * Older versions of Safari (prior to tech preview 18) don't support the
352 navigator.userAgent.indexOf('Safari') !== -1 &&
353 navigator.userAgent.indexOf('Chrome') === -1 &&
354 navigator.userAgent.indexOf('Opera') === -1;
376 var len = ordZ - ordA + 1;
381 n = Math.floor(n / len) - 1;
412 .indexOf('xmlns:r') === -1;
431 for (i = worksheet.attributes.length - 1; i >= 0; i--) {
435 if (attrName.indexOf(':') !== -1) {
456 if (str.indexOf('<?xml') === -1) {
457 str = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>' + str;
482 * @param {object} opts Options - can be `attr` (attributes), `children`
528 if (str.indexOf('\n') !== -1) {
531 return b.length - a.length;
556 // Excel - Pre-defined strings to build a basic XLSX file
559 '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>' +
565 '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>' +
572 '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>' +
573 '<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">' +
575 …'<Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml" …
577 …'<Override PartName="/xl/workbook.xml" ContentType="application/vnd.openxmlformats-officedocument.…
578 …'<Override PartName="/xl/worksheets/sheet1.xml" ContentType="application/vnd.openxmlformats-office…
579 …'<Override PartName="/xl/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.sp…
583 '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>' +
597 '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>' +
598 …ument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" m…
604 '<?xml version="1.0" encoding="UTF-8"?>' +
605 …/spreadsheetml/2006/main" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" m…
607 '<numFmt numFmtId="164" formatCode="#,##0.00_- [$$-45C]"/>' +
609 '<numFmt numFmtId="166" formatCode="[$€-2] #,##0.00"/>' +
676 '<top />' +
687 '<top style="thin">' +
689 '</top>' +
793 // Ref: section 3.8.30 - built in formatters in open spreadsheet
794 // https://www.ecma-international.org/news/TC45_current_work/Office%20Open%20XML%20Part%204%20-%2…
797 match: /^\-?\d+\.\d%$/,
804 match: /^\-?\d+\.?\d*%$/,
810 { match: /^\-?\$[\d,]+.?\d*$/, style: 57 }, // Dollars
811 { match: /^\-?£[\d,]+.?\d*$/, style: 58 }, // Pounds
812 { match: /^\-?€[\d,]+.?\d*$/, style: 59 }, // Euros
813 { match: /^\-?\d+$/, style: 65 }, // Numbers without thousand separators
814 { match: /^\-?\d+\.\d{2}$/, style: 66 }, // Numbers 2 d.p. without thousands separators
819 return -1 * d.replace(/[\(\)]/g, '');
826 return -1 * d.replace(/[\(\)]/g, '');
828 }, // Negative numbers indicated by brackets - 2d.p.
829 { match: /^\-?[\d,]+$/, style: 63 }, // Numbers with thousand separators
830 { match: /^\-?[\d,]+\.\d{2}$/, style: 64 },
832 match: /^[\d]{4}\-[01][\d]\-[0123][\d]$/,
837 } //Date yyyy-mm-dd
848 className: 'buttons-copy buttons-html5',
867 top: 0, property
938 var container = $(message).closest('.dt-button-info');
940 container.off('click.buttons-copy');
941 $(document).off('.buttons-copy');
945 container.on('click.buttons-copy', close);
947 .on('keydown.buttons-copy', function (e) {
954 .on('copy.buttons-copy cut.buttons-copy', function () {
983 className: 'buttons-csv buttons-html5',
1050 className: 'buttons-excel buttons-html5',
1130 var val = row[i].replace(/[^\d\.\-]/g, '');
1152 row[i].match(/^-?\d+(\.\d+)?([eE]\-?\d+)?$/) && // Includes exponential format
1155 // Detect numbers - don't match numbers with leading zeros
1166 // String output - replace non standard characters for text output
1169 : originalContent.replace(/[\x00-\x09\x0B\x0C\x0E-\x1F\x7F-\x9F]/g, '');
1214 $('row:eq(' + (row - 1) + ') c', rels).attr('s', '51'); // centre
1217 // Title and top messages
1221 mergeCells(rowPos, data.header.length - 1);
1226 mergeCells(rowPos, data.header.length - 1);
1251 mergeCells(rowPos, data.header.length - 1);
1285 createCellPos(data.header.length - 1) +
1303 createCellPos(data.header.length - 1) +
1324 mimeType: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
1330 …// https://support.microsoft.com/en-us/office/excel-specifications-and-limits-1672b34d-7043-467e-8…
1376 // PDF export - using pdfMake - http://pdfmake.org
1379 className: 'buttons-pdf buttons-html5',