omml 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CLAUDE.md +19 -9
- data/TODO.uniwordfix/00-overview.md +29 -0
- data/TODO.uniwordfix/01-revert-contributor-changes.md +25 -0
- data/TODO.uniwordfix/02-models-base.md +55 -0
- data/TODO.uniwordfix/03-migrate-models.md +38 -0
- data/TODO.uniwordfix/04-autoload-conversion.md +52 -0
- data/TODO.uniwordfix/05-encapsulation-cleanup.md +67 -0
- data/TODO.uniwordfix/06-register-in-api.md +44 -0
- data/TODO.uniwordfix/07-spec-coverage.md +43 -0
- data/TODO.uniwordfix/08-spec-cross-context.md +63 -0
- data/TODO.uniwordfix/09-spec-cleanup.md +37 -0
- data/TODO.uniwordfix/10-claude-md-stale.md +34 -0
- data/lib/omml/configuration/context_registry.rb +36 -2
- data/lib/omml/configuration/model_registry.rb +6 -2
- data/lib/omml/configuration/type_resolver.rb +0 -2
- data/lib/omml/configuration.rb +5 -5
- data/lib/omml/models/base.rb +16 -0
- data/lib/omml/models/ct_acc.rb +1 -3
- data/lib/omml/models/ct_acc_pr.rb +1 -3
- data/lib/omml/models/ct_anchor.rb +1 -3
- data/lib/omml/models/ct_attr.rb +1 -3
- data/lib/omml/models/ct_bar.rb +1 -3
- data/lib/omml/models/ct_bar_pr.rb +1 -3
- data/lib/omml/models/ct_bookmark.rb +0 -2
- data/lib/omml/models/ct_bookmark_range.rb +0 -2
- data/lib/omml/models/ct_border.rb +1 -3
- data/lib/omml/models/ct_border_box.rb +1 -3
- data/lib/omml/models/ct_border_box_pr.rb +1 -3
- data/lib/omml/models/ct_box.rb +1 -3
- data/lib/omml/models/ct_box_pr.rb +1 -3
- data/lib/omml/models/ct_br.rb +1 -3
- data/lib/omml/models/ct_break_bin.rb +1 -3
- data/lib/omml/models/ct_break_bin_sub.rb +1 -3
- data/lib/omml/models/ct_calendar_type.rb +1 -3
- data/lib/omml/models/ct_char.rb +1 -3
- data/lib/omml/models/ct_color.rb +1 -3
- data/lib/omml/models/ct_control.rb +1 -3
- data/lib/omml/models/ct_ctrl_pr.rb +1 -3
- data/lib/omml/models/ct_custom_xml_pr.rb +1 -3
- data/lib/omml/models/ct_custom_xml_run.rb +1 -3
- data/lib/omml/models/ct_d.rb +1 -3
- data/lib/omml/models/ct_d_pr.rb +1 -3
- data/lib/omml/models/ct_data_binding.rb +1 -3
- data/lib/omml/models/ct_decimal_number.rb +1 -3
- data/lib/omml/models/ct_drawing.rb +1 -3
- data/lib/omml/models/ct_east_asian_layout.rb +1 -3
- data/lib/omml/models/ct_effect_extent.rb +1 -3
- data/lib/omml/models/ct_em.rb +1 -3
- data/lib/omml/models/ct_empty.rb +1 -3
- data/lib/omml/models/ct_eq_arr.rb +1 -3
- data/lib/omml/models/ct_eq_arr_pr.rb +1 -3
- data/lib/omml/models/ct_f.rb +1 -3
- data/lib/omml/models/ct_f_pr.rb +1 -3
- data/lib/omml/models/ct_f_type.rb +1 -3
- data/lib/omml/models/ct_ff_check_box.rb +1 -3
- data/lib/omml/models/ct_ff_data.rb +1 -3
- data/lib/omml/models/ct_ff_help_text.rb +1 -3
- data/lib/omml/models/ct_ff_name.rb +1 -3
- data/lib/omml/models/ct_ff_status_text.rb +1 -3
- data/lib/omml/models/ct_ff_text_input.rb +1 -3
- data/lib/omml/models/ct_ff_text_type.rb +1 -3
- data/lib/omml/models/ct_ffdd_list.rb +1 -3
- data/lib/omml/models/ct_fit_text.rb +1 -3
- data/lib/omml/models/ct_fld_char.rb +1 -3
- data/lib/omml/models/ct_fonts.rb +1 -3
- data/lib/omml/models/ct_ftn_edn_ref.rb +1 -3
- data/lib/omml/models/ct_func.rb +1 -3
- data/lib/omml/models/ct_func_pr.rb +1 -3
- data/lib/omml/models/ct_graphical_object.rb +1 -3
- data/lib/omml/models/ct_graphical_object_data.rb +1 -3
- data/lib/omml/models/ct_graphical_object_frame_locking.rb +1 -3
- data/lib/omml/models/ct_group_chr.rb +1 -3
- data/lib/omml/models/ct_group_chr_pr.rb +1 -3
- data/lib/omml/models/ct_highlight.rb +1 -3
- data/lib/omml/models/ct_hps_measure.rb +1 -3
- data/lib/omml/models/ct_hyperlink.rb +1 -3
- data/lib/omml/models/ct_inline.rb +1 -3
- data/lib/omml/models/ct_integer2.rb +1 -3
- data/lib/omml/models/ct_integer255.rb +1 -3
- data/lib/omml/models/ct_lang.rb +1 -3
- data/lib/omml/models/ct_language.rb +1 -3
- data/lib/omml/models/ct_lim_loc.rb +1 -3
- data/lib/omml/models/ct_lim_low.rb +1 -3
- data/lib/omml/models/ct_lim_low_pr.rb +1 -3
- data/lib/omml/models/ct_lim_upp.rb +1 -3
- data/lib/omml/models/ct_lim_upp_pr.rb +1 -3
- data/lib/omml/models/ct_lock.rb +1 -3
- data/lib/omml/models/ct_m.rb +1 -3
- data/lib/omml/models/ct_m_pr.rb +1 -3
- data/lib/omml/models/ct_macro_name.rb +1 -3
- data/lib/omml/models/ct_manual_break.rb +1 -3
- data/lib/omml/models/ct_markup.rb +1 -3
- data/lib/omml/models/ct_markup_range.rb +0 -2
- data/lib/omml/models/ct_math_pr.rb +1 -3
- data/lib/omml/models/ct_mc.rb +1 -3
- data/lib/omml/models/ct_mc_pr.rb +1 -3
- data/lib/omml/models/ct_mcs.rb +1 -3
- data/lib/omml/models/ct_move_bookmark.rb +0 -2
- data/lib/omml/models/ct_mr.rb +1 -3
- data/lib/omml/models/ct_nary.rb +1 -3
- data/lib/omml/models/ct_nary_pr.rb +1 -3
- data/lib/omml/models/ct_non_visual_drawing_props.rb +1 -3
- data/lib/omml/models/ct_non_visual_graphic_frame_properties.rb +1 -3
- data/lib/omml/models/ct_o_math.rb +1 -3
- data/lib/omml/models/ct_o_math_arg.rb +1 -3
- data/lib/omml/models/ct_o_math_arg_pr.rb +1 -3
- data/lib/omml/models/ct_o_math_jc.rb +1 -3
- data/lib/omml/models/ct_o_math_para.rb +1 -3
- data/lib/omml/models/ct_o_math_para_pr.rb +1 -3
- data/lib/omml/models/ct_object.rb +0 -2
- data/lib/omml/models/ct_office_art_extension.rb +1 -3
- data/lib/omml/models/ct_office_art_extension_list.rb +1 -3
- data/lib/omml/models/ct_on_off.rb +1 -3
- data/lib/omml/models/ct_p_tab.rb +1 -3
- data/lib/omml/models/ct_perm.rb +1 -3
- data/lib/omml/models/ct_perm_start.rb +0 -2
- data/lib/omml/models/ct_phant.rb +1 -3
- data/lib/omml/models/ct_phant_pr.rb +1 -3
- data/lib/omml/models/ct_picture.rb +0 -2
- data/lib/omml/models/ct_picture_base.rb +1 -3
- data/lib/omml/models/ct_placeholder.rb +1 -3
- data/lib/omml/models/ct_point2_d.rb +1 -3
- data/lib/omml/models/ct_pos_h.rb +1 -3
- data/lib/omml/models/ct_pos_v.rb +1 -3
- data/lib/omml/models/ct_positive_size2_d.rb +1 -3
- data/lib/omml/models/ct_proof_err.rb +1 -3
- data/lib/omml/models/ct_r.rb +1 -3
- data/lib/omml/models/ct_r_pr.rb +1 -3
- data/lib/omml/models/ct_r_pr_change.rb +0 -2
- data/lib/omml/models/ct_r_pr_original.rb +1 -3
- data/lib/omml/models/ct_rad.rb +1 -3
- data/lib/omml/models/ct_rad_pr.rb +1 -3
- data/lib/omml/models/ct_rel.rb +1 -3
- data/lib/omml/models/ct_rpr.rb +1 -3
- data/lib/omml/models/ct_ruby.rb +1 -3
- data/lib/omml/models/ct_ruby_align.rb +1 -3
- data/lib/omml/models/ct_ruby_content.rb +1 -3
- data/lib/omml/models/ct_ruby_pr.rb +1 -3
- data/lib/omml/models/ct_run_track_change.rb +0 -2
- data/lib/omml/models/ct_s_pre.rb +1 -3
- data/lib/omml/models/ct_s_pre_pr.rb +1 -3
- data/lib/omml/models/ct_s_sub.rb +1 -3
- data/lib/omml/models/ct_s_sub_pr.rb +1 -3
- data/lib/omml/models/ct_s_sub_sup.rb +1 -3
- data/lib/omml/models/ct_s_sub_sup_pr.rb +1 -3
- data/lib/omml/models/ct_s_sup.rb +1 -3
- data/lib/omml/models/ct_s_sup_pr.rb +1 -3
- data/lib/omml/models/ct_script.rb +1 -3
- data/lib/omml/models/ct_sdt_combo_box.rb +1 -3
- data/lib/omml/models/ct_sdt_content_run.rb +1 -3
- data/lib/omml/models/ct_sdt_date.rb +1 -3
- data/lib/omml/models/ct_sdt_date_mapping_type.rb +1 -3
- data/lib/omml/models/ct_sdt_doc_part.rb +1 -3
- data/lib/omml/models/ct_sdt_drop_down_list.rb +1 -3
- data/lib/omml/models/ct_sdt_end_pr.rb +1 -3
- data/lib/omml/models/ct_sdt_list_item.rb +1 -3
- data/lib/omml/models/ct_sdt_pr.rb +1 -3
- data/lib/omml/models/ct_sdt_run.rb +1 -3
- data/lib/omml/models/ct_sdt_text.rb +1 -3
- data/lib/omml/models/ct_shd.rb +1 -3
- data/lib/omml/models/ct_shp.rb +1 -3
- data/lib/omml/models/ct_signed_hps_measure.rb +1 -3
- data/lib/omml/models/ct_signed_twips_measure.rb +1 -3
- data/lib/omml/models/ct_simple_field.rb +1 -3
- data/lib/omml/models/ct_smart_tag_pr.rb +1 -3
- data/lib/omml/models/ct_smart_tag_run.rb +1 -3
- data/lib/omml/models/ct_spacing_rule.rb +1 -3
- data/lib/omml/models/ct_string.rb +1 -3
- data/lib/omml/models/ct_style.rb +1 -3
- data/lib/omml/models/ct_sym.rb +1 -3
- data/lib/omml/models/ct_text.rb +1 -3
- data/lib/omml/models/ct_text_effect.rb +1 -3
- data/lib/omml/models/ct_text_scale.rb +1 -3
- data/lib/omml/models/ct_top_bot.rb +1 -3
- data/lib/omml/models/ct_track_change.rb +0 -2
- data/lib/omml/models/ct_track_change_numbering.rb +0 -2
- data/lib/omml/models/ct_twips_measure.rb +1 -3
- data/lib/omml/models/ct_un_signed_integer.rb +1 -3
- data/lib/omml/models/ct_underline.rb +1 -3
- data/lib/omml/models/ct_vertical_align_run.rb +1 -3
- data/lib/omml/models/ct_wordprocessing_on_off.rb +1 -3
- data/lib/omml/models/ct_wrap_none.rb +1 -3
- data/lib/omml/models/ct_wrap_path.rb +1 -3
- data/lib/omml/models/ct_wrap_square.rb +1 -3
- data/lib/omml/models/ct_wrap_through.rb +1 -3
- data/lib/omml/models/ct_wrap_tight.rb +1 -3
- data/lib/omml/models/ct_wrap_top_bottom.rb +1 -3
- data/lib/omml/models/ct_x_align.rb +1 -3
- data/lib/omml/models/ct_y_align.rb +1 -3
- data/lib/omml/models/groups/eg_content_run_content.rb +1 -3
- data/lib/omml/models/groups/eg_math_content.rb +1 -3
- data/lib/omml/models/groups/eg_o_math_elements.rb +1 -3
- data/lib/omml/models/groups/eg_o_math_math_elements.rb +1 -3
- data/lib/omml/models/groups/eg_office_art_extension_list.rb +1 -3
- data/lib/omml/models/groups/eg_p_content.rb +1 -3
- data/lib/omml/models/groups/eg_r_pr.rb +1 -3
- data/lib/omml/models/groups/eg_r_pr_base.rb +1 -3
- data/lib/omml/models/groups/eg_r_pr_content.rb +1 -3
- data/lib/omml/models/groups/eg_r_pr_math.rb +1 -3
- data/lib/omml/models/groups/eg_range_markup_elements.rb +1 -3
- data/lib/omml/models/groups/eg_ruby_content.rb +1 -3
- data/lib/omml/models/groups/eg_run_inner_content.rb +1 -3
- data/lib/omml/models/groups/eg_run_level_elts.rb +1 -3
- data/lib/omml/models/groups/eg_script_style.rb +1 -3
- data/lib/omml/models/groups/eg_word_r_pr.rb +1 -3
- data/lib/omml/models/groups/eg_wrap_type.rb +1 -3
- data/lib/omml/models/groups.rb +0 -18
- data/lib/omml/models/o_math.rb +1 -3
- data/lib/omml/models/o_math_para.rb +1 -3
- data/lib/omml/models/registerable.rb +22 -0
- data/lib/omml/models/simple_types/enum_string.rb +5 -0
- data/lib/omml/models/simple_types/hex_binary.rb +0 -1
- data/lib/omml/models/simple_types/st_adj_coordinate.rb +2 -1
- data/lib/omml/models/simple_types/st_align_h.rb +0 -2
- data/lib/omml/models/simple_types/st_align_v.rb +0 -2
- data/lib/omml/models/simple_types/st_border.rb +0 -2
- data/lib/omml/models/simple_types/st_br_clear.rb +0 -2
- data/lib/omml/models/simple_types/st_br_type.rb +0 -2
- data/lib/omml/models/simple_types/st_break_bin.rb +0 -2
- data/lib/omml/models/simple_types/st_break_bin_sub.rb +0 -2
- data/lib/omml/models/simple_types/st_calendar_type.rb +0 -2
- data/lib/omml/models/simple_types/st_combine_brackets.rb +0 -2
- data/lib/omml/models/simple_types/st_coordinate.rb +0 -1
- data/lib/omml/models/simple_types/st_displaced_by_custom_xml.rb +0 -2
- data/lib/omml/models/simple_types/st_ed_grp.rb +0 -2
- data/lib/omml/models/simple_types/st_em.rb +0 -2
- data/lib/omml/models/simple_types/st_f_type.rb +0 -2
- data/lib/omml/models/simple_types/st_ff_text_type.rb +0 -2
- data/lib/omml/models/simple_types/st_fld_char_type.rb +0 -2
- data/lib/omml/models/simple_types/st_geom_guide_name.rb +0 -2
- data/lib/omml/models/simple_types/st_hex_color.rb +2 -1
- data/lib/omml/models/simple_types/st_highlight_color.rb +0 -2
- data/lib/omml/models/simple_types/st_hint.rb +0 -2
- data/lib/omml/models/simple_types/st_info_text_type.rb +0 -2
- data/lib/omml/models/simple_types/st_integer2.rb +0 -1
- data/lib/omml/models/simple_types/st_integer255.rb +0 -1
- data/lib/omml/models/simple_types/st_jc.rb +0 -2
- data/lib/omml/models/simple_types/st_lang.rb +2 -1
- data/lib/omml/models/simple_types/st_lim_loc.rb +0 -2
- data/lib/omml/models/simple_types/st_lock.rb +0 -2
- data/lib/omml/models/simple_types/st_on_off.rb +0 -2
- data/lib/omml/models/simple_types/st_p_tab_alignment.rb +0 -2
- data/lib/omml/models/simple_types/st_p_tab_leader.rb +0 -2
- data/lib/omml/models/simple_types/st_p_tab_relative_to.rb +0 -2
- data/lib/omml/models/simple_types/st_positive_coordinate.rb +0 -1
- data/lib/omml/models/simple_types/st_proof_err.rb +0 -2
- data/lib/omml/models/simple_types/st_rel_from_h.rb +0 -2
- data/lib/omml/models/simple_types/st_rel_from_v.rb +0 -2
- data/lib/omml/models/simple_types/st_ruby_align.rb +0 -2
- data/lib/omml/models/simple_types/st_script.rb +0 -2
- data/lib/omml/models/simple_types/st_sdt_date_mapping_type.rb +0 -2
- data/lib/omml/models/simple_types/st_shd.rb +0 -2
- data/lib/omml/models/simple_types/st_shp.rb +0 -2
- data/lib/omml/models/simple_types/st_spacing_rule.rb +0 -1
- data/lib/omml/models/simple_types/st_style.rb +0 -2
- data/lib/omml/models/simple_types/st_text_effect.rb +0 -2
- data/lib/omml/models/simple_types/st_text_scale.rb +0 -1
- data/lib/omml/models/simple_types/st_theme.rb +0 -2
- data/lib/omml/models/simple_types/st_theme_color.rb +0 -2
- data/lib/omml/models/simple_types/st_top_bot.rb +0 -2
- data/lib/omml/models/simple_types/st_underline.rb +0 -2
- data/lib/omml/models/simple_types/st_vertical_align_run.rb +0 -2
- data/lib/omml/models/simple_types/st_wrap_text.rb +0 -2
- data/lib/omml/models/simple_types/st_x_align.rb +0 -2
- data/lib/omml/models/simple_types/st_y_align.rb +0 -2
- data/lib/omml/models/simple_types/token.rb +5 -0
- data/lib/omml/models/simple_types/unsigned_int.rb +0 -1
- data/lib/omml/models/simple_types/unsigned_long.rb +0 -1
- data/lib/omml/models/simple_types.rb +0 -59
- data/lib/omml/models.rb +269 -177
- data/lib/omml/version.rb +1 -1
- metadata +15 -2
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTFFHelpText <
|
|
5
|
+
class CTFFHelpText < Base
|
|
6
6
|
attribute :type, :st_info_text_type
|
|
7
7
|
attribute :val, :st_ff_help_text_val
|
|
8
8
|
|
|
@@ -15,7 +15,5 @@ module Omml
|
|
|
15
15
|
map_attribute :val, to: :val
|
|
16
16
|
end
|
|
17
17
|
end
|
|
18
|
-
|
|
19
|
-
Omml::Configuration.register_model(CTFFHelpText)
|
|
20
18
|
end
|
|
21
19
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTFFName <
|
|
5
|
+
class CTFFName < Base
|
|
6
6
|
attribute :val, :st_ff_name
|
|
7
7
|
|
|
8
8
|
xml do
|
|
@@ -13,7 +13,5 @@ module Omml
|
|
|
13
13
|
map_attribute :val, to: :val
|
|
14
14
|
end
|
|
15
15
|
end
|
|
16
|
-
|
|
17
|
-
Omml::Configuration.register_model(CTFFName)
|
|
18
16
|
end
|
|
19
17
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTFFStatusText <
|
|
5
|
+
class CTFFStatusText < Base
|
|
6
6
|
attribute :type, :st_info_text_type
|
|
7
7
|
attribute :val, :st_ff_status_text_val
|
|
8
8
|
|
|
@@ -15,7 +15,5 @@ module Omml
|
|
|
15
15
|
map_attribute :val, to: :val
|
|
16
16
|
end
|
|
17
17
|
end
|
|
18
|
-
|
|
19
|
-
Omml::Configuration.register_model(CTFFStatusText)
|
|
20
18
|
end
|
|
21
19
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTFFTextInput <
|
|
5
|
+
class CTFFTextInput < Base
|
|
6
6
|
attribute :type, :ct_ff_text_type, collection: 0..1
|
|
7
7
|
attribute :default, :ct_string, collection: 0..1
|
|
8
8
|
attribute :max_length, :ct_decimal_number, collection: 0..1
|
|
@@ -21,7 +21,5 @@ module Omml
|
|
|
21
21
|
end
|
|
22
22
|
end
|
|
23
23
|
end
|
|
24
|
-
|
|
25
|
-
Omml::Configuration.register_model(CTFFTextInput)
|
|
26
24
|
end
|
|
27
25
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTFFTextType <
|
|
5
|
+
class CTFFTextType < Base
|
|
6
6
|
attribute :val, :st_ff_text_type
|
|
7
7
|
|
|
8
8
|
xml do
|
|
@@ -13,7 +13,5 @@ module Omml
|
|
|
13
13
|
map_attribute :val, to: :val
|
|
14
14
|
end
|
|
15
15
|
end
|
|
16
|
-
|
|
17
|
-
Omml::Configuration.register_model(CTFFTextType)
|
|
18
16
|
end
|
|
19
17
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTFFDDList <
|
|
5
|
+
class CTFFDDList < Base
|
|
6
6
|
attribute :result, :ct_decimal_number, collection: 0..1
|
|
7
7
|
attribute :default, :ct_decimal_number, collection: 0..1
|
|
8
8
|
attribute :list_entry, :ct_string, collection: 0..Float::INFINITY
|
|
@@ -19,7 +19,5 @@ module Omml
|
|
|
19
19
|
end
|
|
20
20
|
end
|
|
21
21
|
end
|
|
22
|
-
|
|
23
|
-
Omml::Configuration.register_model(CTFFDDList)
|
|
24
22
|
end
|
|
25
23
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTFitText <
|
|
5
|
+
class CTFitText < Base
|
|
6
6
|
attribute :val, :st_twips_measure
|
|
7
7
|
attribute :id, :st_decimal_number
|
|
8
8
|
|
|
@@ -15,7 +15,5 @@ module Omml
|
|
|
15
15
|
map_attribute :id, to: :id
|
|
16
16
|
end
|
|
17
17
|
end
|
|
18
|
-
|
|
19
|
-
Omml::Configuration.register_model(CTFitText)
|
|
20
18
|
end
|
|
21
19
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTFldChar <
|
|
5
|
+
class CTFldChar < Base
|
|
6
6
|
choice(min: 1, max: 1) do
|
|
7
7
|
attribute :fld_data, :ct_text, collection: 0..1
|
|
8
8
|
attribute :ff_data, :ct_ff_data, collection: 0..1
|
|
@@ -26,7 +26,5 @@ module Omml
|
|
|
26
26
|
map_attribute :dirty, to: :dirty
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
|
-
|
|
30
|
-
Omml::Configuration.register_model(CTFldChar)
|
|
31
29
|
end
|
|
32
30
|
end
|
data/lib/omml/models/ct_fonts.rb
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTFonts <
|
|
5
|
+
class CTFonts < Base
|
|
6
6
|
attribute :hint, :st_hint
|
|
7
7
|
attribute :ascii, :st_string
|
|
8
8
|
attribute :h_ansi, :st_string
|
|
@@ -29,7 +29,5 @@ module Omml
|
|
|
29
29
|
map_attribute :cstheme, to: :cstheme
|
|
30
30
|
end
|
|
31
31
|
end
|
|
32
|
-
|
|
33
|
-
Omml::Configuration.register_model(CTFonts)
|
|
34
32
|
end
|
|
35
33
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTFtnEdnRef <
|
|
5
|
+
class CTFtnEdnRef < Base
|
|
6
6
|
attribute :custom_mark_follows, :st_on_off
|
|
7
7
|
attribute :id, :st_decimal_number
|
|
8
8
|
|
|
@@ -15,7 +15,5 @@ module Omml
|
|
|
15
15
|
map_attribute :id, to: :id
|
|
16
16
|
end
|
|
17
17
|
end
|
|
18
|
-
|
|
19
|
-
Omml::Configuration.register_model(CTFtnEdnRef)
|
|
20
18
|
end
|
|
21
19
|
end
|
data/lib/omml/models/ct_func.rb
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTFunc <
|
|
5
|
+
class CTFunc < Base
|
|
6
6
|
attribute :func_pr, :ct_func_pr, collection: 0..1
|
|
7
7
|
attribute :f_name, :ct_o_math_arg
|
|
8
8
|
attribute :e, :ct_o_math_arg
|
|
@@ -20,7 +20,5 @@ module Omml
|
|
|
20
20
|
end
|
|
21
21
|
end
|
|
22
22
|
end
|
|
23
|
-
|
|
24
|
-
Omml::Configuration.register_model(CTFunc)
|
|
25
23
|
end
|
|
26
24
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTFuncPr <
|
|
5
|
+
class CTFuncPr < Base
|
|
6
6
|
attribute :ctrl_pr, :ct_ctrl_pr, collection: 0..1
|
|
7
7
|
|
|
8
8
|
xml do
|
|
@@ -15,7 +15,5 @@ module Omml
|
|
|
15
15
|
end
|
|
16
16
|
end
|
|
17
17
|
end
|
|
18
|
-
|
|
19
|
-
Omml::Configuration.register_model(CTFuncPr)
|
|
20
18
|
end
|
|
21
19
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTGraphicalObject <
|
|
5
|
+
class CTGraphicalObject < Base
|
|
6
6
|
attribute :graphic_data, :ct_graphical_object_data
|
|
7
7
|
|
|
8
8
|
xml do
|
|
@@ -15,7 +15,5 @@ module Omml
|
|
|
15
15
|
end
|
|
16
16
|
end
|
|
17
17
|
end
|
|
18
|
-
|
|
19
|
-
Omml::Configuration.register_model(CTGraphicalObject)
|
|
20
18
|
end
|
|
21
19
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTGraphicalObjectData <
|
|
5
|
+
class CTGraphicalObjectData < Base
|
|
6
6
|
attribute :uri, :token
|
|
7
7
|
|
|
8
8
|
xml do
|
|
@@ -13,7 +13,5 @@ module Omml
|
|
|
13
13
|
map_attribute :uri, to: :uri
|
|
14
14
|
end
|
|
15
15
|
end
|
|
16
|
-
|
|
17
|
-
Omml::Configuration.register_model(CTGraphicalObjectData)
|
|
18
16
|
end
|
|
19
17
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTGraphicalObjectFrameLocking <
|
|
5
|
+
class CTGraphicalObjectFrameLocking < Base
|
|
6
6
|
attribute :ext_lst, :ct_office_art_extension_list, collection: 0..1
|
|
7
7
|
attribute :no_grp, :boolean
|
|
8
8
|
attribute :no_drilldown, :boolean
|
|
@@ -27,7 +27,5 @@ module Omml
|
|
|
27
27
|
map_attribute :noResize, to: :no_resize
|
|
28
28
|
end
|
|
29
29
|
end
|
|
30
|
-
|
|
31
|
-
Omml::Configuration.register_model(CTGraphicalObjectFrameLocking)
|
|
32
30
|
end
|
|
33
31
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTGroupChr <
|
|
5
|
+
class CTGroupChr < Base
|
|
6
6
|
attribute :group_chr_pr, :ct_group_chr_pr, collection: 0..1
|
|
7
7
|
attribute :e, :ct_o_math_arg
|
|
8
8
|
|
|
@@ -17,7 +17,5 @@ module Omml
|
|
|
17
17
|
end
|
|
18
18
|
end
|
|
19
19
|
end
|
|
20
|
-
|
|
21
|
-
Omml::Configuration.register_model(CTGroupChr)
|
|
22
20
|
end
|
|
23
21
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTGroupChrPr <
|
|
5
|
+
class CTGroupChrPr < Base
|
|
6
6
|
attribute :chr, :ct_char, collection: 0..1
|
|
7
7
|
attribute :pos, :ct_top_bot, collection: 0..1
|
|
8
8
|
attribute :vert_jc, :ct_top_bot, collection: 0..1
|
|
@@ -21,7 +21,5 @@ module Omml
|
|
|
21
21
|
end
|
|
22
22
|
end
|
|
23
23
|
end
|
|
24
|
-
|
|
25
|
-
Omml::Configuration.register_model(CTGroupChrPr)
|
|
26
24
|
end
|
|
27
25
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTHighlight <
|
|
5
|
+
class CTHighlight < Base
|
|
6
6
|
attribute :val, :st_highlight_color
|
|
7
7
|
|
|
8
8
|
xml do
|
|
@@ -13,7 +13,5 @@ module Omml
|
|
|
13
13
|
map_attribute :val, to: :val
|
|
14
14
|
end
|
|
15
15
|
end
|
|
16
|
-
|
|
17
|
-
Omml::Configuration.register_model(CTHighlight)
|
|
18
16
|
end
|
|
19
17
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTHpsMeasure <
|
|
5
|
+
class CTHpsMeasure < Base
|
|
6
6
|
attribute :val, :st_hps_measure
|
|
7
7
|
|
|
8
8
|
xml do
|
|
@@ -13,7 +13,5 @@ module Omml
|
|
|
13
13
|
map_attribute :val, to: :val
|
|
14
14
|
end
|
|
15
15
|
end
|
|
16
|
-
|
|
17
|
-
Omml::Configuration.register_model(CTHpsMeasure)
|
|
18
16
|
end
|
|
19
17
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTHyperlink <
|
|
5
|
+
class CTHyperlink < Base
|
|
6
6
|
import_model_attributes :eg_p_content
|
|
7
7
|
attribute :tgt_frame, :st_string
|
|
8
8
|
attribute :tooltip, :st_string
|
|
@@ -25,7 +25,5 @@ module Omml
|
|
|
25
25
|
map_attribute :id, to: :id
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
|
-
|
|
29
|
-
Omml::Configuration.register_model(CTHyperlink)
|
|
30
28
|
end
|
|
31
29
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTInline <
|
|
5
|
+
class CTInline < Base
|
|
6
6
|
attribute :extent, :ct_positive_size2_d
|
|
7
7
|
attribute :effect_extent, :ct_effect_extent, collection: 0..1
|
|
8
8
|
attribute :doc_pr, :ct_non_visual_drawing_props, collection: 1..1
|
|
@@ -32,7 +32,5 @@ module Omml
|
|
|
32
32
|
map_attribute :distR, to: :dist_r
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
|
|
36
|
-
Omml::Configuration.register_model(CTInline)
|
|
37
35
|
end
|
|
38
36
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTInteger2 <
|
|
5
|
+
class CTInteger2 < Base
|
|
6
6
|
attribute :val, :st_integer2
|
|
7
7
|
|
|
8
8
|
xml do
|
|
@@ -13,7 +13,5 @@ module Omml
|
|
|
13
13
|
map_attribute :val, to: :val
|
|
14
14
|
end
|
|
15
15
|
end
|
|
16
|
-
|
|
17
|
-
Omml::Configuration.register_model(CTInteger2)
|
|
18
16
|
end
|
|
19
17
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTInteger255 <
|
|
5
|
+
class CTInteger255 < Base
|
|
6
6
|
attribute :val, :st_integer255
|
|
7
7
|
|
|
8
8
|
xml do
|
|
@@ -13,7 +13,5 @@ module Omml
|
|
|
13
13
|
map_attribute :val, to: :val
|
|
14
14
|
end
|
|
15
15
|
end
|
|
16
|
-
|
|
17
|
-
Omml::Configuration.register_model(CTInteger255)
|
|
18
16
|
end
|
|
19
17
|
end
|
data/lib/omml/models/ct_lang.rb
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTLang <
|
|
5
|
+
class CTLang < Base
|
|
6
6
|
attribute :val, :st_lang
|
|
7
7
|
|
|
8
8
|
xml do
|
|
@@ -13,7 +13,5 @@ module Omml
|
|
|
13
13
|
map_attribute :val, to: :val
|
|
14
14
|
end
|
|
15
15
|
end
|
|
16
|
-
|
|
17
|
-
Omml::Configuration.register_model(CTLang)
|
|
18
16
|
end
|
|
19
17
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTLanguage <
|
|
5
|
+
class CTLanguage < Base
|
|
6
6
|
attribute :val, :st_lang
|
|
7
7
|
attribute :east_asia, :st_lang
|
|
8
8
|
attribute :bidi, :st_lang
|
|
@@ -17,7 +17,5 @@ module Omml
|
|
|
17
17
|
map_attribute :bidi, to: :bidi
|
|
18
18
|
end
|
|
19
19
|
end
|
|
20
|
-
|
|
21
|
-
Omml::Configuration.register_model(CTLanguage)
|
|
22
20
|
end
|
|
23
21
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTLimLoc <
|
|
5
|
+
class CTLimLoc < Base
|
|
6
6
|
attribute :val, :st_lim_loc
|
|
7
7
|
|
|
8
8
|
xml do
|
|
@@ -13,7 +13,5 @@ module Omml
|
|
|
13
13
|
map_attribute :val, to: :val
|
|
14
14
|
end
|
|
15
15
|
end
|
|
16
|
-
|
|
17
|
-
Omml::Configuration.register_model(CTLimLoc)
|
|
18
16
|
end
|
|
19
17
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTLimLow <
|
|
5
|
+
class CTLimLow < Base
|
|
6
6
|
attribute :lim_low_pr, :ct_lim_low_pr, collection: 0..1
|
|
7
7
|
attribute :e, :ct_o_math_arg
|
|
8
8
|
attribute :lim, :ct_o_math_arg
|
|
@@ -20,7 +20,5 @@ module Omml
|
|
|
20
20
|
end
|
|
21
21
|
end
|
|
22
22
|
end
|
|
23
|
-
|
|
24
|
-
Omml::Configuration.register_model(CTLimLow)
|
|
25
23
|
end
|
|
26
24
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTLimLowPr <
|
|
5
|
+
class CTLimLowPr < Base
|
|
6
6
|
attribute :ctrl_pr, :ct_ctrl_pr, collection: 0..1
|
|
7
7
|
|
|
8
8
|
xml do
|
|
@@ -15,7 +15,5 @@ module Omml
|
|
|
15
15
|
end
|
|
16
16
|
end
|
|
17
17
|
end
|
|
18
|
-
|
|
19
|
-
Omml::Configuration.register_model(CTLimLowPr)
|
|
20
18
|
end
|
|
21
19
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTLimUpp <
|
|
5
|
+
class CTLimUpp < Base
|
|
6
6
|
attribute :lim_upp_pr, :ct_lim_upp_pr, collection: 0..1
|
|
7
7
|
attribute :e, :ct_o_math_arg
|
|
8
8
|
attribute :lim, :ct_o_math_arg
|
|
@@ -19,7 +19,5 @@ module Omml
|
|
|
19
19
|
end
|
|
20
20
|
end
|
|
21
21
|
end
|
|
22
|
-
|
|
23
|
-
Omml::Configuration.register_model(CTLimUpp)
|
|
24
22
|
end
|
|
25
23
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTLimUppPr <
|
|
5
|
+
class CTLimUppPr < Base
|
|
6
6
|
attribute :ctrl_pr, :ct_ctrl_pr, collection: 0..1
|
|
7
7
|
|
|
8
8
|
xml do
|
|
@@ -15,7 +15,5 @@ module Omml
|
|
|
15
15
|
end
|
|
16
16
|
end
|
|
17
17
|
end
|
|
18
|
-
|
|
19
|
-
Omml::Configuration.register_model(CTLimUppPr)
|
|
20
18
|
end
|
|
21
19
|
end
|
data/lib/omml/models/ct_lock.rb
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTLock <
|
|
5
|
+
class CTLock < Base
|
|
6
6
|
attribute :val, :st_lock
|
|
7
7
|
|
|
8
8
|
xml do
|
|
@@ -13,7 +13,5 @@ module Omml
|
|
|
13
13
|
map_attribute :val, to: :val
|
|
14
14
|
end
|
|
15
15
|
end
|
|
16
|
-
|
|
17
|
-
Omml::Configuration.register_model(CTLock)
|
|
18
16
|
end
|
|
19
17
|
end
|
data/lib/omml/models/ct_m.rb
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTM <
|
|
5
|
+
class CTM < Base
|
|
6
6
|
attribute :m_pr, :ct_m_pr, collection: 0..1
|
|
7
7
|
attribute :mr, :ct_mr, collection: 1..Float::INFINITY
|
|
8
8
|
|
|
@@ -17,7 +17,5 @@ module Omml
|
|
|
17
17
|
end
|
|
18
18
|
end
|
|
19
19
|
end
|
|
20
|
-
|
|
21
|
-
Omml::Configuration.register_model(CTM)
|
|
22
20
|
end
|
|
23
21
|
end
|
data/lib/omml/models/ct_m_pr.rb
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTMPr <
|
|
5
|
+
class CTMPr < Base
|
|
6
6
|
attribute :base_jc, :ct_y_align, collection: 0..1
|
|
7
7
|
attribute :plc_hide, :ct_on_off, collection: 0..1
|
|
8
8
|
attribute :r_sp_rule, :ct_spacing_rule, collection: 0..1
|
|
@@ -31,7 +31,5 @@ module Omml
|
|
|
31
31
|
end
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
|
-
|
|
35
|
-
Omml::Configuration.register_model(CTMPr)
|
|
36
34
|
end
|
|
37
35
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTMacroName <
|
|
5
|
+
class CTMacroName < Base
|
|
6
6
|
attribute :val, :st_macro_name
|
|
7
7
|
|
|
8
8
|
xml do
|
|
@@ -13,7 +13,5 @@ module Omml
|
|
|
13
13
|
map_attribute :val, to: :val
|
|
14
14
|
end
|
|
15
15
|
end
|
|
16
|
-
|
|
17
|
-
Omml::Configuration.register_model(CTMacroName)
|
|
18
16
|
end
|
|
19
17
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTManualBreak <
|
|
5
|
+
class CTManualBreak < Base
|
|
6
6
|
attribute :aln_at, :st_integer255
|
|
7
7
|
|
|
8
8
|
xml do
|
|
@@ -13,7 +13,5 @@ module Omml
|
|
|
13
13
|
map_attribute :alnAt, to: :aln_at
|
|
14
14
|
end
|
|
15
15
|
end
|
|
16
|
-
|
|
17
|
-
Omml::Configuration.register_model(CTManualBreak)
|
|
18
16
|
end
|
|
19
17
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTMarkup <
|
|
5
|
+
class CTMarkup < Base
|
|
6
6
|
attribute :id, :st_decimal_number
|
|
7
7
|
|
|
8
8
|
xml do
|
|
@@ -13,7 +13,5 @@ module Omml
|
|
|
13
13
|
map_attribute :id, to: :id
|
|
14
14
|
end
|
|
15
15
|
end
|
|
16
|
-
|
|
17
|
-
Omml::Configuration.register_model(CTMarkup)
|
|
18
16
|
end
|
|
19
17
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTMathPr <
|
|
5
|
+
class CTMathPr < Base
|
|
6
6
|
attribute :math_font, :ct_string, collection: 0..1
|
|
7
7
|
attribute :brk_bin, :ct_break_bin, collection: 0..1
|
|
8
8
|
attribute :brk_bin_sub, :ct_break_bin_sub, collection: 0..1
|
|
@@ -47,7 +47,5 @@ module Omml
|
|
|
47
47
|
end
|
|
48
48
|
end
|
|
49
49
|
end
|
|
50
|
-
|
|
51
|
-
Omml::Configuration.register_model(CTMathPr)
|
|
52
50
|
end
|
|
53
51
|
end
|
data/lib/omml/models/ct_mc.rb
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTMC <
|
|
5
|
+
class CTMC < Base
|
|
6
6
|
attribute :mc_pr, :ct_mc_pr, collection: 0..1
|
|
7
7
|
|
|
8
8
|
xml do
|
|
@@ -15,7 +15,5 @@ module Omml
|
|
|
15
15
|
end
|
|
16
16
|
end
|
|
17
17
|
end
|
|
18
|
-
|
|
19
|
-
Omml::Configuration.register_model(CTMC)
|
|
20
18
|
end
|
|
21
19
|
end
|