OpenOffice::OOSheets - Perl module for quick access to spreadsheets cells by address and sheets by name.


OpenOffice-OOSheets documentation  | view source Contained in the OpenOffice-OOSheets distribution.

Index


NAME OpenOffice::OOSheets

Top

OpenOffice::OOSheets - Perl module for quick access to spreadsheets cells by address and sheets by name.

SYNOPSIS

Top

  use OpenOffice::OOSheets;

  ...

  my $zip = Archive::Zip->new($tmp_file_name);
  my $content=$zip->contents('content.xml');

  ...

   my $res=OpenOffice::OOSheets::GetData (text=>$content,ref=>
   		 [
                   {
                     'cells' => [
                                'Q46'
                              ],
                     'table' => 'Sheet1'
                   },
                   {
                     'cells' => [
                                'B10'
                              ],
                     'table' => 'Sheet2'
                   }
                 ]);
 ...

 print Dumper $res;

 ...

DESCRIPTION

Top

Perl module for quick access to spreadsheets cells by address and sheets by name.

PUBLIC METHODS

Top

Parametrs :

  (
	text=>$data,
	ref=>[
	   {
	   table=>'sheet1',
	   cells=>['B2','AA2','A1','E6','B4','C10','C11']
	   }
	   ]

    )




Results:

   {
          'Sheet1' => {
                        'Q46' => '21'
                      }
      };




SEE ALSO

Top

samples/README - for sample

AUTHOR

Top

Zahatski Aliaksandr, <zagap@users.sourceforge.net>

COPYRIGHT AND LICENSE

Top


OpenOffice-OOSheets documentation  | view source Contained in the OpenOffice-OOSheets distribution.