Skip to content

Commit a2c9916

Browse files
authored
Merge pull request #70 from openxml/legacy-tabs
Added legacy tab types as valid options for the tab property
2 parents fc09311 + 3d3f3ff commit a2c9916

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)