class OoxmlParser::CommonDocumentStructure
Common document structure for DOCX, XLSX, PPTX file
Attributes
content_types[RW]
@return [ContentTypes] data about content types
default_font_size[R]
@return [Integer] default font size
default_font_style[RW]
@return [FontStyle] Default font style of presentation
default_font_typeface[R]
@return [Integer] default font typeface
file_path[RW]
@return [String] path to original file
Public Class Methods
new(params = {})
click to toggle source
Calls superclass method
OoxmlParser::OOXMLDocumentObject::new
# File lib/ooxml_parser/common_parser/common_document_structure.rb, line 18 def initialize(params = {}) @default_font_size = params.fetch(:default_font_size, 18) @default_font_typeface = params.fetch(:default_font_typeface, 'Arial') @default_font_style = FontStyle.new super(parent: nil) end