File

datapoints-export-selector/datapoints-export-selector-modal/datapoints-export-selector-file-exporter/generators/excel-generator.ts

Implements

IXmlGenerator

Index

Properties
Methods

Properties

Readonly CONTENT_TYPES_XML
Default value : '<?xml version="1.0" encoding="UTF-8" standalone="no"?>\n' + '<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">\n' + ' <Default ContentType="application/vnd.openxmlformats-package.relationships+xml" Extension="rels"/>\n' + ' <Default ContentType="application/xml" Extension="xml"/>\n' + ' <Override ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml" PartName="/docProps/app.xml"/>\n' + ' <Override ContentType="application/vnd.openxmlformats-package.core-properties+xml" PartName="/docProps/core.xml"/>\n' + ' <Override ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml" PartName="/xl/sharedStrings.xml"/>\n' + ' <Override ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml" PartName="/xl/workbook.xml"/>\n' + ' <Override ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml" PartName="/xl/worksheets/sheet1.xml"/>\n' + '</Types>'
Readonly RELS_XML
Default value : '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n' + '<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">\n' + ' <Relationship Id="rId1" Target="xl/workbook.xml" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument"/>\n' + ' <Relationship Id="rId2" Target="docProps/app.xml" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties"/>\n' + ' <Relationship Id="rId3" Target="docProps/core.xml" Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties"/>\n' + '</Relationships>'
Readonly SHARED_STRINGS_XML
Default value : '<?xml version="1.0" encoding="UTF-8"?>\n' + '<sst count="0" uniqueCount="0" xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"/>'
Readonly WORKBOOK_RELS_XML
Default value : '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n' + '<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">\n' + ' <Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings" Target="sharedStrings.xml"/>\n' + ' <Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="worksheets/sheet1.xml"/>\n' + '</Relationships>'

Methods

generateAppXml
generateAppXml(name: string)
Parameters :
Name Type Optional
name string No
Returns : string
generateCoreXml
generateCoreXml(name: string)
Parameters :
Name Type Optional
name string No
Returns : string
generateSheetXml
generateSheetXml(data: string[][])
Parameters :
Name Type Optional
data string[][] No
Returns : string
generateWorkbookXml
generateWorkbookXml(sheetName: string)
Parameters :
Name Type Optional Default value
sheetName string No 'Measurements'
Returns : string

results matching ""

    No results matching ""