Search Results for

    Show / Hide Table of Contents

    Class ExpressionItem

    A report item that evaluates an expression and prints its formatted result, supporting aggregates (sum, min, max, average, standard deviation), page-count variables, optional export values, HTML content and splitting across multiple pages.

    Inheritance
    object
    ReportItem
    PrintItem
    PrintPosItem
    PrintItemText
    ExpressionItem
    Implements
    IDisposable
    Inherited Members
    PrintItemText.EvaluateHtmlExpressions(string)
    PrintItemText.WFontName
    PrintItemText.LFontName
    PrintItemText.FontSize
    PrintItemText.FontRotation
    PrintItemText.FontStyle
    PrintItemText.FontColor
    PrintItemText.BackColor
    PrintItemText.Transparent
    PrintItemText.CutText
    PrintItemText.WordWrap
    PrintItemText.IsHtml
    PrintItemText.WordBreak
    PrintItemText.InterLine
    PrintItemText.Alignment
    PrintItemText.VAlignment
    PrintItemText.SingleLine
    PrintItemText.Type1Font
    PrintItemText.MultiPage
    PrintItemText.PrintStep
    PrintItemText.RightToLeft
    PrintItemText.PrintAlignment
    PrintItemText.VPrintAlignment
    PrintPosItem.Section
    PrintPosItem.AnnotationExpression
    PrintPosItem.FillAnnotation(MetaObject, MetaPage)
    PrintPosItem.Hidden
    PrintPosItem.PosX
    PrintPosItem.PosY
    PrintPosItem.Align
    PrintPosItem.PartialFlag
    PrintItem.PrintWidth
    PrintItem.PrintHeight
    PrintItem.Visible
    PrintItem.LastExtent
    PrintItem.SelectionIndex
    PrintItem.SelectionRectangle
    PrintItem.EvaluatePrintCondition()
    PrintItem.Print(PrintOut, int, int, int, int, MetaFile, Point, ref bool)
    PrintItem.ExecuteBeforePrint()
    PrintItem.ExecuteAfterPrint()
    PrintItem.Width
    PrintItem.Height
    PrintItem.DoBeforePrint
    PrintItem.DoAfterPrint
    PrintItem.PrintCondition
    ReportItem.Dispose()
    ReportItem.Name
    ReportItem.Report
    ReportItem.ClassName
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Reportman.Reporting
    Assembly: Reportman.Reporting.dll
    Syntax
    public class ExpressionItem : PrintItemText, IDisposable

    Constructors

    View Source

    ExpressionItem()

    Declaration
    public ExpressionItem()

    Fields

    View Source

    DataCount

    Declaration
    public int DataCount
    Field Value
    Type Description
    int
    View Source

    IsGroupPageCount

    Declaration
    public bool IsGroupPageCount
    Field Value
    Type Description
    bool
    View Source

    IsPageCount

    Declaration
    public bool IsPageCount
    Field Value
    Type Description
    bool
    View Source

    LastMetaIndex

    Declaration
    public int LastMetaIndex
    Field Value
    Type Description
    int
    View Source

    PartialPos

    Declaration
    public int PartialPos
    Field Value
    Type Description
    int
    View Source

    SumValue

    Declaration
    public Variant SumValue
    Field Value
    Type Description
    Variant
    View Source

    Updated

    Declaration
    public bool Updated
    Field Value
    Type Description
    bool
    View Source

    Value

    Declaration
    public Variant Value
    Field Value
    Type Description
    Variant

    Properties

    View Source

    AgIniValue

    Declaration
    public string AgIniValue { get; set; }
    Property Value
    Type Description
    string
    View Source

    AgType

    Declaration
    public AggregateType AgType { get; set; }
    Property Value
    Type Description
    AggregateType
    View Source

    Aggregate

    Declaration
    public Aggregate Aggregate { get; set; }
    Property Value
    Type Description
    Aggregate
    View Source

    AutoContract

    Declaration
    public bool AutoContract { get; set; }
    Property Value
    Type Description
    bool
    View Source

    AutoExpand

    Declaration
    public bool AutoExpand { get; set; }
    Property Value
    Type Description
    bool
    View Source

    DataType

    Declaration
    public ParamType DataType { get; set; }
    Property Value
    Type Description
    ParamType
    View Source

    DisplayFormat

    Declaration
    public string DisplayFormat { get; set; }
    Property Value
    Type Description
    string
    View Source

    ExportDisplayFormat

    Declaration
    public string ExportDisplayFormat { get; set; }
    Property Value
    Type Description
    string
    View Source

    ExportDoNewLine

    Declaration
    public bool ExportDoNewLine { get; set; }
    Property Value
    Type Description
    bool
    View Source

    ExportExpression

    Declaration
    public string ExportExpression { get; set; }
    Property Value
    Type Description
    string
    View Source

    ExportLine

    Declaration
    public int ExportLine { get; set; }
    Property Value
    Type Description
    int
    View Source

    ExportPosition

    Declaration
    public int ExportPosition { get; set; }
    Property Value
    Type Description
    int
    View Source

    ExportSize

    Declaration
    public int ExportSize { get; set; }
    Property Value
    Type Description
    int
    View Source

    ExportValue

    Declaration
    public Variant ExportValue { get; set; }
    Property Value
    Type Description
    Variant
    View Source

    Expression

    Declaration
    public string Expression { get; set; }
    Property Value
    Type Description
    string
    View Source

    GroupName

    Declaration
    public string GroupName { get; set; }
    Property Value
    Type Description
    string
    View Source

    IdenExpression

    Declaration
    [JsonIgnore]
    [JsonIgnore]
    public EvalIdenExpression IdenExpression { get; }
    Property Value
    Type Description
    EvalIdenExpression
    View Source

    Identifier

    Declaration
    public string Identifier { get; set; }
    Property Value
    Type Description
    string
    View Source

    IsPartial

    Declaration
    [JsonIgnore]
    [JsonIgnore]
    public bool IsPartial { get; }
    Property Value
    Type Description
    bool
    View Source

    PrintNulls

    Declaration
    public bool PrintNulls { get; set; }
    Property Value
    Type Description
    bool
    View Source

    PrintOnlyOne

    Declaration
    public bool PrintOnlyOne { get; set; }
    Property Value
    Type Description
    bool

    Methods

    View Source

    DoPrint(PrintOut, int, int, int, int, MetaFile, Point, ref bool)

    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
    PrintItem.DoPrint(PrintOut, int, int, int, int, MetaFile, Point, ref bool)
    View Source

    Evaluate()

    Declaration
    public void Evaluate()
    View Source

    GetClassName()

    Internal function to determine the object type name

    Declaration
    protected override string GetClassName()
    Returns
    Type Description
    string

    Object type name

    Overrides
    ReportItem.GetClassName()
    View Source

    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
    Type Description
    Point
    Overrides
    PrintPosItem.GetExtension(PrintOut, Point, bool)
    View Source

    SetReport(BaseReport)

    Declaration
    public override void SetReport(BaseReport rp)
    Parameters
    Type Name Description
    BaseReport rp
    Overrides
    ReportItem.SetReport(BaseReport)
    View Source

    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
    PrintItem.SubReportChanged(SubReportEvent, string)
    View Source

    UpdateIsPageCount()

    Declaration
    public void UpdateIsPageCount()

    Implements

    IDisposable
    • View Source
    In this article
    Back to top Generated by DocFX