Sha256: b5b44d1257d66c92e06581632e0548cb980c2dedcd636d8bdabcdeb102fa0489

Contents?: true

Size: 1.53 KB

Versions: 96

Compression:

Stored size: 1.53 KB

Contents

module ActiveScaffold::Config
  class PrintList < PrintBase
    
    self.crud_type = :read

    def initialize(core_config)
      super

      @font_size = self.class.font_size
      # # old print_pdf stuff
      # @footer_font_size = self.class.footer_font_size
      # @header_font_size = self.class.header_font_size
      # @header_image = self.class.header_image
      # @header_size = self.class.header_size
      # @header_text = self.class.header_text
      # @orientation = self.class.orientation
    end

    # global level configuration
    # --------------------------
    # the ActionLink for this action
    cattr_reader :link
    @@link = ActiveScaffold::DataStructures::ActionLink.new('print_list', :label => :print, :type => :table, :security_method => :print_list_authorized?, :popup => true)
    
    cattr_accessor :font_size
    @@font_size = 8
    # cattr_accessor :footer_font_size
    # @@footer_font_size = 8
    # cattr_accessor :header_font_size
    # @@header_font_size = 8
    # cattr_accessor :header_image
    # @@header_image = nil
    # cattr_accessor :header_size
    # @@header_size = 10
    cattr_accessor :header_text
    @@header_text = ''
    # cattr_accessor :orientation
    # @@orientation = 'L'
    
    # instance-level configuration
    # ----------------------------

    attr_accessor :font_size
    # attr_accessor :footer_font_size
    # attr_accessor :header_font_size
    # attr_accessor :header_image
    # attr_accessor :header_size
    attr_accessor :header_text
    # attr_accessor :orientation
    
  end
end

Version data entries

96 entries across 96 versions & 1 rubygems

Version Path
six-updater-web-0.24.15 lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/config/print_list.rb
six-updater-web-0.24.14 lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/config/print_list.rb
six-updater-web-0.24.13 lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/config/print_list.rb
six-updater-web-0.24.12 lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/config/print_list.rb
six-updater-web-0.24.11 lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/config/print_list.rb
six-updater-web-0.24.10 lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/config/print_list.rb
six-updater-web-0.24.9 lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/config/print_list.rb
six-updater-web-0.24.8 lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/config/print_list.rb
six-updater-web-0.24.7 lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/config/print_list.rb
six-updater-web-0.24.6 lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/config/print_list.rb
six-updater-web-0.24.5 lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/config/print_list.rb
six-updater-web-0.24.4 lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/config/print_list.rb
six-updater-web-0.24.3 lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/config/print_list.rb
six-updater-web-0.24.2 lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/config/print_list.rb
six-updater-web-0.24.1 lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/config/print_list.rb
six-updater-web-0.24.0 lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/config/print_list.rb
six-updater-web-0.23.7 lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/config/print_list.rb
six-updater-web-0.23.6 lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/config/print_list.rb
six-updater-web-0.23.5 lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/config/print_list.rb
six-updater-web-0.23.4 lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/config/print_list.rb