Check rendered formatting
iwork_verify_formatVerify formatting of text in Numbers, Keynote, or Pages files by exporting a PDF and confirming font, size, color, bold, and page size.
Instructions
Independent check of formatting: export a PDF through the app and confirm text is drawn with the given font (name contains), size (pt), color (#RRGGBB), bold, and page size (pt). Needs macOS + the app. Use to prove how a piece of text is drawn (font, size, colour, page size). To check text is merely present use iwork_verify_render.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bold | No | Expected bold (true) or not bold (false). | |
| font | No | Expected font; matches when the drawn font name contains it, e.g. "Avenir". | |
| path | Yes | Path to the .numbers, .key or .pages file (absolute, or starting with ~). | |
| size | No | Expected size in points (±0.6). | |
| text | Yes | Text that must appear in the rendered PDF; for Arabic, one word (multi-word RTL text is reordered). | |
| color | No | Expected text colour "#RRGGBB". | |
| page_width | No | Expected page width in points. | |
| page_height | No | Expected page height in points. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||