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