Sha256: c02e1706631cb8ec796c9dec52595943319eb0e32903394a7ada57f4254d6e1d

Contents?: true

Size: 367 Bytes

Versions: 2

Compression:

Stored size: 367 Bytes

Contents

# encoding: utf-8
#
require File.expand_path(File.join(File.dirname(__FILE__),
                                   %w[.. example_helper]))
 
Prawn::Document.generate("inline_format_table.pdf") do 

  table([%w[foo bar baz<b>baz</b>], %w[baz bar <i>foo</i>foo]], 
        :cell_style => { :padding => 12, :inline_format => true },
        :width => bounds.width)

end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
prawn-0.11.1 examples/table/inline_format_table.rb
davebenvenuti-prawn-0.11.1.pre examples/table/inline_format_table.rb