The cell vertical alignment is unchanged in the Powerpoint when invoking the method setVerticalAlignment (inherited from XSLFTextShape) from XSLFTableCell. Exemple : ... XSLFTableCell cell = row.addCell(); cell.setVerticalAlignment(VerticalAlignment.MIDDLE); After comparing some samples, the conclusion was : for cell, the "anchor" attribute should be changed in table cell properties (tc/tcPr[@anchor]) node not the text body properties node (tc/txBody/bodyPr[@anchor]).
Created attachment 28347 [details] SVN Diff created by the "ant -f patch.xml" command
Applied in r1291743. I also made a symmetrical change in , it should read the value from tc/tcPr[@anchor] too. Yegor