Class TextLine
- java.lang.Object
-
- org.verapdf.wcag.algorithms.entities.content.InfoChunk
-
- org.verapdf.wcag.algorithms.entities.content.TextInfoChunk
-
- org.verapdf.wcag.algorithms.entities.content.TextLine
-
- All Implemented Interfaces:
IChunk
- Direct Known Subclasses:
TableTokenRow
public class TextLine extends TextInfoChunk
-
-
Field Summary
-
Fields inherited from class org.verapdf.wcag.algorithms.entities.content.TextInfoChunk
baseLine, fontSize, slantDegree
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(TextChunk chunk)voidadd(TextLine line)TextChunkgetFirstTextChunk()TextChunkgetLastNormalTextChunk()TextChunkgetLastTextChunk()List<TextChunk>getTextChunks()StringgetValue()booleanisEmpty()booleanisFullLine()booleanisLineEnd()booleanisLineStart()booleanisSpaceLine()voidsetNotLineEnd()voidsetNotLineStart()StringtoString()-
Methods inherited from class org.verapdf.wcag.algorithms.entities.content.TextInfoChunk
add, equals, getBaseLine, getFirstBaseLine, getFontSize, getSlantDegree, getTextCenter, getTextEnd, getTextStart, hashCode, isBottomUpVerticalText, isHorizontalText, isLeftRightHorizontalText, isRightLeftHorizontalText, isUpBottomVerticalText, isVerticalText, setBaseLine, setFontSize, setSlantDegree
-
Methods inherited from class org.verapdf.wcag.algorithms.entities.content.InfoChunk
getBottomY, getBoundingBox, getCenterX, getCenterY, getLastPageNumber, getLeftX, getPageNumber, getRightX, getTopY, setBoundingBox, setLastPageNumber, setPageNumber, unionBoundingBox
-
-
-
-
Method Detail
-
getFirstTextChunk
public TextChunk getFirstTextChunk()
-
getLastTextChunk
public TextChunk getLastTextChunk()
-
getLastNormalTextChunk
public TextChunk getLastNormalTextChunk()
-
add
public void add(TextChunk chunk)
-
add
public void add(TextLine line)
-
getValue
public String getValue()
- Overrides:
getValuein classTextInfoChunk
-
isEmpty
public boolean isEmpty()
-
isSpaceLine
public boolean isSpaceLine()
-
isFullLine
public boolean isFullLine()
-
isLineStart
public boolean isLineStart()
-
setNotLineStart
public void setNotLineStart()
-
isLineEnd
public boolean isLineEnd()
-
setNotLineEnd
public void setNotLineEnd()
-
-