caracal docx.list_style code example
Example: caracal docx.list_style
docx.list_style do
type :ordered
level 0
format 'decimal'
value '%1.'
left 360
indent 180
end
docx.list_style do
type :ordered
level 1
format 'decimal'
value '%1.%2.' #show number like 1.1
left 720
indent 360
end
docx.list_style do
type :ordered
level 2
format 'lowerLetter' # can use decimal, lowerLetter or lowerRoman
value '%3.' # show me only letter
left 720
indent 540
end