Forum Stats

  • 3,722,791 Users
  • 2,244,415 Discussions
  • 7,850,094 Comments

Discussions

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

org.apache.poi.hssf.util.Region in org.apache.poi.hssf.util has been deprecated

1725319
1725319 Member Posts: 3
edited March 2017 in Java Lambda MOOC


We  have a ADF app using POI for manipulating XLS files. It is written with Jdeveloper 10 and need to be migrated to Jdeveloper 11 then 12.

It found lib deprecated problem. We are trying find the substitute lib.

Sample code:

import org.apache.poi.hssf.util.Region;

private void createIndicatorSummary(SprPerformanceIndicator indicator)
{
  IndicatorLabels labels = new IndicatorLabels(indicator);

  // Title row
  this.createNewRow();
  this.createHeaderCell("Indicator Summary");

  
                Region r = new Region();
  r.setColumnFrom((short)0);
  r.setColumnTo((short)1);
  r.setRowFrom(this.currentRowIndex);
  r.setRowTo(this.currentRowIndex);
  this.currentWorksheet.addMergedRegion(r);

.....

}

Answers

Sign In or Register to comment.