Module: OpenXml::Docx::RootNamespaces

Included in:
Parts::Document, Parts::Fonts, Parts::Footer, Parts::Header, Parts::Numbering, Parts::Settings, Parts::Styles
Defined in:
lib/openxml/docx/root_namespaces.rb

Defined Under Namespace

Modules: ClassMethods

Constant Summary collapse

POSSIBLE_NAMESPACES =
{
  wpc: "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas".freeze,
  mo: "http://schemas.microsoft.com/office/mac/office/2008/main".freeze,
  mv: "urn:schemas-microsoft-com:mac:vml".freeze,
  o: "urn:schemas-microsoft-com:office:office".freeze,
  r: "http://schemas.openxmlformats.org/officeDocument/2006/relationships".freeze,
  m: "http://schemas.openxmlformats.org/officeDocument/2006/math".freeze,
  v: "urn:schemas-microsoft-com:vml".freeze,
  wp14: "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing".freeze,
  wp: "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing".freeze,
  w10: "urn:schemas-microsoft-com:office:word".freeze,
  w14: "http://schemas.microsoft.com/office/word/2010/wordml".freeze,
  w15: "http://schemas.microsoft.com/office/word/2012/wordml".freeze,
  wpg: "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup".freeze,
  wpi: "http://schemas.microsoft.com/office/word/2010/wordprocessingInk".freeze,
  wne: "http://schemas.microsoft.com/office/word/2006/wordml".freeze,
  wps: "http://schemas.microsoft.com/office/word/2010/wordprocessingShape".freeze,
  w: "http://schemas.openxmlformats.org/wordprocessingml/2006/main".freeze,
  mc: "http://schemas.openxmlformats.org/markup-compatibility/2006".freeze,
  a: "http://schemas.openxmlformats.org/drawingml/2006/main".freeze,
  a14: "http://schemas.microsoft.com/office/drawing/2010/main".freeze,
  pic: "http://schemas.openxmlformats.org/drawingml/2006/picture".freeze
}

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object


29
30
31
# File 'lib/openxml/docx/root_namespaces.rb', line 29

def self.included(base)
  base.extend ClassMethods
end