File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,17 +9,19 @@ class Level < OpenXml::Docx::Element
99 attribute :level , expects : :integer , displays_as : :ilvl # required
1010 # tplc is an entirely opaque "Word template code" and is
1111 # "application-specific" according to the spec
12- # attribute :tplc
12+ attribute :template_code , expects : :long_hex_number , displays_as : :tplc
1313 attribute :tentative , expects : :boolean
1414 end
1515
1616 value_property :start
1717 value_property :number_format
1818 value_property :level_restart
19- # value_property :p_style
20- # value_property :is_lgl
19+ value_property :paragraph_style
20+ value_property :legal_numbering
2121 value_property :suffix
2222 value_property :level_text
23+ # TODO: Add pic_bullet support (this refers to an element that isn't
24+ # implemented in the Numbering part)
2325 # value_property :lvl_pic_bullet_id
2426 value_property :alignment , as : :level_alignment
2527
Original file line number Diff line number Diff line change 1+ module OpenXml
2+ module Docx
3+ module Properties
4+ class LegalNumbering < OnOffProperty
5+ tag :isLgl
6+
7+ end
8+ end
9+ end
10+ end
You can’t perform that action at this time.
0 commit comments