Skip to content

Commit 3d3f3ff

Browse files
committed
[skip] Added legacy tab types as valid options for the tab property (1m)
1 parent fc09311 commit 3d3f3ff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • lib/openxml/docx/properties

lib/openxml/docx/properties/tab.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module Properties
44
class Tab < BaseProperty
55
attr_reader :position, :type, :leader
66

7-
VALID_TYPES = %i(bar center clear decimal end num start)
7+
VALID_TYPES = %i(bar center clear decimal end num start left right)
88
VALID_LEADERS = [nil, :dot, :heavy, :hyphen, :middleDot, :none, :underscore]
99

1010
def initialize(position, type, leader=nil)

0 commit comments

Comments
 (0)