January 2nd, 2013, 05:42 AM
I have an XSL document which prints from my system. It should print the text entered into the one of the fields in the database.
I have a java program which gets the size of the line of text and another java program which prints the comments using the following code
int VectorSize = getInfo.getTestCommentSize();
for (intCount=0; piCount<VectorSize; piCount++)
Handler.element("Text", getInfo.getTestComment(piCount) );
This works as it prints the text which is stored in the database field however when it reached thes end of the line it cuts of the last letter. For example in the database it says
PRINT THIS COMMENT. PRINT THIS COMMENT. PRINT THIS COMMENT.
When it prints out on the document it shows as
PRINT THIS COMMENT. PRINT THIS COMMENT. PRIN
The T has been cut off. Does anyone have any ideas on how to fix this?