public function getContent(ods $ods, DOMDocument $dom)
 {
     $table_table_cell = odsTableCell::getContent($ods, $dom);
     $table_table_cell->setAttribute("office:value-type", "string");
     // text:p
     $text_p = $dom->createElement('text:p', $this->value);
     $table_table_cell->appendChild($text_p);
     return $table_table_cell;
 }
 public function getContent(ods $ods, DOMDocument $dom)
 {
     $table_table_cell = odsTableCell::getContent($ods, $dom);
     $table_table_cell->setAttribute("office:value-type", "string");
     // text:p
     $text_p = $dom->createElement('text:p');
     $table_table_cell->appendChild($text_p);
     // text:a
     $text_a = $dom->createElement('text:a', $this->value);
     $text_a->setAttribute("xlink:href", (substr($this->value, 0, 7) == "http://" ? '' : "http://") . $this->value);
     $text_p->appendChild($text_a);
     return $table_table_cell;
 }
Esempio n. 3
0
 public function getContent(ods $ods, DOMDocument $dom)
 {
     return odsTableCell::getContent($ods, $dom);
 }