Ziv-Barber/officegen

How to add custom size for only first column & all other columns another size

Closed this issue · 1 comments

Environment

  • node -v: v8.10.0
  • npm -v: 3.5.2
  • npm ls officegen: 0.4.5
  • Operating system: ubuntu
  • Problem with Powerpoint, Excel or Word document: Powerpoint

I need add custom size for only first column & all other columns another size
my try

  • columnWidths: [3186250,1000000] or columnWidths: [3186250, [1000000]]
    this occur error if column number > 2
    missing attribute value for attribute w of element : a gridcol

i solve this problem with small method calculate width & make first index in array static size