Merge pull request #224 from Kitzanos/fixed-pdf-issue-prod
Cherry-pick (Fixed pdf sequence issue)
This commit is contained in:
@@ -285,12 +285,12 @@ public class PdfDao {
|
|||||||
|
|
||||||
private Document createPdfTable(List<Map<String, Object>> extractedData, Document document, ContentResponseBean contentResponseBean) throws DocumentException {
|
private Document createPdfTable(List<Map<String, Object>> extractedData, Document document, ContentResponseBean contentResponseBean) throws DocumentException {
|
||||||
// Create a PdfPTable with dynamic column count based on stateFieldMap size
|
// Create a PdfPTable with dynamic column count based on stateFieldMap size
|
||||||
Map<String, String> stateFieldMap = new HashMap<>();
|
Map<String, String> stateFieldMap = new LinkedHashMap<>();
|
||||||
Map<String, Boolean> stateFieldBoolean = new HashMap<>();
|
Map<String, Boolean> stateFieldBoolean = new LinkedHashMap<>();
|
||||||
Map<String, Boolean> formulaEnabledMap = new HashMap<>();
|
Map<String, Boolean> formulaEnabledMap = new LinkedHashMap<>();
|
||||||
Map<String, String> formulaTypeMap = new HashMap<>();
|
Map<String, String> formulaTypeMap = new LinkedHashMap<>();
|
||||||
Map<String, String> fieldTypeMap = new HashMap<>();
|
Map<String, String> fieldTypeMap = new LinkedHashMap<>();
|
||||||
Map<String, String> totalMap = new HashMap<>();
|
Map<String, String> totalMap = new LinkedHashMap<>();
|
||||||
Font lightGrayFont = FontFactory.getFont(FontFactory.HELVETICA, 12, Font.NORMAL, new BaseColor(110, 110, 110)); // Light gray
|
Font lightGrayFont = FontFactory.getFont(FontFactory.HELVETICA, 12, Font.NORMAL, new BaseColor(110, 110, 110)); // Light gray
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user