class OoxmlParser::PresentationNotes
Class for p:notes
Attributes
common_slide_data[R]
@return [CommonSlideData] common slide data
Public Instance Methods
parse(file)
click to toggle source
Parse PresentationNotes
object @param file [String] file to parse @return [PresentationNotes] result of parsing
# File lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/presentation_notes.rb, line 12 def parse(file) node = parse_xml(file) node.xpath('p:notes/*').each do |node_child| case node_child.name when 'cSld' @common_slide_data = CommonSlideData.new(parent: self).parse(node_child) end end self end