Class LineProperties
- java.lang.Object
-
- org.daisy.dotify.formatter.impl.row.LineProperties
-
public final class LineProperties extends Object
Provides details about a line.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLineProperties.BuilderProvides a builder of line properties.
-
Field Summary
Fields Modifier and Type Field Description static LinePropertiesDEFAULTProvides default line properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlockLineLocationgetBlockLineLocation()intgetReservedWidth()Gets the number of characters on a line that cannot be used for text flow contents.booleansuppressHyphenation()When true, hyphenation should be suppressed for the line.
-
-
-
Field Detail
-
DEFAULT
public static final LineProperties DEFAULT
Provides default line properties. The default is to allow hyphenation and to reserve no width.
-
-
Method Detail
-
suppressHyphenation
public boolean suppressHyphenation()
When true, hyphenation should be suppressed for the line.- Returns:
- true if hyphenation should be suppressed, false otherwise
-
getReservedWidth
public int getReservedWidth()
Gets the number of characters on a line that cannot be used for text flow contents.- Returns:
- the number of characters on a line that cannot be used for text flow contents
-
getBlockLineLocation
public BlockLineLocation getBlockLineLocation()
-
-