You are here

public function Sheetnode_PHPExcel_HTML2RichText::Sheetnode_PHPExcel_HTML2RichText in Sheetnode 6

Same name and namespace in other branches
  1. 5 modules/sheetnode_phpexcel/sheetnode_phpexcel.export.inc \Sheetnode_PHPExcel_HTML2RichText::Sheetnode_PHPExcel_HTML2RichText()
  2. 7.2 modules/sheetnode_phpexcel/html2richtext.inc \Sheetnode_PHPExcel_HTML2RichText::Sheetnode_PHPExcel_HTML2RichText()
  3. 7 modules/sheetnode_phpexcel/html2richtext.inc \Sheetnode_PHPExcel_HTML2RichText::Sheetnode_PHPExcel_HTML2RichText()

File

modules/sheetnode_phpexcel/html2richtext.inc, line 11

Class

Sheetnode_PHPExcel_HTML2RichText
Class to convert an HTML fragment to a fully-parsed array of styles. Uses TCDPF which is included in PHPExcel.

Code

public function Sheetnode_PHPExcel_HTML2RichText($html) {
  $this->html = $html;
  $this
    ->setPageUnit('px');
}