title: How to set Text Background Color using PyUNO with OpenOffice
body: <p>I have a python script that successfully does a search and replace in an OpenOffice Writer document using PyUNO. I am able to set the CharColor of the replaced text ok but am unable to set the BackColor (background color).</p>
  
  <pre><code>found.setPropertyValue( "CharColor", 16776960  ) //OK
  found.setPropertyValue( "BackColor", 16776960  ) //NOT OK
  </code></pre>
  
  <p>'found' variable is the result of a call to document.findFirst method I am not 100% sure what type of object it is??</p>
  
  <p>I get the error "com.sun.star.beans.UnknownPropertyException: Unknown property: BackColor"</p>
  
  <p>BackColor is used in a number of examples as it applies to Table Cells but does not seem to work for plain text.  Can anyone please tell me what property to set, or if it's even posible?</p>
  
  <p>Thanks</p>