|
@@ -348,7 +348,7 @@ type
|
|
// called when the renderer ends its job on the report.
|
|
// called when the renderer ends its job on the report.
|
|
procedure EndRender; virtual;
|
|
procedure EndRender; virtual;
|
|
Protected
|
|
Protected
|
|
- Procedure FixupReference(PN,PV : String; C : TFPReportElement); virtual;
|
|
|
|
|
|
+ Procedure FixupReference(Const PN,PV : String; C : TFPReportElement); virtual;
|
|
public
|
|
public
|
|
Function AllocateName : String;
|
|
Function AllocateName : String;
|
|
// Called when done reading
|
|
// Called when done reading
|
|
@@ -945,7 +945,7 @@ type
|
|
procedure SetUseParentFont(AValue: boolean);
|
|
procedure SetUseParentFont(AValue: boolean);
|
|
procedure SetVisibleOnPage(AValue: TFPReportVisibleOnPage);
|
|
procedure SetVisibleOnPage(AValue: TFPReportVisibleOnPage);
|
|
protected
|
|
protected
|
|
- procedure FixupReference(PN, PV: String; C: TFPReportElement); override;
|
|
|
|
|
|
+ procedure FixupReference(Const PN, PV: String; C: TFPReportElement); override;
|
|
procedure ParentFontChanged; override;
|
|
procedure ParentFontChanged; override;
|
|
function CalcDesiredHeight: TFPReportUnits; virtual;
|
|
function CalcDesiredHeight: TFPReportUnits; virtual;
|
|
function GetReportPage: TFPReportCustomPage; override;
|
|
function GetReportPage: TFPReportCustomPage; override;
|
|
@@ -1031,7 +1031,7 @@ type
|
|
procedure SetHeaderBand(AValue: TFPReportCustomDataHeaderBand);
|
|
procedure SetHeaderBand(AValue: TFPReportCustomDataHeaderBand);
|
|
procedure SetMasterBand(AValue: TFPReportCustomDataBand);
|
|
procedure SetMasterBand(AValue: TFPReportCustomDataBand);
|
|
protected
|
|
protected
|
|
- Procedure FixupReference(PN,PV : String; C : TFPReportElement); override;
|
|
|
|
|
|
+ Procedure FixupReference(Const PN,PV : String; C : TFPReportElement); override;
|
|
Procedure Notification(AComponent: TComponent; Operation: TOperation); override;
|
|
Procedure Notification(AComponent: TComponent; Operation: TOperation); override;
|
|
property DisplayPosition: Integer read FDisplayPosition write FDisplayPosition default 0;
|
|
property DisplayPosition: Integer read FDisplayPosition write FDisplayPosition default 0;
|
|
// No longer used, set the FooterBand.Data or HeaderBand.Data properties instead.
|
|
// No longer used, set the FooterBand.Data or HeaderBand.Data properties instead.
|
|
@@ -1200,7 +1200,7 @@ type
|
|
function GetReportBandName: string; override;
|
|
function GetReportBandName: string; override;
|
|
procedure DoWriteLocalProperties(AWriter: TFPReportStreamer; AOriginal: TFPReportElement = nil); override;
|
|
procedure DoWriteLocalProperties(AWriter: TFPReportStreamer; AOriginal: TFPReportElement = nil); override;
|
|
procedure Notification(AComponent: TComponent; Operation: TOperation); override;
|
|
procedure Notification(AComponent: TComponent; Operation: TOperation); override;
|
|
- Procedure FixupReference(PN, PV: String; C: TFPReportElement); override;
|
|
|
|
|
|
+ Procedure FixupReference(Const PN, PV: String; C: TFPReportElement); override;
|
|
procedure BeforePrintWithChilds; override;
|
|
procedure BeforePrintWithChilds; override;
|
|
procedure MovedToNextPageWithChilds; override;
|
|
procedure MovedToNextPageWithChilds; override;
|
|
procedure AfterPrintWithChilds; override;
|
|
procedure AfterPrintWithChilds; override;
|
|
@@ -1319,7 +1319,7 @@ type
|
|
FDoNotConsiderInFooterSpaceNeeded: Boolean;
|
|
FDoNotConsiderInFooterSpaceNeeded: Boolean;
|
|
procedure SetGroupHeader(const AValue: TFPReportCustomGroupHeaderBand);
|
|
procedure SetGroupHeader(const AValue: TFPReportCustomGroupHeaderBand);
|
|
protected
|
|
protected
|
|
- procedure FixupReference(PN, PV: String; C: TFPReportElement); override;
|
|
|
|
|
|
+ procedure FixupReference(Const PN, PV: String; C: TFPReportElement); override;
|
|
procedure SetBandPosition(pBandPosition: TFPReportBandPosition); override;
|
|
procedure SetBandPosition(pBandPosition: TFPReportBandPosition); override;
|
|
function GetReportBandName: string; override;
|
|
function GetReportBandName: string; override;
|
|
procedure DoWriteLocalProperties(AWriter: TFPReportStreamer; AOriginal: TFPReportElement = nil); override;
|
|
procedure DoWriteLocalProperties(AWriter: TFPReportStreamer; AOriginal: TFPReportElement = nil); override;
|
|
@@ -5724,7 +5724,7 @@ begin
|
|
FMasterBand.FreeNotification(Self);
|
|
FMasterBand.FreeNotification(Self);
|
|
end;
|
|
end;
|
|
|
|
|
|
-procedure TFPReportCustomDataBand.FixupReference(PN, PV: String; C: TFPReportElement);
|
|
|
|
|
|
+procedure TFPReportCustomDataBand.FixupReference(const PN, PV: String; C: TFPReportElement);
|
|
begin
|
|
begin
|
|
If SameText('FooterBand',PN) and (C is TFPReportCustomDataFooterBand) then
|
|
If SameText('FooterBand',PN) and (C is TFPReportCustomDataFooterBand) then
|
|
FooterBand:=TFPReportCustomDataFooterBand(C)
|
|
FooterBand:=TFPReportCustomDataFooterBand(C)
|
|
@@ -5942,7 +5942,7 @@ begin
|
|
|
|
|
|
end;
|
|
end;
|
|
|
|
|
|
-procedure TFPReportCustomGroupHeaderBand.FixupReference(PN, PV: String; C: TFPReportElement);
|
|
|
|
|
|
+procedure TFPReportCustomGroupHeaderBand.FixupReference(const PN, PV: String; C: TFPReportElement);
|
|
begin
|
|
begin
|
|
if SameText(PN,'ParentGroupHeader') then
|
|
if SameText(PN,'ParentGroupHeader') then
|
|
ParentGroupHeader:=TFPReportCustomGroupHeaderBand(C)
|
|
ParentGroupHeader:=TFPReportCustomGroupHeaderBand(C)
|
|
@@ -6274,7 +6274,7 @@ begin
|
|
Until (Owner=Nil) or (Owner.FindComponent(Result)=Nil);
|
|
Until (Owner=Nil) or (Owner.FindComponent(Result)=Nil);
|
|
end;
|
|
end;
|
|
|
|
|
|
-procedure TFPReportComponent.FixupReference(PN, PV: String; C: TFPReportElement);
|
|
|
|
|
|
+procedure TFPReportComponent.FixupReference(const PN, PV: String; C: TFPReportElement);
|
|
begin
|
|
begin
|
|
// Do nothing
|
|
// Do nothing
|
|
end;
|
|
end;
|
|
@@ -9252,7 +9252,7 @@ begin
|
|
end;
|
|
end;
|
|
end;
|
|
end;
|
|
|
|
|
|
-procedure TFPReportCustomBand.FixupReference(PN, PV: String; C: TFPReportElement);
|
|
|
|
|
|
+procedure TFPReportCustomBand.FixupReference(const PN, PV: String; C: TFPReportElement);
|
|
begin
|
|
begin
|
|
if SameText(PN,'ChildBand') then
|
|
if SameText(PN,'ChildBand') then
|
|
begin
|
|
begin
|
|
@@ -9578,7 +9578,7 @@ begin
|
|
end;
|
|
end;
|
|
end;
|
|
end;
|
|
|
|
|
|
-procedure TFPReportCustomGroupFooterBand.FixupReference(PN, PV: String; C: TFPReportElement);
|
|
|
|
|
|
+procedure TFPReportCustomGroupFooterBand.FixupReference(const PN, PV: String; C: TFPReportElement);
|
|
begin
|
|
begin
|
|
if SameText(PN,'Groupheader') then
|
|
if SameText(PN,'Groupheader') then
|
|
GroupHeader:=TFPReportCustomGroupHeaderBand(C)
|
|
GroupHeader:=TFPReportCustomGroupHeaderBand(C)
|