Add named_style_type support to update_paragraph_style operation

Allows setting TITLE and SUBTITLE paragraph styles directly, in addition
to the existing heading_level (0-6) parameter. The new named_style_type
parameter accepts all Google Docs named styles: NORMAL_TEXT, TITLE,
SUBTITLE, HEADING_1 through HEADING_6.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Rein Lemmens
2026-03-12 20:34:36 +01:00
parent 5a2e1f3089
commit 38ad39bea6
3 changed files with 38 additions and 2 deletions

View File

@@ -244,6 +244,7 @@ class BatchOperationManager:
op.get("space_above"),
op.get("space_below"),
tab_id,
op.get("named_style_type"),
)
if not request: