document_apply_style
Apply heading or paragraph styles to specific paragraphs in LibreOffice documents to format text consistently and structure documents efficiently.
Instructions
Apply a heading or paragraph style to a specific paragraph by index.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | Document handle returned by document_open | |
| paragraphIndex | Yes | Index of the paragraph to style (0-based) | |
| style | Yes | Style to apply (e.g., Heading 1, Heading 2, Heading 3, Heading 4, Heading 5, Heading 6, Normal) |