70: def initialize
71: @column_order = []
72: @data = []
73: @columns = {}
74:
75: @show_lines = :outer
76: @show_headings = true
77: @shade_rows = :shaded
78: @shade_color = Color::RGB::Grey80
79: @shade_color2 = Color::RGB::Grey70
80: @shade_headings = false
81: @shade_heading_color = Color::RGB::Grey90
82: @font_size = 10
83: @heading_font_size = 12
84: @title_font_size = 12
85: @title_gap = 5
86: @title_color = Color::RGB::Black
87: @heading_color = Color::RGB::Black
88: @text_color = Color::RGB::Black
89: @line_color = Color::RGB::Black
90: @position = :center
91: @orientation = :center
92: @bold_headings = false
93:
94: @cols = PDF::Writer::OHash.new
95: @width = 0
96: @maximum_width = 0
97:
98: @gap = 5
99: @row_gap = 2
100: @column_gap = 5
101: @header_gap = 0
102:
103: @minimum_space = 0
104: @protect_rows = 1
105: @split_rows = false
106:
107: @inner_line_style = PDF::Writer::StrokeStyle.new(1)
108: @outer_line_style = PDF::Writer::StrokeStyle.new(1)
109:
110: yield self if block_given?
111: end