ODF::lpOD

An OpenDocument management interface
Download

ODF::lpOD Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Publisher Name:
  • Jean-Marie Gouarne
  • Publisher web site:
  • http://search.cpan.org/~jmgdoc/

ODF::lpOD Tags


ODF::lpOD Description

An OpenDocument management interface ODF::lpOD is a Perl module, an Open Document management interface. It allows the users to create or transform office documents, or to extract data from them. It can handle documents which comply with the Open Document Format international standard (ODF). It may handle text documents (ODT), spreadsheet documents (ODS), as well as presentation (ODP) or drawing documents (ODG).SYNOPSIS use ODF::lpOD: my $document = odf_document->get("report.odt"); my $meta = $document->get_part(META); $meta->set_title("The best document format"); my $content = $document->get_part(CONTENT); my $context = $content->get_body; my $paragraph = $context->get_paragraph( content => "I look for it" ); $paragraph->set_text("I found it"); $paragraph->set_style("Standout"); my $new_paragraph = odf_paragraph->create ( style => "Standard", text => "A new content" ); $context->append_element($new_paragraph); my $table = odf_table->create ( "Main Figures", height => 20, width => 16 ); $context->insert_element($table, before => $paragraph); my $cell = $table->get_cell("B4"); $cell->set_text("Here B4"); $document->save; exit; Requirements: · Perl


ODF::lpOD Related Software