Browse Source

* Patch from Graeme Geldenhuys with some minor code formatting changes (Bug ID 32360)

git-svn-id: trunk@37105 -
michael 8 years ago
parent
commit
10caba2bcc
1 changed files with 2 additions and 4 deletions
  1. 2 4
      packages/fcl-report/src/fpreportpdfexport.pp

+ 2 - 4
packages/fcl-report/src/fpreportpdfexport.pp

@@ -32,8 +32,6 @@ uses
 
 
 type
 type
 
 
-  { TFPReportExportPDF }
-
   TFPReportExportPDF = class(TFPReportExporter)
   TFPReportExportPDF = class(TFPReportExporter)
   private
   private
     FCurrentPage: TPDFPage;
     FCurrentPage: TPDFPage;
@@ -43,7 +41,7 @@ type
     FDocument: TPDFDocument;
     FDocument: TPDFDocument;
     FAutoSave: boolean;
     FAutoSave: boolean;
   protected
   protected
-    procedure RenderElement(pg: TPDFPage; ABand: TFPReportCustomBand; el: TFPReportElement); virtual;
+    procedure   RenderElement(pg: TPDFPage; ABand: TFPReportCustomBand; el: TFPReportElement); virtual;
     Procedure   RenderImage(aRect : TFPReportRect; var AImage: TFPCustomImage) ; override;
     Procedure   RenderImage(aRect : TFPReportRect; var AImage: TFPCustomImage) ; override;
     procedure   DoExecute(const ARTObjects: TFPList); override;
     procedure   DoExecute(const ARTObjects: TFPList); override;
     procedure   SetupPDFDocument; virtual;
     procedure   SetupPDFDocument; virtual;
@@ -65,7 +63,7 @@ type
     Class Function Name : String; override;
     Class Function Name : String; override;
     Class Function Description : String; override;
     Class Function Description : String; override;
     Class Function DefaultExtension: String; override;
     Class Function DefaultExtension: String; override;
-    Procedure SetFileName(const aFileName: String); override;
+    Procedure   SetFileName(const aFileName: String); override;
     function    FindFontIndex(const ADoc: TPDFDocument; const AFontName: string): integer;
     function    FindFontIndex(const ADoc: TPDFDocument; const AFontName: string): integer;
     procedure   SaveToFile;
     procedure   SaveToFile;
     property    Document: TPDFDocument read FDocument;
     property    Document: TPDFDocument read FDocument;