Ignore:
Timestamp:
2013/05/02 18:11:36 (13 years ago)
Author:
h_yoshimoto
Message:

#2236 2.12.3リリース以降の2.12-devへのコミット差し戻し

File:
1 edited

Legend:

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

    r22567 r22796  
    66$GLOBALS[SJIS_widths] = $SJIS_widths; 
    77 
    8 class SC_Helper_FPDI extends PDF_Japanese  
    9 { 
     8class SC_Helper_FPDI extends PDF_Japanese { 
    109    /** 
    1110     * PDF_Japanese の明朝フォントに加えゴシックフォントを追加定義 
     
    1312     * @return void 
    1413     */ 
    15     function AddSJISFont() 
    16     { 
     14    function AddSJISFont() { 
    1715        parent::AddSJISFont(); 
    1816        $cw = $GLOBALS['SJIS_widths']; 
     
    2725     * PDF_Japanese#SJISMultiCell をベースにカスタマイズ。 
    2826     */ 
    29     function SJISMultiCellForFancyTable($w, $h, $txt, $border = 0, $align = 'L', $fill = 0) 
    30     { 
     27    function SJISMultiCellForFancyTable($w, $h, $txt, $border = 0, $align = 'L', $fill = 0) { 
    3128        $y = $this->y; 
    3229 
     
    148145     * FIXME: 後の列の高さが大きい場合、表示が乱れる。 
    149146     */ 
    150     function FancyTable($header, $data, $w) 
    151     { 
     147    function FancyTable($header, $data, $w) { 
    152148        // Colors, line width and bold font 
    153149        $this->SetFillColor(216, 216, 216); 
     
    190186    } 
    191187 
    192     function Text($x, $y, $txt) 
    193     { 
     188    function Text($x, $y, $txt) { 
    194189        parent::Text($x, $y, $this->lfConvSjis($txt)); 
    195190    } 
    196191 
    197     function Cell($w, $h=0, $txt='', $border=0, $ln=0, $align='', $fill=false, $link='') 
    198     { 
     192    function Cell($w, $h=0, $txt='', $border=0, $ln=0, $align='', $fill=false, $link='') { 
    199193        parent::Cell($w, $h, $this->lfConvSjis($txt), $border, $ln, $align, $fill, $link); 
    200194    } 
    201195 
    202196    // 文字コードSJIS変換 -> japanese.phpで使用出来る文字コードはSJIS-winのみ 
    203     function lfConvSjis($conv_str) 
    204     { 
     197    function lfConvSjis($conv_str) { 
    205198        return mb_convert_encoding($conv_str, 'SJIS-win', CHAR_CODE); 
    206199    } 
Note: See TracChangeset for help on using the changeset viewer.