ktrinad Posted August 20, 2006 Share Posted August 20, 2006 By: Antidote - poisonwise RelativeToTallestObject 2004-07-26 23:03I use stretchType = "RelativeToBandHeight" in a field and stretchType = "RelativeToTallestObject" in a line in detail band. The lines are drawn across section. An index point in the top left corner and bottom in the bottom right corner. JasperReports 5.3 < textField isStretchWithOverflow = "true" isBlankWhenNull = "true" > < reportElement positionType = "Float" x = "x" y = "x" width = "xx" height = "xx" / > < textElement textAlignment = "Center" > < font reportFont = "Arial_Normal" size = "x" / > </textElement> < textFieldExpression class = " java.lang. String " > <! [CDATA [$F {data0}]] > </textFieldExpression> </textField> <line> < reportElement x = "x" y = "xx" width = "xxx" height = "0" positionType = "Float" / > < graphicElement stretchType = "RelativeToTallestObject" / > </line> Thanks for all. By: Mykel Alvis - evilarchitect RE: RelativeToTallestObject 2004-07-28 11:52I don't understand the statement made here. Did you mean to make a statement, or did you mean to ask a question? Sorry if I'm just obtuse. By: Antidote - poisonwise RE: RelativeToTallestObject 2004-07-28 23:26It was the question. How to make, that such was not? By: Mykel Alvis - evilarchitect RE: RelativeToTallestObject 2004-07-29 06:44Maybe this is some sort of language/cultural barrier or maybe I'm just not being smart. As much as I appreciate information density, I have no idea what you're asking. Could you rephrase your entire request in the form of question? By: Antidote - poisonwise RE: RelativeToTallestObject 2004-07-30 00:27At me the field is more than 1 line. It is necessary that the lines were drawn after a field instead of crossed out it. How it to make? I apologize if is not clearly stated Thanks for patience By: Mykel Alvis - evilarchitect RE: RelativeToTallestObject 2004-07-30 06:58See what positionType="FixRelativeToBottom" and removing the stretchType attribute from graphicElement does for you. By: Antidote - poisonwise RE: RelativeToTallestObject 2004-08-01 23:03Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now