# Space tables and charts in a Word report

Space tables and charts in a Word report on Evotec with practical examples, usage guidance, and reusable project workflows.

Project

PSWriteOffice

PowerShell document automation across OfficeIMO's document, spreadsheet, presentation, PDF, Project, Access, EPUB, invoicing, and conversion engines.

[View on GitHub](https://github.com/EvotecIT/OfficeIMO/tree/master/PowerShell/PSWriteOffice) [Visit Website](#) [Releases](https://github.com/EvotecIT/PSWriteOffice/releases/tag/v3.0.5) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/PSWriteOffice)

Stars**722**

Forks**84**

Open issues**2**

PowerShell Gallery downloads**5092142**

Release**v3.6.2**

Language: C# Updated: 2026-11-21

Curated Examples

Create a patch compliance report with padded table cells, a separated chart and a PDF delivery copy.

The [patch compliance recipe](https://github.com/EvotecIT/PSWriteOffice/blob/main/Examples/Word/Recipe-Word-PatchCompliance.ps1) turns sample inventory objects into a one-page Word report and PDF. It keeps the headline, per-site table, chart and next steps visually separate.

```powershell
./Examples/Word/Recipe-Word-PatchCompliance.ps1 -OutputDirectory ./Output
```

Replace the inventory objects first. Keep the `Site`, `Servers`, `Patched`, `Pending` and `Status` properties, or update the selected columns and chart properties together.

The table uses conditional shading for sites that need attention and explicit cell margins for readable rows. The chart sits inside a paragraph with 14 points of space before it and 12 after it. Section headings use `KeepWithNext` so a heading stays with the following content.

The complete script includes ordinary module loading, the sample data, the DOCX generation and PDF export. See [readable document layouts](/projects/pswriteoffice/docs/document-layout/) for the smaller composition patterns and their units.

<!-- PowerForge markdown artifact sha256:22B67D013252DDD84068774B42D009017744F92FE0863BF1414F01268DA49C96 -->
