https://bz.apache.org/bugzilla/show_bug.cgi?id=59853
--- Comment #2 from Greg Woolsey <[email protected]> --- Currently XSSFSheet has: public XSSFPivotTable createPivotTable(AreaReference source, CellReference position, Sheet sourceSheet); public XSSFPivotTable createPivotTable(AreaReference source, CellReference position); I think these would work as additional methods, with some refactoring of the private and protected stuff these call: public XSSFPivotTable createPivotTable(Name source, CellReference position, Sheet sourceSheet); public XSSFPivotTable createPivotTable(Name source, CellReference position); public XSSFPivotTable createPivotTable(Table source, CellReference position, Sheet sourceSheet); public XSSFPivotTable createPivotTable(Table source, CellReference position); That keeps it using Objects instead of names, even if the underlying structure winds up just using the name. I think the supporting code can be rearranged to set the reference or name attribute independent of the other setup steps, so those can be common and only the final source association is distinct for the 3 flavors. -- 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]
