svell_jerry 3 年 前
コミット
c0a84a210a

+ 9 - 0
packages/xlsx/src/doc/Alignment.ts

@@ -0,0 +1,9 @@
+export interface Alignment  {
+    horizontal: 'left' | 'center' | 'right' | 'fill' | 'justify' | 'centerContinuous' | 'distributed';
+    vertical: 'top' | 'middle' | 'bottom' | 'distributed' | 'justify';
+    wrapText: boolean;
+    shrinkToFit: boolean;
+    indent: number;
+    readingOrder: 'rtl' | 'ltr';
+    textRotation: number | 'vertical';
+}

+ 4 - 0
packages/xlsx/src/doc/Border.ts

@@ -0,0 +1,4 @@
+export interface Border {
+    style: BorderStyle;
+    color: Partial<Color>;
+}

+ 3 - 0
packages/xlsx/src/doc/CalcProperties.ts

@@ -0,0 +1,3 @@
+export class CalcProperties {
+
+}

+ 4 - 0
packages/xlsx/src/doc/Color.ts

@@ -0,0 +1,4 @@
+export interface Color {
+    argb: string;
+    theme: number;
+}

+ 1 - 1
packages/xlsx/src/doc/Properties.ts

@@ -1,3 +1,3 @@
 export class Properties {
-
+    public tabColor: string
 }

+ 3 - 0
packages/xlsx/src/doc/Protection.ts

@@ -0,0 +1,3 @@
+export interface Protection {
+    locked: boolean;
+}

+ 3 - 0
packages/xlsx/src/doc/Style.ts

@@ -0,0 +1,3 @@
+export class Style {
+
+}

+ 2 - 0
packages/xlsx/src/doc/WorkBook.ts

@@ -1,4 +1,5 @@
 import {
+    CalcProperties,
     Properties
 } from "../internal";
 
@@ -11,4 +12,5 @@ export class WorkBook {
     public manager: string;
     public modified: Date = this.created;
     public properties: Properties;
+    public calcProperties: CalcProperties
 }

+ 6 - 0
packages/xlsx/src/doc/WorkSheet.ts

@@ -0,0 +1,6 @@
+export class WorkSheet {
+    public id: string;
+    public orderNo: string;
+    public name: string;
+    public state: string;
+}

+ 1 - 0
packages/xlsx/src/internal.ts

@@ -1,4 +1,5 @@
 export  * from './doc/Properties'
+export  * from './doc/CalcProperties'
 export * from './doc/WorkBook'
 
 export * from './xlsx/BaseXForm'