Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Libraries

    OpenOffice::OODoc 2.102

    Download button

    No screenshots available
    Downloads: 827  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Good (3.4/5)
    13 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Jean-Marie Gouarne | More programs
    Perl Artistic License / FREE
    May 5th, 2008, 14:59 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    OpenOffice::OODoc description

    OpenOffice::OODoc is The Perl Open OpenDocument Connector.

    OpenOffice::OODoc is The Perl Open OpenDocument Connector.

    SYNOPSIS

    use OpenOffice::OODoc;

    # get global access to the content of an OOo file
    my $document = ooDocument(file => "MyFile.odt");
    # select a text element containing a given string
    my $place = $document->selectElementByContent("my search string");
    # insert a new text element before the selected one
    my $newparagraph = $document->insertParagraph
    (
    $place,
    position => 'before',
    text => 'A new paragraph to be inserted',
    style => 'Text body'
    );
    # define a new graphic style, to display images
    # with 20% extra luminance and color inversion
    $document->createImageStyle
    (
    "NewImageStyle",
    properties =>
    {
    'draw:luminance' => '20%',
    'draw:color-inversion' => 'true'
    }
    );
    # import an image from an external file, attach it
    # to the newly inserted paragraph, to be displayed
    # using the newly created style
    $document->createImageElement
    (
    "Image1",
    style => "NewImageStyle",
    attachment => $newparagraph,
    import => "D:ImagesLandscape.jpg"
    );
    # save the modified document
    $document->save;

    This toolbox is an extensible Perl interface allowing direct read/write operations on OASIS OpenDocument Format (ISO/IEC 26300) or OpenOffice.org files.

    It provides a high-level, document-oriented language, and isolates the programmer from the details of the file format. It can process different document classes (texts, spreadsheets, presentations, and drawings). It can retrieve or update styles and images, document metadata, as well as text content.

    OpenOffice::OODoc is designed for data retrieval and update in existing documents, as well as full document generation.

    See the OpenOffice::OODoc::Intro manual page to have a look at the main features.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    OpenDocument Connector | OpenOffice Connector | Perl module | OpenOffice::OODoc | OpenOffice | OpenDocument

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM