ExportHyperlinkOpenURLAction: Boolean;
The ExportHyperlinkOpenURLAction property determines whether hyperlinks are exported on exporting report to PPTX (*.pptx) and HTML (*.html) format.
Available values:
True. Default value. Report text is exported with hyperlinks.
False. Report text is exported without hyperlinks.
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: