diff kdir.js @ 74:7827e686be75 default tip

refactoring again...
author Henry S. Thompson <ht@markup.co.uk>
date Wed, 05 Jul 2017 18:26:27 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/kdir.js	Wed Jul 05 18:26:27 2017 +0100
@@ -0,0 +1,41 @@
+{__type__:Book,
+ source:"kdir.xlsx",
+ sheets:[
+   {__type__:Sheet,
+    name:"Sheet1",
+    tables:[
+      {__type__:Table,
+       name:"_T000",
+       bbox:A$3:$J$11,
+       shape:rows,
+       labels:[
+	 {__type__:CompoundLabel,
+	  name:"_L000", bbox:C$3:$J$5,
+	  content:[{__type__:SimpleLabel,
+		    name:"_L001", bbox:C$3:$E$3},
+		   {__type__:SimpleLabel,
+		    name:"_L002", bbox:I$3:$J$4},
+		   {__type__:SimpleLabel,
+		    name:"_L003", bbox:C$4:$H$4},
+		   {__type__:SimpleLabel,
+		    name:"_L004", bbox:C$5:$J$5}]}],
+       data:[
+	   {__type__:Key,
+	    name:"_K001", bbox:A$6:$A$11,
+	    content:[
+		{__type__:Key,
+		 name:"_K001a", bbox:A$6:$A$8},
+		{__type__:Key,
+		 name:"_K001b", bbox:A$9:$A$11}]},
+	   {__type__:Key,
+	    name:"_K002", bbox:B$6:$B$11},
+	   {__type__:Value,static:True,
+	    name:"_V000", bbox:C$6:$C$11},
+	   {__type__:Value,static:False,
+	    name:"_V010", bbox:I$6:$I$11}
+       ]}
+    ],
+    misc:[{__type__:Region,
+	   name:"_X000", bbox:A$1:$J$1},
+	  {__type__:Region,
+	   name:"_X001", bbox:A$13:$E$13}]}]}