public static class WordHeadingDetection.Builder
extends java.lang.Object
Constructor and Description |
---|
WordHeadingDetection.Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
WordHeadingDetection.Builder |
addFontSetting(FontSetting fontSetting)
Adds an fontSetting to fonts.
|
WordHeadingDetection.Builder |
addWordStyle(WordStyle wordStyle)
Adds an wordStyle to styles.
|
WordHeadingDetection |
build()
Builds a WordHeadingDetection.
|
WordHeadingDetection.Builder |
fonts(java.util.List<FontSetting> fonts)
Set the fonts.
|
WordHeadingDetection.Builder |
styles(java.util.List<WordStyle> styles)
Set the styles.
|
public WordHeadingDetection.Builder()
public WordHeadingDetection build()
public WordHeadingDetection.Builder addFontSetting(FontSetting fontSetting)
fontSetting
- the new fontSettingpublic WordHeadingDetection.Builder addWordStyle(WordStyle wordStyle)
wordStyle
- the new wordStylepublic WordHeadingDetection.Builder fonts(java.util.List<FontSetting> fonts)
fonts
- the fontspublic WordHeadingDetection.Builder styles(java.util.List<WordStyle> styles)
styles
- the styles