[]
        
(Showing Draft Content)

C1.Report.Rendering.BrickBase

BrickBase Class

Represents temporary object generated by the objects of the FlexReport (FieldBase, Section, Group etc) during report rendering. Each BrickBase represents a part of the report object on a page.

Inheritance
BrickBase
Namespace: C1.Report.Rendering
Assembly: C1.FlexReport.dll
Syntax
public abstract class BrickBase

Constructors

Name Description
BrickBase()

Fields

Name Description
Border

Size of borders.

CommonInfo

Common info for all bricks generated during splitting.

LX

Logical X position of this brick.

LY

Logical Y position of this brick.

Outline

Outline linked with this brick.

Padding

Size of thickness.

Parent

Parent brick.

RenderFragment

C1.Document.RenderFragment representing part of content on some page of the generated document.

c_MinSplitDelta
c_flgMax

Properties

Name Description
Bottom

Gets a bottom bound of the brick.

BottomOffset
Bounds

Gets or sets the C1.Document.RenderFragment.Bounds of underlying RenderFragment.

Children
ClientHeight
ClientWidth
EdgeFlags
ForcePageBreak

Gets or sets the C1.Document.RenderObject.LayoutBreak of underlying RenderObject.

HUseContentOffset

Indicates that Left and Right of content offset should be calculated.

HasChildren
Height

Gets or sets the height of the brick.

IsBottomEdge
IsLeftEdge
IsRightEdge
IsTopEdge
LeftOffset
RenderObject

C1.Document.RenderObject representing content of this BrickBase.

Right

Gets a right bound of the brick.

RightOffset
TopOffset
VUseContentOffset

Indicates that Top and Bottom of content offset should be calculated.

Width

Gets or sets the width of the brick.

X

Gets the X coordinate of this BrickBase in its parent brick.

Y

Gets the Y coordinate of this BrickBase in its parent brick.

Methods

Name Description
AssignFrom(BrickBase)

Assigns all from another BrickBase object. Note! This method is intended to support repeated headers / footers in subreport, it does not copy: Outline, CommonInfo, LX, LY. Note! Parent should be assigned in AssignFrom(BrickBase) of parent brick. Note! RenderObject NOT cloned, copied as reference.

Clone()

Creates copy of this object uses CreateSame() and AssignFrom(BrickBase).

CreateSame()

Creates a new instance of the same class as this one.

GetFlag(int)
HBuildBreaks(FlexReport, Breaks, double, double, double, double)

Build list of horizontal hard breaks within this BrickBase.

HFindSplitPosition(RequestedSplitPosition, SplitContext)

Searches a position where brick could be split horizontally.

HPrepareSplit(RequestedSplitPosition, SplitContext, SplitBehavior, out double, out double)

Same as VPrepareSplit(RequestedSplitPosition, SplitContext, SplitBehavior, out double, out double) but in horizontal direction.

HSplit(SplitPositionBase)

Performs horizontal splitting of the brick at specified position, position was calculated during HFindSplitPosition() method.

HSplitInt(SplitPositionBase)
PrepareSplit(RequestedSplitPosition, SplitContext, SplitBehavior, BordersSplitMode, double, double, double, out double, out double)

Utility method. -) Checks for KeepTogether. -) Checks whether split position falls on borders and corrects splitPosition in this case.

SetBorder(Border)
SetFlag(int, bool)
VBuildBreaks(FlexReport, Breaks, double, double, double, double)

Build list of vertical hard breaks within this BrickBase.

VFindSplitPosition(RequestedSplitPosition, SplitContext)

Searches a position where brick could be split vertically.

VPrepareSplit(RequestedSplitPosition, SplitContext, SplitBehavior, out double, out double)

Utility method. -) Checks for KeepTogether. -) Checks whether split position falls on borders and corrects splitPosition in this case.

VSplit(SplitPositionBase)

Performs vertical splitting of the brick at specified position, position was calculated during VFindSplitPosition() method.

VSplitInt(SplitPositionBase)