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
data/lib/omml/models/ct_mc_pr.rb
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTMCPr <
|
|
5
|
+
class CTMCPr < Base
|
|
6
6
|
attribute :count, :ct_integer255, collection: 0..1
|
|
7
7
|
attribute :mc_jc, :ct_x_align, collection: 0..1
|
|
8
8
|
|
|
@@ -17,7 +17,5 @@ module Omml
|
|
|
17
17
|
end
|
|
18
18
|
end
|
|
19
19
|
end
|
|
20
|
-
|
|
21
|
-
Omml::Configuration.register_model(CTMCPr)
|
|
22
20
|
end
|
|
23
21
|
end
|
data/lib/omml/models/ct_mcs.rb
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTMCS <
|
|
5
|
+
class CTMCS < Base
|
|
6
6
|
attribute :mc, :ct_mc, collection: 1..Float::INFINITY
|
|
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(CTMCS)
|
|
20
18
|
end
|
|
21
19
|
end
|
data/lib/omml/models/ct_mr.rb
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTMR <
|
|
5
|
+
class CTMR < Base
|
|
6
6
|
attribute :e, :ct_o_math_arg, collection: 1..Float::INFINITY
|
|
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(CTMR)
|
|
20
18
|
end
|
|
21
19
|
end
|
data/lib/omml/models/ct_nary.rb
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTNary <
|
|
5
|
+
class CTNary < Base
|
|
6
6
|
attribute :nary_pr, :ct_nary_pr, collection: 0..1
|
|
7
7
|
attribute :sub, :ct_o_math_arg
|
|
8
8
|
attribute :sup, :ct_o_math_arg
|
|
@@ -21,7 +21,5 @@ module Omml
|
|
|
21
21
|
end
|
|
22
22
|
end
|
|
23
23
|
end
|
|
24
|
-
|
|
25
|
-
Omml::Configuration.register_model(CTNary)
|
|
26
24
|
end
|
|
27
25
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTNaryPr <
|
|
5
|
+
class CTNaryPr < Base
|
|
6
6
|
attribute :chr, :ct_char, collection: 0..1
|
|
7
7
|
attribute :lim_loc, :ct_lim_loc, collection: 0..1
|
|
8
8
|
attribute :grow, :ct_on_off, collection: 0..1
|
|
@@ -25,7 +25,5 @@ module Omml
|
|
|
25
25
|
end
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
|
-
|
|
29
|
-
Omml::Configuration.register_model(CTNaryPr)
|
|
30
28
|
end
|
|
31
29
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTNonVisualDrawingProps <
|
|
5
|
+
class CTNonVisualDrawingProps < Base
|
|
6
6
|
attribute :hlink_click, :ct_hyperlink, collection: 0..1
|
|
7
7
|
attribute :hlink_hover, :ct_hyperlink, collection: 0..1
|
|
8
8
|
attribute :ext_lst, :ct_office_art_extension_list, collection: 0..1
|
|
@@ -27,7 +27,5 @@ module Omml
|
|
|
27
27
|
map_attribute :hidden, to: :hidden
|
|
28
28
|
end
|
|
29
29
|
end
|
|
30
|
-
|
|
31
|
-
Omml::Configuration.register_model(CTNonVisualDrawingProps)
|
|
32
30
|
end
|
|
33
31
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTNonVisualGraphicFrameProperties <
|
|
5
|
+
class CTNonVisualGraphicFrameProperties < Base
|
|
6
6
|
attribute :graphic_frame_locks, :ct_graphical_object_frame_locking,
|
|
7
7
|
collection: 0..1
|
|
8
8
|
attribute :ext_lst, :ct_office_art_extension_list, collection: 0..1
|
|
@@ -18,7 +18,5 @@ module Omml
|
|
|
18
18
|
end
|
|
19
19
|
end
|
|
20
20
|
end
|
|
21
|
-
|
|
22
|
-
Omml::Configuration.register_model(CTNonVisualGraphicFrameProperties)
|
|
23
21
|
end
|
|
24
22
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTOMath <
|
|
5
|
+
class CTOMath < Base
|
|
6
6
|
import_model_attributes :eg_o_math_elements
|
|
7
7
|
|
|
8
8
|
xml do
|
|
@@ -16,7 +16,5 @@ module Omml
|
|
|
16
16
|
end
|
|
17
17
|
end
|
|
18
18
|
end
|
|
19
|
-
|
|
20
|
-
Omml::Configuration.register_model(CTOMath)
|
|
21
19
|
end
|
|
22
20
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTOMathArg <
|
|
5
|
+
class CTOMathArg < Base
|
|
6
6
|
attribute :arg_pr, :ct_o_math_arg_pr, collection: 0..1
|
|
7
7
|
attribute :t, :ct_text, collection: 0..1
|
|
8
8
|
import_model_attributes :eg_o_math_elements
|
|
@@ -22,7 +22,5 @@ module Omml
|
|
|
22
22
|
end
|
|
23
23
|
end
|
|
24
24
|
end
|
|
25
|
-
|
|
26
|
-
Omml::Configuration.register_model(CTOMathArg)
|
|
27
25
|
end
|
|
28
26
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTOMathArgPr <
|
|
5
|
+
class CTOMathArgPr < Base
|
|
6
6
|
attribute :arg_sz, :ct_integer2, 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(CTOMathArgPr)
|
|
20
18
|
end
|
|
21
19
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTOMathJc <
|
|
5
|
+
class CTOMathJc < Base
|
|
6
6
|
attribute :val, :st_jc
|
|
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(CTOMathJc)
|
|
18
16
|
end
|
|
19
17
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTOMathPara <
|
|
5
|
+
class CTOMathPara < Base
|
|
6
6
|
attribute :o_math_para_pr, :ct_o_math_para_pr, collection: 0..1
|
|
7
7
|
attribute :o_math, :ct_o_math, collection: 1..Float::INFINITY
|
|
8
8
|
attribute :r, :ct_r, collection: 0..Float::INFINITY
|
|
@@ -20,7 +20,5 @@ module Omml
|
|
|
20
20
|
end
|
|
21
21
|
end
|
|
22
22
|
end
|
|
23
|
-
|
|
24
|
-
Omml::Configuration.register_model(CTOMathPara)
|
|
25
23
|
end
|
|
26
24
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTOMathParaPr <
|
|
5
|
+
class CTOMathParaPr < Base
|
|
6
6
|
attribute :jc, :ct_o_math_jc, 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(CTOMathParaPr)
|
|
20
18
|
end
|
|
21
19
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTOfficeArtExtension <
|
|
5
|
+
class CTOfficeArtExtension < 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(CTOfficeArtExtension)
|
|
18
16
|
end
|
|
19
17
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTOfficeArtExtensionList <
|
|
5
|
+
class CTOfficeArtExtensionList < Base
|
|
6
6
|
import_model_attributes :eg_office_art_extension_list
|
|
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(CTOfficeArtExtensionList)
|
|
20
18
|
end
|
|
21
19
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTOnOff <
|
|
5
|
+
class CTOnOff < Base
|
|
6
6
|
attribute :val, :st_on_off, default: -> { "on" }
|
|
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(CTOnOff)
|
|
18
16
|
end
|
|
19
17
|
end
|
data/lib/omml/models/ct_p_tab.rb
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTPTab <
|
|
5
|
+
class CTPTab < Base
|
|
6
6
|
attribute :alignment, :st_p_tab_alignment
|
|
7
7
|
attribute :relative_to, :st_p_tab_relative_to
|
|
8
8
|
attribute :leader, :st_p_tab_leader
|
|
@@ -17,7 +17,5 @@ module Omml
|
|
|
17
17
|
map_attribute :leader, to: :leader
|
|
18
18
|
end
|
|
19
19
|
end
|
|
20
|
-
|
|
21
|
-
Omml::Configuration.register_model(CTPTab)
|
|
22
20
|
end
|
|
23
21
|
end
|
data/lib/omml/models/ct_perm.rb
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTPerm <
|
|
5
|
+
class CTPerm < Base
|
|
6
6
|
attribute :id, :st_string
|
|
7
7
|
attribute :displaced_by_custom_xml, :st_displaced_by_custom_xml
|
|
8
8
|
|
|
@@ -15,7 +15,5 @@ module Omml
|
|
|
15
15
|
map_attribute :displacedByCustomXml, to: :displaced_by_custom_xml
|
|
16
16
|
end
|
|
17
17
|
end
|
|
18
|
-
|
|
19
|
-
Omml::Configuration.register_model(CTPerm)
|
|
20
18
|
end
|
|
21
19
|
end
|
data/lib/omml/models/ct_phant.rb
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTPhant <
|
|
5
|
+
class CTPhant < Base
|
|
6
6
|
attribute :phant_pr, :ct_phant_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(CTPhant)
|
|
22
20
|
end
|
|
23
21
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTPhantPr <
|
|
5
|
+
class CTPhantPr < Base
|
|
6
6
|
attribute :show, :ct_on_off, collection: 0..1
|
|
7
7
|
attribute :zero_wid, :ct_on_off, collection: 0..1
|
|
8
8
|
attribute :zero_asc, :ct_on_off, collection: 0..1
|
|
@@ -25,7 +25,5 @@ module Omml
|
|
|
25
25
|
end
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
|
-
|
|
29
|
-
Omml::Configuration.register_model(CTPhantPr)
|
|
30
28
|
end
|
|
31
29
|
end
|
|
@@ -2,14 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTPictureBase <
|
|
5
|
+
class CTPictureBase < Base
|
|
6
6
|
xml do
|
|
7
7
|
element "CT_PictureBase"
|
|
8
8
|
|
|
9
9
|
namespace Omml::Namespace
|
|
10
10
|
end
|
|
11
11
|
end
|
|
12
|
-
|
|
13
|
-
Omml::Configuration.register_model(CTPictureBase)
|
|
14
12
|
end
|
|
15
13
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTPlaceholder <
|
|
5
|
+
class CTPlaceholder < Base
|
|
6
6
|
attribute :doc_part, :ct_string
|
|
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(CTPlaceholder)
|
|
20
18
|
end
|
|
21
19
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTPoint2D <
|
|
5
|
+
class CTPoint2D < Base
|
|
6
6
|
attribute :x, :st_coordinate
|
|
7
7
|
attribute :y, :st_coordinate
|
|
8
8
|
|
|
@@ -15,7 +15,5 @@ module Omml
|
|
|
15
15
|
map_attribute :y, to: :y
|
|
16
16
|
end
|
|
17
17
|
end
|
|
18
|
-
|
|
19
|
-
Omml::Configuration.register_model(CTPoint2D)
|
|
20
18
|
end
|
|
21
19
|
end
|
data/lib/omml/models/ct_pos_h.rb
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTPosH <
|
|
5
|
+
class CTPosH < Base
|
|
6
6
|
choice(min: 1, max: 1) do
|
|
7
7
|
attribute :align, :st_align_h, collection: 1..1
|
|
8
8
|
attribute :pos_offset, :st_position_offset, collection: 1..1
|
|
@@ -21,7 +21,5 @@ module Omml
|
|
|
21
21
|
map_attribute :relativeFrom, to: :relative_from
|
|
22
22
|
end
|
|
23
23
|
end
|
|
24
|
-
|
|
25
|
-
Omml::Configuration.register_model(CTPosH)
|
|
26
24
|
end
|
|
27
25
|
end
|
data/lib/omml/models/ct_pos_v.rb
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTPosV <
|
|
5
|
+
class CTPosV < Base
|
|
6
6
|
choice(min: 1, max: 1) do
|
|
7
7
|
attribute :align, :st_align_v, collection: 1..1
|
|
8
8
|
attribute :pos_offset, :st_position_offset, collection: 1..1
|
|
@@ -21,7 +21,5 @@ module Omml
|
|
|
21
21
|
map_attribute :relativeFrom, to: :relative_from
|
|
22
22
|
end
|
|
23
23
|
end
|
|
24
|
-
|
|
25
|
-
Omml::Configuration.register_model(CTPosV)
|
|
26
24
|
end
|
|
27
25
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTPositiveSize2D <
|
|
5
|
+
class CTPositiveSize2D < Base
|
|
6
6
|
attribute :cx, :st_positive_coordinate
|
|
7
7
|
attribute :cy, :st_positive_coordinate
|
|
8
8
|
|
|
@@ -15,7 +15,5 @@ module Omml
|
|
|
15
15
|
map_attribute :cy, to: :cy
|
|
16
16
|
end
|
|
17
17
|
end
|
|
18
|
-
|
|
19
|
-
Omml::Configuration.register_model(CTPositiveSize2D)
|
|
20
18
|
end
|
|
21
19
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTProofErr <
|
|
5
|
+
class CTProofErr < Base
|
|
6
6
|
attribute :type, :st_proof_err
|
|
7
7
|
|
|
8
8
|
xml do
|
|
@@ -13,7 +13,5 @@ module Omml
|
|
|
13
13
|
map_attribute :type, to: :type
|
|
14
14
|
end
|
|
15
15
|
end
|
|
16
|
-
|
|
17
|
-
Omml::Configuration.register_model(CTProofErr)
|
|
18
16
|
end
|
|
19
17
|
end
|
data/lib/omml/models/ct_r.rb
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTR <
|
|
5
|
+
class CTR < Base
|
|
6
6
|
attribute :r_pr, :ct_rpr, collection: 0..1
|
|
7
7
|
import_model_attributes :eg_word_r_pr
|
|
8
8
|
choice(min: 0, max: Float::INFINITY) do
|
|
@@ -21,7 +21,5 @@ module Omml
|
|
|
21
21
|
end
|
|
22
22
|
end
|
|
23
23
|
end
|
|
24
|
-
|
|
25
|
-
Omml::Configuration.register_model(CTR)
|
|
26
24
|
end
|
|
27
25
|
end
|
data/lib/omml/models/ct_r_pr.rb
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTRPr <
|
|
5
|
+
class CTRPr < Base
|
|
6
6
|
import_model_attributes :eg_r_pr_content
|
|
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(CTRPr)
|
|
20
18
|
end
|
|
21
19
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTRPrOriginal <
|
|
5
|
+
class CTRPrOriginal < Base
|
|
6
6
|
import_model_attributes :eg_r_pr_base
|
|
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(CTRPrOriginal)
|
|
20
18
|
end
|
|
21
19
|
end
|
data/lib/omml/models/ct_rad.rb
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTRad <
|
|
5
|
+
class CTRad < Base
|
|
6
6
|
attribute :rad_pr, :ct_rad_pr, collection: 0..1
|
|
7
7
|
attribute :deg, :ct_o_math_arg
|
|
8
8
|
attribute :e, :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(CTRad)
|
|
24
22
|
end
|
|
25
23
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTRadPr <
|
|
5
|
+
class CTRadPr < Base
|
|
6
6
|
attribute :deg_hide, :ct_on_off, collection: 0..1
|
|
7
7
|
attribute :ctrl_pr, :ct_ctrl_pr, collection: 0..1
|
|
8
8
|
|
|
@@ -17,7 +17,5 @@ module Omml
|
|
|
17
17
|
end
|
|
18
18
|
end
|
|
19
19
|
end
|
|
20
|
-
|
|
21
|
-
Omml::Configuration.register_model(CTRadPr)
|
|
22
20
|
end
|
|
23
21
|
end
|
data/lib/omml/models/ct_rel.rb
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTRel <
|
|
5
|
+
class CTRel < Base
|
|
6
6
|
attribute :id, :st_relationship_id
|
|
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(CTRel)
|
|
18
16
|
end
|
|
19
17
|
end
|
data/lib/omml/models/ct_rpr.rb
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTRPR <
|
|
5
|
+
class CTRPR < Base
|
|
6
6
|
attribute :lit, :ct_on_off, collection: 0..1
|
|
7
7
|
choice(min: 1, max: 1) do
|
|
8
8
|
attribute :nor, :ct_on_off, collection: 0..1
|
|
@@ -27,7 +27,5 @@ module Omml
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
end
|
|
30
|
-
|
|
31
|
-
Omml::Configuration.register_model(CTRPR)
|
|
32
30
|
end
|
|
33
31
|
end
|
data/lib/omml/models/ct_ruby.rb
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTRuby <
|
|
5
|
+
class CTRuby < Base
|
|
6
6
|
attribute :ruby_pr, :ct_ruby_pr
|
|
7
7
|
attribute :rt, :ct_ruby_content
|
|
8
8
|
attribute :ruby_base, :ct_ruby_content
|
|
@@ -19,7 +19,5 @@ module Omml
|
|
|
19
19
|
end
|
|
20
20
|
end
|
|
21
21
|
end
|
|
22
|
-
|
|
23
|
-
Omml::Configuration.register_model(CTRuby)
|
|
24
22
|
end
|
|
25
23
|
end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module Omml
|
|
4
4
|
module Models
|
|
5
|
-
class CTRubyAlign <
|
|
5
|
+
class CTRubyAlign < Base
|
|
6
6
|
attribute :val, :st_ruby_align
|
|
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(CTRubyAlign)
|
|
18
16
|
end
|
|
19
17
|
end
|