Module: Ipxact::FigField
Instance Method Summary collapse
Instance Method Details
#gen_field_entries(_field, _word_ct) ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/ipxact/dita/fig_field.rb', line 10 def gen_field_entries(_field, _word_ct) @field = _field @word_ct = _word_ct entry = Element.new('entry') if width == 1 entry[:colname] = col_start_index.to_s else entry[:namest] = (col_start_index).to_s entry[:nameend] = (col_end_index+1).to_s end entry[:valign] = 'middle' # entry[:outputclass] = 'rotate' if get_bit_width(name) > fig_bit_width # TODO fix this!!! entries = gen_field_access(entry) #entries << get_value_entries end |