/** * @param array $properties */ function _odtTableRowOpenUseProperties($properties) { // Create style. $style_name = $this->factory->createTableRowStyle($style, $properties); $this->autostyles[$style_name] = $style; // Open table row. $this->doc .= '<table:table-row table:style-name="' . $style_name . '">'; }
/** * @param array $properties */ function _odtTableRowOpenUseProperties($properties) { // Create style. $style_obj = $this->factory->createTableRowStyle($properties); $this->docHandler->addAutomaticStyle($style_obj); $style_name = $style_obj->getProperty('style-name'); // Open table row. $this->doc .= '<table:table-row table:style-name="' . $style_name . '">'; }