We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 624bdac commit 1979ef5Copy full SHA for 1979ef5
Types/OpenXML.PowerPoint.File/get_Slides.ps1
@@ -0,0 +1,17 @@
1
+$slidesInOrder = @($this.Parts[$this.Parts.keys -match '/slide\d+\.xml$'] |
2
+ Sort-Object { $_.Uri -replace '\D' -as [int]} |
3
+ Select-Object)
4
+
5
6
+foreach ($slide in $slidesInOrder) {
7
+ [PSCustomObject][Ordered]@{
8
+ PSTypeName = 'OpenXML.PowerPoint.Slide'
9
+ FilePath = $this.FilePath
10
+ Uri = $slide.Uri
11
+ SlideNumber = $slide.Uri -replace '\D' -as [int]
12
+ Content = $slide.Content
13
+ ContentType = $slide.ContentType
14
+ }
15
+}
16
17
0 commit comments