Please call Workbook.calculateFormula() method before rendering to PDF file format, it should fix your issue. In case, you still find the issue, kindly do provide a standalone (runnable) console application, zip the project and post us with all the resource files, we will check it soon.
@Smital279,
To reduce the file size, you can simulate data by adding only problematic cell data. Finally zip the project and post us with all the resource files, we will check it soon
@Smital279,
When generating a template, you can style the corresponding cells in the template. When importing data, those data will inherit the styles in the template.
I want to specific Line only BOLD and underline . remaining text will be in normal
Example
any case within 30 calendar days of the date of this letter.
Here’ 30 Calendar days’ should be BOLD and UNDERLINE.
I have applied this property corresponding cells but while importing/concatenating, it is not showing
@Smital279,
Would you like to provide your template file and executable console project? We will check it soon.
Or you can refer to the link below. We set the style in the template, and after importing the data, the data also inherits the style set in the template. Failed to get Smart Marker in Text while generating PDF - #3 by John.He
I checked your template file and sample. This is expected behavior. This is same with MS Excel. Please try to perform the similar task in MS Excel manually, e.g., enter the CONCAT formula to merge some strings (a cell should have bold and underline text). You will notice the resultant cell won’t show those bold/underline text in the final string.
As requested earlier, to set specific text bold/underline form a string, you may apply formattings using the relevant API later on after your markers are processed and data is filled into the cells, see the document with example code for your reference.