Fixed a problem with setNoWrap(true) in combination with setRotation(180)
git-svn-id: svn://svn.code.sf.net/p/itextsharp/code/trunk@8 820d3149-562b-4f88-9aa4-a8e61a3485cfmaster
parent
4dd7df176f
commit
a307572026
|
@ -457,10 +457,20 @@ namespace iTextSharp.text.pdf {
|
|||
leftLimit -= 10000;
|
||||
break;
|
||||
case Element.ALIGN_RIGHT:
|
||||
if (cell.Rotation == 180) {
|
||||
rightLimit += 20000;
|
||||
}
|
||||
else {
|
||||
leftLimit -= 20000;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
if (cell.Rotation == 180) {
|
||||
leftLimit -= 20000;
|
||||
}
|
||||
else {
|
||||
rightLimit += 20000;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue