JRBasePrintText rotatedText = new JRBasePrintText(text.getDefaultStyleProvider());
rotatedText.setX(text.getX());
rotatedText.setY(text.getY());
rotatedText.setWidth(text.getWidth());
rotatedText.setHeight(text.getHeight());
rotatedText.copyBox(text.getLineBox());
JRBoxUtil.rotate(rotatedText.getLineBox(), text.getRotationValue());
int rotationIE = 0;
int rotationAngle = 0;