To be more precise, with the XSSF api, I can use the CTRowImpl implementation
in order to set the column spans.

        CTRowImpl ctRow = (CTRowImpl) ((XSSFRow) row).getCTRow();
        List<String> spanList = new ArrayList<String>();

        // Add object with format start_coll:end_coll. For example 1:3 will span
from
        // cell 1 to cell 3, where the column index starts with 0
        String span = "4:6"
        spanList.add(span);

        // add spans to the row
        ctRow.setSpans(spanList);

But in the SXSSF implementation, it does not have this xml bean (CTRowImpl)
containing all cell definitions for the row.

--
View this message in context: 
http://apache-poi.1045710.n5.nabble.com/SXSSF-and-Center-Across-Selection-tp5560727p5561100.html
Sent from the POI - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to