NAME

Win32::OLE::CrystalRuntime::Application::Report - Perl Interface to the Crystal Report OLE Object

SYNOPSIS

DESCRIPTION

USAGE

CONSTRUCTOR

new

my $report=Win32::OLE::CrystalRuntime::Application::Report->new(filename=>$filename);

METHODS

initialize

filename

Returns the name of the report filename.

my $filename=$report->filename;

Set on construction

my $report=Win32::OLE::CrystalRuntime::Application::Report->new(filename=>$filename);

ole

Set or Returns the OLE report object. This object is the Win32::OLE object that was created with the OpenReport Method.

parent

Returns the parent application object for the report.

my $application=$report->parent;

Set on construction

my $report=Win32::OLE::CrystalRuntime::Application::Report->new(parent=>$application);

export

Saves the report in the specified format to the specified filename.

$report->export(filename=>"report.pdf");  #default format is pdf
$report->export(format=>"pdf", filename=>"report.pdf");
$report->export(formatid=>31, filename=>"report.pdf"); #pass format id directly

FormatID

Returns a hash of common format extensions and CRExportFormatType IDs. Other formats are supported with export(formatid=>$id)

my $hash=$report->FormatID;           #{pdf=>31, xls=>36};
my @orderedlist=$report->FormatID;    #(pdf=>31, xls=>36, ...)

BUGS

SUPPORT

AUTHOR

Michael R. Davis
CPAN ID: MRDVT
STOP, LLC
domain=>stopllc,tld=>com,account=>mdavis
http://www.stopllc.com/

COPYRIGHT

This program is free software licensed under the...

The BSD License

The full text of the license can be found in the LICENSE file included with this module.

SEE ALSO