MCPcopy
hub / github.com/exceljs/exceljs / render

Method render

lib/xlsx/xform/strings/phonetic-text-xform.js:24–38  ·  view source on GitHub ↗
(xmlStream, model)

Source from the content-addressed store, hash-verified

22 }
23
24 render(xmlStream, model) {
25 xmlStream.openNode(this.tag, {
26 sb: model.sb || 0,
27 eb: model.eb || 0,
28 });
29 if (model && model.hasOwnProperty('richText') && model.richText) {
30 const {r} = this.map;
31 model.richText.forEach(text => {
32 r.render(xmlStream, text);
33 });
34 } else if (model) {
35 this.map.t.render(xmlStream, model.text);
36 }
37 xmlStream.closeNode();
38 }
39
40 parseOpen(node) {
41 const {name} = node;

Callers

nothing calls this directly

Calls 3

openNodeMethod · 0.80
closeNodeMethod · 0.80
forEachMethod · 0.65

Tested by

no test coverage detected