ooxml_parser 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (223) hide show
  1. checksums.yaml +7 -0
  2. data/.overcommit.yml +35 -0
  3. data/Changelog.md +25 -0
  4. data/LICENSE.txt +661 -0
  5. data/README.md +26 -0
  6. data/circle.yml +3 -0
  7. data/lib/ooxml_parser/common_parser/common_data/alingment.rb +56 -0
  8. data/lib/ooxml_parser/common_parser/common_data/alternate_content/alternate_content.rb +34 -0
  9. data/lib/ooxml_parser/common_parser/common_data/alternate_content/chart/chart.rb +123 -0
  10. data/lib/ooxml_parser/common_parser/common_data/alternate_content/chart/chart_axis.rb +34 -0
  11. data/lib/ooxml_parser/common_parser/common_data/alternate_content/chart/chart_axis_title.rb +38 -0
  12. data/lib/ooxml_parser/common_parser/common_data/alternate_content/chart/chart_cells_range.rb +23 -0
  13. data/lib/ooxml_parser/common_parser/common_data/alternate_content/chart/chart_legend.rb +33 -0
  14. data/lib/ooxml_parser/common_parser/common_data/alternate_content/chart/chart_point.rb +11 -0
  15. data/lib/ooxml_parser/common_parser/common_data/alternate_content/chart/chart_style/office_2007_chart_style.rb +17 -0
  16. data/lib/ooxml_parser/common_parser/common_data/alternate_content/chart/chart_style/office_2010_chart_style.rb +17 -0
  17. data/lib/ooxml_parser/common_parser/common_data/alternate_content/chart/display_labels_properties.rb +26 -0
  18. data/lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/docx_drawing.rb +49 -0
  19. data/lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/drawing_properties/docx_drawing_distance_from_text.rb +23 -0
  20. data/lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/drawing_properties/docx_drawing_position.rb +35 -0
  21. data/lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/drawing_properties/docx_drawing_properties.rb +11 -0
  22. data/lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/drawing_properties/docx_wrap_drawing.rb +39 -0
  23. data/lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/drawing_properties/ooxml_coordinates.rb +32 -0
  24. data/lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/docx_graphic.rb +34 -0
  25. data/lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/group/docx_group_element.rb +10 -0
  26. data/lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/group/docx_grouped_drawing.rb +34 -0
  27. data/lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/picture/docx_blip.rb +27 -0
  28. data/lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/picture/docx_picture.rb +26 -0
  29. data/lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/docx_shape.rb +25 -0
  30. data/lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_body_properties/ooxml_shape_body_properties/preset_text_warp.rb +16 -0
  31. data/lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_body_properties/ooxml_shape_body_properties.rb +30 -0
  32. data/lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_properties/color/docx_color_scheme.rb +37 -0
  33. data/lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_properties/color/docx_pattern_fill.rb +20 -0
  34. data/lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_properties/color/gradient_color/docx_gradient_color.rb +30 -0
  35. data/lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_properties/color/gradient_color/docx_single_gradient_color.rb +6 -0
  36. data/lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_properties/color/solid_color/docx_solid_color.rb +10 -0
  37. data/lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_properties/custom_geometry/docx_custom_geometry/docx_shape_line_element.rb +10 -0
  38. data/lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_properties/custom_geometry/docx_custom_geometry/docx_shape_line_path.rb +44 -0
  39. data/lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_properties/custom_geometry/ooxml_custom_geometry.rb +23 -0
  40. data/lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_properties/docx_color.rb +43 -0
  41. data/lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_properties/docx_shape_line.rb +54 -0
  42. data/lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_properties/docx_shape_properties/text_box.rb +25 -0
  43. data/lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_properties/docx_shape_properties.rb +40 -0
  44. data/lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_properties/docx_shape_size.rb +31 -0
  45. data/lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_properties/line/line_end/line_size.rb +20 -0
  46. data/lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_properties/line/line_end.rb +21 -0
  47. data/lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_style/docx_shape_style.rb +5 -0
  48. data/lib/ooxml_parser/common_parser/common_data/alternate_content/picture/group/old_docx_group.rb +31 -0
  49. data/lib/ooxml_parser/common_parser/common_data/alternate_content/picture/group/old_docx_group_element.rb +10 -0
  50. data/lib/ooxml_parser/common_parser/common_data/alternate_content/picture/group/old_docx_group_properties.rb +6 -0
  51. data/lib/ooxml_parser/common_parser/common_data/alternate_content/picture/old_docx_picture.rb +26 -0
  52. data/lib/ooxml_parser/common_parser/common_data/alternate_content/picture/shape/old_docx_shape.rb +24 -0
  53. data/lib/ooxml_parser/common_parser/common_data/alternate_content/picture/shape/old_docx_shape_fill.rb +26 -0
  54. data/lib/ooxml_parser/common_parser/common_data/alternate_content/picture/shape/old_docx_shape_properties.rb +24 -0
  55. data/lib/ooxml_parser/common_parser/common_data/alternate_content/shape/common_non_visual_properties.rb +25 -0
  56. data/lib/ooxml_parser/common_parser/common_data/alternate_content/shape/non_visual_properties.rb +19 -0
  57. data/lib/ooxml_parser/common_parser/common_data/alternate_content/shape/non_visual_shape_properties.rb +20 -0
  58. data/lib/ooxml_parser/common_parser/common_data/alternate_content/shape/shape.rb +28 -0
  59. data/lib/ooxml_parser/common_parser/common_data/alternate_content/shape/shape_placeholder.rb +18 -0
  60. data/lib/ooxml_parser/common_parser/common_data/alternate_content/shape/shape_properties/ooxml_shift.rb +15 -0
  61. data/lib/ooxml_parser/common_parser/common_data/alternate_content/shape/shape_properties/transform_effect.rb +28 -0
  62. data/lib/ooxml_parser/common_parser/common_data/alternate_content/shape/shape_properties.rb +13 -0
  63. data/lib/ooxml_parser/common_parser/common_data/alternate_content/shape/text_body/ooxml_text_box.rb +26 -0
  64. data/lib/ooxml_parser/common_parser/common_data/alternate_content/shape/text_body/text_body.rb +23 -0
  65. data/lib/ooxml_parser/common_parser/common_data/borders_properties.rb +58 -0
  66. data/lib/ooxml_parser/common_parser/common_data/color.rb +473 -0
  67. data/lib/ooxml_parser/common_parser/common_data/colors/color_alpha_channel.rb +14 -0
  68. data/lib/ooxml_parser/common_parser/common_data/colors/color_properties.rb +21 -0
  69. data/lib/ooxml_parser/common_parser/common_data/colors/hsl_color.rb +150 -0
  70. data/lib/ooxml_parser/common_parser/common_data/colors/image/fill_rectangle.rb +22 -0
  71. data/lib/ooxml_parser/common_parser/common_data/colors/image/stretching.rb +11 -0
  72. data/lib/ooxml_parser/common_parser/common_data/colors/image_fill.rb +32 -0
  73. data/lib/ooxml_parser/common_parser/common_data/colors/image_properties.rb +16 -0
  74. data/lib/ooxml_parser/common_parser/common_data/colors/presentation_fill/gradient_color/gradient_stop.rb +15 -0
  75. data/lib/ooxml_parser/common_parser/common_data/colors/presentation_fill/gradient_color/linear_gradient.rb +10 -0
  76. data/lib/ooxml_parser/common_parser/common_data/colors/presentation_fill/gradient_color.rb +35 -0
  77. data/lib/ooxml_parser/common_parser/common_data/colors/presentation_fill/presentation_pattern.rb +22 -0
  78. data/lib/ooxml_parser/common_parser/common_data/colors/presentation_fill.rb +33 -0
  79. data/lib/ooxml_parser/common_parser/common_data/colors/scheme_color.rb +14 -0
  80. data/lib/ooxml_parser/common_parser/common_data/colors/theme_colors.rb +22 -0
  81. data/lib/ooxml_parser/common_parser/common_data/colors/tile.rb +21 -0
  82. data/lib/ooxml_parser/common_parser/common_data/coordinates.rb +127 -0
  83. data/lib/ooxml_parser/common_parser/common_data/font_style.rb +101 -0
  84. data/lib/ooxml_parser/common_parser/common_data/hyperlink.rb +53 -0
  85. data/lib/ooxml_parser/common_parser/common_data/ooxml_document_object.rb +87 -0
  86. data/lib/ooxml_parser/common_parser/common_data/paragraph/paragraph_properties.rb +48 -0
  87. data/lib/ooxml_parser/common_parser/common_data/paragraph/paragraph_run/run_properties/outline.rb +23 -0
  88. data/lib/ooxml_parser/common_parser/common_data/paragraph/paragraph_run/run_properties/strikeout.rb +16 -0
  89. data/lib/ooxml_parser/common_parser/common_data/paragraph/paragraph_run/run_properties.rb +79 -0
  90. data/lib/ooxml_parser/common_parser/common_data/paragraph/paragraph_run.rb +24 -0
  91. data/lib/ooxml_parser/common_parser/common_data/paragraph/paragrpah_properties/numbering/numbering_properties/numbering_level.rb +25 -0
  92. data/lib/ooxml_parser/common_parser/common_data/paragraph/paragrpah_properties/numbering/numbering_properties.rb +69 -0
  93. data/lib/ooxml_parser/common_parser/common_data/paragraph/paragrpah_properties/numbering.rb +18 -0
  94. data/lib/ooxml_parser/common_parser/common_data/paragraph/paragrpah_properties/spacing.rb +115 -0
  95. data/lib/ooxml_parser/common_parser/common_data/paragraph.rb +35 -0
  96. data/lib/ooxml_parser/common_parser/common_data/table/margins/paragraph_margins.rb +35 -0
  97. data/lib/ooxml_parser/common_parser/common_data/table/margins/table_margins.rb +47 -0
  98. data/lib/ooxml_parser/common_parser/common_data/table/properties/table_cell_margin.rb +20 -0
  99. data/lib/ooxml_parser/common_parser/common_data/table/properties/table_element.rb +20 -0
  100. data/lib/ooxml_parser/common_parser/common_data/table/properties/table_look.rb +43 -0
  101. data/lib/ooxml_parser/common_parser/common_data/table/properties/table_position.rb +49 -0
  102. data/lib/ooxml_parser/common_parser/common_data/table/properties/table_style.rb +83 -0
  103. data/lib/ooxml_parser/common_parser/common_data/table/properties/table_style_elements.rb +21 -0
  104. data/lib/ooxml_parser/common_parser/common_data/table/properties/whole_table/line_join.rb +19 -0
  105. data/lib/ooxml_parser/common_parser/common_data/table/properties/whole_table/table_cell_style.rb +20 -0
  106. data/lib/ooxml_parser/common_parser/common_data/table/row/cell/cell.rb +43 -0
  107. data/lib/ooxml_parser/common_parser/common_data/table/row/cell/cell_properties.rb +142 -0
  108. data/lib/ooxml_parser/common_parser/common_data/table/row/cell/merge.rb +18 -0
  109. data/lib/ooxml_parser/common_parser/common_data/table/row/cell/properties/border.rb +25 -0
  110. data/lib/ooxml_parser/common_parser/common_data/table/row/cell/properties/borders.rb +125 -0
  111. data/lib/ooxml_parser/common_parser/common_data/table/row/cell/properties/table_cell_line.rb +35 -0
  112. data/lib/ooxml_parser/common_parser/common_data/table/row/row/table_row_properties.rb +22 -0
  113. data/lib/ooxml_parser/common_parser/common_data/table/row/row.rb +33 -0
  114. data/lib/ooxml_parser/common_parser/common_data/table/table_grid.rb +9 -0
  115. data/lib/ooxml_parser/common_parser/common_data/table/table_properties.rb +77 -0
  116. data/lib/ooxml_parser/common_parser/common_data/table.rb +41 -0
  117. data/lib/ooxml_parser/common_parser/common_data/underline.rb +40 -0
  118. data/lib/ooxml_parser/common_parser/common_document_structure.rb +7 -0
  119. data/lib/ooxml_parser/configuration.rb +20 -0
  120. data/lib/ooxml_parser/docx_parser/docx_data/document_structure/comment.rb +28 -0
  121. data/lib/ooxml_parser/docx_parser/docx_data/document_structure/document_background.rb +10 -0
  122. data/lib/ooxml_parser/docx_parser/docx_data/document_structure/document_properties.rb +21 -0
  123. data/lib/ooxml_parser/docx_parser/docx_data/document_structure/document_style.rb +70 -0
  124. data/lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula/accent.rb +11 -0
  125. data/lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula/bar.rb +10 -0
  126. data/lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula/box.rb +11 -0
  127. data/lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula/delimeter.rb +12 -0
  128. data/lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula/fraction.rb +11 -0
  129. data/lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula/function.rb +11 -0
  130. data/lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula/group_char.rb +13 -0
  131. data/lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula/index.rb +12 -0
  132. data/lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula/limit.rb +12 -0
  133. data/lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula/matrix/matrix_row.rb +10 -0
  134. data/lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula/matrix.rb +10 -0
  135. data/lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula/operator.rb +13 -0
  136. data/lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula/radical.rb +11 -0
  137. data/lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula.rb +203 -0
  138. data/lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_paragraph_run/shape/offset.rb +10 -0
  139. data/lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_paragraph_run/shape/shadow.rb +10 -0
  140. data/lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_paragraph_run/shape/shape_properties/shape_margins.rb +11 -0
  141. data/lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_paragraph_run/shape/shape_properties/shape_size.rb +10 -0
  142. data/lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_paragraph_run/shape/shape_properties/stroke.rb +10 -0
  143. data/lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_paragraph_run/shape/shape_properties.rb +16 -0
  144. data/lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_paragraph_run/shape.rb +40 -0
  145. data/lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_paragraph_run/text_fill.rb +13 -0
  146. data/lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_paragraph_run/text_outline.rb +22 -0
  147. data/lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_paragraph_run.rb +388 -0
  148. data/lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/frame_properties.rb +46 -0
  149. data/lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/indents.rb +87 -0
  150. data/lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/paragraph_style/bookmark.rb +10 -0
  151. data/lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/paragraph_style/paragraph_tab.rb +19 -0
  152. data/lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/paragraph_style/style_parametres.rb +35 -0
  153. data/lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/paragraph_style.rb +56 -0
  154. data/lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph.rb +324 -0
  155. data/lib/ooxml_parser/docx_parser/docx_data/document_structure/header_footer.rb +37 -0
  156. data/lib/ooxml_parser/docx_parser/docx_data/document_structure/image.rb +15 -0
  157. data/lib/ooxml_parser/docx_parser/docx_data/document_structure/page_properties/columns/column.rb +10 -0
  158. data/lib/ooxml_parser/docx_parser/docx_data/document_structure/page_properties/columns.rb +37 -0
  159. data/lib/ooxml_parser/docx_parser/docx_data/document_structure/page_properties/document_grid.rb +29 -0
  160. data/lib/ooxml_parser/docx_parser/docx_data/document_structure/page_properties/note.rb +49 -0
  161. data/lib/ooxml_parser/docx_parser/docx_data/document_structure/page_properties/page_margins.rb +42 -0
  162. data/lib/ooxml_parser/docx_parser/docx_data/document_structure/page_properties/page_properties.rb +88 -0
  163. data/lib/ooxml_parser/docx_parser/docx_data/document_structure/page_properties/size.rb +84 -0
  164. data/lib/ooxml_parser/docx_parser/docx_data/document_structure.rb +232 -0
  165. data/lib/ooxml_parser/docx_parser/docx_parser.rb +16 -0
  166. data/lib/ooxml_parser/helpers/string_helper.rb +22 -0
  167. data/lib/ooxml_parser/pptx_parser/pptx_data/presentation/presentation_comment/presentation_comment_author.rb +25 -0
  168. data/lib/ooxml_parser/pptx_parser/pptx_data/presentation/presentation_comment.rb +31 -0
  169. data/lib/ooxml_parser/pptx_parser/pptx_data/presentation/presentation_theme/theme_color.rb +40 -0
  170. data/lib/ooxml_parser/pptx_parser/pptx_data/presentation/presentation_theme.rb +44 -0
  171. data/lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/background.rb +19 -0
  172. data/lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/graphic_frame/graphic_frame.rb +34 -0
  173. data/lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/presentation_alternate_content.rb +25 -0
  174. data/lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/shape/non_visual_shape_properties/hyperlinks/hyperlink_for_hover.rb +23 -0
  175. data/lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/shape/shape_properties/extents.rb +10 -0
  176. data/lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/shape/shape_properties/offset.rb +10 -0
  177. data/lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/shape/text_body/paragraph.rb +10 -0
  178. data/lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/shape/text_body/text_field.rb +18 -0
  179. data/lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/shapes_grouping/shapes_grouping.rb +9 -0
  180. data/lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/slide/shapes_grouping/grouping_properties.rb +16 -0
  181. data/lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/slide/shapes_grouping.rb +30 -0
  182. data/lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/slide/timing/animation_effect/animation_effect.rb +22 -0
  183. data/lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/slide/timing/set_time_node/behavior/behavior.rb +28 -0
  184. data/lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/slide/timing/set_time_node/behavior/target_element.rb +31 -0
  185. data/lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/slide/timing/set_time_node/set_time_node.rb +20 -0
  186. data/lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/slide/timing/time_node/common_timing/condition.rb +26 -0
  187. data/lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/slide/timing/time_node/common_timing.rb +33 -0
  188. data/lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/slide/timing/time_node.rb +52 -0
  189. data/lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/slide/timing.rb +23 -0
  190. data/lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/transition/sound_action/sound/sound.rb +18 -0
  191. data/lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/transition/sound_action/sound_action.rb +18 -0
  192. data/lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/transition/transition.rb +43 -0
  193. data/lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/transition/transition_properties/transition_properties.rb +9 -0
  194. data/lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide.rb +110 -0
  195. data/lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide_size.rb +20 -0
  196. data/lib/ooxml_parser/pptx_parser/pptx_data/presentation.rb +62 -0
  197. data/lib/ooxml_parser/pptx_parser/pptx_parser.rb +15 -0
  198. data/lib/ooxml_parser/version.rb +6 -0
  199. data/lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet/excel_comments/excel_comment/excel_comment_character/excel_comment_character_properties.rb +27 -0
  200. data/lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet/excel_comments/excel_comment/excel_comment_character.rb +25 -0
  201. data/lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet/excel_comments/excel_comment.rb +20 -0
  202. data/lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet/excel_comments.rb +43 -0
  203. data/lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet/sheet_format_properties.rb +21 -0
  204. data/lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet/sheet_view/pane.rb +23 -0
  205. data/lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet/sheet_view.rb +18 -0
  206. data/lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet/xlsx_column_properties.rb +24 -0
  207. data/lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet/xlsx_drawing/xlsx_drawing_position/xlsx_drawing_position_parameters.rb +22 -0
  208. data/lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet/xlsx_drawing/xlsx_drawing_position.rb +22 -0
  209. data/lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet/xlsx_drawing/xlsx_shape_grouping.rb +37 -0
  210. data/lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet/xlsx_drawing.rb +49 -0
  211. data/lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet/xlsx_row/xlsx_cell/cell_style/alignment.rb +30 -0
  212. data/lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet/xlsx_row/xlsx_cell/cell_style/foreground_color.rb +25 -0
  213. data/lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet/xlsx_row/xlsx_cell/cell_style/ooxml_font.rb +38 -0
  214. data/lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet/xlsx_row/xlsx_cell/cell_style.rb +95 -0
  215. data/lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet/xlsx_row/xlsx_cell.rb +47 -0
  216. data/lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet/xlsx_row.rb +19 -0
  217. data/lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet/xlsx_table.rb +30 -0
  218. data/lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet.rb +74 -0
  219. data/lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook.rb +108 -0
  220. data/lib/ooxml_parser/xlsx_parser/xlsx_parser.rb +15 -0
  221. data/lib/ooxml_parser.rb +35 -0
  222. data/ooxml_parser.gemspec +30 -0
  223. metadata +310 -0
