OpenPetra
Free Administration Software for Non-Profits
Ict.Common.Printing.TPrinterLayout Class Referenceabstract
Inheritance diagram for Ict.Common.Printing.TPrinterLayout:
Ict.Common.Printing.TPrinterHtml

Public Member Functions

abstract bool GetPageSize (out PaperKind APaperKind, out Margins AMargins, out float AWidthInPoint, out float AHeightInPoint)
 get the size of the page, eg. from the HTML body tag More...
 
abstract void StartPrintDocument ()
 todoComment More...
 
abstract void PrintPageHeader ()
 todoComment More...
 
abstract void PrintPageBody ()
 todoComment More...
 
abstract void PrintPageFooter ()
 todoComment More...
 
virtual float RenderContent (float AXPos, float AWidthAvailable, ref XmlNode content)
 this should be overwritten e.g. by a function that knows to interpret HTML etc More...
 

Detailed Description

A helper class, to enable the GfxPrinter to call the functions that will be provided by TReportPrinter, which is derived from this class.

Member Function Documentation

◆ GetPageSize()

abstract bool Ict.Common.Printing.TPrinterLayout.GetPageSize ( out PaperKind  APaperKind,
out Margins  AMargins,
out float  AWidthInPoint,
out float  AHeightInPoint 
)
pure virtual

get the size of the page, eg. from the HTML body tag

Implemented in Ict.Common.Printing.TPrinterHtml.

◆ PrintPageBody()

abstract void Ict.Common.Printing.TPrinterLayout.PrintPageBody ( )
pure virtual

todoComment

Implemented in Ict.Common.Printing.TPrinterHtml.

◆ PrintPageFooter()

abstract void Ict.Common.Printing.TPrinterLayout.PrintPageFooter ( )
pure virtual

todoComment

Implemented in Ict.Common.Printing.TPrinterHtml.

◆ PrintPageHeader()

abstract void Ict.Common.Printing.TPrinterLayout.PrintPageHeader ( )
pure virtual

todoComment

Implemented in Ict.Common.Printing.TPrinterHtml.

◆ RenderContent()

virtual float Ict.Common.Printing.TPrinterLayout.RenderContent ( float  AXPos,
float  AWidthAvailable,
ref XmlNode  content 
)
inlinevirtual

this should be overwritten e.g. by a function that knows to interpret HTML etc

Parameters
AXPosthe X position to start the content
AWidthAvailableAWidthAvailable
content
Returns
s the height of the content

Reimplemented in Ict.Common.Printing.TPrinterHtml.

◆ StartPrintDocument()

abstract void Ict.Common.Printing.TPrinterLayout.StartPrintDocument ( )
pure virtual

todoComment

Implemented in Ict.Common.Printing.TPrinterHtml.


The documentation for this class was generated from the following file: