Sha256: 8adba7094f9c47ba3f12c2b52450213ee43886a7ebcc852fca57ade6fca10fa7

Contents?: true

Size: 575 Bytes

Versions: 1

Compression:

Stored size: 575 Bytes

Contents

# ooxml_parser

_ooxml_parser_ is a Ooxml files (docx, xlsx, pptx) parser written in Ruby.

## Installation

    $ gem install ooxml_parser
    
## Usage

Parse a docx file

    require 'ooxml_parser'
    docx = OoxmlParser::DocxParser.parse_docx('spec/docx_examples/document_properties/page_count.docx')
    p docx.document_properties.pages # 2
    
    
## Configuration

Set units of mesaurements:
Possible units are `:points`, `:centimeters`, `:dxa`, `:inches`, `:emu`
Default is `:centimeters`

    OoxmlParser.configure do |config|
      config.units = :points
    end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ooxml_parser-0.1.2 README.md