Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 23b700b

Browse files
JSE [finish] xlsx/xl/FileStyles.
1 parent e8f5de1 commit 23b700b

File tree

3 files changed

+187
-54
lines changed

3 files changed

+187
-54
lines changed

‎src/api/Internals.ts‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ export const XMLNS_METADATA_CORE_PROPERTIES: string = "http://schemas.openxmlfor
77
export const XMLNS_DC_CORE_PROPERTIES: string = "http://purl.org/dc/elements/1.1/";
88
export const XMLNS_DC_TERMS_CORE_PROPERTIES: string = "http://purl.org/dc/terms/";
99
export const XMLNS_DCMI_TYPE_CORE_PROPERTIES: string = "http://purl.org/dc/dcmitype/";
10+
export const XMLNS_MC: string = "http://schemas.openxmlformats.org/markup-compatibility/2006";
1011
export const XMLNS_XSI_XML_SCHEMA_INSTANCE: string = "http://www.w3.org/2001/XMLSchema-instance";
12+
export const XMLNS_X14AC: string = "http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac";
13+
export const XMLNS_X16R2: string = "http://schemas.microsoft.com/office/spreadsheetml/2015/02/main";
14+
export const XMLNS_XR: string = "http://schemas.microsoft.com/office/spreadsheetml/2014/revision";
1115
export const XMLNS_DOC_PROPS_V_TYPES: string = "http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes";
1216
export const EXTENSION_RELS_SCHEMA: string = "application/vnd.openxmlformats-package.relationships+xml";
1317
export const EXTENSION_XML_SCHEMA: string = "application/xml";

‎src/api/xlsx.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,12 @@ interface ___JSE_XLSX___NodeAttribute {
8181
value: string | number | boolean; // TODO: Improve if needed
8282
}
8383

84+
type ___JSE_XLSX___Node_CONTENT_TYPE = ___JSE_XLSX___Node | string | number | boolean | undefined;
85+
8486
export interface ___JSE_XLSX___Node {
8587
name: string | ___JSE_XLSX___NodeName; // TODO: Make Precise if possible
8688
values?: Array<___JSE_XLSX___NodeAttribute>;
87-
content?: ___JSE_XLSX___Node | Array<___JSE_XLSX___Node>|string|number|boolean|undefined;
89+
content?: ___JSE_XLSX___Node_CONTENT_TYPE | Array<___JSE_XLSX___Node_CONTENT_TYPE>;
8890
}
8991

9092
export interface ___JSE_XLSX___FileContent {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /