sophannaly Posted March 20, 2014 Share Posted March 20, 2014 Hi, I use iReport 5.5.0.When I design report, I click on text field and chose its border and padding with double line line style. But when I run it within iReport preview or deploy it to Jasperreports server, there is no double line output and it is replace with single line style.Could anybody tell me the reason why?Best regards, Sophanna Link to comment Share on other sites More sharing options...
hozawa Posted March 20, 2014 Share Posted March 20, 2014 Just tested it and it's working OK on Studio. You probably have pen width too small. Try increasing it.BTW, which output format are you using? Link to comment Share on other sites More sharing options...
sophannaly Posted March 20, 2014 Author Share Posted March 20, 2014 In iReport I already increase line width to 1.5 and I tested with xls and docx output format but it still just show as darker single line style. Did I miss any properties in report level? Link to comment Share on other sites More sharing options...
sophannaly Posted March 21, 2014 Author Share Posted March 21, 2014 It works like you said if I tested in other section of report. In my case, I want to print it in crosstab. In my crosstab I have put some text fields as title and I choose it border padding as double line with width=1.75, but it still show as single line in excel output. Can anybody tell me why? Link to comment Share on other sites More sharing options...
hozawa Posted March 22, 2014 Share Posted March 22, 2014 Difficult to understand what you want to do. In your original post, you mentioned Text field but you're now talking about cross-tabs whch is a different component. Nevertheless, I can only say that the borders of a crosstab in attached report look double line to me. Link to comment Share on other sites More sharing options...
sophannaly Posted March 23, 2014 Author Share Posted March 23, 2014 Hi, sorry I forgot to mention that text field is in cross tab. I have a crosstab, and in crosstab I have put text fields as each column title. For text fields, I set border and padding to double line but when i export it in xls format, it shows only single line. Is it the problem with duplicate border between crosstab border and text fields border? Link to comment Share on other sites More sharing options...
hozawa Posted March 23, 2014 Share Posted March 23, 2014 It's unclear. If you view it within Jaspersoft Studio in Java preview, it is single or double line? Is the problem that you're not seeing double lines when you export to Excel? Attach a simple example jrxml file on what you're trying to do. Don't attach your entire report because that'll take too much time to read. Link to comment Share on other sites More sharing options...
sophannaly Posted March 25, 2014 Author Share Posted March 25, 2014 Hi, In ireport, it previews with double line. When I deploy it report server or export to xls format, it will shows as single line mode. Below is the testing code. Please tell me how to solve this? <?xml version="1.0" encoding="UTF-8"?> select * from revision "hi" $F{admin_code} $V{admin_code} Total admin_code $F{geo_code} $V{geo_code} Total geo_code $F{revision_number} $V{revision_numberMeasure} $V{revision_numberMeasure} $V{revision_numberMeasure} $V{revision_numberMeasure} Best regards, Sophanna Link to comment Share on other sites More sharing options...
hozawa Posted March 28, 2014 Share Posted March 28, 2014 I've tested if I can put a text element with double line in a cross tab. I have to say there's no problem (see attached). If you can't do it yourself, should get some professional support or assistance. 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