Class: RubyPoint::Presentation::Presentation::Slide
- Defined in:
- lib/rubypoint/ppt/presentation.rb
Instance Attribute Summary collapse
-
#slide ⇒ Object
Returns the value of attribute slide.
Attributes inherited from Element
#objects, #parent, #presentation
Instance Method Summary collapse
-
#initialize(slide) ⇒ Slide
constructor
A new instance of Slide.
- #raw ⇒ Object
- #write ⇒ Object
Methods inherited from Element
Constructor Details
#initialize(slide) ⇒ Slide
Returns a new instance of Slide.
29 30 31 |
# File 'lib/rubypoint/ppt/presentation.rb', line 29 def initialize() @slide = end |
Instance Attribute Details
#slide ⇒ Object
Returns the value of attribute slide.
27 28 29 |
# File 'lib/rubypoint/ppt/presentation.rb', line 27 def @slide end |
Instance Method Details
#raw ⇒ Object
37 38 39 |
# File 'lib/rubypoint/ppt/presentation.rb', line 37 def raw %Q{<p:sldId id="#{255+.}" r:id="rId#{.rel_id.rel_id}"/>} end |
#write ⇒ Object
33 34 35 |
# File 'lib/rubypoint/ppt/presentation.rb', line 33 def write @parent.doc.search('//p:sldIdLst').html += self.raw end |