Skip to content

Conversation

rasamassen
Copy link

@rasamassen rasamassen commented Oct 7, 2025

Description

Create SimpleType/Color with preset color values.
Deprecate FGCOLOR constants, but note in Color which colors can be used in fgColor.

This allows preset colors (as defined in OOXML, see https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_ST_PresetColorVal_topic_ID0ELA5NB.html) to be used by a wide variety of styles rather than just fgColor.

Fixes # (issue)

Checklist:

  • My CI is 🟢
  • I have covered by unit tests my new code (check build/coverage for coverage report)
  • I have updated the documentation to describe the changes
  • I have updated the changelog

@rasamassen rasamassen changed the title SimpleType:: Color - Create a simple color type for easily specifying preset color values. SimpleType: Color - Create a simple color type for easily specifying preset color values. Oct 7, 2025
@coveralls
Copy link

coveralls commented Oct 7, 2025

Coverage Status

coverage: 96.481% (-0.3%) from 96.757%
when pulling eb4ab9d on rasamassen:color
into 0ab0b49 on PHPOffice:master.

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

Successfully merging this pull request may close these issues.

2 participants