AutoFitterOptions

Inheritance: java.lang.Object

public class AutoFitterOptions

Represents all auto fitter options.

Constructors

ConstructorDescription
AutoFitterOptions()

Methods

MethodDescription
equals(Object arg0)
getAutoFitMergedCells()Indicates whether auto fit row height when the cells is merged in a row.
getAutoFitMergedCellsType()Gets the type of auto fitting row height of merged cells.
getAutoFitWrappedTextType()Gets the type of auto fitting wrapped text.
getClass()
getDefaultEditLanguage()Gets default edit language.
getForRendering()Indicates whether fit for rendering purpose.
getFormatStrategy()Gets the formatted strategy.
getIgnoreHidden()Ignores the hidden rows/columns.
getMaxRowHeight()Gets the max row height(in unit of Point) when autofitting rows.
getOnlyAuto()Indicates whether only fit the rows which height are not customed.
hashCode()
notify()
notifyAll()
setAutoFitMergedCells(boolean value)Indicates whether auto fit row height when the cells is merged in a row.
setAutoFitMergedCellsType(int value)Sets the type of auto fitting row height of merged cells.
setAutoFitWrappedTextType(int value)Sets the type of auto fitting wrapped text.
setDefaultEditLanguage(int value)Sets default edit language.
setForRendering(boolean value)Indicates whether fit for rendering purpose.
setFormatStrategy(int value)Sets the formatted strategy.
setIgnoreHidden(boolean value)Ignores the hidden rows/columns.
setMaxRowHeight(double value)Sets the max row height(in unit of Point) when autofitting rows.
setOnlyAuto(boolean value)Indicates whether only fit the rows which height are not customed.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

AutoFitterOptions()

public AutoFitterOptions()

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getAutoFitMergedCells()

public boolean getAutoFitMergedCells()

Indicates whether auto fit row height when the cells is merged in a row. The default value is false.

Remarks

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.

Returns: boolean

getAutoFitMergedCellsType()

public int getAutoFitMergedCellsType()

Gets the type of auto fitting row height of merged cells.

See AutoFitMergedCellsType.

Remarks

Excel defaults to ignore merged cells when fitting the row height, so Aspose.Cells works as MS Excel default. Please set this type to change the way of auto fitting row height of merged cells.

Returns: int

getAutoFitWrappedTextType()

public int getAutoFitWrappedTextType()

Gets the type of auto fitting wrapped text.

See AutoFitWrappedTextType.

Returns: int

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getDefaultEditLanguage()

public int getDefaultEditLanguage()

Gets default edit language.

See DefaultEditLanguage.

Remarks

It may display/render different layouts for text paragraph when different edit languages is set. Default is DefaultEditLanguage.AUTO.

Returns: int

getForRendering()

public boolean getForRendering()

Indicates whether fit for rendering purpose.

Returns: boolean

getFormatStrategy()

public int getFormatStrategy()

Gets the formatted strategy.

See CellValueFormatStrategy.

Remarks

The default value is CellStyle for performance.

Returns: int

getIgnoreHidden()

public boolean getIgnoreHidden()

Ignores the hidden rows/columns.

Returns: boolean

getMaxRowHeight()

public double getMaxRowHeight()

Gets the max row height(in unit of Point) when autofitting rows.

Returns: double

getOnlyAuto()

public boolean getOnlyAuto()

Indicates whether only fit the rows which height are not customed.

Returns: boolean

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setAutoFitMergedCells(boolean value)

public void setAutoFitMergedCells(boolean value)

Indicates whether auto fit row height when the cells is merged in a row. The default value is false.

Remarks

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.

Parameters:

ParameterTypeDescription
valueboolean

setAutoFitMergedCellsType(int value)

public void setAutoFitMergedCellsType(int value)

Sets the type of auto fitting row height of merged cells.

See AutoFitMergedCellsType.

Remarks

Excel defaults to ignore merged cells when fitting the row height, so Aspose.Cells works as MS Excel default. Please set this type to change the way of auto fitting row height of merged cells.

Parameters:

ParameterTypeDescription
valueint

setAutoFitWrappedTextType(int value)

public void setAutoFitWrappedTextType(int value)

Sets the type of auto fitting wrapped text.

See AutoFitWrappedTextType.

Parameters:

ParameterTypeDescription
valueint

setDefaultEditLanguage(int value)

public void setDefaultEditLanguage(int value)

Sets default edit language.

See DefaultEditLanguage.

Remarks

It may display/render different layouts for text paragraph when different edit languages is set. Default is DefaultEditLanguage.AUTO.

Parameters:

ParameterTypeDescription
valueint

setForRendering(boolean value)

public void setForRendering(boolean value)

Indicates whether fit for rendering purpose.

Parameters:

ParameterTypeDescription
valueboolean

setFormatStrategy(int value)

public void setFormatStrategy(int value)

Sets the formatted strategy.

See CellValueFormatStrategy.

Remarks

The default value is CellStyle for performance.

Parameters:

ParameterTypeDescription
valueint

setIgnoreHidden(boolean value)

public void setIgnoreHidden(boolean value)

Ignores the hidden rows/columns.

Parameters:

ParameterTypeDescription
valueboolean

setMaxRowHeight(double value)

public void setMaxRowHeight(double value)

Sets the max row height(in unit of Point) when autofitting rows.

Parameters:

ParameterTypeDescription
valuedouble

setOnlyAuto(boolean value)

public void setOnlyAuto(boolean value)

Indicates whether only fit the rows which height are not customed.

Parameters:

ParameterTypeDescription
valueboolean

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int