C# 클래스 SIL.FieldWorks.SharpViews.Paragraphs.ParaLine

This class represents one line in a paragraph. It is not itself a box, but merely a way of organizing the boxes of the paragraph.
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Add void
ArrangeBoxes void
BoxBefore Box
GetDirectionDepth int
OrderedBoxes IEnumerable
RemoveFrom void
ReverseUpstreamBoxes void
SetWeakDirections void

비공개 메소드들

메소드 설명
Add ( Box box ) : void
ArrangeBoxes ( FwTextAlign align, int gapLeft, int gapRight, int firstLineIndent, int availWidth, int topDepth ) : void
BoxBefore ( Box target ) : Box
GetDirectionDepth ( Box box, int topDepth ) : int
OrderedBoxes ( int topDepth ) : IEnumerable

Return the boxes in the order they should be laid out across the line.

RemoveFrom ( Box firstToRemove ) : void
ReverseUpstreamBoxes ( int nDepth, List boxes, int topDepth ) : void

Find in boxes any sequences of boxes whose direction depth is nDepth or more. Reverse the boxes in each such sequence.

SetWeakDirections ( int topDepth ) : void

Adjust the direction of any weak-direction boxes to match the shallowest adjacent non-weak-direction box. The start and end of the paragraph count as having the depth specified by the topDepth argument. So do any non-string boxes.