PSWriteOffice.psm1

# PSWriteOffice bootstrapper
# Auto-generated by PowerForge. Do not edit.

# Get library name, from the PSM1 file name
$LibraryName = 'PSWriteOffice'
$Library = "$LibraryName.dll"
$Class = "$LibraryName.Initialize"

$LibRoot = [IO.Path]::Combine($PSScriptRoot, 'Lib')
$AssemblyFolders = Get-ChildItem -LiteralPath $LibRoot -Directory -ErrorAction SilentlyContinue

$Default = $false
$Core = $false
$Standard = $false
foreach ($A in $AssemblyFolders.Name) {
    if ($A -eq 'Default') {
        $Default = $true
    }
    elseif ($A -eq 'Core') {
        $Core = $true
    }
    elseif ($A -eq 'Standard') {
        $Standard = $true
    }
}
if ($Standard -and $Core -and $Default) {
    $FrameworkNet = 'Default'
    $Framework = 'Standard'
}
elseif ($Standard -and $Core) {
    $Framework = 'Standard'
    $FrameworkNet = 'Standard'
}
elseif ($Core -and $Default) {
    $Framework = 'Core'
    $FrameworkNet = 'Default'
}
elseif ($Standard -and $Default) {
    $Framework = 'Standard'
    $FrameworkNet = 'Default'
}
elseif ($Standard) {
    $Framework = 'Standard'
    $FrameworkNet = 'Standard'
}
elseif ($Core) {
    $Framework = 'Core'
    $FrameworkNet = ''
}
elseif ($Default) {
    $Framework = 'Default'
    $FrameworkNet = 'Default'
}
else {
    Write-Error -Message 'No assemblies found'
    return
}

if ($PSEdition -eq 'Core') {
    $LibFolder = $Framework
}
else {
    $LibFolder = $FrameworkNet
}

$PowerForgeDesktopBinaryLoaded = $false
try {
    $ImportModule = Get-Command -Name Import-Module -Module Microsoft.PowerShell.Core
    $ModuleAssemblyPath = [IO.Path]::Combine($PSScriptRoot, 'Lib', $LibFolder, $Library)

    if ($PSEdition -eq 'Core') {
        $LoaderAssemblyPath = [IO.Path]::Combine($PSScriptRoot, 'Lib', $LibFolder, 'PSWriteOffice.ModuleLoadContext.dll')
        if (-not ('PSWriteOffice.ModuleLoadContext.ModuleAssemblyLoadContext' -as [type])) {
            Add-Type -Path $LoaderAssemblyPath -ErrorAction Stop
        }

        $ModuleAssembly = [PSWriteOffice.ModuleLoadContext.ModuleAssemblyLoadContext]::LoadModule($ModuleAssemblyPath, 'PSWriteOffice')
        $InnerModule = & $ImportModule -Assembly $ModuleAssembly -Force -PassThru -ErrorAction Stop


        if ($InnerModule) {
            # Import-Module -Assembly loads the inner binary module into its own module object. PowerShell has no
            # public API to copy those exported cmdlets back to the script-module wrapper, so this uses the same
            # private PSModuleInfo hook used by community ALC loaders. This runs on first load and reloads so the
            # outer script module always re-exports cmdlets from the ALC-loaded binary module.
            $AddExportedCmdlet = [System.Management.Automation.PSModuleInfo].GetMethod(
                'AddExportedCmdlet',
                [System.Reflection.BindingFlags]'Instance, NonPublic'
            )
            if ($null -ne $AddExportedCmdlet) {
                foreach ($Cmd in $InnerModule.ExportedCmdlets.Values) {
                    $AddExportedCmdlet.Invoke($ExecutionContext.SessionState.Module, @(, $Cmd)) | Out-Null
                }
                $AddExportedAlias = [System.Management.Automation.PSModuleInfo].GetMethod(
                    'AddExportedAlias',
                    [System.Reflection.BindingFlags]'Instance, NonPublic'
                )
                if ($null -ne $AddExportedAlias) {
                    foreach ($Alias in $InnerModule.ExportedAliases.Values) {
                        $AliasTarget = if ([string]::IsNullOrWhiteSpace($Alias.Definition)) {
                            $Alias.ResolvedCommandName 
                        }
                        else {
                            $Alias.Definition 
                        }
                        try {
                            # The alias must exist in this module scope before the private export table can reference it.
                            Set-Alias -Name $Alias.Name -Value $AliasTarget -Scope Local -Force -ErrorAction Stop
                            $ExportedAlias = $ExecutionContext.SessionState.InvokeCommand.GetCommand($Alias.Name, [System.Management.Automation.CommandTypes]::Alias)
                            if ($null -ne $ExportedAlias) {
                                $AddExportedAlias.Invoke($ExecutionContext.SessionState.Module, @(, $ExportedAlias)) | Out-Null
                            }
                            else {
                                Write-Warning -Message "Alias '$($Alias.Name)' from $LibraryName was created but could not be resolved for export."
                            }
                        }
                        catch {
                            Write-Warning -Message "Alias '$($Alias.Name)' from $LibraryName could not be re-exported: $($_.Exception.Message)"
                        }
                    }
                }
                else {
                    Write-Warning -Message "AddExportedAlias is not available on this PowerShell version. Aliases from $LibraryName will not be re-exported to the module scope."
                }
            }
            else {
                Write-Warning -Message "AddExportedCmdlet is not available on this PowerShell version. Falling back to direct Import-Module; cmdlets from $LibraryName will load from the default context."
                & $ImportModule $ModuleAssemblyPath -ErrorAction Stop
            }
        }
    }
    elseif (-not ($Class -as [type])) {
        & $ImportModule $ModuleAssemblyPath -ErrorAction Stop
    }
    else {
        $Type = "$Class" -as [Type]
        & $ImportModule -Force -Assembly ($Type.Assembly)
    }

    if ($PSEdition -ne 'Core') {
        $PowerForgeDesktopBinaryLoaded = $true
    }
}
catch {
    if ($ErrorActionPreference -eq 'Stop') {
        throw
    }
    else {
        Write-Warning -Message "Importing module $Library failed. Fix errors before continuing. Error: $($_.Exception.Message)"
    }
}

