PptxGenJS icon indicating copy to clipboard operation
PptxGenJS copied to clipboard

Add column support to text body properties

Open awdorrin opened this issue 1 year ago • 0 comments

Issue Category

  • [x] Enhancement
  • [ ] Bug
  • [ ] Question
  • [ ] Documentation gap/issue

Product Versions

  • Please specify what version of the library you are using......: [ 3.12.0 ]
  • Please specify what version(s) of PowerPoint you are targeting: [ 16 ]
  • Please specify what web browser you are using.................: [ Chrome/FireFox/Edge ]

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.

awdorrin avatar Feb 16 '24 16:02 awdorrin