Class ExpressionItem
Inheritance
ExpressionItem
Assembly: Reportman.Reporting.dll
Syntax
public class ExpressionItem : PrintItemText, IDisposable
Constructors
ExpressionItem()
Declaration
Fields
DataCount
Declaration
Field Value
IsGroupPageCount
Declaration
public bool IsGroupPageCount
Field Value
IsPageCount
Declaration
Field Value
Declaration
Field Value
PartialPos
Declaration
Field Value
SumValue
Declaration
Field Value
Updated
Declaration
Field Value
Value
Declaration
Field Value
Properties
AgIniValue
Declaration
public string AgIniValue { get; set; }
Property Value
AgType
Declaration
public AggregateType AgType { get; set; }
Property Value
Aggregate
Declaration
public Aggregate Aggregate { get; set; }
Property Value
AutoContract
Declaration
public bool AutoContract { get; set; }
Property Value
AutoExpand
Declaration
public bool AutoExpand { get; set; }
Property Value
DataType
Declaration
public ParamType DataType { get; set; }
Property Value
Declaration
public string DisplayFormat { get; set; }
Property Value
Declaration
public string ExportDisplayFormat { get; set; }
Property Value
ExportDoNewLine
Declaration
public bool ExportDoNewLine { get; set; }
Property Value
ExportExpression
Declaration
public string ExportExpression { get; set; }
Property Value
ExportLine
Declaration
public int ExportLine { get; set; }
Property Value
ExportPosition
Declaration
public int ExportPosition { get; set; }
Property Value
ExportSize
Declaration
public int ExportSize { get; set; }
Property Value
ExportValue
Declaration
public Variant ExportValue { get; set; }
Property Value
Expression
Declaration
public string Expression { get; set; }
Property Value
GroupName
Declaration
public string GroupName { get; set; }
Property Value
IdenExpression
Declaration
[JsonIgnore]
[JsonIgnore]
public EvalIdenExpression IdenExpression { get; }
Property Value
Identifier
Declaration
public string Identifier { get; set; }
Property Value
IsPartial
Declaration
[JsonIgnore]
[JsonIgnore]
public bool IsPartial { get; }
Property Value
PrintNulls
Declaration
public bool PrintNulls { get; set; }
Property Value
PrintOnlyOne
Declaration
public bool PrintOnlyOne { get; set; }
Property Value
Methods
This procedure will print the item into the MetaFile, internal implementation
Declaration
protected override void DoPrint(PrintOut adriver, int aposx, int aposy, int newwidth, int newheight, MetaFile metafile, Point MaxExtent, ref bool PartialPrint)
Parameters
| Type |
Name |
Description |
| PrintOut |
adriver |
Report processing driver
|
| int |
aposx |
Horizontal position in twips
|
| int |
aposy |
Vertical position in twips
|
| int |
newwidth |
Width of the bounding box in twips
|
| int |
newheight |
Height of the bounding box in twips
|
| MetaFile |
metafile |
Destination MetaFile
|
| Point |
MaxExtent |
Maximum extension
|
| bool |
PartialPrint |
Returns true if some text will expand multiple pages
|
Overrides
Evaluate()
Declaration
GetClassName()
Internal function to determine the object type name
Declaration
protected override string GetClassName()
Returns
| Type |
Description |
| string |
Object type name
|
Overrides
GetExtension(PrintOut, Point, bool)
This procedure will return the current size of the printed item
Declaration
public override Point GetExtension(PrintOut adriver, Point MaxExtent, bool ForcePartial)
Parameters
| Type |
Name |
Description |
| PrintOut |
adriver |
Report processing driver
|
| Point |
MaxExtent |
Maximum extension
|
| bool |
ForcePartial |
|
Returns
Overrides
SetReport(BaseReport)
Declaration
public override void SetReport(BaseReport rp)
Parameters
Overrides
SubReportChanged(SubReportEvent, string)
This event is generated while report is processing to allow the report items to update contents
Declaration
public override void SubReportChanged(SubReportEvent newstate, string newgroup)
Parameters
| Type |
Name |
Description |
| SubReportEvent |
newstate |
New state for the subreport
|
| string |
newgroup |
New group if apply
|
Overrides
UpdateIsPageCount()
Declaration
public void UpdateIsPageCount()
Implements