Sign in Join
FPDoc Onlineexperiment

TPOFile.Report procedure

Member of TPOFilepublicIn unit Translations

Generates output with the values in the Header and the translation entries in the .po file.

Declaration

pascal
procedure Report
procedure Report(StartIndex: Integer; StopIndex: Integer; 
 const DisplayHeader: Boolean)
procedure Report(Log: TStrings; StartIndex: Integer; 
 StopIndex: Integer; const DisplayHeader: Boolean)

Arguments

StartIndex

Ordinal position for the first translation entry included in the output.

StopIndex

Ordinal position for the last translation entry included in the output.

DisplayHeaderTrue to display values found the Header for the .po file.
Log

TStrings instance where the output for the report is stored.

Description

Report is an overloaded method in TPOFile used to generate output with the values from the Header and the POItems translation entries for the .po file. The overloaded variants allow the output to be sent to the DebugLn routine or stored in a TStrings instance.

Use DisplayHeader to control whether values in the Header section of the .po file are included the output for the report.

Use StartIndex and StopIndex to specify a range of translation entries found in POItems in the output for the report.

The variant with the Log parameter allows the output to be stored in the TString instance passed in the argument.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.