You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// This is how table looks like if no height property is set
51
-
addTable(doc, 504, "RETIREMENT PLANNING: BECAUSE YOU CAN’T BE A FINANCIAL PLANNER FOREVER.", -1);
52
-
// Here we set value from pre layout as height. We expect that this table shall be equal to the previous one
53
-
addTable(doc, 360, "RETIREMENT PLANNING: BECAUSE YOU CAN’T BE A FINANCIAL PLANNER FOREVER.", 0);
54
-
// Here we set 100 as height. We expect that this will be enough and all text will be placed
55
-
addTable(doc, 216, "RETIREMENT PLANNING: BECAUSE YOU CAN’T BE A FINANCIAL PLANNER FOREVER.", 100);
56
-
// Here we set 100 as height. We expect that this will be enough to place 3 lines
57
-
addTable(doc, 216, "RETIREMENT PLANNING: BECAUSE ***SOME TEST TEXT IS PLACED*** YOU CAN’T BE A FINANCIAL PLANNER FOREVER.", 100);
58
-
// Here we set value from pre layout minus 0.5f as height. We expect that this table shall not be equal to the previous one
59
-
addTable(doc, 50, "RETIREMENT PLANNING: BECAUSE YOU CAN’T BE A FINANCIAL PLANNER FOREVER.", -2);
58
+
addDescription(doc, 600, "This is how table looks like if no height property is set");
59
+
addTable(doc, 504, "RETIREMENT PLANNING: BECAUSE YOU CAN’T BE A FINANCIAL PLANNER FOREVER.", HEIGHT_IS_NOT_SET);
60
+
addDescription(doc, 456, "Here we set value from pre layout as height. We expect that this table shall be equal to the previous one");
61
+
addTable(doc, 360, "RETIREMENT PLANNING: BECAUSE YOU CAN’T BE A FINANCIAL PLANNER FOREVER.", HEIGHT_EXACT_THAT_REQUIRED);
62
+
addDescription(doc, 312, "Here we set 100 as height. We expect that this will be enough to place 3 lines");
63
+
addTable(doc, 216, "RETIREMENT PLANNING: BECAUSE ***SOME TEST TEXT IS PLACED*** YOU CAN’T BE A FINANCIAL PLANNER FOREVER.", HEIGHT_MORE_THAN_REQUIRED);
64
+
addDescription(doc, 146, "Here we set value from pre layout minus 0.5f as height. We expect that this table shall not be equal to the previous one");
65
+
addTable(doc, 50, "RETIREMENT PLANNING: BECAUSE YOU CAN’T BE A FINANCIAL PLANNER FOREVER.", HEIGHT_LESS_THAN_REQUIRED);
0 commit comments