mirror of
https://github.com/retailcrm/PHPExcel.git
synced 2024-11-25 23:06:03 +03:00
Merge pull request #25 from alexgann/patch-2
Add cell indent to html rendering
This commit is contained in:
commit
18920d60c7
@ -782,6 +782,7 @@ class PHPExcel_Writer_HTML implements PHPExcel_Writer_IWriter {
|
||||
$css['vertical-align'] = $this->_mapVAlign($pStyle->getVertical());
|
||||
if ($textAlign = $this->_mapHAlign($pStyle->getHorizontal())) {
|
||||
$css['text-align'] = $textAlign;
|
||||
if(in_array($textAlign,array('left','right'))) $css['padding-'.$textAlign] = (string)((int)$pStyle->getIndent() * 9).'px';
|
||||
}
|
||||
|
||||
// Return
|
||||
|
Loading…
Reference in New Issue
Block a user