-
-
Notifications
You must be signed in to change notification settings - Fork 222
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix/Nil pointer in register header (#474)
* test: Validate adding auto-height rows * Fix: Handle error when creating components with auto height Add configuration to component before calculating height
- Loading branch information
1 parent
53f06b8
commit 3b2fae8
Showing
8 changed files
with
4,470 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,193 @@ | ||
{ | ||
"type": "maroto", | ||
"details": { | ||
"chunk_workers": 1, | ||
"config_margin_bottom": 20.0025, | ||
"config_margin_left": 10, | ||
"config_margin_right": 10, | ||
"config_margin_top": 10, | ||
"config_max_grid_sum": 12, | ||
"config_provider_type": "gofpdf", | ||
"generation_mode": "sequential", | ||
"maroto_dimension_height": 297, | ||
"maroto_dimension_width": 210, | ||
"prop_font_color": "RGB(0, 0, 0)", | ||
"prop_font_family": "arial", | ||
"prop_font_size": 10 | ||
}, | ||
"nodes": [ | ||
{ | ||
"type": "page", | ||
"nodes": [ | ||
{ | ||
"value": 100, | ||
"type": "row", | ||
"nodes": [ | ||
{ | ||
"value": 12, | ||
"type": "col" | ||
} | ||
] | ||
}, | ||
{ | ||
"value": 100, | ||
"type": "row", | ||
"nodes": [ | ||
{ | ||
"value": 12, | ||
"type": "col" | ||
} | ||
] | ||
}, | ||
{ | ||
"value": 63.469722222222224, | ||
"type": "row", | ||
"nodes": [ | ||
{ | ||
"value": 12, | ||
"type": "col" | ||
} | ||
] | ||
}, | ||
{ | ||
"value": 3.527777777777778, | ||
"type": "row", | ||
"nodes": [ | ||
{ | ||
"value": 0, | ||
"type": "col", | ||
"details": { | ||
"is_max": true | ||
}, | ||
"nodes": [ | ||
{ | ||
"value": "header", | ||
"type": "text", | ||
"details": { | ||
"prop_align": "L", | ||
"prop_breakline_strategy": "empty_space_strategy", | ||
"prop_color": "RGB(0, 0, 0)", | ||
"prop_font_family": "arial", | ||
"prop_font_size": 10 | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "page", | ||
"nodes": [ | ||
{ | ||
"value": 100, | ||
"type": "row", | ||
"nodes": [ | ||
{ | ||
"value": 12, | ||
"type": "col" | ||
} | ||
] | ||
}, | ||
{ | ||
"value": 100, | ||
"type": "row", | ||
"nodes": [ | ||
{ | ||
"value": 12, | ||
"type": "col" | ||
} | ||
] | ||
}, | ||
{ | ||
"value": 63.469722222222224, | ||
"type": "row", | ||
"nodes": [ | ||
{ | ||
"value": 12, | ||
"type": "col" | ||
} | ||
] | ||
}, | ||
{ | ||
"value": 3.527777777777778, | ||
"type": "row", | ||
"nodes": [ | ||
{ | ||
"value": 0, | ||
"type": "col", | ||
"details": { | ||
"is_max": true | ||
}, | ||
"nodes": [ | ||
{ | ||
"value": "header", | ||
"type": "text", | ||
"details": { | ||
"prop_align": "L", | ||
"prop_breakline_strategy": "empty_space_strategy", | ||
"prop_color": "RGB(0, 0, 0)", | ||
"prop_font_family": "arial", | ||
"prop_font_size": 10 | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "page", | ||
"nodes": [ | ||
{ | ||
"value": 100, | ||
"type": "row", | ||
"nodes": [ | ||
{ | ||
"value": 12, | ||
"type": "col" | ||
} | ||
] | ||
}, | ||
{ | ||
"value": 163.46972222222223, | ||
"type": "row", | ||
"nodes": [ | ||
{ | ||
"value": 12, | ||
"type": "col" | ||
} | ||
] | ||
}, | ||
{ | ||
"value": 3.527777777777778, | ||
"type": "row", | ||
"nodes": [ | ||
{ | ||
"value": 0, | ||
"type": "col", | ||
"details": { | ||
"is_max": true | ||
}, | ||
"nodes": [ | ||
{ | ||
"value": "header", | ||
"type": "text", | ||
"details": { | ||
"prop_align": "L", | ||
"prop_breakline_strategy": "empty_space_strategy", | ||
"prop_color": "RGB(0, 0, 0)", | ||
"prop_font_family": "arial", | ||
"prop_font_size": 10 | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
Oops, something went wrong.