Changeset 22053


Ignore:
Timestamp:
2012/10/16 14:26:47 (8 years ago)
Author:
Seasoft
Message:

#1951 (PDF 納品書の備考欄に無駄な空白を削除する)
#1905 (typo修正・ソース整形・ソースコメントの改善)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/SC_Fpdf.php

    r21926 r22053  
    258258    } 
    259259 
     260    /** 
     261     * 備考の出力を行う 
     262     * 
     263     * @param string $str 入力文字列 
     264     * @return string 変更後の文字列 
     265     */ 
    260266    function setEtcData() { 
    261267        $this->Cell(0, 10, '', 0, 1, 'C', 0, ''); 
    262268        $this->SetFont('Gothic', 'B', 9); 
    263         $this->MultiCell(0, 6, '< 備 考 >', 'T', 2, 'L', 0, '');  //備考 
    264         $this->Ln(); 
     269        $this->MultiCell(0, 6, '< 備考 >', 'T', 2, 'L', 0, ''); 
    265270        $this->SetFont('SJIS', '', 8); 
    266         $this->MultiCell(0, 4, $this->arrData['etc1']."\n".$this->arrData['etc2']."\n".$this->arrData['etc3'], '', 2, 'L', 0, '');  //備考 
     271        $text = SC_Utils_Ex::rtrim($this->arrData['etc1'] . "\n" . $this->arrData['etc2'] . "\n" . $this->arrData['etc3']); 
     272        $this->MultiCell(0, 4, $text, '', 2, 'L', 0, ''); 
    267273    } 
    268274 
Note: See TracChangeset for help on using the changeset viewer.