Jump to content
We've recently updated our Privacy Statement, available here ×

Rayen.Drissi

Members
  • Posts

    21
  • Joined

  • Last visited

Community Answers

  1. Rayen.Drissi's post in Stretch text field with data overflow was marked as the answer   
    Thank you for your help.
    Already the stretch type =>'Relative to Tallest Object'.
    I created Frame and group selected elements for each row then the problem is solved.
    Here is the result :

    Jrxml :
    <frame> <reportElement uuid="70cb42df-4e8f-4cbc-8d8f-f86a4aef9e3d" positionType="Float" x="119" y="233" width="332" height="20" isPrintWhenDetailOverflows="true"/> </frame> <frame> <reportElement uuid="4ca6a014-3eca-4c16-ae4e-079216b1e010" positionType="Float" x="119" y="253" width="332" height="20" isPrintWhenDetailOverflows="true"/> </frame> <elementGroup> <textField isStretchWithOverflow="true"> <reportElement uuid="b6102d47-3114-4673-a241-4dddb0e556bd" style="table" positionType="Float" stretchType="RelativeToTallestObject" x="133" y="213" width="100" height="20"/> <textElement textAlignment="Center" verticalAlignment="Middle"/> <textFieldExpression><![CDATA["1"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="true"> <reportElement uuid="c22b46b5-e528-4bb5-ad1c-a5fca06faf38" style="table" positionType="Float" stretchType="RelativeToTallestObject" x="383" y="213" width="55" height="20"/> <textElement textAlignment="Center" verticalAlignment="Middle"/> <textFieldExpression><![CDATA["value 1"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="true"> <reportElement uuid="66833d4b-1a6b-4398-9431-ed3ef80ef7dc" style="table" positionType="Float" stretchType="RelativeToTallestObject" x="233" y="213" width="150" height="20"/> <textElement textAlignment="Center" verticalAlignment="Middle"/> <textFieldExpression><![CDATA["azertyuiop aaaaaaaaaaaaaaazeeeeeeerrrrrrrrrrrrtttttttttttttttttttttpmmmmmmmmmmmmmlk"]]></textFieldExpression> </textField> </elementGroup> <frame> <reportElement uuid="bc738f1d-150b-4959-9bc5-6a00b7112969" positionType="Float" x="119" y="213" width="332" height="20" isPrintWhenDetailOverflows="true"/> </frame> <elementGroup> <textField isStretchWithOverflow="true"> <reportElement uuid="78d019fd-5e89-47f1-a895-9a4f0f754000" style="table" positionType="Float" stretchType="RelativeToTallestObject" x="133" y="233" width="100" height="20"/> <textElement textAlignment="Center" verticalAlignment="Middle"/> <textFieldExpression><![CDATA["2"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="true"> <reportElement uuid="5935ad61-77ec-4b05-84bf-6f72d3dcd0bd" style="table" positionType="Float" stretchType="RelativeToTallestObject" x="233" y="233" width="150" height="20"/> <textElement textAlignment="Center" verticalAlignment="Middle"/> <textFieldExpression><![CDATA["DP-GI"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="true"> <reportElement uuid="83d4865c-f1af-4361-b6fd-9575a9835c7f" style="table" positionType="Float" stretchType="RelativeToTallestObject" x="383" y="233" width="55" height="20"/> <textElement textAlignment="Center" verticalAlignment="Middle"/> <textFieldExpression><![CDATA["value 2"]]></textFieldExpression> </textField> </elementGroup> <elementGroup> <textField isStretchWithOverflow="true"> <reportElement uuid="1a2694c6-974b-493a-b0a6-09b2be10f63a" style="table" positionType="Float" stretchType="RelativeToTallestObject" x="133" y="253" width="100" height="20"/> <textElement textAlignment="Center" verticalAlignment="Middle"/> <textFieldExpression><![CDATA["3"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="true"> <reportElement uuid="450e7cce-5a49-4bbc-b502-d86352c7c873" style="table" positionType="Float" stretchType="RelativeToTallestObject" x="233" y="253" width="150" height="20"/> <textElement textAlignment="Center" verticalAlignment="Middle"/> <textFieldExpression><![CDATA["AS-GE"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="true"> <reportElement uuid="d8e7b402-0081-46ca-bd1c-2c3ae992b957" style="table" positionType="Float" stretchType="RelativeToTallestObject" x="383" y="253" width="55" height="20"/> <textElement textAlignment="Center" verticalAlignment="Middle"/> <textFieldExpression><![CDATA["value 3"]]></textFieldExpression> </textField> </elementGroup> 
    Best Regards.
  2. Rayen.Drissi's post in Eliminate border between 2 text fields was marked as the answer   
    Problem solved : I created 2 styles :
    <style name="PenStyle1"> <!-- for the text field--> <box> <topPen lineWidth="1.0"/> <leftPen lineWidth="1.0"/> <bottomPen lineWidth="1.0"/> </box> </style> <style name="PenStyle2"><!-- for the static text--> <box> <topPen lineWidth="1.0"/> <rightPen lineWidth="1.0"/> <bottomPen lineWidth="1.0"/> </box> </style> [/code] 
×
×
  • Create New...