Src/Plugins/Word/Get-WordDocument.ps1

function Get-WordDocument
{
<#
    .SYNOPSIS
        Outputs Office Open XML document
#>

    [CmdletBinding()]
    [OutputType([System.Xml.XmlDocument])]
    param
    (
        # The PScribo document object to convert to a Word xml document
        [Parameter(Mandatory, ValueFromPipeline)]
        [System.Management.Automation.PSObject] $Document
    )
    process
    {
        $xmlns = 'http://schemas.openxmlformats.org/wordprocessingml/2006/main'
        $xmlnswpdrawing = 'http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing'
        $xmlnsdrawing = 'http://schemas.openxmlformats.org/drawingml/2006/main'
        $xmlnspicture = 'http://schemas.openxmlformats.org/drawingml/2006/picture'
        $xmlnsrelationships = 'http://schemas.openxmlformats.org/officeDocument/2006/relationships'
        $xmlnsofficeword14 = 'http://schemas.microsoft.com/office/drawing/2010/main'
        $xmlnsmath = 'http://schemas.openxmlformats.org/officeDocument/2006/math'
        $xmlDocument = New-Object -TypeName 'System.Xml.XmlDocument'
        [ref] $null = $xmlDocument.AppendChild($xmlDocument.CreateXmlDeclaration('1.0', 'utf-8', 'yes'))
        $documentXml = $xmlDocument.AppendChild($xmlDocument.CreateElement('w', 'document', $xmlns))
        [ref] $null = $xmlDocument.DocumentElement.SetAttribute('xmlns:xml', 'http://www.w3.org/XML/1998/namespace')
        [ref] $null = $xmlDocument.DocumentElement.SetAttribute('xmlns:pic', $xmlnspicture)
        [ref] $null = $xmlDocument.DocumentElement.SetAttribute('xmlns:wp', $xmlnswpdrawing)
        [ref] $null = $xmlDocument.DocumentElement.SetAttribute('xmlns:a', $xmlnsdrawing)
        [ref] $null = $xmlDocument.DocumentElement.SetAttribute('xmlns:r', $xmlnsrelationships)
        [ref] $null = $xmlDocument.DocumentElement.SetAttribute('xmlns:m', $xmlnsmath)
        [ref] $null = $xmlDocument.DocumentElement.SetAttribute('xmlns:a14', $xmlnsofficeword14)
        $body = $documentXml.AppendChild($xmlDocument.CreateElement('w', 'body', $xmlns))
        $script:pscriboIsFirstSection = $false

        foreach ($subSection in $Document.Sections.GetEnumerator())
        {
            $currentIndentationLevel = 1
            if ($null -ne $subSection.PSObject.Properties['Level'])
            {
                $currentIndentationLevel = $subSection.Level + 1
            }
            Write-PScriboProcessSectionId -SectionId $subSection.Id -SectionType $subSection.Type -Indent $currentIndentationLevel

            switch ($subSection.Type)
            {
                'PScribo.Section'
                {
                    Out-WordSection -Section $subSection -Element $body -XmlDocument $xmlDocument
                }
                'PScribo.Paragraph'
                {
                    [ref] $null = $body.AppendChild((Out-WordParagraph -Paragraph $subSection -XmlDocument $xmlDocument))
                }
                'PScribo.Image'
                {
                    $Images += @($subSection)
                    [ref] $null = $body.AppendChild((Out-WordImage -Image $subSection -XmlDocument $xmlDocument))
                }
                'PScribo.PageBreak'
                {
                    [ref] $null = $body.AppendChild((Out-WordPageBreak -PageBreak $subSection -XmlDocument $xmlDocument))
                }
                'PScribo.LineBreak'
                {
                    [ref] $null = $body.AppendChild((Out-WordLineBreak -LineBreak $subSection -XmlDocument $xmlDocument))
                }
                'PScribo.Table'
                {
                    Out-WordTable -Table $subSection -XmlDocument $xmlDocument -Element $body
                }
                'PScribo.TOC'
                {
                    [ref] $null = $body.AppendChild((Out-WordTOC -TOC $subSection -XmlDocument $xmlDocument))
                }
                'PScribo.BlankLine'
                {
                    Out-WordBlankLine -BlankLine $subSection -XmlDocument $xmlDocument -Element $body
                }
                Default
                {
                    Write-PScriboMessage -Message ($localized.PluginUnsupportedSection -f $subSection.Type) -IsWarning
                }
            }
        }

        ## Last section's properties are a child element of body element
        $lastSectionOrientation = $Document.Sections |
            Where-Object { $_.Type -in 'PScribo.Section','PScribo.Paragraph' } |
                Select-Object -Last 1 -ExpandProperty Orientation
        if ($null -eq $lastSectionOrientation)
        {
            $lastSectionOrientation = $Document.Options['PageOrientation']
        }

        $sectionPrParams = @{
            PageHeight       = $Document.Options['PageHeight']
            PageWidth        = $Document.Options['PageWidth']
            PageMarginTop    = $Document.Options['MarginTop']
            PageMarginBottom = $Document.Options['MarginBottom']
            PageMarginLeft   = $Document.Options['MarginLeft']
            PageMarginRight  = $Document.Options['MarginRight']
            Orientation      = $lastSectionOrientation
        }

        $wordSectionPr = Get-WordSectionPr @sectionPrParams -XmlDocument $xmlDocument
        [ref] $null = $body.AppendChild($wordSectionPr)
        return $xmlDocument
    }
}

# SIG # Begin signature block
# MIIhZwYJKoZIhvcNAQcCoIIhWDCCIVQCAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB
# gjcCAQSgWzBZMDQGCisGAQQBgjcCAR4wJgIDAQAABBAfzDtgWUsITrck0sYpfvNR
# AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQUPZ1UOGsvd1KcAipa8k5VqXj2
# yACgghsPMIIGrjCCBJagAwIBAgIQBzY3tyRUfNhHrP0oZipeWzANBgkqhkiG9w0B
# AQsFADBiMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYD
# VQQLExB3d3cuZGlnaWNlcnQuY29tMSEwHwYDVQQDExhEaWdpQ2VydCBUcnVzdGVk
# IFJvb3QgRzQwHhcNMjIwMzIzMDAwMDAwWhcNMzcwMzIyMjM1OTU5WjBjMQswCQYD
# VQQGEwJVUzEXMBUGA1UEChMORGlnaUNlcnQsIEluYy4xOzA5BgNVBAMTMkRpZ2lD
# ZXJ0IFRydXN0ZWQgRzQgUlNBNDA5NiBTSEEyNTYgVGltZVN0YW1waW5nIENBMIIC
# IjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAxoY1BkmzwT1ySVFVxyUDxPKR
# N6mXUaHW0oPRnkyibaCwzIP5WvYRoUQVQl+kiPNo+n3znIkLf50fng8zH1ATCyZz
# lm34V6gCff1DtITaEfFzsbPuK4CEiiIY3+vaPcQXf6sZKz5C3GeO6lE98NZW1Oco
# LevTsbV15x8GZY2UKdPZ7Gnf2ZCHRgB720RBidx8ald68Dd5n12sy+iEZLRS8nZH
# 92GDGd1ftFQLIWhuNyG7QKxfst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