AutoFitterOptions
Inheritance: java.lang.Object
public class AutoFitterOptions
Represents all auto fitter options.
Constructors
Constructor | Description |
---|---|
AutoFitterOptions() |
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
arg0 | java.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.
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.
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.
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:
Parameter | Type | Description |
---|---|---|
value | boolean |
setAutoFitMergedCellsType(int value)
public void setAutoFitMergedCellsType(int value)
Sets the type of auto fitting row height of merged cells.
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:
Parameter | Type | Description |
---|---|---|
value | int |
setAutoFitWrappedTextType(int value)
public void setAutoFitWrappedTextType(int value)
Sets the type of auto fitting wrapped text.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
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:
Parameter | Type | Description |
---|---|---|
value | int |
setForRendering(boolean value)
public void setForRendering(boolean value)
Indicates whether fit for rendering purpose.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setFormatStrategy(int value)
public void setFormatStrategy(int value)
Sets the formatted strategy.
Remarks
The default value is CellStyle for performance.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setIgnoreHidden(boolean value)
public void setIgnoreHidden(boolean value)
Ignores the hidden rows/columns.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setMaxRowHeight(double value)
public void setMaxRowHeight(double value)
Sets the max row height(in unit of Point) when autofitting rows.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double |
setOnlyAuto(boolean value)
public void setOnlyAuto(boolean value)
Indicates whether only fit the rows which height are not customed.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |