Skip to content

support w:color #139

@microe

Description

@microe

I have a need to be able to look at the color of the text in a paragraph.

For example, I have a test question:

  1. Which theory describes the entire earth, made of both living and non-living parts, as single system?
    _red_a. Gaia theory
    b. Evolution theory
    c. Law of inheritance
    d. Law of production
    e. None of the above

I want to be able to see that the color is red (value ff2600). I tried to look through the code and stumbled on the CT_rPr class. It has a tag for w:color, but when I tried to set up an @property it said AttributeError: 'CT_RPr' object has no attribute 'color'.

I am happy to take another stab at adding my own attribute, but I need a hint if I am going to get any farther.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions