IPrxReportExporter.ExportHyperlinkOpenURLAction

Syntax

ExportHyperlinkOpenURLAction: Boolean;

Description

The ExportHyperlinkOpenURLAction property determines whether hyperlinks are exported on exporting report to PPTX (*.pptx) and HTML (*.html) format.

Comments

Available values:

Example

Executing the example requires a regular report with the REGULAR_REPORT identifier.

Add links to the Metabase, Report system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    Report: IPrxReport;
    Exp: IPrxReportExporter;
Begin
    
// Get current repository
    MB := MetabaseClass.Active;
    
// Get regular report
    Report := MB.ItemById("REGULAR_REPORT").Bind As IPrxReport;
    
// Determine report to be exported  
    Exp := New PrxReportExporter.Create;
    Exp.Report := Report;
    
// Determine whether hyperlinks can be exported
    Exp.ExportHyperlinkOpenURLAction := False;
    
// Export report to file
    Exp.ExportToFile("C:\Report.pptx""pptx");
End Sub UserProc;

After executing the example regular report is exported to the Report.pptx file, the output file will not contain hyperlinks.

See also:

IPrxReportExporter