https://bz.apache.org/bugzilla/show_bug.cgi?id=63228

PJ Fanning <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INFORMATIONPROVIDED
             Status|NEW                         |RESOLVED

--- Comment #2 from PJ Fanning <[email protected]> ---
copyCellFrom javadoc says that it does not shift references in formulas - the
XSSFRow copyRowFrom does update formulas but the cell copy doesn't

    /**
     * Copy cell value, formula and style, from srcCell per cell copy policy
     * If srcCell is null, clears the cell value and cell style per cell copy
policy
     *
     * This does not shift references in formulas. Use {@link
org.apache.poi.xssf.usermodel.helpers.XSSFRowShifter} to shift references in
formulas.
     *
     * @param srcCell The cell to take value, formula and style from
     * @param policy The policy for copying the information, see {@link
CellCopyPolicy}
     * @throws IllegalArgumentException if copy cell style and srcCell is from
a different workbook
     * @see CellUtil#copyCell(Cell, Cell, CellCopyPolicy, CellCopyContext)
     */

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to