- Timestamp:
- 2013/08/26 15:52:37 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13_0/data/class/helper/SC_Helper_FPDI.php
r22778 r23126 9 9 { 10 10 /** SJIS 変換を有効とするか */ 11 var$enable_conv_sjis = true;11 public $enable_conv_sjis = true; 12 12 13 13 /** … … 16 16 * @return void 17 17 */ 18 function AddSJISFont()18 public function AddSJISFont() 19 19 { 20 20 parent::AddSJISFont(); … … 25 25 } 26 26 27 function SJISMultiCell()27 public function SJISMultiCell() 28 28 { 29 29 $arrArg = func_get_args(); … … 45 45 * FIXME: 後の列の高さが大きい場合、表示が乱れる。 46 46 */ 47 function FancyTable($header, $data, $w)47 public function FancyTable($header, $data, $w) 48 48 { 49 49 $base_x = $this->x; … … 95 95 } 96 96 97 function Text($x, $y, $txt)97 public function Text($x, $y, $txt) 98 98 { 99 99 parent::Text($x, $y, $this->lfConvSjis($txt)); 100 100 } 101 101 102 function Cell($w, $h=0, $txt='', $border=0, $ln=0, $align='', $fill=false, $link='')102 public function Cell($w, $h=0, $txt='', $border=0, $ln=0, $align='', $fill=false, $link='') 103 103 { 104 104 parent::Cell($w, $h, $this->lfConvSjis($txt), $border, $ln, $align, $fill, $link); … … 106 106 107 107 // 文字コードSJIS変換 -> japanese.phpで使用出来る文字コードはSJIS-winのみ 108 function lfConvSjis($conv_str)108 public function lfConvSjis($conv_str) 109 109 { 110 110 if ($this->enable_conv_sjis) {
Note: See TracChangeset
for help on using the changeset viewer.