MCPcopy Index your code
hub / github.com/simstudioai/sim / findTable

Function findTable

apps/sim/lib/pptx-renderer/model/nodes/table-node.ts:78–82  ·  view source on GitHub ↗

* Locate the `a:tbl` element inside a graphicFrame. * Path: `a:graphic > a:graphicData > a:tbl`

(frameNode: SafeXmlNode)

Source from the content-addressed store, hash-verified

76 * Path: `a:graphic > a:graphicData > a:tbl`
77 */
78function findTable(frameNode: SafeXmlNode): SafeXmlNode {
79 const graphic = frameNode.child('graphic')
80 const graphicData = graphic.child('graphicData')
81 return graphicData.child('tbl')
82}
83
84/**
85 * Extract the table style ID from tblPr.

Callers 1

parseTableNodeFunction · 0.85

Calls 1

childMethod · 0.80

Tested by

no test coverage detected