module PPTX
Assumptions
-
XML namespace prefixes remain the same as in template
-
Main presentation is in ppt/presentation.xml
-
Base presentation is trusted. Nothing is done to prevent directory traversal.
If you wanted to open arbitrary presentation, you'd have to make sure to no longer make these.
Constants
- CM
- DOC_RELATIONSHIP_NS
- DRAWING_NS
- POINT
- RELTYPE_IMAGE
- RELTYPE_SLIDE
- RELTYPE_SLIDE_LAYOUT
- VERSION
Public Class Methods
cm(*values)
click to toggle source
# File lib/pptx.rb, line 21 def self.cm(*values) values.map { |v| v * CM } end