--- !ruby/object:RI::ClassDescription 
attributes: 
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: Makes the heading text bold if <tt>true</tt>. Defaults to <tt>false</tt>.
  name: bold_headings
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The space, in PDF user units, on the left and right sides of each cell. Default 5 units.
  name: column_gap
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: "An array that defines the order of the columns in the table. The values in this array are the column names in #data. The columns will be presented in the order defined here."
  name: column_order
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: An array that defines columns and column options for the table. The entries should be PDF::SimpleTable::Column objects.
  name: columns
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: "An array of Hash entries. Each row is a Hash where the keys are the names of the columns as specified in #column_order and the values are the values of the cell."
  name: data
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The font size of the data cells, in points. Defaults to 10 points.
  name: font_size
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The number of PDF user units to leave open at the top of a page after a page break. This is typically used for a repeating page header, etc. Defaults to zero units.
  name: header_gap
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The text colour of the heading. Defaults to Color::RGB::Black.
  name: heading_color
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The font size of the heading cells, in points. Defaults to 12 points.
  name: heading_font_size
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: Defines the inner line style. The default style is a solid line with a thickness of 1 unit.
  name: inner_line_style
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The colour of the table lines. Defaults to Color::RGB::Black.
  name: line_color
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: Specifies the maximum width of the table. The table will not grow larger than this width under any circumstances.
  - !ruby/struct:SM::Flow::P 
    body: Defaults to zero, which indicates that there is no maximum width (aside from the margin size).
  name: maximum_width
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The minimum space between the bottom of each row and the bottom margin. If the amount of space is less than this, a new page will be started. Default is 100 PDF user units.
  name: minimum_space
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: "The orientation of the table relative to #position."
  - !ruby/object:SM::Flow::LIST 
    contents: 
    - !ruby/struct:SM::Flow::LI 
      label: "<tt>:left</tt>:"
      body: "The table is to the left of #position."
    - !ruby/struct:SM::Flow::LI 
      label: "<tt>:right</tt>:"
      body: "The table is to the right of #position."
    - !ruby/struct:SM::Flow::LI 
      label: "<tt>:center</tt>:"
      body: "The table is centred at #position."
    - !ruby/struct:SM::Flow::LI 
      label: "<em>offset</em>:"
      body: "The left of the table is offset from #position."
    type: :NOTE
  name: orientation
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: Defines the outer line style. The default style is a solid line with a thickness of 1 unit.
  name: outer_line_style
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: "The <tt>x</tt> position of the table. This will be one of:"
  - !ruby/object:SM::Flow::LIST 
    contents: 
    - !ruby/struct:SM::Flow::LI 
      label: "<tt>:left</tt>:"
      body: Aligned with the left margin.
    - !ruby/struct:SM::Flow::LI 
      label: "<tt>:right</tt>:"
      body: Aligned with the right margin.
    - !ruby/struct:SM::Flow::LI 
      label: "<tt>:center</tt>:"
      body: Centered between the margins. <b>Default</b>.
    - !ruby/struct:SM::Flow::LI 
      label: "<em>offset</em>:"
      body: The absolute position of the table, relative from the left margin.
    type: :NOTE
  name: position
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The number of rows to hold with the heading on the page. If there are less than this number of rows on the page, then move the whole lot onto the next page. Default is one row.
  name: protect_rows
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The space, in PDF user units, added to the top and bottom of each row between the text and the lines of the cell. Default 2 units.
  name: row_gap
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: "The main row shading colour. Defaults to Color::RGB::Grey80. Used with #shade_rows of <tt>:shaded</tt> and <tt>:striped</tt>."
  name: shade_color
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: "The alternate row shading colour, used with #shade_rows of <tt>:striped</tt>. Defaults to Color::RGB::Grey70."
  name: shade_color2
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: "Defines the colour of the background shading for the heading if #shade_headings is <tt>true</tt>. Default is Color::RGB::Grey90."
  name: shade_heading_color
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: Places a background colour in the heading if <tt>true</tt>.
  name: shade_headings
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: Controls row shading.
  - !ruby/object:SM::Flow::LIST 
    contents: 
    - !ruby/struct:SM::Flow::LI 
      label: "<tt>:none</tt>:"
      body: No row shading; all rows are the standard background colour.
    - !ruby/struct:SM::Flow::LI 
      label: "<tt>:shaded</tt>:"
      body: "Alternate lines will be shaded; half of the rows will be the standard background colour; the rest of the rows will be shaded with #shade_color. <b>Default</b>"
    - !ruby/struct:SM::Flow::LI 
      label: "<tt>:striped</tt>:"
      body: "Alternate lines will be shaded; half of the rows will be shaded with #shade_color; the rest of the rows will be shaded with #shade_color2."
    type: :NOTE
  name: shade_rows
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: Displays the headings for the table if <tt>true</tt>. The default is <tt>true</tt>.
  name: show_headings
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: "Whether to display the lines on the table or not. Valid values are:"
  - !ruby/object:SM::Flow::LIST 
    contents: 
    - !ruby/struct:SM::Flow::LI 
      label: "<tt>:none</tt>:"
      body: Displays no lines.
    - !ruby/struct:SM::Flow::LI 
      label: "<tt>:outer</tt>:"
      body: Displays outer lines only. <b>Default</b>
    - !ruby/struct:SM::Flow::LI 
      label: "<tt>:inner</tt>:"
      body: Displays inner lines only.
    - !ruby/struct:SM::Flow::LI 
      label: "<tt>:all</tt>:"
      body: Displays all lines, inner and outer.
    type: :NOTE
  name: show_lines
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: Allows a table's rows to be split across page boundaries if <tt>true</tt>. This defaults to <tt>false</tt>.
  name: split_rows
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The text colour of the body cells. Defaults to Color::RGB::Black.
  name: text_color
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The title to be put on the top of the table.
  name: title
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The text colour of the title. Defaults to Color::RGB::Black.
  name: title_color
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The font size of the title, in points. Defaults to 12 points.
  name: title_font_size
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The gap, in PDF units, between the title and the table. Defaults to 5 units.
  name: title_gap
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: Specifies the width of the table. If the table is smaller than the provided width, columns are proportionally stretched to fit the width of the table. If the table is wider than the provided width, columns are proportionally shrunk to fit the width of the table. Content may need to wrap in this case.
  - !ruby/struct:SM::Flow::P 
    body: Defaults to zero, which indicates that the size whould be determined automatically based on the content and the margins.
  name: width
  rw: RW
class_methods: 
- !ruby/object:RI::MethodSummary 
  name: new
comment: 
- !ruby/struct:SM::Flow::P 
  body: This class will create tables with a relatively simple API and internal implementation.
constants: 
- !ruby/object:RI::Constant 
  comment: 
  name: VERSION
  value: "'1.1.3'"
- !ruby/object:RI::Constant 
  comment: 
  name: WIDTH_FACTOR
  value: "1.01"
full_name: PDF::SimpleTable
includes: 
- !ruby/object:RI::IncludedModule 
  name: Transaction::Simple
instance_methods: 
- !ruby/object:RI::MethodSummary 
  name: render_on
name: SimpleTable
superclass: Object
