All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aspose.cells.AutoFitterOptions.html Maven / Gradle / Ivy

There is a newer version: 23.1
Show newest version





AutoFitterOptions




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)
           Indicates whether auto fit row height when the cells is merged in a row. The default value is false.
intgetAutoFitMergedCellsType()
voidsetAutoFitMergedCellsType(int)
           Gets and set the type of auto fitting row height of merged cells. The value of the property is AutoFitMergedCellsType integer constant.
intgetAutoFitWrappedTextType()
voidsetAutoFitWrappedTextType(int)
           Gets and sets the type of auto fitting wrapped text. The value of the property is AutoFitWrappedTextType integer constant.
intgetDefaultEditLanguage()
voidsetDefaultEditLanguage(int)
           Gets or sets default edit language. The value of the property is DefaultEditLanguage integer constant.
intgetFormatStrategy()
voidsetFormatStrategy(int)
           Gets and sets the formatted strategy. The value of the property is CellValueFormatStrategy integer constant.
booleangetIgnoreHidden()
voidsetIgnoreHidden(boolean)
           Ignores the hidden rows/columns.
doublegetMaxRowHeight()
voidsetMaxRowHeight(double)
           Gets and sets the max row height(in unit of Point) when autofitting rows.
booleangetOnlyAuto()
voidsetOnlyAuto(boolean)
           Indicates whether only fit the rows which height are not customed.
 

Constructor Detail

AutoFitterOptions

public AutoFitterOptions()

Property Getters/Setters Detail

getDefaultEditLanguage/setDefaultEditLanguage

public int getDefaultEditLanguage() / public void setDefaultEditLanguage(int value)
Gets or sets default edit language. The value of the property is DefaultEditLanguage integer constant. It may display/render different layouts for text paragraph when different edit languages is set. Default is #Error Cref: !:DefaultEditLanguage.Auto.

setDefaultEditLanguage

public void setDefaultEditLanguage(int value)
Gets or sets default edit language. The value of the property is DefaultEditLanguage integer constant. It may display/render different layouts for text paragraph when different edit languages is set. Default is #Error Cref: !:DefaultEditLanguage.Auto.

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 of merged cells. The value of the property is AutoFitMergedCellsType integer constant. 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.

setAutoFitMergedCellsType

public void setAutoFitMergedCellsType(int value)
Gets and set the type of auto fitting row height of merged cells. The value of the property is AutoFitMergedCellsType integer constant. 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.

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.

getFormatStrategy/setFormatStrategy

public int getFormatStrategy() / public void setFormatStrategy(int value)
Gets and sets the formatted strategy. The value of the property is CellValueFormatStrategy integer constant. The default value is CellStyle for performance.

setFormatStrategy

public void setFormatStrategy(int value)
Gets and sets the formatted strategy. The value of the property is CellValueFormatStrategy integer constant. The default value is CellStyle for performance.

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





© 2015 - 2024 Weber Informatics LLC | Privacy Policy