https://issues.apache.org/bugzilla/show_bug.cgi?id=52701

             Bug #: 52701
           Summary: [PATCH] The setVerticalAlignment method don't seem to
                    work for XSLFTableCell
           Product: POI
           Version: 3.8-dev
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLF
        AssignedTo: dev@poi.apache.org
        ReportedBy: dg...@hotmail.com
    Classification: Unclassified


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]).

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to