/** * Get the value of a property. * * @param $property The property name * @return string The current value of the property */ public function getProperty($property) { $style_fields = ODTStyleStyle::getStyleProperties(); if (array_key_exists($property, $style_fields)) { return $this->style_properties[$property]['value']; } $text_fields = ODTTextStyle::getTextProperties(); if (array_key_exists($property, $text_fields)) { return $this->text_properties[$property]['value']; } return parent::getProperty($property); }