I see there are lot many questions related to the same scenario this one is little different couldn't figure out the solution. I have a in a tabl in a cell. When I give the continous text like "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" Its overflowing the text when I download the print file and its normal when I give normal text with breaks.Here is my code
.generaltable {
background-color : #5C7FBF;
border:thin;
width : 100%;
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
}
.column {
background-color : #DEEDFF;
font-weight : bold;
padding-bottom : 1px;
padding-left : 1px;
padding-right : 1px;
padding-top : 1px;
text-align : center;
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
border: none;
}
.edit {
background-color : #DEEDFF;
border-width: 1px;
border-style:solid;
border-color:#DEEDFF;
border: 1px solid #DEEDFF;
color: black;
text-align : left;
font-weight : bold;
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
word-break: break-all;
}
.iedit2 {
background-color : white;
text-align: left;
color: black;
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
border-top: 1px solid #999999;
border-right: 1px solid #333333;
border-bottom: 1px solid #333333;
border-left: 1px solid #999999;
word-break: break-all;
}
<table border="1" width="100%" align="center" cellpadding="2" cellspacing="1" class="generaltable"> <tbody><tr id="Row35494#0">
<th id="04" class="column" width="39%"><a href="javascript:alert('Self Explanatory')">Brief description of the issue *</a></th>
<td id="1 04" width="39%" class="edit">
<textarea id="269494_0" class="iedit2" cols="35" rows="5" wrap="virtual" maxlength="4000" name="fiy">ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
</textarea>
</td>
</tr>
</tbody>
</table>
please find the pictures it for clear overview
I have a click like Go once I do it it downloads the entire document here using JAVA code and the code part is working Good but the issue is with itext 7.1.7. this is happening and I have changed it to flying saucer its working good but causing other issues. I want to stay with Itext 7.1.7 and solve this continuous fix.