PptxGenJS icon indicating copy to clipboard operation
PptxGenJS copied to clipboard

Bullet option in placeholder definition not working

Open Horsmann opened this issue 5 years ago • 2 comments

I use version 3.0.1

Bullets are not working when used in a master slide for the definition of a placeholder

{ 'placeholder': {
  options: { bullet:true, name:'desc', x:0.47, y:1.8, w:3, h:.2, fontSize:8},
  text: ''
}

If used without a placeholder they are working.

Horsmann avatar Feb 04 '20 15:02 Horsmann

I have the same issue. I analyzed the generated pptx file and for some reason txBody has this:

<a:pPr>
  <a:buNone/>
</a:pPr>

instead of for example this:

<a:pPr indent="-342900" marL="342900">
  <a:buSzPct val="100000"/>
  <a:buChar char="•"/>
</a:pPr>

gnikolovski avatar Mar 29 '20 09:03 gnikolovski

The following PR fixes the issue, but not completely. Only the first item has a bullet.

https://github.com/gitbrent/PptxGenJS/pull/620

Before and after screenshots.

1 2

ghost avatar Mar 30 '20 18:03 ghost