java - How to wrap text around an image? -
i'm trying wrap text around image.
the structure need create in picture bellow:
this have tried
i have tried using table did not succeed. tough of using text field html , passing image , set alignment left, found out not possible pass image in text field. started solve problem using jaspersoft studio pro , html element. not figure out how pass image field data base html source. expression in html element is:
"<img src= '$f{image}' align='left'/> <p>"+$f{kn_zusatzinfo_dv_einleitungstext} +"</p>"
this code not show image, box instead of image. , text printed not stretched. page style use 2 column. html out put in picture
using static path 1 bellow image works, not option me since need read image data base:
"<style>.left { float: left; margin-left: 1em; width :40%;}</style><p><img class = left src= c:/users/iman/jaspersoftworkspace/qreport/sample1.png />
if use image element text box under out put , design view these pictures:
the html source of html approach is:
<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> <html> <head> <title></title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <style type="text/css"> { text-decoration: none } </style> </head> <body text="#000000" link="#000000" alink="#000000" vlink="#000000"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td width="50%"> </td> <td align="center"> <a name="jr_page_anchor_0_1"></a> <table class="jrpage" cellpadding="0" cellspacing="0" border="0" style="empty-cells: show; width: 595px; border-collapse: collapse; background-color: white;"> <tr valign="top" style="height:0"> <td style="width:10px"></td> <td style="width:20px"></td> <td style="width:40px"></td> <td style="width:210px"></td> <td style="width:32px"></td> <td style="width:58px"></td> <td style="width:10px"></td> <td style="width:182px"></td> <td style="width:9px"></td> <td style="width:24px"></td> </tr> <tr valign="top" style="height:25px"> <td colspan="10"> </td> </tr> <tr valign="top" style="height:5px"> <td colspan="6"> </td> <td colspan="3" rowspan="2" style="text-indent: 0px; text-align: right;"> <span style="font-family: 'dejavu sans', arial, helvetica, sans-serif; color: #6b66fa; font-size: 10px; line-height: 1.2578125;">hch-a - aortenklappenchirurgie, isoliert (konventionell chirurgisch)</span> </td> <td> </td> </tr> <tr valign="top" style="height:20px"> <td> </td> <td colspan="2" style="text-indent: 0px; text-align: left;"> <span style="font-family: 'dejavu sans', arial, helvetica, sans-serif; color: #bababa; font-size: 10px; line-height: 1.2578125;">ergebnisse</span> </td> <td colspan="3"> </td> <td> </td> </tr> <tr valign="top" style="height:20px"> <td colspan="7"> </td> <td colspan="2" style="text-indent: 0px; text-align: right;"> <span style="font-family: 'dejavu sans', arial, helvetica, sans-serif; color: #000000; font-size: 10px; line-height: 1.2578125;">dr xyz</span> </td> <td> </td> </tr> <tr valign="top" style="height:88px"> <td colspan="10"> </td> </tr> <tr valign="top" style="height:74px"> <td colspan="5"> </td> <td colspan="3" rowspan="2"> <div style='width:250px;height:90px;background-color: #ffffff; overflow:hidden;'> <img src='((java.awt.image)field_image.getvalue())' align='left' /> <p>bei der aortenklappe handelt es sich um das „ventil“ zwischen der linken herzkeaortenklappenchirurgie, isoliert - konventionell - aortenklappenchirurgie, isoliert - kathetergestützt die qualitätsindikatoren der k........ appenchirauch die indikationsstellung betrachtet. sofern nicht anders angegeben, ist die beschreibung der qualitätsindikatoren eine fortschreibung der qidb 2014 des aqua-institutes.</p> </div> </td> <td colspan="2"> </td> </tr> <tr valign="top" style="height:16px"> <td colspan="2"> </td> <td colspan="2" rowspan="2"> <div style='width:250px;height:90px;background-color: #ffffff; overflow:hidden;'> <img src='((java.awt.image)field_image.getvalue())' align='left' /> <p>bei der aortenklappe handelt es sich um das „ventil“ zwischen der linken herzkammer und der hauptschlagader (aorta). schließt die klappe nicht mehr dicht, spriitätsindikatoren der konventionellen aortenklappenchirurgie fokussieren schwere komplikationen und sterblichkeit. bei der kathetergestützten aortenklappenchirurgie wird darüber hinaus auch die indikationsstellung betrachtet. sofern nicht anders angegeben, ist die beschreibung der qualitätsindikatoren eine fortschreibung der qidb 2014 des aqua-institutes.</p> </div> </td> <td> </td> <td colspan="2"> </td> </tr> <tr valign="top" style="height:74px"> <td colspan="2"> </td> <td colspan="6"> </td> </tr> <tr valign="top" style="height:520px"> <td colspan="10"> </td> </tr> </table> <br/> <br/> <a name="jr_page_anchor_0_2"></a> <table class="jrpage" cellpadding="0" cellspacing="0" border="0" style="empty-cells: show; width: 595px; border-collapse: collapse; background-color: white;"> <tr valign="top" style="height:0"> <td style="width:10px"></td> ... <td style="width:24px"></td> </tr> <tr valign="top" style="height:27px"> <td colspan="7"> </td> </tr> <tr valign="top" style="height:20px"> <td> </td> <td colspan="2" style="text-indent: 0px; text-align: left;"> <span style="font-family: 'dejavu sans', arial, helvetica, sans-serif; color: #bababa; font-size: 10px; line-height: 1.2578125;">ergebnisse</span> </td> <td colspan="4"> </td> </tr> <tr valign="top" style="height:7px"> <td colspan="7"> </td> </tr> <tr valign="top" style="height:21px"> <td colspan="5"> </td> <td style="text-indent: 0px; text-align: right;"> <span style="font-family: 'dejavu sans', arial, helvetica, sans-serif; color: #6b66fa; font-size: 10px; line-height: 1.2578125;">hch-a - aortenklappenchirurgie, isoliert </span> </td> <td> </td> </tr> <tr valign="top" style="height:125px"> <td colspan="7"> </td> </tr> <tr valign="top" style="height:90px"> <td colspan="2"> </td> <td colspan="2"> <div style='width:250px;height:90px;background-color: #ffffff; overflow:hidden;'> <img src='((java.awt.image)field_image.getvalue())' align='left' /> <p>....deleted text because exceeded limit..</p> </div> </td> <td colspan="3"> </td> </tr> <tr valign="top" style="height:552px"> <td colspan="7"> </td> </tr> </table> <br/> <br/> <a name="jr_page_anchor_0_3"></a> <table class="jrpage" cellpadding="0" cellspacing="0" border="0" style="empty-cells: show; width: 595px; border-collapse: collapse; background-color: white;"> <tr valign="top" style="height:0"> <td style="width:595px"></td> </tr> <tr valign="top" style="height:842px"> <td> </td> </tr> </table> <![if ie]> <script> var links = document.queryselectorall('link.jrwebfont'); settimeout(function() { if (links) { (var = 0; < links.length; i++) { links.item(i).href = links.item(i).href; } } }, 0); </script> <![endif]> </td> <td width="50%"> </td> </tr> </table> </body> </html>
and html source of image element plus text field is:
<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> <html> <head> <title></title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <style type="text/css"> { text-decoration: none } </style> </head> <body text="#000000" link="#000000" alink="#000000" vlink="#000000"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td width="50%"> </td> <td align="center"> <a name="jr_page_anchor_0_1"></a> <table class="jrpage" cellpadding="0" cellspacing="0" border="0" style="empty-cells: show; width: 595px; border-collapse: collapse; background-color: white;"> <tr valign="top" style="height:0"> <td style="width:10px"></td> <td style="width:60px"></td> <td style="width:232px"></td> <td style="width:33px"></td> <td style="width:35px"></td> <td style="width:10px"></td> <td style="width:5px"></td> <td style="width:186px"></td> <td style="width:1px"></td> <td style="width:23px"></td> </tr> <tr valign="top" style="height:25px"> <td colspan="10"> </td> </tr> <tr valign="top" style="height:5px"> <td colspan="5"> </td> <td colspan="3" rowspan="2" style="text-indent: 0px; text-align: right;"> <span style="font-family: 'dejavu sans', arial, helvetica, sans-serif; color: #6b66fa; font-size: 10px; line-height: 1.2578125;">hch-a - aortenklappenchirurgie, isoliert (konventionell chirurgisch)</span> </td> <td colspan="2"> </td> </tr> <tr valign="top" style="height:20px"> <td> </td> <td style="text-indent: 0px; text-align: left;"> <span style="font-family: 'dejavu sans', arial, helvetica, sans-serif; color: #bababa; font-size: 10px; line-height: 1.2578125;">ergebnisse</span> </td> <td colspan="3"> </td> <td colspan="2"> </td> </tr> <tr valign="top" style="height:20px"> <td colspan="6"> </td> <td colspan="2" style="text-indent: 0px; text-align: right;"> <span style="font-family: 'dejavu sans', arial, helvetica, sans-serif; color: #000000; font-size: 10px; line-height: 1.2578125;">dr xyz</span> </td> <td colspan="2"> </td> </tr> <tr valign="top" style="height:94px"> <td colspan="10"> </td> </tr> <tr valign="top" style="height:50px"> <td colspan="4"> </td> <td colspan="3"> <img src="report7921484792758494686.html_files/img_0_0_3" style="width: 50px" alt="" /> </td> <td colspan="3"> </td> </tr> <tr valign="top" style="height:24px"> <td colspan="10"> </td> </tr> <tr valign="top" style="height:477px"> <td colspan="3"> </td> <td colspan="6" style="text-indent: 0px; text-align: left;"> <span style="font-family: 'dejavu sans', arial, helvetica, sans-serif; color: #000000; font-size: 10px; line-height: 1.2578125;">bei der aortenklappe handelt es sinken herzkammer und der hauptschlagader (aorta). einsatz einer künstlichen herzklappe behandelt.<br/><br/>bei beiden kathetergestützten methoden wird über ein spezielles ballonkathetersystem zunächst der bereich der </span> </td> <td> </td> </tr> <tr valign="top" style="height:127px"> <td colspan="10"> </td> </tr> </table> <br/> <br/> <a name="jr_page_anchor_0_2"></a> <table class="jrpage" cellpadding="0" cellspacing="0" border="0" style="empty-cells: show; width: 595px; border-collapse: collapse; background-color: white;"> <tr valign="top" style="height:0"> <td style="width:10px"></td> ... <td style="width:24px"></td> </tr> <tr valign="top" style="height:27px"> <td colspan="7"> </td> </tr> <tr valign="top" style="height:20px"> <td> </td> <td colspan="2" style="text-indent: 0px; text-align: left;"> <span style="font-family: 'dejavu sans', arial, helvetica, sans-serif; color: #bababa; font-size: 10px; line-height: 1.2578125;">ergebnisse</span> </td> <td colspan="4"> </td> </tr> <tr valign="top" style="height:7px"> <td colspan="7"> </td> </tr> <tr valign="top" style="height:21px"> <td colspan="5"> </td> <td style="text-indent: 0px; text-align: right;"> <span style="font-family: 'dejavu sans', arial, helvetica, sans-serif; color: #6b66fa; font-size: 10px; line-height: 1.2578125;">hch-a - aortenklappenchirurgie, isoliert </span> </td> <td> </td> </tr> <tr valign="top" style="height:139px"> <td colspan="7"> </td> </tr> <tr valign="top" style="height:264px"> <td colspan="2"> </td> <td colspan="2" style="text-indent: 0px; text-align: left;"> <span style="font-family: 'dejavu sans', arial, helvetica, sans-serif; color: #000000; font-size: 10px; line-height: 1.2578125;">alten, verengten aortenklappe erweitert. - des aqua-institutes.</span> </td> <td colspan="3"> </td> </tr> <tr valign="top" style="height:364px"> <td colspan="7"> </td> </tr> </table> <br/> <br/> <a name="jr_page_anchor_0_3"></a> <table class="jrpage" cellpadding="0" cellspacing="0" border="0" style="empty-cells: show; width: 595px; border-collapse: collapse; background-color: white;"> <tr valign="top" style="height:0"> <td style="width:10px"></td> <td style="width:10px"></td> ... <td style="width:1px"></td> <td style="width:23px"></td> </tr> <tr valign="top" style="height:27px"> <td colspan="11"> </td> </tr> <tr valign="top" style="height:20px"> <td> </td> <td colspan="3" style="text-indent: 0px; text-align: left;"> <span style="font-family: 'dejavu sans', arial, helvetica, sans-serif; color: #bababa; font-size: 10px; line-height: 1.2578125;">ergebnisse</span> </td> <td colspan="7"> </td> </tr> <tr valign="top" style="height:7px"> <td colspan="11"> </td> </tr> <tr valign="top" style="height:21px"> <td colspan="8"> </td> <td style="text-indent: 0px; text-align: right;"> <span style="font-family: 'dejavu sans', arial, helvetica, sans-serif; color: #6b66fa; font-size: 10px; line-height: 1.2578125;">hch-a - aortenklappenchirurgie, isoliert </span> </td> <td colspan="2"> </td> </tr> <tr valign="top" style="height:65px"> <td colspan="11"> </td> </tr> <tr valign="top" style="height:66px"> <td colspan="7"> </td> <td colspan="3" rowspan="4" style="text-indent: 0px; text-align: left;"> <span style="font-family: 'dejavu sans', arial, helvetica, sans-serif; color: #000000; font-size: 10px; line-height: 1.2578125;"><br/>bei beiden kathetergestützten me die indikationsstellung betrachtet.<br/><br/>sofern nicht anders angegeben, ist die beschreibung der qualitätsindikatoren eine fortschreibung der qidb 2014 des aqua-institutes.</span> </td> <td> </td> </tr> <tr valign="top" style="height:50px"> <td colspan="3"> </td> <td colspan="2"> <img src="report7921484792758494686.html_files/img_0_2_2" style="width: 50px" alt="" /> </td> <td colspan="2"> </td> <td> </td> </tr> <tr valign="top" style="height:24px"> <td colspan="7"> </td> <td> </td> </tr> <tr valign="top" style="height:161px"> <td colspan="2"> </td> <td colspan="4" rowspan="2" style="text-indent: 0px; text-align: left;"> <span style="font-family: 'dejavu sans', arial, helvetica, sans-serif; color: #000000; font-size: 10px; line-height: 1.2578125;">bei der aortenklapprzspitze über einen 3 bis 5 cm langen hautschnitt im rippenbereich (linker brustkorb, im 4. oder 5. rippenzwischenraum) freigelegt. <br/>- beim endovaskulären aortenklappenersatz ist lediglich ein gezielter einstich (punktion), zumeist in die leistenarterie, notwendig. <br/></span> </td> <td> </td> <td> </td> </tr> <tr valign="top" style="height:279px"> <td colspan="2"> </td> <td colspan="5"> </td> </tr> <tr valign="top" style="height:122px"> <td colspan="11"> </td> </tr> </table> <br/> <br/> <a name="jr_page_anchor_0_4"></a> <table class="jrpage" cellpadding="0" cellspacing="0" border="0" style="empty-cells: show; width: 595px; border-collapse: collapse; background-color: white;"> <tr valign="top" style="height:0"> <td style="width:10px"></td> <td style="width:60px"></td> ... <td style="width:1px"></td> <td style="width:23px"></td> </tr> <tr valign="top" style="height:27px"> <td colspan="9"> </td> </tr> <tr valign="top" style="height:20px"> <td> </td> <td style="text-indent: 0px; text-align: left;"> <span style="font-family: 'dejavu sans', arial, helvetica, sans-serif; color: #bababa; font-size: 10px; line-height: 1.2578125;">ergebnisse</span> </td> <td colspan="7"> </td> </tr> <tr valign="top" style="height:7px"> <td colspan="9"> </td> </tr> <tr valign="top" style="height:21px"> <td colspan="5"> </td> <td colspan="2" style="text-indent: 0px; text-align: right;"> <span style="font-family: 'dejavu sans', arial, helvetica, sans-serif; color: #6b66fa; font-size: 10px; line-height: 1.2578125;">hch-a - aortenklappenchirurgie, isoliert </span> </td> <td colspan="2"> </td> </tr> <tr valign="top" style="height:91px"> <td colspan="9"> </td> </tr> <tr valign="top" style="height:50px"> <td colspan="4"> </td> <td colspan="2"> <img src="report7921484792758494686.html_files/img_0_3_2" style="width: 50px" alt="" /> </td> <td colspan="3"> </td> </tr> <tr valign="top" style="height:24px"> <td colspan="9"> </td> </tr> <tr valign="top" style="height:477px"> <td colspan="3"> </td> <td colspan="5" style="text-indent: 0px; text-align: left;"> <span style="font-family: 'dejavu sans', arial, helvetica, sans-serif;r brustkorb, im 4. oder 5. rippenzwischenraum) freigelegt. <br/>- beim endovaskulären aortenklappenersatz ist lediglich ein gezielter einstich (punktion), zumeist in die leistenarterie, notwendig. <br/><br/>bei beiden kathetergestützten methoden wird über ein spezielles ballonkathetersystem zunächst der bereich der </span> </td> <td> </td> </tr> <tr valign="top" style="height:125px"> <td colspan="9"> </td> </tr> </table> <br/> <br/> <a name="jr_page_anchor_0_5"></a> <table class="jrpage" cellpadding="0" cellspacing="0" border="0" style="empty-cells: show; width: 595px; border-collapse: collapse; background-color: white;"> <tr valign="top" style="height:0"> <td style="width:10px"></td> <td style="width:10px"></td> <td style="width:50px"></td> <td style="width:220px"></td> <td style="width:80px"></td> <td style="width:201px"></td> <td style="width:24px"></td> </tr> <tr valign="top" style="height:27px"> <td colspan="7"> </td> </tr> <tr valign="top" style="height:20px"> <td> </td> <td colspan="2" style="text-indent: 0px; text-align: left;"> <span style="font-family: 'dejavu sans', arial, helvetica, sans-serif; color: #bababa; font-size: 10px; line-height: 1.2578125;">ergebnisse</span> </td> <td colspan="4"> </td> </tr> <tr valign="top" style="height:7px"> <td colspan="7"> </td> </tr> <tr valign="top" style="height:21px"> <td colspan="5"> </td> <td style="text-indent: 0px; text-align: right;"> <span style="font-family: 'dejavu sans', arial, helvetica, sans-serif; color: #6b66fa; font-size: 10px; line-height: 1.2578125;">hch-a - aortenklappenchirurgie, isoliert </span> </td> <td> </td> </tr> <tr valign="top" style="height:139px"> <td colspan="7"> </td> </tr> <tr valign="top" style="height:264px"> <td colspan="2"> </td> <td colspan="2" style="text-indent: 0px; text-align: left;"> <span style="font-family: 'dejavu sans', arial, helvetica, sans-serif; color: #000000; font-size: 10px; line-height: 1.2578125;">alten, verengten aortenklappe erweitert. anschließend wird eine zusammengefaltete herzklappenchirurgie fokussieren schwere komplikationen und sterblichkeit. bei der kathetergestützten aortenklappenchirurgie wird darüber hinaus auch die indikationsstellung betrachtet.<br/><br/>sofern nicht anders angegeben, ist die beschreibung der qualitätsindikatoren des aqua-institutes.</span> </td> <td colspan="3"> </td> </tr> <tr valign="top" style="height:364px"> <td colspan="7"> </td> </tr> </table> <br/> <br/> <a name="jr_page_anchor_0_6"></a> <table class="jrpage" cellpadding="0" cellspacing="0" border="0" style="empty-cells: show; width: 595px; border-collapse: collapse; background-color: white;"> <tr valign="top" style="height:0"> <td style="width:595px"></td> </tr> <tr valign="top" style="height:842px"> <td> </td> </tr> </table> <![if ie]> <script> var links = document.queryselectorall('link.jrwebfont'); settimeout(function() { if (links) { (var = 0; < links.length; i++) { links.item(i).href = links.item(i).href; } } }, 0); </script> <![endif]> </td> <td width="50%"> </td> </tr> </table> </body> </html>
how can achieve structure?
if use html component wrap text around image, not have problem of pulling image database, html component creates image of html, hence content may resized/clipped depending on text length , settings on html (image) component.
i suggest use 2 textfield
s wrapped around image (see jrxml) , calculate text break next field, first part of text in first textfield
, second part in second textfield
java code calculate text's break point
this code demonstrate how can use fontmetric
calculate jasper report break text depending on size of textfield
(explanation of code in comments). code not safe on nullpointer
(null
text) , on non over-flowing text, furthermore can optimized leave op
import java.awt.font; import java.awt.font.fontrendercontext; import java.awt.geom.affinetransform; public class wrapimage { /** * position string break * @param text, text * @param width, width of component * @param height, height of component * @return position */ public static int getbreakposition(string text, int width, int height){ //start font context affinetransform affinetransform = new affinetransform(); fontrendercontext frc = new fontrendercontext(affinetransform,true,true); //set same font used in jasper-report font font = new font("sansserif", font.plain, 10); //get height understand how many lines double textheight = font.getstringbounds(text, frc).getheight(); int nrlines = (int)math.floor(height/textheight); //init variables int breakpos = 0; int line = 1; //loop lines while (line<=nrlines){ //get remaining text string textpart = text.substring(breakpos,text.length()); //get how text fit in line breakpos += getlinebreakposition(textpart, width, font, frc)+1; line++; } return breakpos; } /** * single line break * @param text, text * @param width, width of component * @param font, font used * @param frc, fontrendercontext * @return */ protected static int getlinebreakposition(string text, int width, font font, fontrendercontext frc){ int breakpos = 0; string tmptext = text; while (font.getstringbounds(tmptext, frc).getwidth()>width){ //the break position space breakpos = tmptext.lastindexof(' '); if (breakpos<=0){ breakpos = 0; break; } tmptext = tmptext.substring(0,breakpos); } return breakpos; } }
jrxml example using java code
in short example, use parameter arbitrary sample text. wrapimage
class in class path. set variable calculated break point. use substring
on text first part in first textfield
, second in second textfield
simplify example, i'm using image desktop, how pull image database see: using images stored in database
<?xml version="1.0" encoding="utf-8"?> <jasperreport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xsi:schemalocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="wrappingtext" pagewidth="595" pageheight="842" whennodatatype="allsectionsnodetail" columnwidth="555" leftmargin="20" rightmargin="20" topmargin="20" bottommargin="20" issummarywithpageheaderandfooter="true" uuid="cd3e4316-a3c4-4847-a085-3bfa1d9425af"> <parameter name="longtext" class="java.lang.string"> <defaultvalueexpression><![cdata["whether you've come ask questions, or generously share know, remember we’re here learn, together. welcoming , patient, may not know do. oh, , bring sense of humor. in case. covers it. these 3 guidelines may help: rudeness , belittling language not okay. tone should match way you'd talk in person respect , whom want respect you. if don't have time politely, leave does. welcoming, patient, , assume intentions. don't expect new users know rules — don't. , patient while learn. if you're here help, make easy possible others you. here volunteering, , no 1 responds demands help. don't jerk. these few examples. if see them, flag them. in summary, have fun, , each other."]]></defaultvalueexpression> </parameter> <variable name="breakpos" class="java.lang.integer"> <initialvalueexpression><![cdata[wrapimage.getbreakposition($p{longtext}, 250, 100)]]></initialvalueexpression> </variable> <title> <band height="220" splittype="stretch"> <image> <reportelement x="10" y="20" width="80" height="80" uuid="6b4bb467-f7fd-4a15-994b-7c1a01b86428"/> <imageexpression><![cdata["c:\\users\\pette\\desktop\\queen_bee.jpg"]]></imageexpression> </image> <textfield> <reportelement x="100" y="0" width="250" height="100" uuid="f4507624-0410-4feb-9dc5-7d3342b882f0"/> <textelement textalignment="justified" verticalalignment="bottom"/> <textfieldexpression><![cdata[$p{longtext}.substring(0,$v{breakpos}.intvalue())]]></textfieldexpression> </textfield> <textfield> <reportelement x="0" y="100" width="350" height="120" uuid="8790bbdd-2066-4ceb-9fc9-dad6154df88c"/> <textelement textalignment="justified"/> <textfieldexpression><![cdata[$p{longtext}.substring($v{breakpos}.intvalue()+1)]]></textfieldexpression> </textfield> </band> </title> </jasperreport>
Comments
Post a Comment