@@ -0,0 +1,108 @@
1
+ require_relative 'workbook/worksheet'
2
+ # Class for storing XLSX Workbook
3
+ module OoxmlParser
4
+ class XLSXWorkbook < CommonDocumentStructure
5
+ attr_accessor :worksheets
6
+
7
+ def initialize(worksheets = [])
8
+ @worksheets = worksheets
9
+ end
10
+
11
+ def cell(column, row, sheet = 0)
12
+ column = Coordinates.new(row, column).get_column_number unless StringHelper.numeric?(column.to_s)
13
+
14
+ if StringHelper.numeric?(sheet.to_s)
15
+ row = @worksheets[sheet].rows[row.to_i - 1]
16
+ return nil if row.nil?
17
+ return row.cells[column.to_i - 1]
18
+ elsif sheet.is_a?(String)
19
+ @worksheets.each do |worksheet|
20
+ if worksheet.name == sheet
21
+ return worksheet.rows[row.to_i - 1].cells[column.to_i - 1] unless worksheet.rows[row.to_i - 1].nil?
22
+ end
23
+ end
24
+ return nil
25
+ end
26
+ raise "Error. Wrong sheet value: #{sheet}"
27
+ end
28
+
29
+ def difference(other)
30
+ Hash.object_to_hash(self).diff(Hash.object_to_hash(other))
31
+ end
32
+
33
+ # Get all values of formulas.
34
+ # @param [Fixnum] precision of formulas counting
35
+ # @return [Array, String] all formulas
36
+ def all_formula_values(precision = 14)
37
+ formulas = []
38
+ worksheets.each do |c_sheet|
39
+ next unless c_sheet
40
+ c_sheet.rows.each do |c_row|
41
+ next unless c_row
42
+ c_row.cells.each do |c_cell|
43
+ next unless c_cell
44
+ next unless c_cell.formula
45
+ text = c_cell.raw_text
46
+ if StringHelper.numeric?(text)
47
+ text = text.to_f.round(10).to_s[0..precision]
48
+ elsif StringHelper.complex?(text)
49
+ complex_number = Complex(text.tr(',', '.'))
50
+ real_part = complex_number.real
51
+ real_rounded = real_part.to_f.round(10).to_s[0..precision].to_f
52
+
53
+ imag_part = complex_number.imag
54
+ imag_rounded = imag_part.to_f.round(10).to_s[0..precision].to_f
55
+ complex_rounded = Complex(real_rounded, imag_rounded)
56
+ text = complex_rounded.to_s
57
+ end
58
+ formulas << text
59
+ end
60
+ end
61
+ end
62
+ formulas
63
+ end
64
+
65
+ def self.parse(path_to_folder)
66
+ workbook = XLSXWorkbook.new
67
+ OOXMLDocumentObject.path_to_folder = path_to_folder
68
+ OOXMLDocumentObject.xmls_stack = []
69
+ OOXMLDocumentObject.root_subfolder = 'xl/'
70
+ self.shared_strings = nil
71
+ OOXMLDocumentObject.add_to_xmls_stack('xl/workbook.xml')
72
+ doc = Nokogiri::XML.parse(File.open(OOXMLDocumentObject.current_xml))
73
+ XLSXWorkbook.styles_node = Nokogiri::XML(File.open("#{OOXMLDocumentObject.path_to_folder}/#{OOXMLDocumentObject.root_subfolder}/styles.xml"))
74
+ PresentationTheme.parse("xl/#{link_to_theme_xml}") if link_to_theme_xml
75
+ doc.xpath('xmlns:workbook/xmlns:sheets/xmlns:sheet').each do |sheet|
76
+ workbook.worksheets << Worksheet.parse('xl/' + OOXMLDocumentObject.get_link_from_rels(sheet.attribute('id').value))
77
+ workbook.worksheets.last.name = sheet.attribute('name').value
78
+ end
79
+ OOXMLDocumentObject.xmls_stack.pop
80
+ workbook
81
+ end
82
+
83
+ class << self
84
+ # @return [Array, Nokogiri::XML::Eelement] list of shared strings
85
+ attr_accessor :shared_strings
86
+ attr_accessor :styles_node
87
+
88
+ # Accessor for shared string. Initialization for this array
89
+ def shared_strings
90
+ if @shared_strings.nil?
91
+ shared_strings_file = "#{OOXMLDocumentObject.path_to_folder}/#{OOXMLDocumentObject.root_subfolder}/sharedStrings.xml"
92
+ @shared_strings = Nokogiri::XML(File.open(shared_strings_file)).xpath('//xmlns:si') if File.exist?(shared_strings_file)
93
+ end
94
+ @shared_strings
95
+ end
96
+
97
+ def link_to_theme_xml
98
+ doc = Nokogiri::XML(File.open(OOXMLDocumentObject.path_to_folder + 'xl/_rels/workbook.xml.rels'))
99
+ doc.xpath('xmlns:Relationships/xmlns:Relationship').each do |relationship_node|
100
+ if relationship_node.attribute('Target').value.include?('theme')
101
+ return relationship_node.attribute('Target').value
102
+ end
103
+ end
104
+ nil
105
+ end
106
+ end
107
+ end
108
+ end
@@ -0,0 +1,15 @@
1
+ require_relative 'xlsx_data/view_model/workbook'
2
+
3
+ module OoxmlParser
4
+ class XlsxParser
5
+ def self.parse_xlsx(path_to_file)
6
+ path_to_zip_file = OOXMLDocumentObject.copy_file_and_rename_to_zip(path_to_file)
7
+ OOXMLDocumentObject.unzip_file(path_to_zip_file, path_to_zip_file.sub(File.basename(path_to_zip_file), ''))
8
+ OOXMLDocumentObject.path_to_folder = path_to_zip_file.sub(File.basename(path_to_zip_file), '')
9
+ xlsx_model = XLSXWorkbook.parse(OOXMLDocumentObject.path_to_folder)
10
+ xlsx_model.file_path = path_to_file
11
+ FileUtils.remove_dir(OOXMLDocumentObject.path_to_folder)
12
+ xlsx_model
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,35 @@
1
+ require_relative 'ooxml_parser/common_parser/common_data/ooxml_document_object'
2
+ require_relative 'ooxml_parser/common_parser/common_data/alingment'
3
+ require_relative 'ooxml_parser/common_parser/common_data/color'
4
+ require_relative 'ooxml_parser/common_parser/common_data/coordinates'
5
+ require_relative 'ooxml_parser/common_parser/common_data/font_style'
6
+ require_relative 'ooxml_parser/common_parser/common_data/borders_properties'
7
+ require_relative 'ooxml_parser/common_parser/common_data/hyperlink'
8
+ require_relative 'ooxml_parser/common_parser/common_data/paragraph'
9
+ require_relative 'ooxml_parser/common_parser/common_data/alternate_content/alternate_content'
10
+ require_relative 'ooxml_parser/common_parser/common_data/colors/presentation_fill'
11
+ require_relative 'ooxml_parser/common_parser/common_data/table'
12
+ require_relative 'ooxml_parser/common_parser/common_document_structure'
13
+ require_relative 'ooxml_parser/configuration'
14
+ require_relative 'ooxml_parser/helpers/string_helper'
15
+ require_relative 'ooxml_parser/docx_parser/docx_parser'
16
+ require_relative 'ooxml_parser/xlsx_parser/xlsx_parser'
17
+ require_relative 'ooxml_parser/pptx_parser/pptx_parser'
18
+
19
+ module OoxmlParser
20
+ class << self
21
+ attr_writer :configuration
22
+ end
23
+
24
+ def self.configuration
25
+ @configuration ||= Configuration.new
26
+ end
27
+
28
+ def self.reset
29
+ @configuration = Configuration.new
30
+ end
31
+
32
+ def self.configure
33
+ yield(configuration)
34
+ end
35
+ end
@@ -0,0 +1,30 @@
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
metadata ADDED
@@ -0,0 +1,310 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ooxml_parser
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - Pavel Lobashov
8
+ - Roman Zagudaev
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2016-05-17 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: nokogiri
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: '1.6'
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: '1.6'
28
+ - !ruby/object:Gem::Dependency
29
+ name: rubyzip
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - "~>"
33
+ - !ruby/object:Gem::Version
34
+ version: '1.1'
35
+ type: :runtime
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: '1.1'
42
+ - !ruby/object:Gem::Dependency
43
+ name: xml-simple
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: '1.1'
49
+ type: :runtime
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: '1.1'
56
+ description: Parse OOXML files (docx, xlsx, pptx)
57
+ email:
58
+ - shockwavenn@gmail.com
59
+ - rzagudaev@gmail.com
60
+ executables: []
61
+ extensions: []
62
+ extra_rdoc_files: []
63
+ files:
64
+ - ".overcommit.yml"
65
+ - Changelog.md
66
+ - LICENSE.txt
67
+ - README.md
68
+ - circle.yml
69
+ - lib/ooxml_parser.rb
70
+ - lib/ooxml_parser/common_parser/common_data/alingment.rb
71
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/alternate_content.rb
72
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/chart/chart.rb
73
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/chart/chart_axis.rb
74
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/chart/chart_axis_title.rb
75
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/chart/chart_cells_range.rb
76
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/chart/chart_legend.rb
77
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/chart/chart_point.rb
78
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/chart/chart_style/office_2007_chart_style.rb
79
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/chart/chart_style/office_2010_chart_style.rb
80
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/chart/display_labels_properties.rb
81
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/docx_drawing.rb
82
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/drawing_properties/docx_drawing_distance_from_text.rb
83
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/drawing_properties/docx_drawing_position.rb
84
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/drawing_properties/docx_drawing_properties.rb
85
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/drawing_properties/docx_wrap_drawing.rb
86
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/drawing_properties/ooxml_coordinates.rb
87
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/docx_graphic.rb
88
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/group/docx_group_element.rb
89
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/group/docx_grouped_drawing.rb
90
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/picture/docx_blip.rb
91
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/picture/docx_picture.rb
92
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/docx_shape.rb
93
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_body_properties/ooxml_shape_body_properties.rb
94
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_body_properties/ooxml_shape_body_properties/preset_text_warp.rb
95
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_properties/color/docx_color_scheme.rb
96
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_properties/color/docx_pattern_fill.rb
97
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_properties/color/gradient_color/docx_gradient_color.rb
98
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_properties/color/gradient_color/docx_single_gradient_color.rb
99
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_properties/color/solid_color/docx_solid_color.rb
100
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_properties/custom_geometry/docx_custom_geometry/docx_shape_line_element.rb
101
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_properties/custom_geometry/docx_custom_geometry/docx_shape_line_path.rb
102
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_properties/custom_geometry/ooxml_custom_geometry.rb
103
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_properties/docx_color.rb
104
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_properties/docx_shape_line.rb
105
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_properties/docx_shape_properties.rb
106
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_properties/docx_shape_properties/text_box.rb
107
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_properties/docx_shape_size.rb
108
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_properties/line/line_end.rb
109
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_properties/line/line_end/line_size.rb
110
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_style/docx_shape_style.rb
111
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/picture/group/old_docx_group.rb
112
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/picture/group/old_docx_group_element.rb
113
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/picture/group/old_docx_group_properties.rb
114
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/picture/old_docx_picture.rb
115
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/picture/shape/old_docx_shape.rb
116
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/picture/shape/old_docx_shape_fill.rb
117
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/picture/shape/old_docx_shape_properties.rb
118
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/shape/common_non_visual_properties.rb
119
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/shape/non_visual_properties.rb
120
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/shape/non_visual_shape_properties.rb
121
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/shape/shape.rb
122
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/shape/shape_placeholder.rb
123
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/shape/shape_properties.rb
124
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/shape/shape_properties/ooxml_shift.rb
125
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/shape/shape_properties/transform_effect.rb
126
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/shape/text_body/ooxml_text_box.rb
127
+ - lib/ooxml_parser/common_parser/common_data/alternate_content/shape/text_body/text_body.rb
128
+ - lib/ooxml_parser/common_parser/common_data/borders_properties.rb
129
+ - lib/ooxml_parser/common_parser/common_data/color.rb
130
+ - lib/ooxml_parser/common_parser/common_data/colors/color_alpha_channel.rb
131
+ - lib/ooxml_parser/common_parser/common_data/colors/color_properties.rb
132
+ - lib/ooxml_parser/common_parser/common_data/colors/hsl_color.rb
133
+ - lib/ooxml_parser/common_parser/common_data/colors/image/fill_rectangle.rb
134
+ - lib/ooxml_parser/common_parser/common_data/colors/image/stretching.rb
135
+ - lib/ooxml_parser/common_parser/common_data/colors/image_fill.rb
136
+ - lib/ooxml_parser/common_parser/common_data/colors/image_properties.rb
137
+ - lib/ooxml_parser/common_parser/common_data/colors/presentation_fill.rb
138
+ - lib/ooxml_parser/common_parser/common_data/colors/presentation_fill/gradient_color.rb
139
+ - lib/ooxml_parser/common_parser/common_data/colors/presentation_fill/gradient_color/gradient_stop.rb
140
+ - lib/ooxml_parser/common_parser/common_data/colors/presentation_fill/gradient_color/linear_gradient.rb
141
+ - lib/ooxml_parser/common_parser/common_data/colors/presentation_fill/presentation_pattern.rb
142
+ - lib/ooxml_parser/common_parser/common_data/colors/scheme_color.rb
143
+ - lib/ooxml_parser/common_parser/common_data/colors/theme_colors.rb
144
+ - lib/ooxml_parser/common_parser/common_data/colors/tile.rb
145
+ - lib/ooxml_parser/common_parser/common_data/coordinates.rb
146
+ - lib/ooxml_parser/common_parser/common_data/font_style.rb
147
+ - lib/ooxml_parser/common_parser/common_data/hyperlink.rb
148
+ - lib/ooxml_parser/common_parser/common_data/ooxml_document_object.rb
149
+ - lib/ooxml_parser/common_parser/common_data/paragraph.rb
150
+ - lib/ooxml_parser/common_parser/common_data/paragraph/paragraph_properties.rb
151
+ - lib/ooxml_parser/common_parser/common_data/paragraph/paragraph_run.rb
152
+ - lib/ooxml_parser/common_parser/common_data/paragraph/paragraph_run/run_properties.rb
153
+ - lib/ooxml_parser/common_parser/common_data/paragraph/paragraph_run/run_properties/outline.rb
154
+ - lib/ooxml_parser/common_parser/common_data/paragraph/paragraph_run/run_properties/strikeout.rb
155
+ - lib/ooxml_parser/common_parser/common_data/paragraph/paragrpah_properties/numbering.rb
156
+ - lib/ooxml_parser/common_parser/common_data/paragraph/paragrpah_properties/numbering/numbering_properties.rb
157
+ - lib/ooxml_parser/common_parser/common_data/paragraph/paragrpah_properties/numbering/numbering_properties/numbering_level.rb
158
+ - lib/ooxml_parser/common_parser/common_data/paragraph/paragrpah_properties/spacing.rb
159
+ - lib/ooxml_parser/common_parser/common_data/table.rb
160
+ - lib/ooxml_parser/common_parser/common_data/table/margins/paragraph_margins.rb
161
+ - lib/ooxml_parser/common_parser/common_data/table/margins/table_margins.rb
162
+ - lib/ooxml_parser/common_parser/common_data/table/properties/table_cell_margin.rb
163
+ - lib/ooxml_parser/common_parser/common_data/table/properties/table_element.rb
164
+ - lib/ooxml_parser/common_parser/common_data/table/properties/table_look.rb
165
+ - lib/ooxml_parser/common_parser/common_data/table/properties/table_position.rb
166
+ - lib/ooxml_parser/common_parser/common_data/table/properties/table_style.rb
167
+ - lib/ooxml_parser/common_parser/common_data/table/properties/table_style_elements.rb
168
+ - lib/ooxml_parser/common_parser/common_data/table/properties/whole_table/line_join.rb
169
+ - lib/ooxml_parser/common_parser/common_data/table/properties/whole_table/table_cell_style.rb
170
+ - lib/ooxml_parser/common_parser/common_data/table/row/cell/cell.rb
171
+ - lib/ooxml_parser/common_parser/common_data/table/row/cell/cell_properties.rb
172
+ - lib/ooxml_parser/common_parser/common_data/table/row/cell/merge.rb
173
+ - lib/ooxml_parser/common_parser/common_data/table/row/cell/properties/border.rb
174
+ - lib/ooxml_parser/common_parser/common_data/table/row/cell/properties/borders.rb
175
+ - lib/ooxml_parser/common_parser/common_data/table/row/cell/properties/table_cell_line.rb
176
+ - lib/ooxml_parser/common_parser/common_data/table/row/row.rb
177
+ - lib/ooxml_parser/common_parser/common_data/table/row/row/table_row_properties.rb
178
+ - lib/ooxml_parser/common_parser/common_data/table/table_grid.rb
179
+ - lib/ooxml_parser/common_parser/common_data/table/table_properties.rb
180
+ - lib/ooxml_parser/common_parser/common_data/underline.rb
181
+ - lib/ooxml_parser/common_parser/common_document_structure.rb
182
+ - lib/ooxml_parser/configuration.rb
183
+ - lib/ooxml_parser/docx_parser/docx_data/document_structure.rb
184
+ - lib/ooxml_parser/docx_parser/docx_data/document_structure/comment.rb
185
+ - lib/ooxml_parser/docx_parser/docx_data/document_structure/document_background.rb
186
+ - lib/ooxml_parser/docx_parser/docx_data/document_structure/document_properties.rb
187
+ - lib/ooxml_parser/docx_parser/docx_data/document_structure/document_style.rb
188
+ - lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph.rb
189
+ - lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula.rb
190
+ - lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula/accent.rb
191
+ - lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula/bar.rb
192
+ - lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula/box.rb
193
+ - lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula/delimeter.rb
194
+ - lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula/fraction.rb
195
+ - lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula/function.rb
196
+ - lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula/group_char.rb
197
+ - lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula/index.rb
198
+ - lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula/limit.rb
199
+ - lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula/matrix.rb
200
+ - lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula/matrix/matrix_row.rb
201
+ - lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula/operator.rb
202
+ - lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_formula/radical.rb
203
+ - lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_paragraph_run.rb
204
+ - lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_paragraph_run/shape.rb
205
+ - lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_paragraph_run/shape/offset.rb
206
+ - lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_paragraph_run/shape/shadow.rb
207
+ - lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_paragraph_run/shape/shape_properties.rb
208
+ - lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_paragraph_run/shape/shape_properties/shape_margins.rb
209
+ - lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_paragraph_run/shape/shape_properties/shape_size.rb
210
+ - lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_paragraph_run/shape/shape_properties/stroke.rb
211
+ - lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_paragraph_run/text_fill.rb
212
+ - lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_paragraph_run/text_outline.rb
213
+ - lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/frame_properties.rb
214
+ - lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/indents.rb
215
+ - lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/paragraph_style.rb
216
+ - lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/paragraph_style/bookmark.rb
217
+ - lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/paragraph_style/paragraph_tab.rb
218
+ - lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/paragraph_style/style_parametres.rb
219
+ - lib/ooxml_parser/docx_parser/docx_data/document_structure/header_footer.rb
220
+ - lib/ooxml_parser/docx_parser/docx_data/document_structure/image.rb
221
+ - lib/ooxml_parser/docx_parser/docx_data/document_structure/page_properties/columns.rb
222
+ - lib/ooxml_parser/docx_parser/docx_data/document_structure/page_properties/columns/column.rb
223
+ - lib/ooxml_parser/docx_parser/docx_data/document_structure/page_properties/document_grid.rb
224
+ - lib/ooxml_parser/docx_parser/docx_data/document_structure/page_properties/note.rb
225
+ - lib/ooxml_parser/docx_parser/docx_data/document_structure/page_properties/page_margins.rb
226
+ - lib/ooxml_parser/docx_parser/docx_data/document_structure/page_properties/page_properties.rb
227
+ - lib/ooxml_parser/docx_parser/docx_data/document_structure/page_properties/size.rb
228
+ - lib/ooxml_parser/docx_parser/docx_parser.rb
229
+ - lib/ooxml_parser/helpers/string_helper.rb
230
+ - lib/ooxml_parser/pptx_parser/pptx_data/presentation.rb
231
+ - lib/ooxml_parser/pptx_parser/pptx_data/presentation/presentation_comment.rb
232
+ - lib/ooxml_parser/pptx_parser/pptx_data/presentation/presentation_comment/presentation_comment_author.rb
233
+ - lib/ooxml_parser/pptx_parser/pptx_data/presentation/presentation_theme.rb
234
+ - lib/ooxml_parser/pptx_parser/pptx_data/presentation/presentation_theme/theme_color.rb
235
+ - lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide.rb
236
+ - lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/background.rb
237
+ - lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/graphic_frame/graphic_frame.rb
238
+ - lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/presentation_alternate_content.rb
239
+ - lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/shape/non_visual_shape_properties/hyperlinks/hyperlink_for_hover.rb
240
+ - lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/shape/shape_properties/extents.rb
241
+ - lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/shape/shape_properties/offset.rb
242
+ - lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/shape/text_body/paragraph.rb
243
+ - lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/shape/text_body/text_field.rb
244
+ - lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/shapes_grouping/shapes_grouping.rb
245
+ - lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/slide/shapes_grouping.rb
246
+ - lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/slide/shapes_grouping/grouping_properties.rb
247
+ - lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/slide/timing.rb
248
+ - lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/slide/timing/animation_effect/animation_effect.rb
249
+ - lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/slide/timing/set_time_node/behavior/behavior.rb
250
+ - lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/slide/timing/set_time_node/behavior/target_element.rb
251
+ - lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/slide/timing/set_time_node/set_time_node.rb
252
+ - lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/slide/timing/time_node.rb
253
+ - lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/slide/timing/time_node/common_timing.rb
254
+ - lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/slide/timing/time_node/common_timing/condition.rb
255
+ - lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/transition/sound_action/sound/sound.rb
256
+ - lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/transition/sound_action/sound_action.rb
257
+ - lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/transition/transition.rb
258
+ - lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide/transition/transition_properties/transition_properties.rb
259
+ - lib/ooxml_parser/pptx_parser/pptx_data/presentation/slide_size.rb
260
+ - lib/ooxml_parser/pptx_parser/pptx_parser.rb
261
+ - lib/ooxml_parser/version.rb
262
+ - lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook.rb
263
+ - lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet.rb
264
+ - lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet/excel_comments.rb
265
+ - lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet/excel_comments/excel_comment.rb
266
+ - lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet/excel_comments/excel_comment/excel_comment_character.rb
267
+ - lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet/excel_comments/excel_comment/excel_comment_character/excel_comment_character_properties.rb
268
+ - lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet/sheet_format_properties.rb
269
+ - lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet/sheet_view.rb
270
+ - lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet/sheet_view/pane.rb
271
+ - lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet/xlsx_column_properties.rb
272
+ - lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet/xlsx_drawing.rb
273
+ - lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet/xlsx_drawing/xlsx_drawing_position.rb
274
+ - lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet/xlsx_drawing/xlsx_drawing_position/xlsx_drawing_position_parameters.rb
275
+ - lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet/xlsx_drawing/xlsx_shape_grouping.rb
276
+ - lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet/xlsx_row.rb
277
+ - lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet/xlsx_row/xlsx_cell.rb
278
+ - lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet/xlsx_row/xlsx_cell/cell_style.rb
279
+ - lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet/xlsx_row/xlsx_cell/cell_style/alignment.rb
280
+ - lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet/xlsx_row/xlsx_cell/cell_style/foreground_color.rb
281
+ - lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet/xlsx_row/xlsx_cell/cell_style/ooxml_font.rb
282
+ - lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet/xlsx_table.rb
283
+ - lib/ooxml_parser/xlsx_parser/xlsx_parser.rb
284
+ - ooxml_parser.gemspec
285
+ homepage: http://rubygems.org/gems/ooxml_parser
286
+ licenses:
287
+ - AGPL-3.0
288
+ metadata: {}
289
+ post_install_message:
290
+ rdoc_options: []
291
+ require_paths:
292
+ - lib
293
+ required_ruby_version: !ruby/object:Gem::Requirement
294
+ requirements:
295
+ - - ">="
296
+ - !ruby/object:Gem::Version
297
+ version: '1.9'
298
+ required_rubygems_version: !ruby/object:Gem::Requirement
299
+ requirements:
300
+ - - ">="
301
+ - !ruby/object:Gem::Version
302
+ version: '0'
303
+ requirements: []
304
+ rubyforge_project:
305
+ rubygems_version: 2.6.4
306
+ signing_key:
307
+ specification_version: 4
308
+ summary: OoxmlParser Gem
309
+ test_files: []
310
+ has_rdoc: