aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/zwobble/mammoth/tests/documents
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/org/zwobble/mammoth/tests/documents')
-rw-r--r--src/test/java/org/zwobble/mammoth/tests/documents/DocumentElementMakers.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/java/org/zwobble/mammoth/tests/documents/DocumentElementMakers.java b/src/test/java/org/zwobble/mammoth/tests/documents/DocumentElementMakers.java
index 6e9409f..bacd649 100644
--- a/src/test/java/org/zwobble/mammoth/tests/documents/DocumentElementMakers.java
+++ b/src/test/java/org/zwobble/mammoth/tests/documents/DocumentElementMakers.java
@@ -18,6 +18,7 @@ public class DocumentElementMakers {
public static final Property<HasChildren, Boolean> ITALIC = newProperty();
public static final Property<HasChildren, Boolean> UNDERLINE = newProperty();
public static final Property<HasChildren, Boolean> STRIKETHROUGH = newProperty();
+ public static final Property<HasChildren, VerticalAlignment> VERTICAL_ALIGNMENT = newProperty();
public static final Property<HasChildren, List<DocumentElement>> CHILDREN = newProperty();
public static final Instantiator<Paragraph> PARAGRAPH =
@@ -32,7 +33,7 @@ public class DocumentElementMakers {
propertyLookup.valueOf(ITALIC, false),
propertyLookup.valueOf(UNDERLINE, false),
propertyLookup.valueOf(STRIKETHROUGH, false),
- VerticalAlignment.BASELINE,
+ propertyLookup.valueOf(VERTICAL_ALIGNMENT, VerticalAlignment.BASELINE),
Optional.empty(),
propertyLookup.valueOf(CHILDREN, list()));