본문 바로가기
  • 아하하

iReport3

[iReport] 팁 1. 합계 Valiable을 설정하고 DataType을 지정한 후 SUM 함수 사용 2. Formatter String.format("%,.2f", $F{PM74_EL}) 소수점 2째자리 표현1.5 --> 1.50 사업자번호java.util.regex.Pattern.compile("^(\\d{3})(\\d{2})(\\d{5})$").matcher($F{SB01_SUPJA_NO}).replaceAll("$1-$2-$3") 날짜java.util.regex.Pattern.compile("^(\\d{4})(\\d{2,3})(\\d{2})$").matcher($F{GF21_NP_DATE}).replaceAll("$1-$2-$3") 2018. 4. 25.
[iReport] Detail band fixed. Group Header와 Group Footer를 이용해서 Detail Band가 고정된것 처럼 보이도록.. https://community.jaspersoft.com/questions/982976/how-fix-height-detail-band-inside-table In case of fixed-height rows you could add other 5 detail bands of the same height in your detail section, each of them populated with empty elements (in order to keep the same layout as in the occupied rows) and each of them having a print when e.. 2018. 4. 25.
[iReport] 보고서 밴드 특성 1. Background band - 보고서의 배경 설정을 할 수 있다. 2. Title band - 가장 먼저 보여주는 band로 보고서 전체 페이지중 단 한번만 출력되는 band로 주로 보고서의 Title을 기재하는데 사용된다. 3. Page header band (Page footer band) - 한번 정의되면 보고서 전체 페이지의 헤더 부분에 똑같은 위치와 크기로 페이지마다 반복 출력 된다.(Page footer band는 전체 페이지의 하단에 반복 출력된다.) 4. Column header band (Column footer band) - 각 Detail band의 column 항목의 Title 영역으로 사용된다. 역시 페이지마다 출력 된다. 5. Group header band (Group .. 2018. 4. 18.