IPrxReportExporter.ExportHyperlinkOpenURLAction

Fore Syntax

ExportHyperlinkOpenURLAction: Boolean;

Fore.NET 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:

Fore 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
    MB := MetabaseClass.Active;
    Report := MB.ItemById("REGULAR_REPORT").Bind As IPrxReport;
    Exp := New PrxReportExporter.Create;
    Exp.Report := Report;
    Exp.ExportHyperlinkOpenURLAction := False;
    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.

Fore.NET Example

The requirements and result of the Fore.NET example execution match with those in the Fore example.
Imports Prognoz.Platform.Interop.Metabase;
Imports Prognoz.Platform.Interop.Report;

Public Shared Sub Main(Params: StartParams);
Var
    MB: IMetabase;
    Report: IPrxReport;
    Exp: IPrxReportExporter;
Begin
    MB := Params.Metabase;
    Report := MB.ItemById["REGULAR_REPORT"].Bind() As IPrxReport;
    Exp := New PrxReportExporter.Create();
    Exp.Report := Report;
    Exp.
ExportHyperlinkOpenURLAction := False;
    Exp.ExportToFile("C:\Report.
pptx","pptx");
End Sub;

See also:

IPrxReportExporter