complying with CS

git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@126414 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Xavier Noguer Gallego 2003-05-09 21:13:46 +00:00
parent 8206acd278
commit 55adf72e43
1 changed files with 14 additions and 14 deletions

View File

@ -538,46 +538,46 @@ class Spreadsheet_Excel_Writer_Format extends PEAR
if ($location == 'left') { if ($location == 'left') {
$this->_text_h_align = 1; $this->_text_h_align = 1;
} }
if ($location == 'centre') { if ($location == 'centre') {
$this->_text_h_align = 2; $this->_text_h_align = 2;
} }
if ($location == 'center') { if ($location == 'center') {
$this->_text_h_align = 2; $this->_text_h_align = 2;
} }
if ($location == 'right') { if ($location == 'right') {
$this->_text_h_align = 3; $this->_text_h_align = 3;
} }
if ($location == 'fill') { if ($location == 'fill') {
$this->_text_h_align = 4; $this->_text_h_align = 4;
} }
if ($location == 'justify') { if ($location == 'justify') {
$this->_text_h_align = 5; $this->_text_h_align = 5;
} }
if ($location == 'merge') { if ($location == 'merge') {
$this->_text_h_align = 6; $this->_text_h_align = 6;
} }
if ($location == 'equal_space') { // For T.K. if ($location == 'equal_space') { // For T.K.
$this->_text_h_align = 7; $this->_text_h_align = 7;
} }
if ($location == 'top') { if ($location == 'top') {
$this->_text_v_align = 0; $this->_text_v_align = 0;
} }
if ($location == 'vcentre') { if ($location == 'vcentre') {
$this->_text_v_align = 1; $this->_text_v_align = 1;
} }
if ($location == 'vcenter') { if ($location == 'vcenter') {
$this->_text_v_align = 1; $this->_text_v_align = 1;
} }
if ($location == 'bottom') { if ($location == 'bottom') {
$this->_text_v_align = 2; $this->_text_v_align = 2;
} }
if ($location == 'vjustify') { if ($location == 'vjustify') {
$this->_text_v_align = 3; $this->_text_v_align = 3;
} }
if ($location == 'vequal_space') { // For T.K. if ($location == 'vequal_space') { // For T.K.
$this->_text_v_align = 4; $this->_text_v_align = 4;
} }
} }
/** /**