ooxml_parser 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/ooxml_parser.rb +2 -0
- data/lib/ooxml_parser/common_parser/common_data/alternate_content/chart/chart.rb +3 -2
- data/lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/picture/docx_blip.rb +2 -1
- data/lib/ooxml_parser/common_parser/common_data/alternate_content/picture/group/old_docx_group.rb +1 -1
- data/lib/ooxml_parser/common_parser/common_data/alternate_content/picture/shape/old_docx_shape.rb +1 -1
- data/lib/ooxml_parser/common_parser/common_data/borders_properties.rb +11 -8
- data/lib/ooxml_parser/common_parser/common_data/colors/hsl_color.rb +12 -15
- data/lib/ooxml_parser/common_parser/common_data/colors/image/stretching.rb +1 -0
- data/lib/ooxml_parser/common_parser/common_data/colors/image/{fill_rectangle.rb → stretching/fill_rectangle.rb} +0 -0
- data/lib/ooxml_parser/common_parser/common_data/colors/image_fill.rb +1 -0
- data/lib/ooxml_parser/common_parser/common_data/colors/presentation_fill/gradient_color.rb +1 -2
- data/lib/ooxml_parser/common_parser/common_data/colors/presentation_fill/gradient_color/linear_gradient.rb +10 -0
- data/lib/ooxml_parser/common_parser/common_data/hyperlink.rb +6 -1
- data/lib/ooxml_parser/common_parser/common_data/ooxml_document_object.rb +29 -1
- data/lib/ooxml_parser/common_parser/common_data/paragraph.rb +1 -0
- data/lib/ooxml_parser/common_parser/common_data/paragraph/paragraph_properties.rb +1 -1
- data/lib/ooxml_parser/common_parser/common_data/paragraph/paragraph_run/run_properties.rb +1 -1
- data/lib/ooxml_parser/{pptx_parser/pptx_data/presentation/slide/shape/text_body → common_parser/common_data/paragraph}/text_field.rb +0 -0
- data/lib/ooxml_parser/common_parser/common_data/relationships.rb +31 -0
- data/lib/ooxml_parser/common_parser/common_data/relationships/relationship.rb +22 -0
- data/lib/ooxml_parser/common_parser/common_data/table.rb +1 -1
- data/lib/ooxml_parser/common_parser/common_data/table/properties/table_style.rb +1 -0
- data/lib/ooxml_parser/common_parser/common_data/table/properties/table_style_elements.rb +1 -1
- data/lib/ooxml_parser/common_parser/common_data/table/row/cell/cell_properties.rb +39 -96
- data/lib/ooxml_parser/common_parser/common_data/table/row/cell/merge.rb +7 -3
- data/lib/ooxml_parser/common_parser/common_data/table/row/row/table_row_properties.rb +1 -1
- data/lib/ooxml_parser/common_parser/common_data/table/table_grid.rb +1 -1
- data/lib/ooxml_parser/common_parser/common_data/table/table_properties.rb +5 -2
- data/lib/ooxml_parser/common_parser/common_data/table/table_properties/table_borders.rb +33 -0
- data/lib/ooxml_parser/common_parser/parser.rb +17 -0
- data/lib/ooxml_parser/docx_parser/docx_data/document_structure.rb +15 -26
- data/lib/ooxml_parser/docx_parser/docx_data/document_structure/document_background.rb +26 -0
- data/lib/ooxml_parser/docx_parser/docx_data/document_structure/document_properties.rb +6 -1
- data/lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_paragraph_run.rb +5 -5
- data/lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_paragraph_run/shape.rb +9 -10
- data/lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/frame_properties.rb +1 -1
- data/lib/ooxml_parser/docx_parser/docx_data/document_structure/page_properties/document_grid.rb +1 -1
- data/lib/ooxml_parser/docx_parser/docx_data/document_structure/page_properties/page_properties.rb +6 -13
- data/lib/ooxml_parser/docx_parser/docx_parser.rb +3 -7
- data/lib/ooxml_parser/pptx_parser/pptx_data/presentation.rb +1 -2
- data/lib/ooxml_parser/pptx_parser/pptx_data/presentation/presentation_comment/presentation_comment_author.rb +2 -1
- data/lib/ooxml_parser/pptx_parser/pptx_data/presentation/presentation_theme.rb +1 -1
- data/lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide.rb +13 -19
- data/lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/slide/timing/animation_effect/animation_effect.rb +2 -2
- data/lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/slide/timing/set_time_node/behavior/behavior.rb +1 -0
- data/lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/slide/timing/set_time_node/set_time_node.rb +2 -0
- data/lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/slide/timing/time_node.rb +2 -0
- data/lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/slide/timing/time_node/common_timing/condition.rb +2 -2
- data/lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/transition/transition.rb +3 -14
- data/lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/transition/{sound_action → transition}/sound_action.rb +2 -0
- data/lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/transition/{sound_action/sound → transition/sound_action}/sound.rb +1 -2
- data/lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/transition/transition_properties/transition_properties.rb +20 -0
- data/lib/ooxml_parser/pptx_parser/pptx_parser.rb +3 -7
- data/lib/ooxml_parser/version.rb +1 -1
- data/lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook.rb +4 -3
- data/lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet.rb +12 -1
- data/lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet/xlsx_row.rb +1 -1
- data/lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet/xlsx_row/xlsx_cell/cell_style/foreground_color.rb +2 -2
- data/lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet/xlsx_row/xlsx_cell/cell_style/ooxml_font.rb +2 -4
- data/lib/ooxml_parser/xlsx_parser/xlsx_parser.rb +3 -7
- metadata +10 -16
- data/.overcommit.yml +0 -35
- data/Changelog.md +0 -25
- data/circle.yml +0 -3
- data/lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_paragraph_run/shape/offset.rb +0 -10
- data/lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_paragraph_run/shape/shadow.rb +0 -10
- data/lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/shape/shape_properties/extents.rb +0 -10
- data/lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/shape/shape_properties/offset.rb +0 -10
- data/lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/shape/text_body/paragraph.rb +0 -10
- data/lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/shapes_grouping/shapes_grouping.rb +0 -9
- data/ooxml_parser.gemspec +0 -30
data/ooxml_parser.gemspec
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
|
2
|
-
require 'ooxml_parser/version'
|
3
|
-
Gem::Specification.new do |s|
|
4
|
-
s.name = 'ooxml_parser'
|
5
|
-
s.version = OoxmlParser::Version::STRING
|
6
|
-
s.platform = Gem::Platform::RUBY
|
7
|
-
s.required_ruby_version = '>= 1.9'
|
8
|
-
s.authors = ['Pavel Lobashov', 'Roman Zagudaev']
|
9
|
-
s.summary = 'OoxmlParser Gem'
|
10
|
-
s.description = 'Parse OOXML files (docx, xlsx, pptx)'
|
11
|
-
s.email = ['shockwavenn@gmail.com', 'rzagudaev@gmail.com']
|
12
|
-
s.files = `git ls-files`.split($RS).reject do |file|
|
13
|
-
file =~ %r{^(?:
|
14
|
-
spec/.*
|
15
|
-
|Gemfile
|
16
|
-
|Rakefile
|
17
|
-
|\.rspec
|
18
|
-
|\.gitignore
|
19
|
-
|\.rubocop.yml
|
20
|
-
|\.rubocop_todo.yml
|
21
|
-
|\.travis.yml
|
22
|
-
|.*\.eps
|
23
|
-
)$}x
|
24
|
-
end
|
25
|
-
s.add_runtime_dependency('nokogiri', '~> 1.6')
|
26
|
-
s.add_runtime_dependency('rubyzip', '~> 1.1')
|
27
|
-
s.add_runtime_dependency('xml-simple', '~> 1.1')
|
28
|
-
s.homepage = 'http://rubygems.org/gems/ooxml_parser'
|
29
|
-
s.license = 'AGPL-3.0'
|
30
|
-
end
|