FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

docs: correct built-in style lookup example by Mirochill · Pull Request #1557 · python-openxml/python-docx · GitHub

docs: correct built-in style lookup example - #1557

Draft
Mirochill wants to merge 1 commit into
python-openxml:masterfrom
Mirochill:docs-1439-style-lookup-example
Draft

docs: correct built-in style lookup example#1557
Mirochill wants to merge 1 commit into
python-openxml:masterfrom
Mirochill:docs-1439-style-lookup-example

Conversation

Copy link
Copy Markdown

Summary

  • Update the WD_BUILTIN_STYLE example to look up "Body Text" by style name.
  • Clarify that built-in styles must be defined in the document and that WD_STYLE members are not style lookup keys.

Fixes #1439

Validation

  • git diff --check
  • git diff --cached --check
  • git diff --check HEAD~1..HEAD
  • git show --check --oneline HEAD -- src/docx/enum/style.py docs/api/enum/WdBuiltinStyle.rst
  • Not run locally

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

WD_BUILTIN_STYLE gives no style with name

1 participant


Back | FazBrowse Home | New Git URL