Method: Html2Doc.namespace
- Defined in:
- lib/html2doc/base.rb
.namespace(root) ⇒ Object
165 166 167 168 169 170 171 172 |
# File 'lib/html2doc/base.rb', line 165 def self.namespace(root) { o: "urn:schemas-microsoft-com:office:office", w: "urn:schemas-microsoft-com:office:word", v: "urn:schemas-microsoft-com:vml", m: "http://schemas.microsoft.com/office/2004/12/omml", }.each { |k, v| root.add_namespace_definition(k.to_s, v) } end |