📜  caracal docx.list_style - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:06.353000             🧑  作者: Mango

代码示例1
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