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

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

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

    cuiyi's blog(崔毅 crazycy)

    記錄點(diǎn)滴 鑒往事之得失 以資于發(fā)展
    數(shù)據(jù)加載中……

    苦不堪言,iReport + JasperReports項(xiàng)目中的歷練

    JasperReports 這個(gè)東西,是個(gè)好東西,iReport這個(gè)東西,也是個(gè)好東西;就是iReport這個(gè)東西,給我很多啟示,關(guān)于sql組件,雖最終未必可行,目前處于驗(yàn)證進(jìn)程。

    話說(shuō)使用iReport+JasperReports開(kāi)發(fā)報(bào)表的曾經(jīng)的尷尬,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(把字符框的 大小設(shè)置大一些),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 選項(xiàng)的注意

    Text Field有一選項(xiàng)為Stretch with overflow。 作用是動(dòng)態(tài)的伸展文字所占的空間。
    要注意一點(diǎn)是Stretch是跟據(jù)Font Name的體字像數(shù)為基準(zhǔn)進(jìn)行伸展的。所以當(dāng)我們輸出PDF格式時(shí)要注意PDF Font Name 與Font Name是否一致。如不一致在文字量多的時(shí)候會(huì)出現(xiàn)少了或多了顯示空間的問(wèn)題

    iReport Band的[Split allowed]屬性

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

    ireport有時(shí)侯不能顯示數(shù)據(jù)庫(kù)中數(shù)據(jù)的解決方式:
      1)每一個(gè)element:設(shè)置: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 閱讀(14925) 評(píng)論(6)  編輯  收藏 所屬分類: JavaEE技術(shù)

    評(píng)論

    # re: 苦不堪言,iReport + JasperReports項(xiàng)目中的歷練  回復(fù)  更多評(píng)論   

    不知道 iReport 現(xiàn)在可以實(shí)現(xiàn)交叉報(bào)表了沒(méi)
    2007-07-27 13:36 | tonyzhou00

    # re: 苦不堪言,iReport + JasperReports項(xiàng)目中的歷練  回復(fù)  更多評(píng)論   

    我在一個(gè)項(xiàng)目中用了這種打印方式,總感覺(jué)他有太多的缺陷,可能是因?yàn)槲覜](méi)有研究好吧,總會(huì)有有些想實(shí)現(xiàn)的效果卻不能實(shí)現(xiàn),比方說(shuō)父報(bào)表怎么根據(jù)子報(bào)表大小來(lái)動(dòng)態(tài)分配高度。
    做頁(yè)面也挺麻煩的,感覺(jué)不如手寫(xiě)頁(yè)面快。
    不過(guò)他的分頁(yè)功能確實(shí)牛,自動(dòng)分頁(yè),頁(yè)面也非常容易維護(hù)。
    2007-07-27 13:55 | 楊愛(ài)友

    # re: 苦不堪言,iReport + JasperReports項(xiàng)目中的歷練  回復(fù)  更多評(píng)論   

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

    # re: 苦不堪言,iReport + JasperReports項(xiàng)目中的歷練  回復(fù)  更多評(píng)論   

    @tonyzhou00
    早就可以實(shí)現(xiàn)了..
    2007-07-28 15:19 | 有貓相伴的日子

    # re: 苦不堪言,iReport + JasperReports項(xiàng)目中的歷練  回復(fù)  更多評(píng)論   

    請(qǐng)教一個(gè)問(wèn)題,我現(xiàn)在也在用iReport + JasperReports,怎么樣把循環(huán)輸入的數(shù)據(jù)輸出到頭表格中,在簡(jiǎn)單些,在iReport + JasperReports中如何使用表格,我是剛畢業(yè)的,能不能指點(diǎn)一下呀,謝謝了
    2007-07-30 12:45 | 我是菜鳥(niǎo)

    # re: 苦不堪言,iReport + JasperReports項(xiàng)目中的歷練[未登錄](méi)  回復(fù)  更多評(píng)論   

    hi
    我現(xiàn)在是同樣的問(wèn)題。。設(shè)置outflow有的內(nèi)容長(zhǎng)的還能換行顯示 有的短的居然都不換行了 然后設(shè)置print when details overflow ;stretch overflow
    都沒(méi)有用的。。。由于是字段自然不能column
    不知道樓主有什么好的建議or else
    2009-10-30 18:35 | yang
    主站蜘蛛池模板: 岛国精品一区免费视频在线观看 | 国产成人精品久久免费动漫| 亚洲精品伊人久久久久| 亚洲成年人啊啊aa在线观看| 搡女人免费免费视频观看| 亚洲一区二区三区四区视频| 亚洲免费一区二区| 精品国产污污免费网站aⅴ| 污网站在线免费观看| 亚洲精品视频专区| 亚洲男人在线无码视频| 波多野结衣在线免费视频| 国产精品成人免费观看| 亚洲国产模特在线播放| 国产偷国产偷亚洲清高动态图| 免费成人福利视频| 东北美女野外bbwbbw免费| 亚洲无码一区二区三区| 亚洲av无码成h人动漫无遮挡| 免费理论片51人人看电影| 免费无码又爽又刺激网站| 国产亚洲欧美日韩亚洲中文色| 亚洲人成网www| 亚洲人成电影网站国产精品 | 女人被男人桶得好爽免费视频| 免费国产污网站在线观看| 国产天堂亚洲国产碰碰| 亚洲国产成人久久三区| 亚洲国产精品无码久久一区二区| 国产国产成年年人免费看片| 国产免费丝袜调教视频| 国产免费无码一区二区| 免费一区二区无码视频在线播放 | 亚洲狠狠色丁香婷婷综合| 亚洲精品白色在线发布| 情人伊人久久综合亚洲| 国产日韩成人亚洲丁香婷婷| 成人永久免费福利视频网站| 黄色片在线免费观看| 久久免费看黄a级毛片| 久久国产乱子伦精品免费不卡|