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 0ef41ad commit 58cf37eCopy full SHA for 58cf37e
1 file changed
OpenXML.types.ps1xml
@@ -445,6 +445,9 @@ foreach ($wordTable in
445
.DESCRIPTION
446
Gets the `/word/document.xml` within a Word File.
447
#>
448
+[OutputType([xml])]
449
+param()
450
+
451
if ($null -ne $this.'#document') { return $this.'#document'}
452
453
if (-not $this.PartExists) { return }
@@ -472,6 +475,9 @@ if ($documentXml) {
472
475
$documentXml.psobject.properties.add(
473
476
[psnoteproperty]::new('OpenXML', $this), $false
474
477
)
478
+ $documentXml.psobject.properties.add(
479
+ [psnoteproperty]::new('Part', $documentPart), $false
480
+ )
481
$this.psobject.properties.add(
482
[psnoteproperty]::new('#document', $documentXml), $false
483
0 commit comments