r7_docx_formatting
Read normalized DOCX formatting before editing: inspect paragraph styles, fonts, alignment, indents, spacing, lists, tables, sections, and headers/footers.
Instructions
Read the normalized formatting of a DOCX document before changing it: per-paragraph style, font family/size/bold/italic/underline/strike/colour, alignment, indents, spacing, list numbering, plus table cell styles (widths, merges, shading, borders, alignment), page/section setup and header/footer parts. Values are normalized (points, #RRGGBB), never raw OOXML.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | How many paragraphs to return (default 200). | |
| filePath | Yes | Path to the DOCX file. | |
| includeRuns | No | Include the per-run detail inside each paragraph (default true). | |
| fromParagraph | No | 0-based paragraph to start from (default 0). | |
| includeTables | No | Include the table cell styles (default true). | |
| includeSections | No | Include page setup and section breaks (default true). | |
| includeStylesList | No | Also list every style the document defines. | |
| includeHeadersFooters | No | Include header/footer parts and their fields (default true). |