Class TWPBlockTemplateAdapter

Hierarchy

System.TObject | System.Classes.TPersistent | System.Classes.TComponent | WPRTEDefs.TWPDataSetAbstractAdapter | TWPBlockTemplateAdapter

Subclasses

WPCTRTextProducer.TWPBlockTemplateSummaryAdapter

Methods

Procedure AfterTemplateGridCreation(GroupAPIObject:TObject; Tablename:string; grid:TParagraph)

Function BeginGroupAPI : TObject

Procedure EndGroupAPI(GroupAPIObject:TObject)

Function EnterGroup(GroupAPIObject:TObject; Name:string; MasterID:string) : TObject

Procedure ExitGroup(GroupAPIObject:TObject; Group:TObject)

Function GetColFieldContents(GroupAPIObject:TObject; index:Integer) : Variant

Function GetColFieldData(GroupAPIObject:TObject; index:Integer; data:TMemoryStream) : Boolean

Function GetColFieldindex(GroupAPIObject:TObject; FieldName:string) : Integer

Function GetColFieldname(GroupAPIObject:TObject; index:Integer) : string

Function GetColFieldSize(GroupAPIObject:TObject; index:Integer) : Integer

Function GetColFieldString(GroupAPIObject:TObject; index:Integer; state:TWPAdapterCellStates) : string

Function GetColFieldTitle(GroupAPIObject:TObject; index:Integer; state:TWPAdapterCellStates) : string

Function GetColFieldType(GroupAPIObject:TObject; index:Integer) : TWPDataSetAbstractFieldType

Function GetColumnCount(GroupAPIObject:TObject) : Integer

Function GetFirstRow(GroupAPIObject:TObject) : Boolean

Function GetMasterID(GroupAPIObject:TObject) : string

Function GetNextRow(GroupAPIObject:TObject; ErrorString:string) : Boolean

Function GetRow(GroupAPIObject:TObject; index:Integer) : Boolean

Function GetRowCount(GroupAPIObject:TObject) : Integer

Function GetRowID(GroupAPIObject:TObject) : string

Function GetRowNameAndKey(GroupAPIObject:TObject) : string

Function GotoRow(GroupAPIObject:TObject; KeyValue:string) : Boolean

Function HandleException(e:Exception; EMessage:string; DestPar:TParagraph) : Boolean

Procedure InitGroupRow(GroupAPIObject:TObject; row:TParagraph; IsHeader:Boolean; IsFooter:Boolean)

Function InitializeFieldCell(GroupAPIObject:TObject; index:Integer; state:TWPAdapterCellStates; aCell:TParagraph; aTemplateCell:TParagraph) : Boolean

Function Options : TWPDataSetAdapterOptions

Procedure PrepareRow(GroupAPIObject:TObject; RowNr:Integer)

Function SetColFieldContents(FieldName:string; Value:string) : Boolean

Function SetRowNr(GroupAPIObject:TObject; RowNr:Integer) : Boolean

Procedure TemplateUpdateCell(GroupAPIObject:TObject; index:Integer; aParagraph:TObject; Row:Integer; State:TWPAdapterCellStates)

Function TestColFieldContents(FieldName:string; Value:string) : Boolean

Used or referenced by

-Function TParagraph.GridUpdate(mode:TWPGridUpdateModes; adapter:TWPDataSetAbstractAdapter) : Boolean
-Function TParagraph.GridUpdate(mode:TWPGridUpdateModes; adapter:TWPDataSetAbstractAdapter) : Boolean
-Property TWPTableProducer.DataAdapter : TWPBlockTemplateAdapter