Merges #1456's follow-up (objectStyle.dialog reports a style with no
options; Polish Clear Overrides). The page's Number of columns must be
a whole number from 1 to 40: 2.5 was stored as 2 without a word.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
`objectStyle.dialog` with a style the document doesn't have, or with
[None], returned success and opened nothing. `open_edit` now refuses
them and the command passes the error on. Polish "Clear Overrides"
reads "Wyczyść zastąpienia", as the table's other override action.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The course's chapter 39 (Nested Object Styles). Object Style Options gets
InDesign's Paragraph Styles page: the paragraph style a text frame's text
takes when the object style is applied, and Apply Next Style, which gives
the first paragraph that style and each paragraph after it the Next Style
of the one before. Its Text Frame General Options page is the Text Frame
Options dialog's General page: columns, insets, vertical justification and
Ignore Text Wrap.
`style.object.create` and `style.object.edit` take `paragraphStyle`,
`applyNextStyle` and `textFrame`. Editing moves the frames that still
follow the style; text in another paragraph style is an override, which
the panel marks and Clear Overrides puts back. IDML reads and writes
`ApplyNextParagraphStyle`.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Window › Styles › Object Styles, as InDesign's: the selected object's style on top (+ when the
object differs from it), the document's object styles (click applies, double-click opens the
options, the default graphic and text frame styles marked), Clear Overrides and Create New
Style (Alt-click: the dialog), and a menu with New Object Style… and Object Style Options….
The dialog: Style Name; Basic Attributes General (Based On and the Style Settings summary),
Fill and Stroke (swatch list, tint, weight) and Stroke & Corner Options (corner shape and size),
each included in the style by its checkbox; Effects for Object, with each effect's page from the
Effects dialog; Apply Style to Selection for a new style. OK runs style.object.create (then
style.object.apply) or style.object.edit. UI command objectStyle.dialog {name?}.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An object style now carries Corner Options (`corners`, in a rectangle's path order). New styles
take them from the selection, applying the style sets them, and IDML reads and writes them as
InDesign's Stroke & Corner Options (EnableStrokeAndCornerOptions, TopLeftCornerOption…).
style.object.edit changes more than effects: `fill` (a swatch or {swatch, tint}), `stroke` (fields
merged over the style's), `corners` ({shape, size} or four corners), null to stop setting one, and
`rename` (every use follows; built-in names and names in use are refused). Items using the style
follow each changed attribute while they have the style's value; overridden ones keep theirs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adds .coderabbit.yaml so CodeRabbit no longer reviews or comments on PRs opened by dependabot[bot].
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Only path-filtered workflows run on pull requests today, so most PRs land
without a test run. Port of the wordcraft#800 workflow: Linux, standard
GitHub-hosted runner, read-only token, no secrets, craft-fonts pinned to
the release.yml commit.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>