<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - EDITING Refer to document property for color"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=116684">116684</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>EDITING Refer to document property for color
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Impress
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>cvwillegen@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=140940" name="attach_140940" title="Screenshot of document property window and wanted result">attachment 140940</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=140940&action=edit" title="Screenshot of document property window and wanted result">[details]</a></span>
Screenshot of document property window and wanted result

I would like to define a document property and either be able to assign a color
to a certain element (text, line, area) based on the value of that property, or
use the value of the property for the color itself.

A slightly longer explanation:

I would like to define a custom property in an Impress document that holds
either

1) Some description, like 'purple' or 'pink' and use some kind of conditional
formatting to make the color of a line, area or text #xxyyzz and another
element #aabbcc, OR

2) A color value (#xxyyzz) that can be assigned to the color of a line, area or
text

I'd prefer the first way, because then different elements in a page can be
different colors, but still depend on the same variable.

In the screenshot attached, I would like the arms of the cross and the text
underneath it to be #000000 when the 'Color' I specify is "white", and the
inside of the arms to be #ffffff</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>