openxml-docx 0.10.6 → 0.11.0.rc
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -2
- data/Gemfile +7 -1
- data/Gemfile.lock +33 -30
- data/README.md +34 -8
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/openxml/docx.rb +5 -2
- data/lib/openxml/docx/element.rb +9 -0
- data/lib/openxml/docx/elements.rb +2 -2
- data/lib/openxml/docx/elements/absolute_position_tab.rb +1 -1
- data/lib/openxml/docx/elements/background.rb +3 -2
- data/lib/openxml/docx/elements/bidi_embed.rb +3 -1
- data/lib/openxml/docx/elements/bidi_override.rb +3 -1
- data/lib/openxml/docx/elements/book_fold_printing.rb +1 -1
- data/lib/openxml/docx/elements/book_fold_printing_sheets.rb +1 -1
- data/lib/openxml/docx/elements/book_fold_reverse_printing.rb +1 -1
- data/lib/openxml/docx/elements/break.rb +1 -1
- data/lib/openxml/docx/elements/carriage_return.rb +1 -1
- data/lib/openxml/docx/elements/compatibility_setting.rb +3 -1
- data/lib/openxml/docx/elements/compatibility_settings.rb +3 -1
- data/lib/openxml/docx/elements/content_part.rb +1 -1
- data/lib/openxml/docx/elements/control.rb +1 -1
- data/lib/openxml/docx/elements/dirty.rb +1 -1
- data/lib/openxml/docx/elements/drawing.rb +4 -1
- data/lib/openxml/docx/elements/embed_bold.rb +1 -1
- data/lib/openxml/docx/elements/embed_bold_italic.rb +1 -1
- data/lib/openxml/docx/elements/embed_italic.rb +1 -1
- data/lib/openxml/docx/elements/embed_regular.rb +1 -1
- data/lib/openxml/docx/elements/embed_system_fonts.rb +1 -1
- data/lib/openxml/docx/elements/embed_true_type_fonts.rb +1 -1
- data/lib/openxml/docx/elements/even_and_odd_headers.rb +1 -1
- data/lib/openxml/docx/elements/family.rb +1 -1
- data/lib/openxml/docx/elements/font.rb +3 -1
- data/lib/openxml/docx/elements/font_alternate_name.rb +1 -1
- data/lib/openxml/docx/elements/font_character_set.rb +1 -1
- data/lib/openxml/docx/elements/font_panose_one.rb +1 -1
- data/lib/openxml/docx/elements/font_pitch.rb +1 -1
- data/lib/openxml/docx/elements/font_sig.rb +1 -1
- data/lib/openxml/docx/elements/grid_column.rb +1 -1
- data/lib/openxml/docx/elements/group_shape.rb +3 -1
- data/lib/openxml/docx/elements/last_rendered_page_break.rb +1 -1
- data/lib/openxml/docx/elements/long_day.rb +1 -1
- data/lib/openxml/docx/elements/long_month.rb +1 -1
- data/lib/openxml/docx/elements/long_year.rb +1 -1
- data/lib/openxml/docx/elements/markup_compatibility_alternate_content.rb +4 -1
- data/lib/openxml/docx/elements/markup_compatibility_choice.rb +3 -1
- data/lib/openxml/docx/elements/markup_compatibility_fallback.rb +4 -1
- data/lib/openxml/docx/elements/nonbreaking_hyphen.rb +1 -1
- data/lib/openxml/docx/elements/optional_hyphen.rb +1 -1
- data/lib/openxml/docx/elements/page_number.rb +1 -1
- data/lib/openxml/docx/elements/paragraph.rb +3 -1
- data/lib/openxml/docx/elements/ruby.rb +2 -1
- data/lib/openxml/docx/elements/run.rb +3 -1
- data/lib/openxml/docx/elements/save_subset_fonts.rb +1 -1
- data/lib/openxml/docx/elements/section_properties.rb +4 -1
- data/lib/openxml/docx/elements/short_day.rb +1 -1
- data/lib/openxml/docx/elements/short_month.rb +1 -1
- data/lib/openxml/docx/elements/short_year.rb +1 -1
- data/lib/openxml/docx/elements/symbol.rb +1 -1
- data/lib/openxml/docx/elements/tab.rb +1 -1
- data/lib/openxml/docx/elements/table.rb +3 -1
- data/lib/openxml/docx/elements/table_cell.rb +3 -1
- data/lib/openxml/docx/elements/table_grid.rb +3 -1
- data/lib/openxml/docx/elements/table_row.rb +3 -1
- data/lib/openxml/docx/elements/text.rb +1 -1
- data/lib/openxml/docx/elements/textbox_content.rb +4 -1
- data/lib/openxml/docx/elements/title_page.rb +1 -1
- data/lib/openxml/docx/elements/vml_container.rb +3 -1
- data/lib/openxml/docx/elements/word_processing_drawing_anchor.rb +3 -1
- data/lib/openxml/docx/elements/word_processing_drawing_effect_extent.rb +1 -1
- data/lib/openxml/docx/elements/word_processing_drawing_extent.rb +1 -1
- data/lib/openxml/docx/elements/word_processing_drawing_inline.rb +3 -1
- data/lib/openxml/docx/elements/word_processing_drawing_nv_graphic_frame_properties.rb +3 -1
- data/lib/openxml/docx/elements/word_processing_drawing_object_nv_properties.rb +1 -1
- data/lib/openxml/docx/elements/word_processing_drawing_position_h.rb +3 -1
- data/lib/openxml/docx/elements/word_processing_drawing_position_offset.rb +1 -1
- data/lib/openxml/docx/elements/word_processing_drawing_position_v.rb +3 -1
- data/lib/openxml/docx/elements/word_processing_drawing_simple_position.rb +1 -1
- data/lib/openxml/docx/elements/word_processing_drawing_wrap_coordinate.rb +1 -1
- data/lib/openxml/docx/elements/word_processing_drawing_wrap_none.rb +1 -1
- data/lib/openxml/docx/elements/word_processing_drawing_wrap_polygon.rb +3 -1
- data/lib/openxml/docx/elements/word_processing_drawing_wrap_square.rb +1 -1
- data/lib/openxml/docx/elements/word_processing_drawing_wrap_through.rb +3 -1
- data/lib/openxml/docx/elements/word_processing_drawing_wrap_tight.rb +3 -1
- data/lib/openxml/docx/elements/word_processing_drawing_wrap_top_and_bottom.rb +1 -1
- data/lib/openxml/docx/elements/word_processing_groups_group_shape_properties.rb +3 -1
- data/lib/openxml/docx/elements/word_processing_groups_nv_shape_drawing_properties.rb +3 -1
- data/lib/openxml/docx/elements/word_processing_shapes_body_properties.rb +3 -1
- data/lib/openxml/docx/elements/word_processing_shapes_nv_drawing_properties.rb +3 -1
- data/lib/openxml/docx/elements/word_processing_shapes_shape.rb +4 -1
- data/lib/openxml/docx/elements/word_processing_shapes_shape_properties.rb +3 -1
- data/lib/openxml/docx/elements/word_processing_shapes_textual_contents.rb +3 -1
- data/lib/openxml/docx/elements/wordprocessing_shape_group.rb +3 -1
- data/lib/openxml/docx/{property_builder.rb → has_properties.rb} +13 -2
- data/lib/openxml/docx/properties/border.rb +2 -2
- data/lib/openxml/docx/properties/color.rb +1 -1
- data/lib/openxml/docx/properties/complex_property.rb +3 -1
- data/lib/openxml/docx/properties/container_property.rb +3 -1
- data/lib/openxml/docx/properties/shading.rb +2 -2
- data/lib/openxml/docx/properties/table_border.rb +2 -2
- data/lib/openxml/docx/properties/table_cell_border.rb +2 -2
- data/lib/openxml/docx/properties/underline.rb +1 -1
- data/lib/openxml/docx/section.rb +1 -1
- data/lib/openxml/docx/style.rb +3 -2
- data/lib/openxml/docx/version.rb +1 -1
- data/lib/openxml/vml.rb +1 -2
- data/lib/openxml/vml/elements.rb +2 -2
- data/lib/openxml/vml/elements/group.rb +3 -1
- data/lib/openxml/vml/elements/rectangle.rb +3 -1
- data/lib/openxml/vml/elements/rounded_rectangle.rb +3 -1
- data/openxml-docx.gemspec +29 -22
- metadata +47 -347
- data/lib/openxml/docx/attribute_builder.rb +0 -327
- data/lib/openxml/docx/elements/container.rb +0 -37
- data/lib/openxml/docx/elements/element.rb +0 -65
- data/lib/openxml/drawingml.rb +0 -17
- data/lib/openxml/drawingml/elements.rb +0 -13
- data/lib/openxml/drawingml/elements/adjust_values_list.rb +0 -11
- data/lib/openxml/drawingml/elements/blip.rb +0 -18
- data/lib/openxml/drawingml/elements/blip_fill.rb +0 -14
- data/lib/openxml/drawingml/elements/children_extents.rb +0 -14
- data/lib/openxml/drawingml/elements/children_offset.rb +0 -14
- data/lib/openxml/drawingml/elements/extension.rb +0 -13
- data/lib/openxml/drawingml/elements/extension_list.rb +0 -11
- data/lib/openxml/drawingml/elements/extents.rb +0 -14
- data/lib/openxml/drawingml/elements/fill_rectangle.rb +0 -16
- data/lib/openxml/drawingml/elements/graphic.rb +0 -10
- data/lib/openxml/drawingml/elements/graphic_data.rb +0 -12
- data/lib/openxml/drawingml/elements/graphic_frame_locks.rb +0 -17
- data/lib/openxml/drawingml/elements/head_end.rb +0 -28
- data/lib/openxml/drawingml/elements/no_autofit.rb +0 -10
- data/lib/openxml/drawingml/elements/no_fill.rb +0 -10
- data/lib/openxml/drawingml/elements/non_visual_drawing_properties.rb +0 -17
- data/lib/openxml/drawingml/elements/non_visual_picture_drawing_properties.rb +0 -12
- data/lib/openxml/drawingml/elements/non_visual_picture_properties.rb +0 -10
- data/lib/openxml/drawingml/elements/non_visual_shape_drawing_properties.rb +0 -12
- data/lib/openxml/drawingml/elements/offset.rb +0 -14
- data/lib/openxml/drawingml/elements/outline.rb +0 -36
- data/lib/openxml/drawingml/elements/picture.rb +0 -10
- data/lib/openxml/drawingml/elements/picture_locks.rb +0 -23
- data/lib/openxml/drawingml/elements/picture_shape_properties.rb +0 -13
- data/lib/openxml/drawingml/elements/preset_geometry.rb +0 -210
- data/lib/openxml/drawingml/elements/preset_text_warp.rb +0 -25
- data/lib/openxml/drawingml/elements/round.rb +0 -10
- data/lib/openxml/drawingml/elements/shape_guide.rb +0 -40
- data/lib/openxml/drawingml/elements/solid_fill.rb +0 -10
- data/lib/openxml/drawingml/elements/source_rectangle.rb +0 -16
- data/lib/openxml/drawingml/elements/srgb_color.rb +0 -14
- data/lib/openxml/drawingml/elements/stretch.rb +0 -10
- data/lib/openxml/drawingml/elements/tail_end.rb +0 -28
- data/lib/openxml/drawingml/elements/transform_effect.rb +0 -18
- data/spec/elements/absolute_position_tab_spec.rb +0 -58
- data/spec/elements/background_spec.rb +0 -52
- data/spec/elements/bidi_embed_spec.rb +0 -35
- data/spec/elements/bidi_override_spec.rb +0 -35
- data/spec/elements/book_fold_printing_sheets_spec.rb +0 -27
- data/spec/elements/book_fold_printing_spec.rb +0 -19
- data/spec/elements/book_fold_reverse_printing_spec.rb +0 -19
- data/spec/elements/break_spec.rb +0 -34
- data/spec/elements/carriage_return_spec.rb +0 -12
- data/spec/elements/compatibility_setting_spec.rb +0 -41
- data/spec/elements/compatibility_settings_spec.rb +0 -8
- data/spec/elements/content_part_spec.rb +0 -18
- data/spec/elements/control_spec.rb +0 -41
- data/spec/elements/deleted_text_spec.rb +0 -24
- data/spec/elements/dirty_spec.rb +0 -12
- data/spec/elements/drawing_spec.rb +0 -11
- data/spec/elements/drawingml/adjust_values_list_spec.rb +0 -8
- data/spec/elements/drawingml/blip_fill_spec.rb +0 -44
- data/spec/elements/drawingml/blip_spec.rb +0 -47
- data/spec/elements/drawingml/extension_list_spec.rb +0 -8
- data/spec/elements/drawingml/extension_spec.rb +0 -19
- data/spec/elements/drawingml/extents_spec.rb +0 -33
- data/spec/elements/drawingml/fill_rectangle_spec.rb +0 -76
- data/spec/elements/drawingml/graphic_data_spec.rb +0 -19
- data/spec/elements/drawingml/graphic_frame_locks_spec.rb +0 -107
- data/spec/elements/drawingml/graphic_spec.rb +0 -8
- data/spec/elements/drawingml/head_end_spec.rb +0 -48
- data/spec/elements/drawingml/no_autofit_spec.rb +0 -8
- data/spec/elements/drawingml/no_fill_spec.rb +0 -8
- data/spec/elements/drawingml/non_visual_drawing_properties_spec.rb +0 -68
- data/spec/elements/drawingml/non_visual_picture_drawing_properties_spec.rb +0 -23
- data/spec/elements/drawingml/non_visual_picture_properties_spec.rb +0 -8
- data/spec/elements/drawingml/non_visual_shape_drawing_properties_spec.rb +0 -24
- data/spec/elements/drawingml/offset_spec.rb +0 -42
- data/spec/elements/drawingml/outline_spec.rb +0 -64
- data/spec/elements/drawingml/picture_locks_spec.rb +0 -122
- data/spec/elements/drawingml/picture_shape_properties_spec.rb +0 -21
- data/spec/elements/drawingml/picture_spec.rb +0 -8
- data/spec/elements/drawingml/preset_geometry_spec.rb +0 -19
- data/spec/elements/drawingml/preset_text_warp_spec.rb +0 -36
- data/spec/elements/drawingml/round_spec.rb +0 -8
- data/spec/elements/drawingml/shape_guide_spec.rb +0 -53
- data/spec/elements/drawingml/solid_fill_spec.rb +0 -8
- data/spec/elements/drawingml/source_rectangle_spec.rb +0 -76
- data/spec/elements/drawingml/srgb_color_spec.rb +0 -19
- data/spec/elements/drawingml/stretch_spec.rb +0 -8
- data/spec/elements/drawingml/tail_end_spec.rb +0 -47
- data/spec/elements/drawingml/transform_effect_spec.rb +0 -102
- data/spec/elements/embed_system_fonts_spec.rb +0 -19
- data/spec/elements/embed_true_type_fonts_spec.rb +0 -19
- data/spec/elements/even_and_odd_headers_spec.rb +0 -23
- data/spec/elements/font_alternate_name_spec.rb +0 -19
- data/spec/elements/font_character_set_spec.rb +0 -19
- data/spec/elements/font_panose_one_spec.rb +0 -19
- data/spec/elements/font_pitch_spec.rb +0 -21
- data/spec/elements/font_sig_spec.rb +0 -74
- data/spec/elements/grid_column_spec.rb +0 -15
- data/spec/elements/group_shape_spec.rb +0 -11
- data/spec/elements/last_rendered_page_break_spec.rb +0 -12
- data/spec/elements/long_day_spec.rb +0 -12
- data/spec/elements/long_month_spec.rb +0 -12
- data/spec/elements/long_year_spec.rb +0 -12
- data/spec/elements/markup_compatibility_alternate_content_spec.rb +0 -11
- data/spec/elements/markup_compatibility_choice_spec.rb +0 -22
- data/spec/elements/markup_compatibility_fallback_spec.rb +0 -11
- data/spec/elements/nonbreaking_hyphen_spec.rb +0 -12
- data/spec/elements/optional_hyphen_spec.rb +0 -12
- data/spec/elements/page_number_spec.rb +0 -12
- data/spec/elements/paragraph_spec.rb +0 -60
- data/spec/elements/ruby_spec.rb +0 -66
- data/spec/elements/run_spec.rb +0 -15
- data/spec/elements/save_subset_fonts_spec.rb +0 -19
- data/spec/elements/section_properties_spec.rb +0 -12
- data/spec/elements/short_day_spec.rb +0 -12
- data/spec/elements/short_month_spec.rb +0 -12
- data/spec/elements/short_year_spec.rb +0 -12
- data/spec/elements/symbol_spec.rb +0 -31
- data/spec/elements/tab_spec.rb +0 -12
- data/spec/elements/table_cell_spec.rb +0 -15
- data/spec/elements/table_grid_spec.rb +0 -17
- data/spec/elements/table_row_spec.rb +0 -18
- data/spec/elements/table_spec.rb +0 -21
- data/spec/elements/text_spec.rb +0 -24
- data/spec/elements/textbox_content_spec.rb +0 -8
- data/spec/elements/title_page_spec.rb +0 -23
- data/spec/elements/vml/group_spec.rb +0 -534
- data/spec/elements/vml/rectangle_spec.rb +0 -729
- data/spec/elements/vml/rounded_rectangle_spec.rb +0 -784
- data/spec/elements/vml_container_spec.rb +0 -11
- data/spec/elements/word_processing_drawing_anchor_spec.rb +0 -122
- data/spec/elements/word_processing_drawing_effect_extent_spec.rb +0 -77
- data/spec/elements/word_processing_drawing_extent_spec.rb +0 -34
- data/spec/elements/word_processing_drawing_nv_graphic_frame_properties_spec.rb +0 -11
- data/spec/elements/word_processing_drawing_object_nv_properties_spec.rb +0 -67
- data/spec/elements/word_processing_drawing_position_h_spec.rb +0 -22
- data/spec/elements/word_processing_drawing_position_v_spec.rb +0 -22
- data/spec/elements/word_processing_drawing_simple_position_spec.rb +0 -44
- data/spec/elements/word_processing_drawing_wrap_coordinate_spec.rb +0 -40
- data/spec/elements/word_processing_drawing_wrap_none_spec.rb +0 -12
- data/spec/elements/word_processing_drawing_wrap_polygon_spec.rb +0 -23
- data/spec/elements/word_processing_drawing_wrap_square_spec.rb +0 -65
- data/spec/elements/word_processing_drawing_wrap_through_spec.rb +0 -43
- data/spec/elements/word_processing_drawing_wrap_tight_spec.rb +0 -43
- data/spec/elements/word_processing_drawing_wrap_top_and_bottom_spec.rb +0 -30
- data/spec/elements/word_processing_groups_group_shape_properties_spec.rb +0 -21
- data/spec/elements/word_processing_groups_nv_shape_drawing_properties_spec.rb +0 -8
- data/spec/elements/word_processing_shapes_body_properties_spec.rb +0 -232
- data/spec/elements/word_processing_shapes_nv_drawing_properties_spec.rb +0 -64
- data/spec/elements/word_processing_shapes_shape_properties_spec.rb +0 -22
- data/spec/elements/word_processing_shapes_shape_spec.rb +0 -23
- data/spec/elements/word_processing_shapes_textual_content_spec.rb +0 -23
- data/spec/elements/wordprocessing_shape_group_spec.rb +0 -12
- data/spec/package_spec.rb +0 -36
- data/spec/parts/document_spec.rb +0 -95
- data/spec/parts/footer_spec.rb +0 -33
- data/spec/parts/header_spec.rb +0 -33
- data/spec/parts/settings_spec.rb +0 -19
- data/spec/parts/styles_spec.rb +0 -27
- data/spec/properties/alignment_spec.rb +0 -58
- data/spec/properties/auto_adjust_right_indent_spec.rb +0 -23
- data/spec/properties/auto_space_de_spec.rb +0 -23
- data/spec/properties/auto_space_dn_spec.rb +0 -23
- data/spec/properties/bidi_spec.rb +0 -22
- data/spec/properties/bold_spec.rb +0 -22
- data/spec/properties/border_spec.rb +0 -82
- data/spec/properties/cant_split_spec.rb +0 -22
- data/spec/properties/caps_spec.rb +0 -22
- data/spec/properties/character_spacing_spec.rb +0 -26
- data/spec/properties/color_spec.rb +0 -29
- data/spec/properties/column_spec.rb +0 -30
- data/spec/properties/columns_spec.rb +0 -164
- data/spec/properties/complex_bold_spec.rb +0 -22
- data/spec/properties/complex_font_size_spec.rb +0 -24
- data/spec/properties/complex_italics_spec.rb +0 -22
- data/spec/properties/complex_script_formatting_spec.rb +0 -22
- data/spec/properties/compress_punctuation_spec.rb +0 -32
- data/spec/properties/conditional_formatting_spec.rb +0 -64
- data/spec/properties/contextual_spacing_spec.rb +0 -22
- data/spec/properties/div_id_spec.rb +0 -17
- data/spec/properties/document_grid_spec.rb +0 -37
- data/spec/properties/double_strikethrough_spec.rb +0 -23
- data/spec/properties/east_asian_layout_spec.rb +0 -55
- data/spec/properties/effect_spec.rb +0 -43
- data/spec/properties/emboss_spec.rb +0 -22
- data/spec/properties/emphasis_spec.rb +0 -37
- data/spec/properties/even_and_odd_headers_spec.rb +0 -22
- data/spec/properties/expansion_spec.rb +0 -34
- data/spec/properties/font_size_spec.rb +0 -24
- data/spec/properties/font_spec.rb +0 -70
- data/spec/properties/footer_reference_spec.rb +0 -32
- data/spec/properties/form_protection_spec.rb +0 -22
- data/spec/properties/frame_spec.rb +0 -101
- data/spec/properties/grid_after_spec.rb +0 -26
- data/spec/properties/grid_before_spec.rb +0 -26
- data/spec/properties/grid_span_spec.rb +0 -24
- data/spec/properties/header_reference_spec.rb +0 -32
- data/spec/properties/header_spec.rb +0 -17
- data/spec/properties/headers_spec.rb +0 -39
- data/spec/properties/hidden_spec.rb +0 -22
- data/spec/properties/hidden_style_spec.rb +0 -22
- data/spec/properties/hidden_text_spec.rb +0 -22
- data/spec/properties/hide_mark_spec.rb +0 -22
- data/spec/properties/highlight_spec.rb +0 -97
- data/spec/properties/imprint_spec.rb +0 -22
- data/spec/properties/indentation_spec.rb +0 -100
- data/spec/properties/italics_spec.rb +0 -22
- data/spec/properties/keep_lines_spec.rb +0 -22
- data/spec/properties/keep_next_spec.rb +0 -22
- data/spec/properties/kerning_spec.rb +0 -24
- data/spec/properties/kinsoku_spec.rb +0 -32
- data/spec/properties/language_spec.rb +0 -20
- data/spec/properties/latent_styles_exception_spec.rb +0 -68
- data/spec/properties/latent_styles_spec.rb +0 -323
- data/spec/properties/line_numbering_spec.rb +0 -43
- data/spec/properties/linked_style_spec.rb +0 -17
- data/spec/properties/manual_width_spec.rb +0 -30
- data/spec/properties/math_spec.rb +0 -22
- data/spec/properties/mirror_indent_spec.rb +0 -22
- data/spec/properties/next_style_spec.rb +0 -17
- data/spec/properties/no_proof_spec.rb +0 -23
- data/spec/properties/no_wrap_spec.rb +0 -22
- data/spec/properties/numbering_spec.rb +0 -37
- data/spec/properties/outline_level_spec.rb +0 -20
- data/spec/properties/outline_spec.rb +0 -23
- data/spec/properties/overflow_punctuation_spec.rb +0 -23
- data/spec/properties/page_borders_spec.rb +0 -129
- data/spec/properties/page_break_before_spec.rb +0 -22
- data/spec/properties/page_margins_spec.rb +0 -64
- data/spec/properties/page_numbering_spec.rb +0 -54
- data/spec/properties/page_size_spec.rb +0 -43
- data/spec/properties/paper_source_spec.rb +0 -30
- data/spec/properties/paragraph_borders_spec.rb +0 -66
- data/spec/properties/paragraph_style_spec.rb +0 -12
- data/spec/properties/parent_style_spec.rb +0 -17
- data/spec/properties/personal_compose_spec.rb +0 -23
- data/spec/properties/personal_reply_spec.rb +0 -23
- data/spec/properties/personal_spec.rb +0 -23
- data/spec/properties/phonetic_guide_alignment_spec.rb +0 -42
- data/spec/properties/phonetic_guide_base_font_size_spec.rb +0 -25
- data/spec/properties/phonetic_guide_font_size_raise_spec.rb +0 -25
- data/spec/properties/phonetic_guide_font_size_spec.rb +0 -25
- data/spec/properties/phonetic_guide_language_spec.rb +0 -12
- data/spec/properties/position_spec.rb +0 -26
- data/spec/properties/primary_style_spec.rb +0 -22
- data/spec/properties/right_to_left_spec.rb +0 -22
- data/spec/properties/rtl_gutter_spec.rb +0 -23
- data/spec/properties/run_style_spec.rb +0 -12
- data/spec/properties/section_type_spec.rb +0 -33
- data/spec/properties/semi_hidden_spec.rb +0 -22
- data/spec/properties/shading_spec.rb +0 -64
- data/spec/properties/shadow_property_spec.rb +0 -23
- data/spec/properties/small_caps_spec.rb +0 -22
- data/spec/properties/snap_to_grid_spec.rb +0 -32
- data/spec/properties/spacing_spec.rb +0 -67
- data/spec/properties/spec_vanish_spec.rb +0 -22
- data/spec/properties/strikethrough_spec.rb +0 -23
- data/spec/properties/style_aliases_spec.rb +0 -22
- data/spec/properties/style_auto_redefinition_spec.rb +0 -22
- data/spec/properties/style_lock_spec.rb +0 -22
- data/spec/properties/style_name_spec.rb +0 -17
- data/spec/properties/supress_auto_hyphens_spec.rb +0 -22
- data/spec/properties/supress_line_numbers_spec.rb +0 -22
- data/spec/properties/supress_overlap_spec.rb +0 -22
- data/spec/properties/tab_spec.rb +0 -45
- data/spec/properties/table_border_spec.rb +0 -119
- data/spec/properties/table_borders_spec.rb +0 -41
- data/spec/properties/table_caption_spec.rb +0 -17
- data/spec/properties/table_cell_border_spec.rb +0 -119
- data/spec/properties/table_cell_borders_spec.rb +0 -40
- data/spec/properties/table_cell_cell_margin_spec.rb +0 -46
- data/spec/properties/table_cell_fit_text_spec.rb +0 -23
- data/spec/properties/table_cell_margin_spec.rb +0 -40
- data/spec/properties/table_cell_margins_spec.rb +0 -46
- data/spec/properties/table_cell_spacing_spec.rb +0 -21
- data/spec/properties/table_cell_width_spec.rb +0 -21
- data/spec/properties/table_description_spec.rb +0 -17
- data/spec/properties/table_header_spec.rb +0 -22
- data/spec/properties/table_indent_spec.rb +0 -43
- data/spec/properties/table_layout_spec.rb +0 -24
- data/spec/properties/table_look_spec.rb +0 -43
- data/spec/properties/table_overlap_spec.rb +0 -22
- data/spec/properties/table_p_pr_spec.rb +0 -68
- data/spec/properties/table_row_height_spec.rb +0 -20
- data/spec/properties/table_style_spec.rb +0 -17
- data/spec/properties/table_width_spec.rb +0 -21
- data/spec/properties/tabs_spec.rb +0 -39
- data/spec/properties/text_alignment_spec.rb +0 -33
- data/spec/properties/text_direction_spec.rb +0 -47
- data/spec/properties/textbox_tight_wrap_spec.rb +0 -33
- data/spec/properties/title_page_spec.rb +0 -22
- data/spec/properties/ui_priority_spec.rb +0 -22
- data/spec/properties/underline_spec.rb +0 -45
- data/spec/properties/unhide_when_used_spec.rb +0 -22
- data/spec/properties/valign_spec.rb +0 -19
- data/spec/properties/vertical_alignment_spec.rb +0 -26
- data/spec/properties/vertical_merge_spec.rb +0 -22
- data/spec/properties/vertical_text_alignment_spec.rb +0 -28
- data/spec/properties/wafter_spec.rb +0 -21
- data/spec/properties/wbefore_spec.rb +0 -21
- data/spec/properties/web_hidden_spec.rb +0 -22
- data/spec/properties/widow_control_spec.rb +0 -33
- data/spec/properties/word_wrap_spec.rb +0 -33
- data/spec/section_spec.rb +0 -48
- data/spec/spec_helper.rb +0 -16
- data/spec/style_spec.rb +0 -108
- data/spec/support/data/elements/break_element.xml +0 -4
- data/spec/support/data/elements/break_with_attributes_element.xml +0 -4
- data/spec/support/data/elements/grid_column_element.xml +0 -4
- data/spec/support/data/elements/paragraph_element.xml +0 -8
- data/spec/support/data/elements/paragraph_with_runs_element.xml +0 -14
- data/spec/support/data/elements/paragraph_with_section_properties_element.xml +0 -13
- data/spec/support/data/elements/run_element.xml +0 -8
- data/spec/support/data/elements/symbol_element.xml +0 -4
- data/spec/support/data/elements/table_cell_element.xml +0 -8
- data/spec/support/data/elements/table_element.xml +0 -18
- data/spec/support/data/elements/table_grid_element.xml +0 -6
- data/spec/support/data/elements/table_row_element.xml +0 -13
- data/spec/support/data/elements/text_element.xml +0 -4
- data/spec/support/data/parts/content_types_part.xml +0 -1
- data/spec/support/data/parts/document_with_children_part.xml +0 -2
- data/spec/support/data/parts/document_with_multiple_sections_part.xml +0 -24
- data/spec/support/data/parts/document_with_one_section_part.xml +0 -16
- data/spec/support/data/parts/empty_document_part.xml +0 -1
- data/spec/support/data/parts/empty_footer_part.xml +0 -1
- data/spec/support/data/parts/empty_header_part.xml +0 -1
- data/spec/support/data/parts/footer_with_children_part.xml +0 -1
- data/spec/support/data/parts/global_rels_part.xml +0 -1
- data/spec/support/data/parts/header_with_children_part.xml +0 -1
- data/spec/support/data/parts/rels_part.xml +0 -1
- data/spec/support/data/parts/settings_part.xml +0 -1
- data/spec/support/data/parts/styles_part.xml +0 -1
- data/spec/support/data/parts/styles_with_custom_style_part.xml +0 -20
- data/spec/support/data/styles/character_styles.xml +0 -15
- data/spec/support/data/styles/paragraph_styles.xml +0 -11
- data/spec/support/element_test_macros.rb +0 -242
- data/spec/support/part_test_macros.rb +0 -27
- data/spec/support/property_test_macros.rb +0 -177
- data/spec/support/style_test_macros.rb +0 -33
- data/spec/support/value_property_test_macros.rb +0 -69
data/lib/openxml/vml.rb
CHANGED
@@ -4,8 +4,7 @@ module OpenXml
|
|
4
4
|
end
|
5
5
|
|
6
6
|
# For now, we'll rely on Docx's basic implementations
|
7
|
-
require "openxml/docx/
|
8
|
-
require "openxml/docx/property_builder"
|
7
|
+
require "openxml/docx/has_properties"
|
9
8
|
require "openxml/docx/properties"
|
10
9
|
require "openxml/docx/elements"
|
11
10
|
require "openxml/docx/package"
|
data/lib/openxml/vml/elements.rb
CHANGED
@@ -5,8 +5,8 @@ module OpenXml
|
|
5
5
|
end
|
6
6
|
end
|
7
7
|
|
8
|
-
require "openxml/
|
9
|
-
require "openxml/
|
8
|
+
require "openxml/element"
|
9
|
+
require "openxml/has_children"
|
10
10
|
require "openxml/docx/elements/text"
|
11
11
|
Dir.glob("#{File.join(File.dirname(__FILE__), "elements", "*.rb")}").each do |file|
|
12
12
|
require file
|
data/openxml-docx.gemspec
CHANGED
@@ -1,32 +1,39 @@
|
|
1
|
-
#
|
1
|
+
# coding: utf-8
|
2
2
|
lib = File.expand_path("../lib", __FILE__)
|
3
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
4
|
require "openxml/docx/version"
|
5
5
|
|
6
|
-
Gem::Specification.new do |
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "openxml-docx"
|
8
|
+
spec.version = OpenXml::Docx::VERSION
|
9
|
+
spec.authors = ["Gene Doyel", "Bob Lail"]
|
10
|
+
spec.email = ["genedoyel@gmail.com", "bob.lailfamily@gmail.com"]
|
11
11
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
12
|
+
spec.description = %q{Create Microsoft Word (.docx) files.}
|
13
|
+
spec.summary = %q{Implements the Office Open XML spec for creating WordprocessingML documents}
|
14
|
+
spec.homepage = "https://github.com/openxml/openxml-docx"
|
15
|
+
spec.license = "MIT"
|
16
16
|
|
17
|
-
|
18
|
-
|
19
|
-
|
17
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
18
|
+
spec.bindir = "exe"
|
19
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
|
+
spec.require_paths = ["lib"]
|
20
21
|
|
21
|
-
|
22
|
+
spec.required_ruby_version = "~> 2.0"
|
22
23
|
|
23
|
-
|
24
|
-
|
24
|
+
spec.add_dependency "nokogiri"
|
25
|
+
spec.add_dependency "openxml-package", ">= 0.2.2"
|
26
|
+
spec.add_dependency "openxml-drawingml"
|
25
27
|
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
28
|
+
# Ox 2.4.10 changed how special characters are encoded,
|
29
|
+
# but a few of openxml-docx's tests rely on the previous
|
30
|
+
# behavior. Remove this line after refactoring those tests.
|
31
|
+
spec.add_dependency "ox", "~> 2.4.3", "< 2.4.10"
|
32
|
+
|
33
|
+
spec.add_development_dependency "pry"
|
34
|
+
spec.add_development_dependency "rspec"
|
35
|
+
spec.add_development_dependency "rake"
|
36
|
+
spec.add_development_dependency "rr"
|
37
|
+
spec.add_development_dependency "simplecov"
|
38
|
+
spec.add_development_dependency "timecop"
|
32
39
|
end
|
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openxml-docx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.0.rc
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gene Doyel
|
8
|
+
- Bob Lail
|
8
9
|
autorequire:
|
9
|
-
bindir:
|
10
|
+
bindir: exe
|
10
11
|
cert_chain: []
|
11
|
-
date: 2017-
|
12
|
+
date: 2017-06-13 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: nokogiri
|
@@ -38,6 +39,40 @@ dependencies:
|
|
38
39
|
- - ">="
|
39
40
|
- !ruby/object:Gem::Version
|
40
41
|
version: 0.2.2
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: openxml-drawingml
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - ">="
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '0'
|
49
|
+
type: :runtime
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - ">="
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: ox
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - "~>"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: 2.4.3
|
63
|
+
- - "<"
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: 2.4.10
|
66
|
+
type: :runtime
|
67
|
+
prerelease: false
|
68
|
+
version_requirements: !ruby/object:Gem::Requirement
|
69
|
+
requirements:
|
70
|
+
- - "~>"
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: 2.4.3
|
73
|
+
- - "<"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 2.4.10
|
41
76
|
- !ruby/object:Gem::Dependency
|
42
77
|
name: pry
|
43
78
|
requirement: !ruby/object:Gem::Requirement
|
@@ -125,6 +160,7 @@ dependencies:
|
|
125
160
|
description: Create Microsoft Word (.docx) files.
|
126
161
|
email:
|
127
162
|
- genedoyel@gmail.com
|
163
|
+
- bob.lailfamily@gmail.com
|
128
164
|
executables: []
|
129
165
|
extensions: []
|
130
166
|
extra_rdoc_files: []
|
@@ -136,6 +172,8 @@ files:
|
|
136
172
|
- LICENSE.txt
|
137
173
|
- README.md
|
138
174
|
- Rakefile
|
175
|
+
- bin/console
|
176
|
+
- bin/setup
|
139
177
|
- examples/base
|
140
178
|
- examples/booklet-printing
|
141
179
|
- examples/drawing-ml
|
@@ -144,7 +182,7 @@ files:
|
|
144
182
|
- examples/table
|
145
183
|
- lib/openxml-docx.rb
|
146
184
|
- lib/openxml/docx.rb
|
147
|
-
- lib/openxml/docx/
|
185
|
+
- lib/openxml/docx/element.rb
|
148
186
|
- lib/openxml/docx/elements.rb
|
149
187
|
- lib/openxml/docx/elements/absolute_position_tab.rb
|
150
188
|
- lib/openxml/docx/elements/background.rb
|
@@ -157,13 +195,11 @@ files:
|
|
157
195
|
- lib/openxml/docx/elements/carriage_return.rb
|
158
196
|
- lib/openxml/docx/elements/compatibility_setting.rb
|
159
197
|
- lib/openxml/docx/elements/compatibility_settings.rb
|
160
|
-
- lib/openxml/docx/elements/container.rb
|
161
198
|
- lib/openxml/docx/elements/content_part.rb
|
162
199
|
- lib/openxml/docx/elements/control.rb
|
163
200
|
- lib/openxml/docx/elements/deleted_text.rb
|
164
201
|
- lib/openxml/docx/elements/dirty.rb
|
165
202
|
- lib/openxml/docx/elements/drawing.rb
|
166
|
-
- lib/openxml/docx/elements/element.rb
|
167
203
|
- lib/openxml/docx/elements/embed_bold.rb
|
168
204
|
- lib/openxml/docx/elements/embed_bold_italic.rb
|
169
205
|
- lib/openxml/docx/elements/embed_italic.rb
|
@@ -234,6 +270,7 @@ files:
|
|
234
270
|
- lib/openxml/docx/elements/word_processing_shapes_shape_properties.rb
|
235
271
|
- lib/openxml/docx/elements/word_processing_shapes_textual_contents.rb
|
236
272
|
- lib/openxml/docx/elements/wordprocessing_shape_group.rb
|
273
|
+
- lib/openxml/docx/has_properties.rb
|
237
274
|
- lib/openxml/docx/package.rb
|
238
275
|
- lib/openxml/docx/parts.rb
|
239
276
|
- lib/openxml/docx/parts/document.rb
|
@@ -401,352 +438,16 @@ files:
|
|
401
438
|
- lib/openxml/docx/properties/web_hidden.rb
|
402
439
|
- lib/openxml/docx/properties/widow_control.rb
|
403
440
|
- lib/openxml/docx/properties/word_wrap.rb
|
404
|
-
- lib/openxml/docx/property_builder.rb
|
405
441
|
- lib/openxml/docx/root_namespaces.rb
|
406
442
|
- lib/openxml/docx/section.rb
|
407
443
|
- lib/openxml/docx/style.rb
|
408
444
|
- lib/openxml/docx/version.rb
|
409
|
-
- lib/openxml/drawingml.rb
|
410
|
-
- lib/openxml/drawingml/elements.rb
|
411
|
-
- lib/openxml/drawingml/elements/adjust_values_list.rb
|
412
|
-
- lib/openxml/drawingml/elements/blip.rb
|
413
|
-
- lib/openxml/drawingml/elements/blip_fill.rb
|
414
|
-
- lib/openxml/drawingml/elements/children_extents.rb
|
415
|
-
- lib/openxml/drawingml/elements/children_offset.rb
|
416
|
-
- lib/openxml/drawingml/elements/extension.rb
|
417
|
-
- lib/openxml/drawingml/elements/extension_list.rb
|
418
|
-
- lib/openxml/drawingml/elements/extents.rb
|
419
|
-
- lib/openxml/drawingml/elements/fill_rectangle.rb
|
420
|
-
- lib/openxml/drawingml/elements/graphic.rb
|
421
|
-
- lib/openxml/drawingml/elements/graphic_data.rb
|
422
|
-
- lib/openxml/drawingml/elements/graphic_frame_locks.rb
|
423
|
-
- lib/openxml/drawingml/elements/head_end.rb
|
424
|
-
- lib/openxml/drawingml/elements/no_autofit.rb
|
425
|
-
- lib/openxml/drawingml/elements/no_fill.rb
|
426
|
-
- lib/openxml/drawingml/elements/non_visual_drawing_properties.rb
|
427
|
-
- lib/openxml/drawingml/elements/non_visual_picture_drawing_properties.rb
|
428
|
-
- lib/openxml/drawingml/elements/non_visual_picture_properties.rb
|
429
|
-
- lib/openxml/drawingml/elements/non_visual_shape_drawing_properties.rb
|
430
|
-
- lib/openxml/drawingml/elements/offset.rb
|
431
|
-
- lib/openxml/drawingml/elements/outline.rb
|
432
|
-
- lib/openxml/drawingml/elements/picture.rb
|
433
|
-
- lib/openxml/drawingml/elements/picture_locks.rb
|
434
|
-
- lib/openxml/drawingml/elements/picture_shape_properties.rb
|
435
|
-
- lib/openxml/drawingml/elements/preset_geometry.rb
|
436
|
-
- lib/openxml/drawingml/elements/preset_text_warp.rb
|
437
|
-
- lib/openxml/drawingml/elements/round.rb
|
438
|
-
- lib/openxml/drawingml/elements/shape_guide.rb
|
439
|
-
- lib/openxml/drawingml/elements/solid_fill.rb
|
440
|
-
- lib/openxml/drawingml/elements/source_rectangle.rb
|
441
|
-
- lib/openxml/drawingml/elements/srgb_color.rb
|
442
|
-
- lib/openxml/drawingml/elements/stretch.rb
|
443
|
-
- lib/openxml/drawingml/elements/tail_end.rb
|
444
|
-
- lib/openxml/drawingml/elements/transform_effect.rb
|
445
445
|
- lib/openxml/vml.rb
|
446
446
|
- lib/openxml/vml/elements.rb
|
447
447
|
- lib/openxml/vml/elements/group.rb
|
448
448
|
- lib/openxml/vml/elements/rectangle.rb
|
449
449
|
- lib/openxml/vml/elements/rounded_rectangle.rb
|
450
450
|
- openxml-docx.gemspec
|
451
|
-
- spec/elements/absolute_position_tab_spec.rb
|
452
|
-
- spec/elements/background_spec.rb
|
453
|
-
- spec/elements/bidi_embed_spec.rb
|
454
|
-
- spec/elements/bidi_override_spec.rb
|
455
|
-
- spec/elements/book_fold_printing_sheets_spec.rb
|
456
|
-
- spec/elements/book_fold_printing_spec.rb
|
457
|
-
- spec/elements/book_fold_reverse_printing_spec.rb
|
458
|
-
- spec/elements/break_spec.rb
|
459
|
-
- spec/elements/carriage_return_spec.rb
|
460
|
-
- spec/elements/compatibility_setting_spec.rb
|
461
|
-
- spec/elements/compatibility_settings_spec.rb
|
462
|
-
- spec/elements/content_part_spec.rb
|
463
|
-
- spec/elements/control_spec.rb
|
464
|
-
- spec/elements/deleted_text_spec.rb
|
465
|
-
- spec/elements/dirty_spec.rb
|
466
|
-
- spec/elements/drawing_spec.rb
|
467
|
-
- spec/elements/drawingml/adjust_values_list_spec.rb
|
468
|
-
- spec/elements/drawingml/blip_fill_spec.rb
|
469
|
-
- spec/elements/drawingml/blip_spec.rb
|
470
|
-
- spec/elements/drawingml/extension_list_spec.rb
|
471
|
-
- spec/elements/drawingml/extension_spec.rb
|
472
|
-
- spec/elements/drawingml/extents_spec.rb
|
473
|
-
- spec/elements/drawingml/fill_rectangle_spec.rb
|
474
|
-
- spec/elements/drawingml/graphic_data_spec.rb
|
475
|
-
- spec/elements/drawingml/graphic_frame_locks_spec.rb
|
476
|
-
- spec/elements/drawingml/graphic_spec.rb
|
477
|
-
- spec/elements/drawingml/head_end_spec.rb
|
478
|
-
- spec/elements/drawingml/no_autofit_spec.rb
|
479
|
-
- spec/elements/drawingml/no_fill_spec.rb
|
480
|
-
- spec/elements/drawingml/non_visual_drawing_properties_spec.rb
|
481
|
-
- spec/elements/drawingml/non_visual_picture_drawing_properties_spec.rb
|
482
|
-
- spec/elements/drawingml/non_visual_picture_properties_spec.rb
|
483
|
-
- spec/elements/drawingml/non_visual_shape_drawing_properties_spec.rb
|
484
|
-
- spec/elements/drawingml/offset_spec.rb
|
485
|
-
- spec/elements/drawingml/outline_spec.rb
|
486
|
-
- spec/elements/drawingml/picture_locks_spec.rb
|
487
|
-
- spec/elements/drawingml/picture_shape_properties_spec.rb
|
488
|
-
- spec/elements/drawingml/picture_spec.rb
|
489
|
-
- spec/elements/drawingml/preset_geometry_spec.rb
|
490
|
-
- spec/elements/drawingml/preset_text_warp_spec.rb
|
491
|
-
- spec/elements/drawingml/round_spec.rb
|
492
|
-
- spec/elements/drawingml/shape_guide_spec.rb
|
493
|
-
- spec/elements/drawingml/solid_fill_spec.rb
|
494
|
-
- spec/elements/drawingml/source_rectangle_spec.rb
|
495
|
-
- spec/elements/drawingml/srgb_color_spec.rb
|
496
|
-
- spec/elements/drawingml/stretch_spec.rb
|
497
|
-
- spec/elements/drawingml/tail_end_spec.rb
|
498
|
-
- spec/elements/drawingml/transform_effect_spec.rb
|
499
|
-
- spec/elements/embed_system_fonts_spec.rb
|
500
|
-
- spec/elements/embed_true_type_fonts_spec.rb
|
501
|
-
- spec/elements/even_and_odd_headers_spec.rb
|
502
|
-
- spec/elements/font_alternate_name_spec.rb
|
503
|
-
- spec/elements/font_character_set_spec.rb
|
504
|
-
- spec/elements/font_panose_one_spec.rb
|
505
|
-
- spec/elements/font_pitch_spec.rb
|
506
|
-
- spec/elements/font_sig_spec.rb
|
507
|
-
- spec/elements/grid_column_spec.rb
|
508
|
-
- spec/elements/group_shape_spec.rb
|
509
|
-
- spec/elements/last_rendered_page_break_spec.rb
|
510
|
-
- spec/elements/long_day_spec.rb
|
511
|
-
- spec/elements/long_month_spec.rb
|
512
|
-
- spec/elements/long_year_spec.rb
|
513
|
-
- spec/elements/markup_compatibility_alternate_content_spec.rb
|
514
|
-
- spec/elements/markup_compatibility_choice_spec.rb
|
515
|
-
- spec/elements/markup_compatibility_fallback_spec.rb
|
516
|
-
- spec/elements/nonbreaking_hyphen_spec.rb
|
517
|
-
- spec/elements/optional_hyphen_spec.rb
|
518
|
-
- spec/elements/page_number_spec.rb
|
519
|
-
- spec/elements/paragraph_spec.rb
|
520
|
-
- spec/elements/ruby_spec.rb
|
521
|
-
- spec/elements/run_spec.rb
|
522
|
-
- spec/elements/save_subset_fonts_spec.rb
|
523
|
-
- spec/elements/section_properties_spec.rb
|
524
|
-
- spec/elements/short_day_spec.rb
|
525
|
-
- spec/elements/short_month_spec.rb
|
526
|
-
- spec/elements/short_year_spec.rb
|
527
|
-
- spec/elements/symbol_spec.rb
|
528
|
-
- spec/elements/tab_spec.rb
|
529
|
-
- spec/elements/table_cell_spec.rb
|
530
|
-
- spec/elements/table_grid_spec.rb
|
531
|
-
- spec/elements/table_row_spec.rb
|
532
|
-
- spec/elements/table_spec.rb
|
533
|
-
- spec/elements/text_spec.rb
|
534
|
-
- spec/elements/textbox_content_spec.rb
|
535
|
-
- spec/elements/title_page_spec.rb
|
536
|
-
- spec/elements/vml/group_spec.rb
|
537
|
-
- spec/elements/vml/rectangle_spec.rb
|
538
|
-
- spec/elements/vml/rounded_rectangle_spec.rb
|
539
|
-
- spec/elements/vml_container_spec.rb
|
540
|
-
- spec/elements/word_processing_drawing_anchor_spec.rb
|
541
|
-
- spec/elements/word_processing_drawing_effect_extent_spec.rb
|
542
|
-
- spec/elements/word_processing_drawing_extent_spec.rb
|
543
|
-
- spec/elements/word_processing_drawing_nv_graphic_frame_properties_spec.rb
|
544
|
-
- spec/elements/word_processing_drawing_object_nv_properties_spec.rb
|
545
|
-
- spec/elements/word_processing_drawing_position_h_spec.rb
|
546
|
-
- spec/elements/word_processing_drawing_position_v_spec.rb
|
547
|
-
- spec/elements/word_processing_drawing_simple_position_spec.rb
|
548
|
-
- spec/elements/word_processing_drawing_wrap_coordinate_spec.rb
|
549
|
-
- spec/elements/word_processing_drawing_wrap_none_spec.rb
|
550
|
-
- spec/elements/word_processing_drawing_wrap_polygon_spec.rb
|
551
|
-
- spec/elements/word_processing_drawing_wrap_square_spec.rb
|
552
|
-
- spec/elements/word_processing_drawing_wrap_through_spec.rb
|
553
|
-
- spec/elements/word_processing_drawing_wrap_tight_spec.rb
|
554
|
-
- spec/elements/word_processing_drawing_wrap_top_and_bottom_spec.rb
|
555
|
-
- spec/elements/word_processing_groups_group_shape_properties_spec.rb
|
556
|
-
- spec/elements/word_processing_groups_nv_shape_drawing_properties_spec.rb
|
557
|
-
- spec/elements/word_processing_shapes_body_properties_spec.rb
|
558
|
-
- spec/elements/word_processing_shapes_nv_drawing_properties_spec.rb
|
559
|
-
- spec/elements/word_processing_shapes_shape_properties_spec.rb
|
560
|
-
- spec/elements/word_processing_shapes_shape_spec.rb
|
561
|
-
- spec/elements/word_processing_shapes_textual_content_spec.rb
|
562
|
-
- spec/elements/wordprocessing_shape_group_spec.rb
|
563
|
-
- spec/package_spec.rb
|
564
|
-
- spec/parts/document_spec.rb
|
565
|
-
- spec/parts/footer_spec.rb
|
566
|
-
- spec/parts/header_spec.rb
|
567
|
-
- spec/parts/settings_spec.rb
|
568
|
-
- spec/parts/styles_spec.rb
|
569
|
-
- spec/properties/alignment_spec.rb
|
570
|
-
- spec/properties/auto_adjust_right_indent_spec.rb
|
571
|
-
- spec/properties/auto_space_de_spec.rb
|
572
|
-
- spec/properties/auto_space_dn_spec.rb
|
573
|
-
- spec/properties/bidi_spec.rb
|
574
|
-
- spec/properties/bold_spec.rb
|
575
|
-
- spec/properties/border_spec.rb
|
576
|
-
- spec/properties/cant_split_spec.rb
|
577
|
-
- spec/properties/caps_spec.rb
|
578
|
-
- spec/properties/character_spacing_spec.rb
|
579
|
-
- spec/properties/color_spec.rb
|
580
|
-
- spec/properties/column_spec.rb
|
581
|
-
- spec/properties/columns_spec.rb
|
582
|
-
- spec/properties/complex_bold_spec.rb
|
583
|
-
- spec/properties/complex_font_size_spec.rb
|
584
|
-
- spec/properties/complex_italics_spec.rb
|
585
|
-
- spec/properties/complex_script_formatting_spec.rb
|
586
|
-
- spec/properties/compress_punctuation_spec.rb
|
587
|
-
- spec/properties/conditional_formatting_spec.rb
|
588
|
-
- spec/properties/contextual_spacing_spec.rb
|
589
|
-
- spec/properties/div_id_spec.rb
|
590
|
-
- spec/properties/document_grid_spec.rb
|
591
|
-
- spec/properties/double_strikethrough_spec.rb
|
592
|
-
- spec/properties/east_asian_layout_spec.rb
|
593
|
-
- spec/properties/effect_spec.rb
|
594
|
-
- spec/properties/emboss_spec.rb
|
595
|
-
- spec/properties/emphasis_spec.rb
|
596
|
-
- spec/properties/even_and_odd_headers_spec.rb
|
597
|
-
- spec/properties/expansion_spec.rb
|
598
|
-
- spec/properties/font_size_spec.rb
|
599
|
-
- spec/properties/font_spec.rb
|
600
|
-
- spec/properties/footer_reference_spec.rb
|
601
|
-
- spec/properties/form_protection_spec.rb
|
602
|
-
- spec/properties/frame_spec.rb
|
603
|
-
- spec/properties/grid_after_spec.rb
|
604
|
-
- spec/properties/grid_before_spec.rb
|
605
|
-
- spec/properties/grid_span_spec.rb
|
606
|
-
- spec/properties/header_reference_spec.rb
|
607
|
-
- spec/properties/header_spec.rb
|
608
|
-
- spec/properties/headers_spec.rb
|
609
|
-
- spec/properties/hidden_spec.rb
|
610
|
-
- spec/properties/hidden_style_spec.rb
|
611
|
-
- spec/properties/hidden_text_spec.rb
|
612
|
-
- spec/properties/hide_mark_spec.rb
|
613
|
-
- spec/properties/highlight_spec.rb
|
614
|
-
- spec/properties/imprint_spec.rb
|
615
|
-
- spec/properties/indentation_spec.rb
|
616
|
-
- spec/properties/italics_spec.rb
|
617
|
-
- spec/properties/keep_lines_spec.rb
|
618
|
-
- spec/properties/keep_next_spec.rb
|
619
|
-
- spec/properties/kerning_spec.rb
|
620
|
-
- spec/properties/kinsoku_spec.rb
|
621
|
-
- spec/properties/language_spec.rb
|
622
|
-
- spec/properties/latent_styles_exception_spec.rb
|
623
|
-
- spec/properties/latent_styles_spec.rb
|
624
|
-
- spec/properties/line_numbering_spec.rb
|
625
|
-
- spec/properties/linked_style_spec.rb
|
626
|
-
- spec/properties/manual_width_spec.rb
|
627
|
-
- spec/properties/math_spec.rb
|
628
|
-
- spec/properties/mirror_indent_spec.rb
|
629
|
-
- spec/properties/next_style_spec.rb
|
630
|
-
- spec/properties/no_proof_spec.rb
|
631
|
-
- spec/properties/no_wrap_spec.rb
|
632
|
-
- spec/properties/numbering_spec.rb
|
633
|
-
- spec/properties/outline_level_spec.rb
|
634
|
-
- spec/properties/outline_spec.rb
|
635
|
-
- spec/properties/overflow_punctuation_spec.rb
|
636
|
-
- spec/properties/page_borders_spec.rb
|
637
|
-
- spec/properties/page_break_before_spec.rb
|
638
|
-
- spec/properties/page_margins_spec.rb
|
639
|
-
- spec/properties/page_numbering_spec.rb
|
640
|
-
- spec/properties/page_size_spec.rb
|
641
|
-
- spec/properties/paper_source_spec.rb
|
642
|
-
- spec/properties/paragraph_borders_spec.rb
|
643
|
-
- spec/properties/paragraph_style_spec.rb
|
644
|
-
- spec/properties/parent_style_spec.rb
|
645
|
-
- spec/properties/personal_compose_spec.rb
|
646
|
-
- spec/properties/personal_reply_spec.rb
|
647
|
-
- spec/properties/personal_spec.rb
|
648
|
-
- spec/properties/phonetic_guide_alignment_spec.rb
|
649
|
-
- spec/properties/phonetic_guide_base_font_size_spec.rb
|
650
|
-
- spec/properties/phonetic_guide_font_size_raise_spec.rb
|
651
|
-
- spec/properties/phonetic_guide_font_size_spec.rb
|
652
|
-
- spec/properties/phonetic_guide_language_spec.rb
|
653
|
-
- spec/properties/position_spec.rb
|
654
|
-
- spec/properties/primary_style_spec.rb
|
655
|
-
- spec/properties/right_to_left_spec.rb
|
656
|
-
- spec/properties/rtl_gutter_spec.rb
|
657
|
-
- spec/properties/run_style_spec.rb
|
658
|
-
- spec/properties/section_type_spec.rb
|
659
|
-
- spec/properties/semi_hidden_spec.rb
|
660
|
-
- spec/properties/shading_spec.rb
|
661
|
-
- spec/properties/shadow_property_spec.rb
|
662
|
-
- spec/properties/small_caps_spec.rb
|
663
|
-
- spec/properties/snap_to_grid_spec.rb
|
664
|
-
- spec/properties/spacing_spec.rb
|
665
|
-
- spec/properties/spec_vanish_spec.rb
|
666
|
-
- spec/properties/strikethrough_spec.rb
|
667
|
-
- spec/properties/style_aliases_spec.rb
|
668
|
-
- spec/properties/style_auto_redefinition_spec.rb
|
669
|
-
- spec/properties/style_lock_spec.rb
|
670
|
-
- spec/properties/style_name_spec.rb
|
671
|
-
- spec/properties/supress_auto_hyphens_spec.rb
|
672
|
-
- spec/properties/supress_line_numbers_spec.rb
|
673
|
-
- spec/properties/supress_overlap_spec.rb
|
674
|
-
- spec/properties/tab_spec.rb
|
675
|
-
- spec/properties/table_border_spec.rb
|
676
|
-
- spec/properties/table_borders_spec.rb
|
677
|
-
- spec/properties/table_caption_spec.rb
|
678
|
-
- spec/properties/table_cell_border_spec.rb
|
679
|
-
- spec/properties/table_cell_borders_spec.rb
|
680
|
-
- spec/properties/table_cell_cell_margin_spec.rb
|
681
|
-
- spec/properties/table_cell_fit_text_spec.rb
|
682
|
-
- spec/properties/table_cell_margin_spec.rb
|
683
|
-
- spec/properties/table_cell_margins_spec.rb
|
684
|
-
- spec/properties/table_cell_spacing_spec.rb
|
685
|
-
- spec/properties/table_cell_width_spec.rb
|
686
|
-
- spec/properties/table_description_spec.rb
|
687
|
-
- spec/properties/table_header_spec.rb
|
688
|
-
- spec/properties/table_indent_spec.rb
|
689
|
-
- spec/properties/table_layout_spec.rb
|
690
|
-
- spec/properties/table_look_spec.rb
|
691
|
-
- spec/properties/table_overlap_spec.rb
|
692
|
-
- spec/properties/table_p_pr_spec.rb
|
693
|
-
- spec/properties/table_row_height_spec.rb
|
694
|
-
- spec/properties/table_style_spec.rb
|
695
|
-
- spec/properties/table_width_spec.rb
|
696
|
-
- spec/properties/tabs_spec.rb
|
697
|
-
- spec/properties/text_alignment_spec.rb
|
698
|
-
- spec/properties/text_direction_spec.rb
|
699
|
-
- spec/properties/textbox_tight_wrap_spec.rb
|
700
|
-
- spec/properties/title_page_spec.rb
|
701
|
-
- spec/properties/ui_priority_spec.rb
|
702
|
-
- spec/properties/underline_spec.rb
|
703
|
-
- spec/properties/unhide_when_used_spec.rb
|
704
|
-
- spec/properties/valign_spec.rb
|
705
|
-
- spec/properties/vertical_alignment_spec.rb
|
706
|
-
- spec/properties/vertical_merge_spec.rb
|
707
|
-
- spec/properties/vertical_text_alignment_spec.rb
|
708
|
-
- spec/properties/wafter_spec.rb
|
709
|
-
- spec/properties/wbefore_spec.rb
|
710
|
-
- spec/properties/web_hidden_spec.rb
|
711
|
-
- spec/properties/widow_control_spec.rb
|
712
|
-
- spec/properties/word_wrap_spec.rb
|
713
|
-
- spec/section_spec.rb
|
714
|
-
- spec/spec_helper.rb
|
715
|
-
- spec/style_spec.rb
|
716
|
-
- spec/support/data/elements/break_element.xml
|
717
|
-
- spec/support/data/elements/break_with_attributes_element.xml
|
718
|
-
- spec/support/data/elements/grid_column_element.xml
|
719
|
-
- spec/support/data/elements/paragraph_element.xml
|
720
|
-
- spec/support/data/elements/paragraph_with_runs_element.xml
|
721
|
-
- spec/support/data/elements/paragraph_with_section_properties_element.xml
|
722
|
-
- spec/support/data/elements/run_element.xml
|
723
|
-
- spec/support/data/elements/symbol_element.xml
|
724
|
-
- spec/support/data/elements/table_cell_element.xml
|
725
|
-
- spec/support/data/elements/table_element.xml
|
726
|
-
- spec/support/data/elements/table_grid_element.xml
|
727
|
-
- spec/support/data/elements/table_row_element.xml
|
728
|
-
- spec/support/data/elements/text_element.xml
|
729
|
-
- spec/support/data/parts/content_types_part.xml
|
730
|
-
- spec/support/data/parts/document_with_children_part.xml
|
731
|
-
- spec/support/data/parts/document_with_multiple_sections_part.xml
|
732
|
-
- spec/support/data/parts/document_with_one_section_part.xml
|
733
|
-
- spec/support/data/parts/empty_document_part.xml
|
734
|
-
- spec/support/data/parts/empty_footer_part.xml
|
735
|
-
- spec/support/data/parts/empty_header_part.xml
|
736
|
-
- spec/support/data/parts/footer_with_children_part.xml
|
737
|
-
- spec/support/data/parts/global_rels_part.xml
|
738
|
-
- spec/support/data/parts/header_with_children_part.xml
|
739
|
-
- spec/support/data/parts/rels_part.xml
|
740
|
-
- spec/support/data/parts/settings_part.xml
|
741
|
-
- spec/support/data/parts/styles_part.xml
|
742
|
-
- spec/support/data/parts/styles_with_custom_style_part.xml
|
743
|
-
- spec/support/data/styles/character_styles.xml
|
744
|
-
- spec/support/data/styles/paragraph_styles.xml
|
745
|
-
- spec/support/element_test_macros.rb
|
746
|
-
- spec/support/part_test_macros.rb
|
747
|
-
- spec/support/property_test_macros.rb
|
748
|
-
- spec/support/style_test_macros.rb
|
749
|
-
- spec/support/value_property_test_macros.rb
|
750
451
|
homepage: https://github.com/openxml/openxml-docx
|
751
452
|
licenses:
|
752
453
|
- MIT
|
@@ -762,14 +463,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
762
463
|
version: '2.0'
|
763
464
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
764
465
|
requirements:
|
765
|
-
- - "
|
466
|
+
- - ">"
|
766
467
|
- !ruby/object:Gem::Version
|
767
|
-
version:
|
468
|
+
version: 1.3.1
|
768
469
|
requirements: []
|
769
470
|
rubyforge_project:
|
770
|
-
rubygems_version: 2.
|
471
|
+
rubygems_version: 2.6.11
|
771
472
|
signing_key:
|
772
473
|
specification_version: 4
|
773
|
-
summary:
|
774
|
-
points, titles, headings, page breaks and tables!
|
474
|
+
summary: Implements the Office Open XML spec for creating WordprocessingML documents
|
775
475
|
test_files: []
|