Lire::Report::Image - Interface to the image's element. print $image->title, "\n"; print $image->file, " is of type ", $image->format, "\n"; This class offers an API to the image's elements of a Lire report.

new( $file, $format )
Creates a new Lire::Report::Image object. The $file and $format parameters are used to sets the attribute with the same name.

title([$title])
Returns the image's title, if it has one. If the $title parameter is set, the image's title will be set to this new value.

format([$format])
Returns the image's file format. If the $format parameter is set, the image's format attribute will be set to this new value.

file([$file])
Returns the path to the image's file. This is the path that was present in the XML report file, it may or may not exists as a real file on the filesystem. If the $format parameter is set, the image's file attribute will be set to this new value. Lire::ReportParser::ReportBuilder(3pm) Lire::Report(3pm) Lire::Report::Subreport(3pm) Lire::Report::Entry(3pm) Lire::Report::Group(3pm) $Id: Image.pm,v 1.3 2002/06/23 19:23:40 vanbaal Exp $ Copyright (C) 2002 Stichting LogReport Foundation LogReport@LogReport.org This file is part of Lire. Lire is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program (see COPYING); if not, check with http://www.gnu.org/copyleft/gpl.html or write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. Francis J. Lacoste <flacoste@logreport.org>