Skip to content

Commit da0fea5

Browse files
StartAutomatingStartAutomating
authored andcommitted
feat: OpenXML.Word.TableRow.get_Text ( Fixes #50 )
1 parent 84550f2 commit da0fea5

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

OpenXML.types.ps1xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -659,6 +659,20 @@ foreach ($column in $this.tr) {
659659
}
660660
</GetScriptBlock>
661661
</ScriptProperty>
662+
<ScriptProperty>
663+
<Name>Text</Name>
664+
<GetScriptBlock>
665+
&lt;#
666+
.SYNOPSIS
667+
Gets table row text
668+
.DESCRIPTION
669+
Gets an array containing the text from a table row.
670+
#&gt;
671+
return ,@(foreach ($column in $this.tc) {
672+
$column.InnerText
673+
})
674+
</GetScriptBlock>
675+
</ScriptProperty>
662676
</Members>
663677
</Type>
664678
</Types>

0 commit comments

Comments
 (0)