class OoxmlParser::CheckBoxState
Class for parsing ‘checkedState` tag
Attributes
@return [String] font name
@return [Integer] number of state symbol
Public Instance Methods
Source
# File lib/ooxml_parser/docx_parser/document_structure/docx_paragraph/sdt/sdt_properties/checkbox/checkbox_state.rb, line 14 def parse(node) node.attributes.each do |key, value| case key when 'val' @value = value.value.to_i when 'font' @font = value.value end end self end
Parse CheckBoxState
object @param node [Nokogiri::XML:Element] node to parse @return [CheckBoxState] result of parsing