####
####
##
## use OpenOffice::OODoc::Meta; use OpenOffice::OODoc; my $meta = OpenOffice::OODoc::Meta->new("test100.sxw"); my %stat = $meta->statistic; #(Line -- 4) #my $wc = $meta->statistic('meta:word-count'); print "word count = $stat['meta:word-count'] \n "; print " WORD COUNT $wc \n"; #print "This document contains " ."$stat{'meta:tablecount'} table count \n "."$stat{'meta:image-count'} image count \n "."$stat{'meta:object-count'} object count \n "."$stat{'meta:page-count'} page count \n "."$stat{'meta:paragraphcount'} paragraph count \n "."$stat{'meta:word-count'} word count \n "."$stat{'meta:charactercount'} character count \n "; #### [OpenOffice::OODoc::XPath::new] No XML content Can't call method "statistic" on an undefined value at test_open1.pl line 4.