com.aspose.cells
Class AutoFitterOptions

java.lang.Object
    extended by com.aspose.cells.AutoFitterOptions

public class AutoFitterOptions 
extends java.lang.Object

Represents all auto fitter options.


Constructor Summary
AutoFitterOptions()
          
 
Property Getters/Setters Summary
booleangetAutoFitMergedCells()
voidsetAutoFitMergedCells(boolean value)
           Indicates whether auto fit row height when the cells is merged in a row. The default value is false.
intgetAutoFitMergedCellsType()
voidsetAutoFitMergedCellsType(int value)
           Gets and set the type of auto fitting row height. The value of the property is AutoFitMergedCellsType integer constant.
intgetAutoFitWrappedTextType()
voidsetAutoFitWrappedTextType(int value)
           Gets and sets the type of auto fitting wrapped text. The value of the property is AutoFitWrappedTextType integer constant.
booleangetIgnoreHidden()
voidsetIgnoreHidden(boolean value)
           Ignores the hidden rows/columns.
doublegetMaxRowHeight()
voidsetMaxRowHeight(double value)
           Gets and sets the max row height(in unit of Point) when autofitting rows.
booleangetOnlyAuto()
voidsetOnlyAuto(boolean value)
           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.

setAutoFitMergedCells

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.

setAutoFitMergedCellsType

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.

setOnlyAuto

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)
Ignores the hidden rows/columns.

setIgnoreHidden

public void setIgnoreHidden(boolean value)
Ignores 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.

setMaxRowHeight

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.

setAutoFitWrappedTextType

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

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.