Sha256: 3b6c6d8d53c5757de0a1ed1b24fa1fd31b1e55a005f5c45c6a4a1f424af92d5c
Contents?: true
Size: 861 Bytes
Versions: 8
Compression:
Stored size: 861 Bytes
Contents
# frozen_string_literal: true require_relative 'common_data/content_types' module OoxmlParser # Common document structure for DOCX, XLSX, PPTX file class CommonDocumentStructure < OOXMLDocumentObject # @return [String] path to original file attr_accessor :file_path # @return [Integer] default font size attr_reader :default_font_size # @return [Integer] default font typeface attr_reader :default_font_typeface # @return [FontStyle] Default font style of presentation attr_accessor :default_font_style # @return [ContentTypes] data about content types attr_accessor :content_types 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 end end end
Version data entries
8 entries across 8 versions & 1 rubygems