Mercurial > hg > ooxml
comparison visualise.xpl @ 25:a5125a2e77ea
towards inverted map of refs
author | Henry S. Thompson <ht@markup.co.uk> |
---|---|
date | Thu, 06 Apr 2017 18:31:46 +0100 |
parents | 9b1b169dc8db |
children | d2ca3ea1f5ae |
comparison
equal
deleted
inserted
replaced
24:87e0d620deea | 25:a5125a2e77ea |
---|---|
13 </p:documentation> | 13 </p:documentation> |
14 </p:option> | 14 </p:option> |
15 | 15 |
16 <p:option name="format"> | 16 <p:option name="format"> |
17 <p:documentation xmlns="http://www.w3.org/1999/xhtml"> | 17 <p:documentation xmlns="http://www.w3.org/1999/xhtml"> |
18 <div>If supplied, then use as stylesheet (located relative to elabDir)</div> | 18 <div>If supplied, then use as stylesheet (located relative to elabDir), to |
19 produce pretty output (e.g. ascii, html)</div> | |
19 </p:documentation> | 20 </p:documentation> |
20 </p:option> | 21 </p:option> |
21 | 22 |
22 <p:load name="ss1"> | 23 <p:load name="ss1"> |
23 <p:with-option name="href" select="concat($elabDir,'/format.xsl')"/> | 24 <p:with-option name="href" select="concat($elabDir,'/format.xsl')"/> |
25 <p:documentation> | |
26 <div>Use cell format and other cues in order to assign classes to cells</div> | |
27 </p:documentation> | |
24 </p:load> | 28 </p:load> |
25 | 29 |
26 <p:xslt name="format"> | 30 <p:xslt name="format"> |
27 <p:input port="source"> | 31 <p:input port="source"> |
28 <p:pipe step="vis" port="source"/> | 32 <p:pipe step="vis" port="source"/> |
33 <p:with-param name="elabDir" select="$elabDir"/> | 37 <p:with-param name="elabDir" select="$elabDir"/> |
34 </p:xslt> | 38 </p:xslt> |
35 | 39 |
36 <p:load name="ssr"> | 40 <p:load name="ssr"> |
37 <p:with-option name="href" select="concat($elabDir,'/refs.xsl')"/> | 41 <p:with-option name="href" select="concat($elabDir,'/refs.xsl')"/> |
42 <p:documentation> | |
43 <div>Tokenise cell formulae and extract local, range and external references</div> | |
44 </p:documentation> | |
38 </p:load> | 45 </p:load> |
39 | 46 |
40 <p:xslt name="refs"> | 47 <p:xslt name="refs"> |
41 <p:input port="source"> | 48 <p:input port="source"> |
42 <p:pipe step="vis" port="source"/> | 49 <p:pipe step="vis" port="source"/> |
43 </p:input> | 50 </p:input> |
44 <p:input port="stylesheet"> | 51 <p:input port="stylesheet"> |
45 <p:pipe step="ssr" port="result"/> | 52 <p:pipe step="ssr" port="result"/> |
53 </p:input> | |
54 </p:xslt> | |
55 | |
56 <p:load name="ssr2"> | |
57 <p:with-option name="href" select="concat($elabDir,'/refs2.xsl')"/> | |
58 <p:documentation> | |
59 <div>Invert refs data into a map from cell to cells which point to it</div> | |
60 </p:documentation> | |
61 </p:load> | |
62 | |
63 <p:xslt name="refs2"> | |
64 <p:input port="source"> | |
65 <p:pipe step="refs" port="result"/> | |
66 </p:input> | |
67 <p:input port="stylesheet"> | |
68 <p:pipe step="ssr2" port="result"/> | |
46 </p:input> | 69 </p:input> |
47 </p:xslt> | 70 </p:xslt> |
48 | 71 |
49 <p:load name="ss2"> | 72 <p:load name="ss2"> |
50 <p:with-option name="href" select="concat($elabDir,'/rect.xsl')"/> | 73 <p:with-option name="href" select="concat($elabDir,'/rect.xsl')"/> |