com.aspose.cells

Class LoadFilter

  • java.lang.Object
    • com.aspose.cells.LoadFilter
public class LoadFilter 
extends java.lang.Object

Represents the filter that provides options for loading data when loading workbook from template.
User may specify the filter options or implement their own LoadFilter to specify how to load data.

Constructor Summary
LoadFilter()
Constructs one LoadFilter with default filter options LoadDataFilterOptions.All.
LoadFilter(intopts)
Constructs one LoadFilter with given filter options.
 
Property Getters/Setters Summary
intgetLoadDataFilterOptions()
void
           The filter options to denote what data should be loaded. The value of the property is LoadDataFilterOptions integer constant.
 
Method Summary
voidstartSheet(Worksheet sheet)
Prepares filter options before loading given worksheet. User's implementation of LoadFilter can change the LoadDataFilterOptions here to denote how to load data for this worksheet.
 

    • Constructor Detail

      • LoadFilter

        public LoadFilter()
        Constructs one LoadFilter with default filter options LoadDataFilterOptions.All.
      • LoadFilter

        public LoadFilter(int opts)
        Constructs one LoadFilter with given filter options.
        Parameters:
        opts - A LoadDataFilterOptions value. the default filter options
    • Property Getters/Setters Detail

      • getLoadDataFilterOptions/setLoadDataFilterOptions

        public int getLoadDataFilterOptions() / public void setLoadDataFilterOptions(int value)
        
        The filter options to denote what data should be loaded. The value of the property is LoadDataFilterOptions integer constant.

    setLoadDataFilterOptions

    public voidsetLoadDataFilterOptions(intvalue)
    
    The filter options to denote what data should be loaded. The value of the property is LoadDataFilterOptions integer constant.
    • Method Detail

      • startSheet

        public void startSheet(Worksheet sheet)
        Prepares filter options before loading given worksheet. User's implementation of LoadFilter can change the LoadDataFilterOptions here to denote how to load data for this worksheet.
        Parameters:
        sheet - The worksheet to be loaded. There are only few properties can be used for the given worksheet object here because most data and properties have not been loaded. The available properties are: Name, Index, VisibilityType