Filtering the kind of data while loading the workbook from template file

Filtering the kind of data while loading the workbook from a template file

The following sample code loads only shape objects while loading the workbook from the template file which you can download from the given link.

The following screenshot shows the template file contents and also explains that the data in Red color and Yellow background will not be loaded because the LoadOptions.getLoadFilter().setLoadDataFilterOptions property has been set to LoadDataFilterOptions.SHAPE.

todo:image_alt_text

The following screenshot shows the output PDF which you can download from the given link. Here you can see, the data in Red color and Yellow background is not present but all shapes are there.

todo:image_alt_text