|Summary:||[PATCH] The setVerticalAlignment method don't seem to work for XSLFTableCell|
|Product:||POI||Reporter:||Ut Vu Phan <dgen2>|
|Component:||XSLF||Assignee:||POI Developers List <dev>|
|Attachments:||SVN Diff created by the "ant -f patch.xml" command|
Description Ut Vu Phan 2012-02-17 21:57:20 UTC
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]).
Comment 1 Ut Vu Phan 2012-02-17 21:58:41 UTC
Created attachment 28347 [details] SVN Diff created by the "ant -f patch.xml" command