Class: OpenXml::Pptx::Parts::PresentationProperties

Inherits:
OpenXml::Part
  • Object
show all
Includes:
ContainsProperties, RelatablePart
Defined in:
lib/openxml/pptx/parts/presentation_properties.rb

Instance Attribute Summary

Attributes included from RelatablePart

#parent

Instance Method Summary collapse

Methods included from RelatablePart

#add_child_part, #add_override, #add_part, #add_relationship, #content_type, #file_name, included, #indexed_path, #initialize, #path, #path=, #relationship_type, #relationships, #relationships_by_path, #relationships_path

Instance Method Details

#to_xmlObject



19
20
21
22
23
24
25
# File 'lib/openxml/pptx/parts/presentation_properties.rb', line 19

def to_xml
  build_standalone_xml do |xml|
    xml[:p].presentationPr(namespaces) do
      property_xml(xml)
    end
  end
end