ass_remove_style
Delete a style and reassign any lines using it, or block deletion with an error to avoid orphaned lines.
Instructions
Delete a style, refusing to orphan lines that still use it.
Args:
name: style to delete.
doc_id: document id or None for the current document.
reassign_to: when the style is still used, the name of the style the
lines should be moved to before the style is deleted. Without it a
used style is an error.
Returns:
{"doc_id", "name", "removed", "reassigned", "reassign_to"} where
reassigned is the number of lines repointed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| doc_id | No | ||
| reassign_to | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||