Skip to content

Add operations to define and update document styles #12

Description

@ilia-sokolov

Problem you're trying to solve

A new Word document is created with a fixed style set. Plans can reference a style through StyleId, read the style catalogue back from inspection, copy direct formatting between two paragraphs, and clear it. Nothing can define or change a style.
Callers that need their own look have to write direct formatting onto every paragraph instead. A branded report generated that way carries dozens of separate color elements rather than a handful of definitions, and changing a heading in Word afterwards no longer reflows the document.

Proposed shape

A DefineStyleOp that writes into styles.xml, reusing the property vocabulary FormatOp already has rather than introducing a second one.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions