Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Katsuya HIDAKA
    @hidakatsuya
    正式名称を ThinReports から Thinreports へ変更しました。次のメジャーリリースより、モジュール名も変更となります。詳しくは http://www.thinreports.org/news/2015/02/changed-the-official-name/ をご覧ください。
    Katsuya HIDAKA
    @hidakatsuya
    リスト API ですが #9 で List#events を非推奨にして、List#on_page_finalize コールバックを実装しました。それに伴い、ページフッター、フッターを定義する API をそれぞれ List#page_footer, List#footer のように実装しています。List#on_page_finalize を使った小計、合計行の実装サンプルは #17 のような感じなのですが、ご意見いただけるとうれしいです。
    Katsuya HIDAKA
    @hidakatsuya
    リスト API #17 の件ですが、もうちょっと考えます。
    Tony Miller
    @mcfiredrill
    I'm trying to use the new callbacks instead of events, can I still associate a store with a list?
    Katsuya HIDAKA
    @hidakatsuya
    @mcfiredrill Yes you can, but the List#store method will be deprecated in the next major release (1.0.0).
    Katsuya HIDAKA
    @hidakatsuya
    @mcfiredrill Sorry, i have misunderstood. You can’t use the List#store method with new list callbacks. Please see the example: https://github.com/thinreports/thinreports-generator/blob/master/examples/list_events/list_events.rb#L33-L57
    Tony Miller
    @mcfiredrill
    ah I see, thanks @hidakatsuya !
    Tony Miller
    @mcfiredrill
    @hidakatsuya I assumed the preferred alternative to stores would be instance variables, but its difficult to keep them in scope
    Katsuya HIDAKA
    @hidakatsuya
    @mcfiredrill Could you show me a sample code that show its details?
    Sergey Vishniakov
    @svishniakov
    Hi! Trying to create my first PDF report using ThinReport and faced one small issue. Is it possible to create a list with lines? I want to add a separator line between positions.
    Any help much appreciated
    Katsuya HIDAKA
    @hidakatsuya

    @svishniakov

    I want to add a separator line between positions.

    How about this?
    https://github.com/thinreports/thinreports-examples/tree/master/list/group-rows

    Masayuki Higashino
    @mh61503891
    Hi, I have released Thinreports Template CLI which is able to a PDF file via command line interface with a TLF (thinreports layout format) file and command line options. Thanks ;) https://github.com/mh61503891/thinreports-template-cli
    Katsuya HIDAKA
    @hidakatsuya
    👍