if ($PSEdition -ne 'Core' -and $PowerForgeDesktopBinaryLoaded) {
    # Core loads dependencies through the module-scoped AssemblyLoadContext above. Dot-sourcing the libraries script
    # there would load dependency DLLs into the default context and undo the isolation this template exists to provide.
    $LibrariesScript = [IO.Path]::Combine($PSScriptRoot, 'PSWriteOffice.Libraries.ps1')
    if (Test-Path -LiteralPath $LibrariesScript) {
        . $LibrariesScript
    }
}


$FunctionsToExport = @()
$CmdletsToExport = @('Add-OfficeExcelAutoFilter', 'Add-OfficeExcelChart', 'Add-OfficeExcelComment', 'Add-OfficeExcelConditionalColorScale', 'Add-OfficeExcelConditionalDataBar', 'Add-OfficeExcelConditionalIconSet', 'Add-OfficeExcelConditionalRule', 'Add-OfficeExcelDashboardChart', 'Add-OfficeExcelDataSet', 'Add-OfficeExcelImage', 'Add-OfficeExcelImageFromUrl', 'Add-OfficeExcelPackageMetadata', 'Add-OfficeExcelPageBreak', 'Add-OfficeExcelPivotTable', 'Add-OfficeExcelPowerQueryMetadata', 'Add-OfficeExcelReportCallout', 'Add-OfficeExcelReportKpiRow', 'Add-OfficeExcelReportLegend', 'Add-OfficeExcelReportParagraph', 'Add-OfficeExcelReportSection', 'Add-OfficeExcelReportSheet', 'Add-OfficeExcelReportSpacer', 'Add-OfficeExcelReportTable', 'Add-OfficeExcelReportTitle', 'Add-OfficeExcelSheet', 'Add-OfficeExcelSlicer', 'Add-OfficeExcelSparkline', 'Add-OfficeExcelSubtotalSummary', 'Add-OfficeExcelTable', 'Add-OfficeExcelTableOfContents', 'Add-OfficeExcelTableRow', 'Add-OfficeExcelThreadedComment', 'Add-OfficeExcelTimeline', 'Add-OfficeExcelValidationCustomFormula', 'Add-OfficeExcelValidationDate', 'Add-OfficeExcelValidationDecimal', 'Add-OfficeExcelValidationList', 'Add-OfficeExcelValidationTextLength', 'Add-OfficeExcelValidationTime', 'Add-OfficeExcelValidationWholeNumber', 'Add-OfficeMarkdownCallout', 'Add-OfficeMarkdownCode', 'Add-OfficeMarkdownDefinitionList', 'Add-OfficeMarkdownDetails', 'Add-OfficeMarkdownFrontMatter', 'Add-OfficeMarkdownHeading', 'Add-OfficeMarkdownHorizontalRule', 'Add-OfficeMarkdownImage', 'Add-OfficeMarkdownList', 'Add-OfficeMarkdownParagraph', 'Add-OfficeMarkdownQuote', 'Add-OfficeMarkdownTable', 'Add-OfficeMarkdownTableOfContents', 'Add-OfficeMarkdownTaskList', 'Add-OfficePdfAttachment', 'Add-OfficePdfBackgroundShape', 'Add-OfficePdfBookmark', 'Add-OfficePdfFormField', 'Add-OfficePdfHeading', 'Add-OfficePdfHorizontalRule', 'Add-OfficePdfImage', 'Add-OfficePdfList', 'Add-OfficePdfPageBreak', 'Add-OfficePdfPanel', 'Add-OfficePdfParagraph', 'Add-OfficePdfRow', 'Add-OfficePdfSpacer', 'Add-OfficePdfStamp', 'Add-OfficePdfTable', 'Add-OfficePdfText', 'Add-OfficePdfWatermark', 'Add-OfficePowerPointBullets', 'Add-OfficePowerPointChart', 'Add-OfficePowerPointDesignerDeck', 'Add-OfficePowerPointImage', 'Add-OfficePowerPointPlanCapability', 'Add-OfficePowerPointPlanCardGrid', 'Add-OfficePowerPointPlanCaseStudy', 'Add-OfficePowerPointPlanCoverage', 'Add-OfficePowerPointPlanLogoWall', 'Add-OfficePowerPointPlanProcess', 'Add-OfficePowerPointPlanSection', 'Add-OfficePowerPointSection', 'Add-OfficePowerPointShape', 'Add-OfficePowerPointSlide', 'Add-OfficePowerPointTable', 'Add-OfficePowerPointTableRow', 'Add-OfficePowerPointTextBox', 'Add-OfficeVisioConnector', 'Add-OfficeVisioContainer', 'Add-OfficeVisioDiamond', 'Add-OfficeVisioEllipse', 'Add-OfficeVisioPage', 'Add-OfficeVisioRectangle', 'Add-OfficeVisioStencilShape', 'Add-OfficeVisioTextBox', 'Add-OfficeWordBookmark', 'Add-OfficeWordBreak', 'Add-OfficeWordChart', 'Add-OfficeWordCheckBox', 'Add-OfficeWordComboBox', 'Add-OfficeWordContentControl', 'Add-OfficeWordCoverPage', 'Add-OfficeWordDatePicker', 'Add-OfficeWordDropDownList', 'Add-OfficeWordEndnote', 'Add-OfficeWordEquation', 'Add-OfficeWordField', 'Add-OfficeWordFooter', 'Add-OfficeWordFootnote', 'Add-OfficeWordHeader', 'Add-OfficeWordHyperlink', 'Add-OfficeWordImage', 'Add-OfficeWordList', 'Add-OfficeWordListItem', 'Add-OfficeWordPageNumber', 'Add-OfficeWordParagraph', 'Add-OfficeWordPictureControl', 'Add-OfficeWordRepeatingSection', 'Add-OfficeWordSection', 'Add-OfficeWordShape', 'Add-OfficeWordTable', 'Add-OfficeWordTableCell', 'Add-OfficeWordTableCondition', 'Add-OfficeWordTableOfContents', 'Add-OfficeWordTableRow', 'Add-OfficeWordTabStop', 'Add-OfficeWordText', 'Add-OfficeWordTextBox', 'Add-OfficeWordWatermark', 'Clear-OfficeExcelAutoFilter', 'Clear-OfficeExcelComment', 'Clear-OfficeExcelConditionalFormatting', 'Clear-OfficeExcelDataValidation', 'Clear-OfficeExcelPageBreak', 'Clear-OfficeExcelRange', 'Clear-OfficeExcelWriteReservation', 'Clear-OfficePdfBackgroundShape', 'Close-OfficeExcel', 'Close-OfficePowerPoint', 'Close-OfficeWord', 'Compare-OfficeExcelRange', 'Compare-OfficeExcelWorkbook', 'Compare-OfficePdfVisual', 'Compare-OfficeWordDocument', 'ConvertFrom-OfficeAsciiDocMarkdown', 'ConvertFrom-OfficeCsv', 'ConvertFrom-OfficeLatexMarkdown', 'ConvertFrom-OfficeMarkdownHtml', 'ConvertFrom-OfficeOpenDocument', 'ConvertFrom-OfficePdfHtml', 'ConvertFrom-OfficeRtf', 'ConvertFrom-OfficeWordHtml', 'ConvertFrom-OfficeWordMarkdown', 'ConvertTo-OfficeAsciiDocMarkdown', 'ConvertTo-OfficeCsv', 'ConvertTo-OfficeExcelHtml', 'ConvertTo-OfficeExcelWorkbook', 'ConvertTo-OfficeLatexMarkdown', 'ConvertTo-OfficeMarkdown', 'ConvertTo-OfficeMarkdownHtml', 'ConvertTo-OfficeOpenDocument', 'ConvertTo-OfficePdfFlatAnnotation', 'ConvertTo-OfficePdfFlatForm', 'ConvertTo-OfficePdfHtml', 'ConvertTo-OfficePdfMarkdown', 'ConvertTo-OfficePdfOptimized', 'ConvertTo-OfficePdfRedacted', 'ConvertTo-OfficePdfSanitized', 'ConvertTo-OfficePowerPointHtml', 'ConvertTo-OfficeRtf', 'ConvertTo-OfficeVisioPng', 'ConvertTo-OfficeVisioSvg', 'ConvertTo-OfficeWordDocument', 'ConvertTo-OfficeWordHtml', 'ConvertTo-OfficeWordMarkdown', 'Copy-OfficeExcelSheet', 'Copy-OfficeExcelWorkbook', 'Copy-OfficePdfPage', 'Copy-OfficePowerPointSlide', 'Edit-OfficeExcelRow', 'Export-OfficeCsv', 'Export-OfficeExcel', 'Export-OfficeExcelGoogleSpreadsheet', 'Export-OfficeExcelImage', 'Export-OfficeHtmlImage', 'Export-OfficePdfImage', 'Export-OfficePdfLayoutOverlay', 'Export-OfficePdfXfdf', 'Export-OfficePowerPointImage', 'Export-OfficeVisioStencilPreviewGallery', 'Export-OfficeWordGoogleDocument', 'Export-OfficeWordImage', 'Find-OfficeExcel', 'Find-OfficePowerPointShape', 'Find-OfficeVisioStencil', 'Find-OfficeWord', 'Find-OfficeWordList', 'Find-OfficeWordTable', 'Get-OfficeAsciiDoc', 'Get-OfficeCsv', 'Get-OfficeDocument', 'Get-OfficeDocumentAsset', 'Get-OfficeDocumentBatch', 'Get-OfficeDocumentCapability', 'Get-OfficeDocumentChunk', 'Get-OfficeDocumentDetection', 'Get-OfficeDocumentHierarchy', 'Get-OfficeDocumentIngest', 'Get-OfficeDocumentPageMarkdown', 'Get-OfficeDocumentStructured', 'Get-OfficeDocumentTable', 'Get-OfficeDocumentVisual', 'Get-OfficeEmail', 'Get-OfficeEmailMailbox', 'Get-OfficeExcel', 'Get-OfficeExcelComment', 'Get-OfficeExcelCommentAudit', 'Get-OfficeExcelConditionalFormatting', 'Get-OfficeExcelData', 'Get-OfficeExcelDataModel', 'Get-OfficeExcelDataValidation', 'Get-OfficeExcelDocumentProperty', 'Get-OfficeExcelFormulaAnalysis', 'Get-OfficeExcelNamedRange', 'Get-OfficeExcelNumberFormatPreset', 'Get-OfficeExcelPageBreak', 'Get-OfficeExcelPivotTable', 'Get-OfficeExcelPreflight', 'Get-OfficeExcelRange', 'Get-OfficeExcelRichText', 'Get-OfficeExcelRuntimePreflight', 'Get-OfficeExcelStreamingContract', 'Get-OfficeExcelSummary', 'Get-OfficeExcelTable', 'Get-OfficeExcelTableStyle', 'Get-OfficeExcelTemplateMarker', 'Get-OfficeExcelUsedRange', 'Get-OfficeExcelWorksheetView', 'Get-OfficeExcelWriteReservation', 'Get-OfficeLatex', 'Get-OfficeMarkdown', 'Get-OfficeMarkdownFrontMatter', 'Get-OfficeMarkdownHeading', 'Get-OfficeMarkdownNode', 'Get-OfficeMarkdownTable', 'Get-OfficeOpenDocument', 'Get-OfficePdf', 'Get-OfficePdfAnnotation', 'Get-OfficePdfAppendOnlyMutation', 'Get-OfficePdfAttachment', 'Get-OfficePdfCompliance', 'Get-OfficePdfDiagnostic', 'Get-OfficePdfFont', 'Get-OfficePdfFormField', 'Get-OfficePdfImage', 'Get-OfficePdfInfo', 'Get-OfficePdfInteractionMap', 'Get-OfficePdfOptimization', 'Get-OfficePdfPreflight', 'Get-OfficePdfRedactionPlan', 'Get-OfficePdfSignature', 'Get-OfficePdfText', 'Get-OfficePdfTextDiagnostic', 'Get-OfficePowerPoint', 'Get-OfficePowerPointInspection', 'Get-OfficePowerPointLayout', 'Get-OfficePowerPointLayoutBox', 'Get-OfficePowerPointLayoutPlaceholder', 'Get-OfficePowerPointNotes', 'Get-OfficePowerPointPlaceholder', 'Get-OfficePowerPointSection', 'Get-OfficePowerPointShape', 'Get-OfficePowerPointSlide', 'Get-OfficePowerPointSlideSummary', 'Get-OfficePowerPointTheme', 'Get-OfficeRtf', 'Get-OfficeVisio', 'Get-OfficeVisioInfo', 'Get-OfficeVisioStencilCatalog', 'Get-OfficeWord', 'Get-OfficeWordBookmark', 'Get-OfficeWordCheckBox', 'Get-OfficeWordComboBox', 'Get-OfficeWordContentControl', 'Get-OfficeWordDatePicker', 'Get-OfficeWordDocumentProperty', 'Get-OfficeWordDropDownList', 'Get-OfficeWordEndnote', 'Get-OfficeWordField', 'Get-OfficeWordFootnote', 'Get-OfficeWordHyperlink', 'Get-OfficeWordImage', 'Get-OfficeWordList', 'Get-OfficeWordParagraph', 'Get-OfficeWordPictureControl', 'Get-OfficeWordRepeatingSection', 'Get-OfficeWordReview', 'Get-OfficeWordSection', 'Get-OfficeWordShape', 'Get-OfficeWordStatistics', 'Get-OfficeWordTable', 'Get-OfficeWordTableCell', 'Get-OfficeWordTableOfContents', 'Get-OfficeWordText', 'Import-OfficeCsv', 'Import-OfficeExcel', 'Import-OfficeExcelDelimitedText', 'Import-OfficePdfXfdf', 'Import-OfficePowerPointSlide', 'Import-OfficeVisioStencil', 'Invoke-OfficeExcelAutoFit', 'Invoke-OfficeExcelSort', 'Invoke-OfficeExcelTemplate', 'Invoke-OfficeExcelTemplateOptionalRow', 'Invoke-OfficeExcelTemplateRow', 'Invoke-OfficeExcelTemplateSheet', 'Invoke-OfficePdfOcrMerge', 'Invoke-OfficeWordMailMerge', 'Join-OfficeExcelSheet', 'Join-OfficeExcelWorkbook', 'Join-OfficePdf', 'Join-OfficeWordDocument', 'Move-OfficeExcelSheet', 'Move-OfficePdfPage', 'New-OfficeDocumentReader', 'New-OfficeExcel', 'New-OfficeExcelDashboard', 'New-OfficeMarkdown', 'New-OfficeOpenDocument', 'New-OfficePdf', 'New-OfficePdfSignature', 'New-OfficePdfTableCell', 'New-OfficePowerPoint', 'New-OfficePowerPointDeckPlan', 'New-OfficeRtf', 'New-OfficeTextRun', 'New-OfficeVisio', 'New-OfficeVisioGallery', 'New-OfficeWord', 'New-OfficeWordTableCell', 'Protect-OfficeExcelSheet', 'Protect-OfficeExcelWorkbook', 'Protect-OfficeWordDocument', 'Remove-OfficeExcelComment', 'Remove-OfficeExcelNamedRange', 'Remove-OfficePdfAnnotation', 'Remove-OfficePdfPage', 'Remove-OfficePowerPointSlide', 'Remove-OfficeWordTableOfContents', 'Rename-OfficeExcelNamedRange', 'Rename-OfficePowerPointSection', 'Repair-OfficeExcelWorkbook', 'Resolve-OfficeWordRevision', 'Save-OfficeAsciiDoc', 'Save-OfficeEmail', 'Save-OfficeEmailMailbox', 'Save-OfficeExcel', 'Save-OfficeLatex', 'Save-OfficeMarkdown', 'Save-OfficeOpenDocument', 'Save-OfficePdf', 'Save-OfficePowerPoint', 'Save-OfficeVisio', 'Save-OfficeWord', 'Search-OfficeDocument', 'Set-OfficeExcelActiveSheet', 'Set-OfficeExcelAutoFilter', 'Set-OfficeExcelCell', 'Set-OfficeExcelChartAxis', 'Set-OfficeExcelChartDataLabels', 'Set-OfficeExcelChartLegend', 'Set-OfficeExcelChartPoint', 'Set-OfficeExcelChartSeries', 'Set-OfficeExcelChartStyle', 'Set-OfficeExcelChartTrendline', 'Set-OfficeExcelColumn', 'Set-OfficeExcelColumnGroup', 'Set-OfficeExcelColumnStyleByHeader', 'Set-OfficeExcelDataValidationMessage', 'Set-OfficeExcelDateSystem', 'Set-OfficeExcelDocumentProperty', 'Set-OfficeExcelExecutionPolicy', 'Set-OfficeExcelFormula', 'Set-OfficeExcelFreeze', 'Set-OfficeExcelGridlines', 'Set-OfficeExcelHeaderFooter', 'Set-OfficeExcelHostHyperlink', 'Set-OfficeExcelHyperlink', 'Set-OfficeExcelInternalLinks', 'Set-OfficeExcelInternalLinksByHeader', 'Set-OfficeExcelMargins', 'Set-OfficeExcelNamedRange', 'Set-OfficeExcelOrientation', 'Set-OfficeExcelPageSetup', 'Set-OfficeExcelPrintArea', 'Set-OfficeExcelPrintLayout', 'Set-OfficeExcelPrintTitles', 'Set-OfficeExcelRefreshOnOpen', 'Set-OfficeExcelRichText', 'Set-OfficeExcelRow', 'Set-OfficeExcelRowGroup', 'Set-OfficeExcelSheetTabColor', 'Set-OfficeExcelSheetVisibility', 'Set-OfficeExcelSmartHyperlink', 'Set-OfficeExcelTheme', 'Set-OfficeExcelUrlLinks', 'Set-OfficeExcelUrlLinksByHeader', 'Set-OfficeExcelWorksheetView', 'Set-OfficeExcelWriteReservation', 'Set-OfficePdfAnnotation', 'Set-OfficePdfBackground', 'Set-OfficePdfBackgroundImage', 'Set-OfficePdfCompliance', 'Set-OfficePdfElectronicInvoice', 'Set-OfficePdfFooter', 'Set-OfficePdfForm', 'Set-OfficePdfHeader', 'Set-OfficePdfMetadata', 'Set-OfficePdfPage', 'Set-OfficePdfPageBorder', 'Set-OfficePdfPageSetup', 'Set-OfficePdfSignature', 'Set-OfficePdfTheme', 'Set-OfficePowerPointBackground', 'Set-OfficePowerPointLayoutPlaceholderBounds', 'Set-OfficePowerPointLayoutPlaceholderTextMargins', 'Set-OfficePowerPointLayoutPlaceholderTextStyle', 'Set-OfficePowerPointNotes', 'Set-OfficePowerPointPlaceholderText', 'Set-OfficePowerPointShapeLayout', 'Set-OfficePowerPointShapeText', 'Set-OfficePowerPointSlideLayout', 'Set-OfficePowerPointSlideSize', 'Set-OfficePowerPointSlideTitle', 'Set-OfficePowerPointSlideTransition', 'Set-OfficePowerPointTableCell', 'Set-OfficePowerPointThemeColor', 'Set-OfficePowerPointThemeFonts', 'Set-OfficePowerPointThemeName', 'Set-OfficeVisioShapeLayout', 'Set-OfficeWordBackground', 'Set-OfficeWordDocumentProperty', 'Set-OfficeWordImage', 'Set-OfficeWordPageSetup', 'Set-OfficeWordParagraphStyle', 'Set-OfficeWordShape', 'Set-OfficeWordTableCell', 'Set-OfficeWordTableOfContents', 'Set-OfficeWordTextStyle', 'Split-OfficePdf', 'Test-OfficeExcelAccessibility', 'Test-OfficeExcelTemplateBinding', 'Test-OfficeExcelWorkbook', 'Test-OfficePdfRewrite', 'Unprotect-OfficeExcelSheet', 'Unprotect-OfficeExcelWorkbook', 'Update-OfficeExcelComment', 'Update-OfficeExcelText', 'Update-OfficePowerPointText', 'Update-OfficeRtfText', 'Update-OfficeWordFields', 'Update-OfficeWordTableOfContents', 'Update-OfficeWordText')
$AliasesToExport = @('Compare-OfficeExcelSheet', 'ConvertFrom-MarkdownHtml', 'ConvertFrom-PdfHtml', 'ConvertFrom-Rtf', 'ConvertFrom-WordHtml', 'ConvertFrom-WordMarkdown', 'ConvertTo-ExcelHtml', 'ConvertTo-MarkdownHtml', 'ConvertTo-PdfHtml', 'ConvertTo-PowerPointHtml', 'ConvertTo-Rtf', 'ConvertTo-VisioPng', 'ConvertTo-VisioSvg', 'ConvertTo-WordHtml', 'ConvertTo-WordMarkdown', 'Edit-ExcelRow', 'ExcelAccessibility', 'ExcelActiveSheet', 'ExcelAutoFilter', 'ExcelAutoFilterClear', 'ExcelAutoFilterSet', 'ExcelAutoFit', 'ExcelCell', 'ExcelChart', 'ExcelChartAxis', 'ExcelChartPoint', 'ExcelChartSeries', 'ExcelChartTrendline', 'ExcelColumn', 'ExcelColumnGroup', 'ExcelColumnStyle', 'ExcelColumnStyleByHeader', 'ExcelComment', 'ExcelCommentAudit', 'ExcelCommentClear', 'ExcelCommentRemove', 'ExcelComments', 'ExcelCommentsAudit', 'ExcelCommentUpdate', 'ExcelCompare', 'ExcelConditionalColorScale', 'ExcelConditionalDataBar', 'ExcelConditionalFormatting', 'ExcelConditionalFormattingClear', 'ExcelConditionalIconSet', 'ExcelConditionalRule', 'ExcelConnectionMetadata', 'ExcelCsvImport', 'ExcelDashboard', 'ExcelDashboardChart', 'ExcelDataModel', 'ExcelDataSet', 'ExcelDataValidation', 'ExcelDataValidationClear', 'ExcelDataValidationMessage', 'ExcelDateSystem', 'ExcelDelimitedImport', 'ExcelDoctor', 'ExcelExecutionPolicy', 'ExcelExport', 'ExcelFormula', 'ExcelFormulaAnalysis', 'ExcelFormulaAudit', 'ExcelFreeze', 'ExcelGridlines', 'ExcelHeaderFooter', 'ExcelHyperlink', 'ExcelHyperlinkHost', 'ExcelHyperlinkSmart', 'ExcelImage', 'ExcelImageFromUrl', 'ExcelImport', 'ExcelInternalLinks', 'ExcelInternalLinksByHeader', 'ExcelMargins', 'ExcelNamedRange', 'ExcelNamedRangeRemove', 'ExcelNamedRangeRename', 'ExcelNew', 'ExcelNumberFormatPreset', 'ExcelOrientation', 'ExcelPackageCopy', 'ExcelPackageMetadata', 'ExcelPageBreak', 'ExcelPageBreakClear', 'ExcelPageBreaks', 'ExcelPageSetup', 'ExcelPivotTable', 'ExcelPivotTables', 'ExcelPowerQuery', 'ExcelPowerQueryMetadata', 'ExcelPreflight', 'ExcelPrintArea', 'ExcelPrintLayout', 'ExcelPrintTitles', 'ExcelProtect', 'ExcelQueryMetadata', 'ExcelRangeClear', 'ExcelRefreshOnOpen', 'ExcelRepair', 'ExcelReportCallout', 'ExcelReportKpiRow', 'ExcelReportLegend', 'ExcelReportParagraph', 'ExcelReportSection', 'ExcelReportSheet', 'ExcelReportSpacer', 'ExcelReportTable', 'ExcelReportTitle', 'ExcelRichText', 'ExcelRichTextRuns', 'ExcelRow', 'ExcelRowEdit', 'ExcelRowGroup', 'ExcelRuntimePreflight', 'ExcelSheet', 'ExcelSheetCopy', 'ExcelSheetJoin', 'ExcelSheetMerge', 'ExcelSheetOrder', 'ExcelSheetTabColor', 'ExcelSheetView', 'ExcelSheetVisibility', 'ExcelSlicer', 'ExcelSort', 'ExcelSparkline', 'ExcelStreamingContract', 'ExcelSubtotals', 'ExcelSubtotalSummary', 'ExcelSummary', 'ExcelTable', 'ExcelTableOfContents', 'ExcelTableStyle', 'ExcelTemplate', 'ExcelTemplateApply', 'ExcelTemplateBinding', 'ExcelTemplateMarkers', 'ExcelTemplateOptionalRow', 'ExcelTemplateOptionalRows', 'ExcelTemplateRow', 'ExcelTemplateRows', 'ExcelTemplateSheet', 'ExcelTemplateSheets', 'ExcelTemplateValidate', 'ExcelTextRun', 'ExcelTheme', 'ExcelThreadedComment', 'ExcelTimeline', 'ExcelUnprotect', 'ExcelUrlLinks', 'ExcelUrlLinksByHeader', 'ExcelValidationCustomFormula', 'ExcelValidationDate', 'ExcelValidationDecimal', 'ExcelValidationList', 'ExcelValidationTextLength', 'ExcelValidationTime', 'ExcelValidationWholeNumber', 'ExcelWorkbookCompare', 'ExcelWorkbookCopy', 'ExcelWorkbookDoctor', 'ExcelWorkbookJoin', 'ExcelWorkbookMerge', 'ExcelWorkbookProtect', 'ExcelWorkbookRepair', 'ExcelWorkbookUnprotect', 'ExcelWorksheetView', 'ExcelWriteReservation', 'ExcelWriteReservationClear', 'ExcelWriteReservationSet', 'Export-OfficeDocumentAsset', 'Export-VisioStencilPreviewGallery', 'Find-VisioStencil', 'Get-OfficeReaderCapability', 'Import-VisioStencil', 'MarkdownCallout', 'MarkdownCode', 'MarkdownDefinitionList', 'MarkdownDetails', 'MarkdownFrontMatter', 'MarkdownHeading', 'MarkdownHorizontalRule', 'MarkdownHr', 'MarkdownImage', 'MarkdownList', 'MarkdownNew', 'MarkdownParagraph', 'MarkdownQuote', 'MarkdownTable', 'MarkdownTableOfContents', 'MarkdownTaskList', 'MarkdownToc', 'Merge-OfficeExcelSheet', 'Merge-OfficeExcelWorkbook', 'Merge-OfficeWordDocument', 'New-VisioGallery', 'PdfAttachment', 'PdfBackground', 'PdfBackgroundImage', 'PdfBackgroundShape', 'PdfBookmark', 'PdfCompliance', 'PdfElectronicInvoice', 'PdfFooter', 'PdfFormField', 'PdfHeader', 'PdfHeading', 'PdfHorizontalRule', 'PdfHr', 'PdfImage', 'PdfList', 'PdfMetadata', 'PdfNew', 'PdfPageBorder', 'PdfPageBreak', 'PdfPageSetup', 'PdfPanel', 'PdfParagraph', 'PdfRow', 'PdfSpace', 'PdfSpacer', 'PdfStamp', 'PdfTable', 'PdfTableCell', 'PdfText', 'PdfTextRun', 'PdfTheme', 'PdfWatermark', 'PowerPointNew', 'PowerPointTextRun', 'PptArrange', 'PptBackground', 'PptBullets', 'PptChart', 'PptDeckPlan', 'PptDesignerDeck', 'PptImage', 'PptLayoutBox', 'PptLayoutPlaceholderBounds', 'PptLayoutPlaceholderMargins', 'PptLayoutPlaceholders', 'PptLayoutPlaceholderTextStyle', 'PptNew', 'PptNotes', 'PptPlaceholderText', 'PptPlanCapability', 'PptPlanCardGrid', 'PptPlanCaseStudy', 'PptPlanCoverage', 'PptPlanLogoWall', 'PptPlanProcess', 'PptPlanSection', 'PptShape', 'PptShapeLayout', 'PptSlide', 'PptSlideLayout', 'PptSlideSize', 'PptTable', 'PptTextBox', 'PptTextRun', 'PptTheme', 'PptThemeColor', 'PptThemeFonts', 'PptThemeName', 'PptTitle', 'PptTransition', 'Read-OfficeDocument', 'Read-OfficeDocumentAsset', 'Read-OfficeDocumentChunk', 'Read-OfficeDocumentTable', 'Read-OfficeDocumentVisual', 'Replace-OfficeExcelText', 'Replace-OfficePowerPointText', 'Replace-OfficeRtfText', 'Replace-OfficeWordText', 'RtfNew', 'RtfOpen', 'RtfText', 'Set-OfficeExcelSheetOrder', 'TextRun', 'VisioArrange', 'VisioConnector', 'VisioContainer', 'VisioDiamond', 'VisioEllipse', 'VisioInfo', 'VisioLayout', 'VisioNew', 'VisioOpen', 'VisioPage', 'VisioRect', 'VisioRectangle', 'VisioSave', 'VisioStencil', 'VisioStencilCatalog', 'VisioText', 'VisioTextBox', 'WordBold', 'WordBookmark', 'WordBreak', 'WordChart', 'WordCheckBox', 'WordCheckBoxes', 'WordComboBox', 'WordComboBoxes', 'WordContentControl', 'WordContentControls', 'WordCoverPage', 'WordDatePicker', 'WordDatePickers', 'WordDocumentJoin', 'WordDropDownList', 'WordDropDownLists', 'WordEndnote', 'WordEndnotes', 'WordEquation', 'WordField', 'WordFooter', 'WordFootnote', 'WordFootnotes', 'WordHeader', 'WordHyperlink', 'WordImage', 'WordImages', 'WordImageStyle', 'WordItalic', 'WordList', 'WordListItem', 'WordNew', 'WordPageNumber', 'WordPageSetup', 'WordParagraph', 'WordParagraphStyle', 'WordPictureControl', 'WordPictureControls', 'WordRepeatingSection', 'WordRepeatingSections', 'WordSection', 'WordShape', 'WordShapes', 'WordShapeStyle', 'WordStatistics', 'WordTable', 'WordTableCell', 'WordTableCells', 'WordTableCellSpec', 'WordTableCellStyle', 'WordTableCondition', 'WordTabStop', 'WordText', 'WordTextBox', 'WordTextRun', 'WordTextStyle', 'WordWatermark')
Export-ModuleMember -Function $FunctionsToExport -Alias $AliasesToExport -Cmdlet $CmdletsToExport