Skip to content

Commit 5cfa47f

Browse files
author
James Brundage
committed
feat: OpenXML.PowerPoint.Slide.get_Text ( Fixes #10 )
1 parent 752eb0a commit 5cfa47f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
@($this.Content |
2+
Select-Xml -XPath '//a:t' -Namespace @{a='http://schemas.openxmlformats.org/drawingml/2006/main'} |
3+
Foreach-Object {
4+
if ($_.Node.LocalName -eq 't') {
5+
$_.Node.InnerText
6+
} else {
7+
[Environment]::NewLine
8+
}
9+
}) -join ''

0 commit comments

Comments
 (0)