com.aspose.cells

Class AutoFitterOptions

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

Represents all auto fitter options.

Constructor Summary
 
Property Getters/Setters Summary
booleangetAutoFitMergedCells()
void
setAutoFitMergedCells(booleanvalue)
           Indicates whether auto fit row height when the cells is merged in a row. The default value is false.
intgetAutoFitMergedCellsType()
void
           Gets and set the type of auto fitting row height. The value of the property is AutoFitMergedCellsType integer constant.
intgetAutoFitWrappedTextType()
void
           Gets and sets the type of auto fitting wrapped text. The value of the property is AutoFitWrappedTextType integer constant.
booleangetIgnoreHidden()
void
setIgnoreHidden(booleanvalue)
           Ingores the hidden rows/columns.
doublegetMaxRowHeight()
void
setMaxRowHeight(doublevalue)
           Gets and sets the max row height(in unit of Point) when autofitting rows.
booleangetOnlyAuto()
void
setOnlyAuto(booleanvalue)
           Indicates whether only fit the rows which height are not customed.
 

    • Constructor Detail

      • AutoFitterOptions

        public AutoFitterOptions()
    • Property Getters/Setters Detail

      • getAutoFitMergedCells/setAutoFitMergedCells

        public boolean getAutoFitMergedCells() / public void setAutoFitMergedCells(boolean value)
        
        Indicates whether auto fit row height when the cells is merged in a row. The default value is false. NOTE: This member is now obsolete. Instead, please use AutoFitterOptions.AutoFitMergedCellsType property, instead. This property will be removed 12 months later since December 2018. Aspose apologizes for any inconvenience you may have experienced.
      • getAutoFitMergedCellsType/setAutoFitMergedCellsType

        public int getAutoFitMergedCellsType() / public void setAutoFitMergedCellsType(int value)
        
        Gets and set the type of auto fitting row height. The value of the property is AutoFitMergedCellsType integer constant. If the cells in merged in a row and auto fit the rows in MS Excel, MS Excel do not expand the row height. If this option is true, Aspose.Cells will expand the row height to fit the cells' data.
      • getOnlyAuto/setOnlyAuto

        public boolean getOnlyAuto() / public void setOnlyAuto(boolean value)
        
        Indicates whether only fit the rows which height are not customed.
      • getIgnoreHidden/setIgnoreHidden

        public boolean getIgnoreHidden() / public void setIgnoreHidden(boolean value)
        
        Ingores the hidden rows/columns.
      • getMaxRowHeight/setMaxRowHeight

        public double getMaxRowHeight() / public void setMaxRowHeight(double value)
        
        Gets and sets the max row height(in unit of Point) when autofitting rows.
      • getAutoFitWrappedTextType/setAutoFitWrappedTextType

        public int getAutoFitWrappedTextType() / public void setAutoFitWrappedTextType(int value)
        
        Gets and sets the type of auto fitting wrapped text. The value of the property is AutoFitWrappedTextType integer constant.

    setAutoFitMergedCells

    public voidsetAutoFitMergedCells(booleanvalue)
    
    Indicates whether auto fit row height when the cells is merged in a row. The default value is false. NOTE: This member is now obsolete. Instead, please use AutoFitterOptions.AutoFitMergedCellsType property, instead. This property will be removed 12 months later since December 2018. Aspose apologizes for any inconvenience you may have experienced.

    setAutoFitMergedCellsType

    public voidsetAutoFitMergedCellsType(intvalue)
    
    Gets and set the type of auto fitting row height. The value of the property is AutoFitMergedCellsType integer constant. If the cells in merged in a row and auto fit the rows in MS Excel, MS Excel do not expand the row height. If this option is true, Aspose.Cells will expand the row height to fit the cells' data.

    setOnlyAuto

    public voidsetOnlyAuto(booleanvalue)
    
    Indicates whether only fit the rows which height are not customed.

    setIgnoreHidden

    public voidsetIgnoreHidden(booleanvalue)
    
    Ingores the hidden rows/columns.

    setMaxRowHeight

    public voidsetMaxRowHeight(doublevalue)
    
    Gets and sets the max row height(in unit of Point) when autofitting rows.

    setAutoFitWrappedTextType

    public voidsetAutoFitWrappedTextType(intvalue)
    
    Gets and sets the type of auto fitting wrapped text. The value of the property is AutoFitWrappedTextType integer constant.