introduce text, italicText, boldText

remove *AsString builders, use a new MarkupDocBuilder with toString() method instead
This commit is contained in:
Hugo de Paix de Coeur
2016-02-18 13:36:35 +01:00
parent f3d797c1a9
commit 577c0a4f94
5 changed files with 72 additions and 68 deletions

View File

@@ -73,6 +73,7 @@ public class MarkupDocBuilderTest {
.textLine("text line b")
.boldTextLine("Bold text line b")
.italicTextLine("Italic text line b")
.boldText("bold").italicText("italic").text("regular").newLine()
.unorderedList(Arrays.asList("Entry1", "Entry2", "Entry 2"))
.anchor("anchor", "text").newLine()
.anchor(" Simple anchor").newLine()
@@ -103,6 +104,7 @@ public class MarkupDocBuilderTest {
.textLine("text line b")
.boldTextLine("Bold text line b")
.italicTextLine("Italic text line b")
.boldText("bold").italicText("italic").text("regular").newLine()
.unorderedList(Arrays.asList("Entry1", "Entry2", "Entry 2"))
.anchor("anchor", "text").newLine()
.anchor(" Simple anchor").newLine()