private void initAnchorsMap ( final Workbook wb , final ChartsData chartsData ) { try { if ( wb instanceof XSSFWorkbook ) { ChartUtility . initXSSFAnchorsMap ( ( XSSFWorkbook ) wb , chartsData ) ; } } catch ( Exception e ) { LOG . log ( Level . SEVERE , "Web Form getAnchorsMap Error Exception = " + e . getLocalizedMessage ( ) , e ) ; } }
initial anchors map for specified workbook . Excel put the chart position information in draw . xml instead of chart . xml . anchors map contains the information getting from draw . xml .