<html>
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=x-euc-jp">
<title></title>
</head>
<body bgcolor="#00FFFF">
<pre>Speadsheet::ParseExcel.pm - 0.2405
by ��繧ŵ (Hippo2000)
��������Changes�����������
����
���Υ⥸�塼��ϡ��ޤ����С������Ǥ���
Microsoft�Ҥ�Excel�ե������Windows�ʳ��Υץ�åȥե�����Ǥ�������
�Ф��褦�ˤ���⥸�塼��Ǥ���
ư���ǧ
DOS/V WindowsNT ver.4.0 Perl5.005
DOS/V TurboLinux ver.6.0 Perl5.005
Sun Sparc Solaris 2.6 Perl5.005
DOS/V Vine Linux 2.0 Perl5.005
Macintosh JPerl��FreeBSD�Ǥ�ư���Ƥ���Ȥ�����ݡ��Ȥ������Ƥ��ޤ�
����¾�δĶ��Ǽ¹Ԥ��줿��ϡ������Ƥ���������
ư���Ƥ�ư���ʤ��Ƥ⡢�����Ϥ�������ꤤ���ޤ��� <(__)>
��ñ�ʳ�ǧ(test�ǥ��쥯�ȥ��
sample�ǥ��쥯�ȥ�˰ʲ��Υե����뤬��äƤ��ޤ���
sample.pl ����ñ�ʥƥ��ȥ�����ץȡ�Spreadsheet::ParseExcel::FmtDefault����ѡ�
sample_j.pl ����ñ�ʥƥ��ȥ�����ץȡ�Spreadsheet::ParseExcel::FmtJapan����ѡ������ɤ���ꤷ�ƽ��ϡ�
res_sample ��sample.pl�μ¹Է��
res_sample_j��sample_j.pl�μ¹Է��(euc)
dmpEx.pl : Excel�ե���������Ƥ�ɽ�������Spreadsheet::ParseExcel::FmtDefault����ѡ�
dmpExj.pl : Excel�ե���������Ƥ�ɽ�������Spreadsheet::ParseExcel::FmtJapan����ѡ�
��ñ�ˤ��Υ⥸�塼���ư�����ǧ�����������Ǥ���С�dmpExj.pl�ˤ�ä�
���ꤷ��Excel�ե���������Ƥ�ɽ�������뤳�Ȥ��Ǥ��ޤ���
ex.
# perl -I.. dmpExj.pl Excel/Test97.xls euc
��-I..�פϡ��ƥǥ��쥯�ȥ�ˤ���Spreadsheet::ParseExcel.pm����Ѥ��뤿��˻��ꤷ�ޤ���
��Excel/Test97.xls�פ��оݤȤʤ�ե�����̾��
��euc�פϴ�������Ϥ���Ȥ���ʸ�������ɤǤ���euc��sjis��jis�ʤ�
Jcode.pm��Ʊ���Ǥ���
���ȡ���
OLE::Storage_Lite�����ȡ��뤵��Ƥ���ɬ�פ�����ޤ���
��Spreadsheet::ParseExcel::FmtJapan����Ѥ����硢Jcode.pm��ɬ�פȤ��ޤ�����¾�Υ⥸�塼���ɬ�פȤ��ޤ���
��Spreadsheet::ParseExcel::FmtJapan2����Ѥ����硢Jcode.pm��Unicode::Map��ɬ�פȤ��ޤ���
��Perl��ɸ��Ū�ʥ��ȡ���ˤʤ�ޤ��������Υ⥸�塼�뼫�Τ�Perl�ΤߤǺ�����Ƥ���Τǡ����ԡ��������Ǥ�ư���ޤ���</pre>
<pre> perl Makefile.PL
make
make test
make install (root�ˤʤäơ�
</pre>
<pre>FmtJapan2�����</pre>
<pre> �����¸ʸ�����б����뤿���FmtJapan2��0.09����Ʊ�����ޤ���
��Ѥ��뤿��ˤ�Unicode::Map�ȡ��뤹��ۤ����ʲ��μ�礬ɬ�פˤʤ�ޤ���</pre>
<pre> (1) Ʊ�������"CP932Excel.map"��Ŭ�ڤʥǥ��쥯�ȥ�˥��ԡ����ޤ���</pre>
<pre> (2) "CP932Excel"��ޥå�̾�Ȥ����ɲä��뤿��ˡ�Unicode::Map���ؤˤ���REGISTRY�˰ʲ��ιԤ��ɲä��ޤ���
��map�Υǥ��쥯�ȥ�̾��Ŭ�ڤʥǥ��쥯�ȥ�̾�ˤ��Ƥ���������</pre>
<pre>name: CP932Excel
srcURL: $SrcUnicode/VENDORS/MICSFT/WINDOWS/CP932.TXT
src: $DestUnicode/VENDORS/MICSFT/WINDOWS/CP932.TXT
map: (���ԡ���Υǥ��쥯�ȥ�)/CP932Excel.map
# Don't remove this line</pre>
<pre>�Ȥ��
use strict;
use Spreadsheet::ParseExcel;
my $oExcel = new Spreadsheet::ParseExcel;
my $oBook = $oExcel->Parse('Excel/Test97.xls');
#�ޤ�����ܸ��б��Ǥ�
use strict;
use Spreadsheet::ParseExcel;
use Spreadsheet::ParseExcel::FmtJapan;
my $oExcel = new Spreadsheet::ParseExcel;
my $oFmtJ = Spreadsheet::ParseExcel::FmtJapan->new(Code => 'euc'); #sjis��jis�ʤɤΥ�����
my $oBook = $oExcel->Parse('Excel/Test97.xls', $oFmtJ);
</pre>
<pre> #����μ��Ф���
my($iR, $iC, $oWkS, $oWkC);
print "FILE :", $oBook->{File} , "\n";
print "COUNT :", $oBook->{SheetCount} , "\n";
print "AUTHOR:", $oBook->{Author} , "\n";
for(my $iSheet=0; $iSheet < $oBook->{SheetCount} ; $iSheet++) {
$oWkS = $oBook->{Worksheet}[$iSheet];
print "--------- SHEET:", $oWkS->{Name}, "\n";
for(my $iR = $oWkS->{MinRow} ;
defined $oWkS->{MaxRow} && $iR <= $oWkS->{MaxRow} ; $iR++) {
for(my $iC = $oWkS->{MinCol} ;
defined $oWkS->{MaxCol} && $iC <= $oWkS->{MaxCol} ; $iC++) {
$oWkC = $oWkS->{Cells}[$iR][$iC];
print "( $iR , $iC ) =>", $oWkC->Value, "\n" if($oWkC);
}
}
}
���������</pre>
<pre>�����������Ǥ��ä���Exce97 �ǥ٥�åѡ��� ���åȡפ�������ޤ�����
��������Hirofumi Morisada����˴��ա����դǤ���
</pre>
<pre> Excel97/2000����¸������硢FmtJapan�Ǥϵ����¸ʸ����(��)������I�ʤɡˤ����ˤʤäƤ��ޤ��ޤ���
FmtJapan2�Ǥϰ��б����Ƥ���Ĥ��Ǥ���</pre>
<pre> �ޤ��ƥ��Ȥ����ȤǤ��Ƥ��ޤ��Ȥꤢ������ư���Ǥ��礦�� <(__)>
TurboLinux Version 6�Ǻ����Ƥ���Τǡ�¾�δĶ��Ǥɤ��ʤ�Τ��ȤƤⵤ��
�ʤ�ޤ���
Solaris�Ǥ�ư���ǧ�Ƥ�餤�ޤ������ʤޤ��Զ�礬���ꤽ���Ǥ�����
�����ȡ��Х���ݡ��Ȥ��Ԥ����Ƥ��ޤ� ��繧ŵ��kwitknr@cpn.org
���ʤ��㤤���ʤ����ȡ�
�ƥ��ȡ�
�ɥ�����Ȥ���
���Ϥؤ��б� (^_^) Spreadsheet::WriteExcel��ȤäƤ��������Τ�����
���줫�ޤ뤴�Ȱ����Ĥ��Ƥ����ͤϤ��ޤ���(^^)
�ռ���
�����Ⱦü�ʾ��֤Ǽռ��⤢�ä���ΤǤϤ���ޤ����ʲ��Υץ���ࡢ
�⥸�塼��ͤˤ����Ƥ��������ޤ�����
xlHtml
OLE::Storage
herbert (OLE::Storage��Ʊ�������ġ����
Spreadsheet::WriteExcel
Solaris�ΥǥХå����������Ȼ�ϩ���व���ʤ���С���Ω���ޤ���Ǥ�����(cloudy�˴��ա�
�� Ǹ���������ˤ�Excel2000�Υե�����������ޤ�����
Hirofumi Morisada����ξ����ʸ����ΥХ���ȯ�����������뤳�Ȥ��Ǥ��ޤ�����
�����ơ�Excel97�ǥ٥�åѡ������åȡפ�ɤ��⤢�꤬�Ȥ��������ޤ�����
����¾�����������������ư������Х���ݡ��Ȥ��������ա����դǤ���</pre>
</body>
</html>