class OoxmlParser::Pane
Class for `pane` data
Attributes
state[RW]
top_left_cell[RW]
x_split[RW]
y_split[RW]
Public Instance Methods
parse(node)
click to toggle source
Parse Pane
object @param node [Nokogiri::XML:Element] node to parse @return [Pane] result of parsing
# File lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet/sheet_view/pane.rb, line 11 def parse(node) node.attributes.each do |key, value| case key when 'state' @state = value.value.to_sym when 'topLeftCell' @top_left_cell = Coordinates.parse_coordinates_from_string(value.value) when 'xSplit' @x_split = value.value when 'ySplit' @y_split = value.value end end self end