ASPOSE home

com.aspose.words
Class RowFormat

java.lang.Object
    extended by com.aspose.words.RowFormat

public class RowFormat
extends java.lang.Object

Represents all formatting for a table row.

Property Getters/Setters Summary
intgetAlignment()
voidsetAlignment(int value)
           Gets or sets a value that represents the alignment for the row. The value of the property is RowAlignment integer constant.
booleangetAllowAutoFit()
voidsetAllowAutoFit(boolean value)
           Allows Microsoft Word to automatically resize cells in a table to fit their contents.
booleangetAllowBreakAcrossPages()
voidsetAllowBreakAcrossPages(boolean value)
           True if the text in a table row is allowed to split across a page break.
booleangetBidi()
voidsetBidi(boolean value)
           Gets or sets whether this is a rigt-to-left table.
BordersgetBorders()
           Gets the collection of default cell borders for the row.
doublegetBottomPadding()
voidsetBottomPadding(double value)
           Gets or sets the amount of space (in points) to add below the contents of cells.
doublegetCellSpacing()
voidsetCellSpacing(double value)
           Gets or sets the amount of space (in points) between the cells.
booleangetHeadingFormat()
voidsetHeadingFormat(boolean value)
           True if the row is repeated as a table heading on every page when the table spans more than one page.
doublegetHeight()
voidsetHeight(double value)
           Gets or sets the height of the table row in points.
intgetHeightRule()
voidsetHeightRule(int value)
           Gets or sets the rule for determining the height of the table row. The value of the property is HeightRule integer constant.
doublegetLeftIndent()
voidsetLeftIndent(double value)
           Gets or sets the value that represents the left indent of the table row.
doublegetLeftPadding()
voidsetLeftPadding(double value)
           Gets or sets the amount of space (in points) to add to the left of the contents of cells.
doublegetRightPadding()
voidsetRightPadding(double value)
           Gets or sets the amount of space (in points) to add to the right of the contents of cells.
doublegetTopPadding()
voidsetTopPadding(double value)
           Gets or sets the amount of space (in points) to add above the contents of cells.
 
Method Summary
voidclearCellPadding()
           Sets default cell margins (padding) to zero.
voidclearFormatting()
           Resets to default row formatting.
java.lang.ObjectfetchInheritedAttr(int key)
          Reserved for internal use.
java.lang.ObjectgetDirectAttr(int key)
          Reserved for internal use.
voidsetAttr(int key, java.lang.Object value)
          Reserved for internal use.
 

Property Getters/Setters Detail

getAlignment/setAlignment

public int getAlignment()

public void setAlignment(int value)
Gets or sets a value that represents the alignment for the row. The value of the property is RowAlignment integer constant.

getAllowAutoFit/setAllowAutoFit

public boolean getAllowAutoFit()

public void setAllowAutoFit(boolean value)
Allows Microsoft Word to automatically resize cells in a table to fit their contents.

getBorders

public Borders getBorders()
Gets the collection of default cell borders for the row.

getBidi/setBidi

public boolean getBidi()

public void setBidi(boolean value)
Gets or sets whether this is a rigt-to-left table.

When true, the cells in this row are laid out right to left.


getLeftPadding/setLeftPadding

public double getLeftPadding()

public void setLeftPadding(double value)
Gets or sets the amount of space (in points) to add to the left of the contents of cells.

getRightPadding/setRightPadding

public double getRightPadding()

public void setRightPadding(double value)
Gets or sets the amount of space (in points) to add to the right of the contents of cells.

getTopPadding/setTopPadding

public double getTopPadding()

public void setTopPadding(double value)
Gets or sets the amount of space (in points) to add above the contents of cells.

getBottomPadding/setBottomPadding

public double getBottomPadding()

public void setBottomPadding(double value)
Gets or sets the amount of space (in points) to add below the contents of cells.

getCellSpacing/setCellSpacing

public double getCellSpacing()

public void setCellSpacing(double value)
Gets or sets the amount of space (in points) between the cells.

getHeight/setHeight

public double getHeight()

public void setHeight(double value)
Gets or sets the height of the table row in points.

getHeightRule/setHeightRule

public int getHeightRule()

public void setHeightRule(int value)
Gets or sets the rule for determining the height of the table row. The value of the property is HeightRule integer constant.

getAllowBreakAcrossPages/setAllowBreakAcrossPages

public boolean getAllowBreakAcrossPages()

public void setAllowBreakAcrossPages(boolean value)
True if the text in a table row is allowed to split across a page break.

getHeadingFormat/setHeadingFormat

public boolean getHeadingFormat()

public void setHeadingFormat(boolean value)
True if the row is repeated as a table heading on every page when the table spans more than one page.

getLeftIndent/setLeftIndent

public double getLeftIndent()

public void setLeftIndent(double value)
Gets or sets the value that represents the left indent of the table row.

Method Detail

clearFormatting

public void clearFormatting()
Resets to default row formatting.

clearCellPadding

public void clearCellPadding()
Sets default cell margins (padding) to zero.

setAttr

public void setAttr(int key, java.lang.Object value)
Reserved for internal use.

fetchInheritedAttr

public java.lang.Object fetchInheritedAttr(int key)
                         throws java.lang.Exception
Reserved for internal use.

getDirectAttr

public java.lang.Object getDirectAttr(int key)
Reserved for internal use.

See Also:
          Wiki - the home page for the Aspose.Words Product Documentation that includes Programmer's Guide, Knowledge Base and other articles.
          Aspose.Words Support Forum - our preferred method of support.
          Aspose.Words Team - contact Aspose.Words Team.


ASPOSE home