2008年1月21日 星期一

建立印章

首先要把印章的樣式加入
function char_border_style() {
<style:properties asian="'.iconv('big5','utf-8','標楷體').'" color="#ff0000"><style:properties color="#ff0000" pos="from-top" through="background" align="center" fill="none" width="0.049cm">return '<style:properties color="#ff0000" asian="'.iconv('big5','utf-8','標楷體').'" asian="12pt"></style:style>' .'<style:style name="cborder" family="graphics"></style:style>';
}
將印章放入標籤
$temp_arr['master']='<draw:rect name="cborder" width="1.007cm" height="1.057cm" index="0" y="0cm" type="as-char"><text:p><text:span name="cchar">'.RangeStamp($tsd['tea_name'],'校之<text:line-break></text:line-break>長印').'</text:span></text:p></draw:rect>';

沒有留言: