<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    cuiyi's blog(崔毅 crazycy)

    記錄點滴 鑒往事之得失 以資于發展
    數據加載中……

    苦不堪言,iReport + JasperReports項目中的歷練

    JasperReports 這個東西,是個好東西,iReport這個東西,也是個好東西;就是iReport這個東西,給我很多啟示,關于sql組件,雖最終未必可行,目前處于驗證進程。

    話說使用iReport+JasperReports開發報表的曾經的尷尬,testing during development and testing on local machine, the report pdf displays well, so good job have done, but when demo in customer locale, a lot of fields cannot be displayed(不能顯示了!)。

    After a lot of time trying, almost every  options  supplied  have been tried in checked way and unchecked way, the well fields displayed accordingly, I have got some ideas:

    1) cannot display(不能顯示), but other field with same content can display , why?
        OK, the size is too small(把字符框的 大小設置大一些),then well done.、

    2)some field cannot display
         process: I found these undisplayed is  in header,  then I copy them to footer,  what's the result? display well in footer, but no display in header.
         then I change the "evaluation time" from "now" to "column"
         well done!
        but be careful, fields valued $F cannot be column, for it cannot be displayed

    3) some field cannot be display  corresponding to  2)
        why they cannot be displayed  in both  header and  footer?
        oh, I found most field have the "stretch with overflow" option checked, so I added, so cool

    ******************************************************
    this problem I found explation when I solved on net

    iReport stretch 選項的注意

    Text Field有一選項為Stretch with overflow。 作用是動態的伸展文字所占的空間。
    要注意一點是Stretch是跟據Font Name的體字像數為基準進行伸展的。所以當我們輸出PDF格式時要注意PDF Font Name 與Font Name是否一致。如不一致在文字量多的時候會出現少了或多了顯示空間的問題

    iReport Band的[Split allowed]屬性

    Split allowed是允許分開的意思。以頁為單位,被分離出去的是Band內的所有內容。如果剩下的頁面空間不夠顯示Band的內容。那么Band的內容會顯示在下一頁。

    ireport有時侯不能顯示數據庫中數據的解決方式:
      1)每一個element:設置:print when details overflow ;stretch overflow
      2)字段高度不夠
    ******************************************************
    all resolved, the boss smiled, and happy back from customer
        
       

    posted on 2007-07-27 12:19 crazycy 閱讀(14926) 評論(6)  編輯  收藏 所屬分類: JavaEE技術

    評論

    # re: 苦不堪言,iReport + JasperReports項目中的歷練  回復  更多評論   

    不知道 iReport 現在可以實現交叉報表了沒
    2007-07-27 13:36 | tonyzhou00

    # re: 苦不堪言,iReport + JasperReports項目中的歷練  回復  更多評論   

    我在一個項目中用了這種打印方式,總感覺他有太多的缺陷,可能是因為我沒有研究好吧,總會有有些想實現的效果卻不能實現,比方說父報表怎么根據子報表大小來動態分配高度。
    做頁面也挺麻煩的,感覺不如手寫頁面快。
    不過他的分頁功能確實牛,自動分頁,頁面也非常容易維護。
    2007-07-27 13:55 | 楊愛友

    # re: 苦不堪言,iReport + JasperReports項目中的歷練  回復  更多評論   

    用了大量的Chinglish啊
    2007-07-27 17:52 | leekiang

    # re: 苦不堪言,iReport + JasperReports項目中的歷練  回復  更多評論   

    @tonyzhou00
    早就可以實現了..
    2007-07-28 15:19 | 有貓相伴的日子

    # re: 苦不堪言,iReport + JasperReports項目中的歷練  回復  更多評論   

    請教一個問題,我現在也在用iReport + JasperReports,怎么樣把循環輸入的數據輸出到頭表格中,在簡單些,在iReport + JasperReports中如何使用表格,我是剛畢業的,能不能指點一下呀,謝謝了
    2007-07-30 12:45 | 我是菜鳥

    # re: 苦不堪言,iReport + JasperReports項目中的歷練[未登錄]  回復  更多評論   

    hi
    我現在是同樣的問題。。設置outflow有的內容長的還能換行顯示 有的短的居然都不換行了 然后設置print when details overflow ;stretch overflow
    都沒有用的。。。由于是字段自然不能column
    不知道樓主有什么好的建議or else
    2009-10-30 18:35 | yang
    主站蜘蛛池模板: 日韩免费电影网址| 白白色免费在线视频| 污视频在线观看免费| 亚洲精品无码MV在线观看| 二个人看的www免费视频| 在线亚洲精品福利网址导航| 新最免费影视大全在线播放| 亚洲国产婷婷香蕉久久久久久| 国产成人亚洲精品蜜芽影院| 免费一区二区视频| 一级黄色免费大片| 亚洲乱色熟女一区二区三区丝袜| 91精品成人免费国产| 亚洲av中文无码乱人伦在线咪咕 | 国产亚洲福利精品一区二区| 日本特黄特黄刺激大片免费| 国产偷国产偷亚洲高清人| 亚洲精品专区在线观看| 三年在线观看免费观看完整版中文| 亚洲人JIZZ日本人| 免费A级毛片无码A∨免费| 亚洲国产日韩精品| 国产成人青青热久免费精品| 羞羞视频在线观看免费| 亚洲国产精彩中文乱码AV| 巨波霸乳在线永久免费视频 | 日韩电影免费在线观看网址| 日本亚洲国产一区二区三区| 久久久久久国产精品免费无码| 国产精品亚洲片在线va| 日韩亚洲精品福利| 日韩中文字幕免费视频| 亚洲熟妇av午夜无码不卡 | 亚洲成A∨人片天堂网无码| 99re6在线视频精品免费| 亚洲小说区图片区| 亚洲免费一区二区| 一二三四在线观看免费高清中文在线观看 | 亚洲午夜无码毛片av久久京东热| 亚洲国产精品人人做人人爽| 香港a毛片免费观看|