gitbrent / PptxGenJS

Create PowerPoint presentations with a powerful, concise JavaScript API.
https://gitbrent.github.io/PptxGenJS/
MIT License
2.62k stars 611 forks source link

Add column support to text body properties #1320

Open awdorrin opened 5 months ago

awdorrin commented 5 months ago

Issue Category

Product Versions

Desired Behavior

In PowerPoint, with a text box selected, you can choose the number of columns (2, 3 or more) This sets the bodyPr tag as follows:

                <p:txBody>
                    <a:bodyPr wrap="square" numCol="2" rtlCol="0" anchor="t">
                        <a:normAutofit/>
                    </a:bodyPr>

It would be useful to be able set this, even if only works like fit: "shrink" where a manual edit in the resulting powerpoint is needed to recalculate.