com.spire.doc.formatting
Class RowFormat

java.lang.Object
  extended by com.spire.doc.OwnerHolder
      extended by com.spire.doc.documents.xml.DocumentSerializable
          extended by com.spire.doc.formatting.FormatBase
              extended by com.spire.doc.formatting.AttrCollection
                  extended by com.spire.doc.formatting.WordAttrCollection
                      extended by com.spire.doc.formatting.RowFormat
All Implemented Interfaces:
IDocumentSerializable

public class RowFormat
extends WordAttrCollection

Row format class.


Constructor Summary
RowFormat()
          Initializes a new instance of the class.
 
Method Summary
 java.awt.Color getBackColor()
          Gets or sets background color.
 boolean getBidi()
          Returns or sets whether table is right to left.
 Borders getBorders()
          Gets borders.
 float getCellSpacing()
          Returns or sets spacing between cells.
 RowAlignment getHorizontalAlignment()
          Gets or sets horizontal alignment for the table.
 LayoutType getLayoutType()
          Gets or set the value of the layoutType.
 float getLeftIndent()
          Returns or sets table indent.
 Paddings getPaddings()
          Gets paddings.
 TablePositioning getPositioning()
          the positioning.
 boolean getWrapTextAround()
          Gets or sets a value indicating whether to use "Around" text wrapping.
 boolean isAutoResized()
          Returns or sets the boolean value indicating if table is auto resized
 void isAutoResized(boolean value)
          Returns or sets the boolean value indicating if table is auto resized
 boolean isBreakAcrossPages()
          Returns or sets the boolean value indicating if there is a break across pages
 void isBreakAcrossPages(boolean value)
          Returns or sets the boolean value indicating if there is a break across pages
 void setBackColor(java.awt.Color value)
          Gets or sets background color.
 void setBidi(boolean value)
          Returns or sets whether table is right to left.
 void setCellSpacing(float value)
          Returns or sets spacing between cells.
 void setHorizontalAlignment(RowAlignment value)
          Gets or sets horizontal alignment for the table.
 void setLayoutType(LayoutType value)
          Gets or set the value of the layoutType.
 void setLeftIndent(float value)
          Returns or sets table indent.
 void setWrapTextAround(boolean value)
          Gets or sets a value indicating whether to use "Around" text wrapping.
 
Methods inherited from class com.spire.doc.formatting.FormatBase
clearBackground, clearFormatting, hasKey, isDefault
 
Methods inherited from class com.spire.doc.OwnerHolder
getDocument
 

Constructor Detail

RowFormat

public RowFormat()
Initializes a new instance of the class.

Method Detail

getBackColor

public java.awt.Color getBackColor()
Gets or sets background color.


setBackColor

public void setBackColor(java.awt.Color value)
Gets or sets background color.


getBorders

public Borders getBorders()
Gets borders.


getPaddings

public Paddings getPaddings()
Gets paddings.


getCellSpacing

public float getCellSpacing()
Returns or sets spacing between cells. The setting value must be between 0 pt and 264.5 pt. The value will not be applied to this property if it is set out of range. This property will be cleared if the set value is less than 0.


setCellSpacing

public void setCellSpacing(float value)
Returns or sets spacing between cells. The setting value must be between 0 pt and 264.5 pt. The value will not be applied to this property if it is set out of range. This property will be cleared if the set value is less than 0.


getLeftIndent

public float getLeftIndent()
Returns or sets table indent.


setLeftIndent

public void setLeftIndent(float value)
Returns or sets table indent.


isAutoResized

public boolean isAutoResized()
Returns or sets the boolean value indicating if table is auto resized

[Obsolete("RowFormat.IsAutoResized has been deprecated. " + "If you want to set the preferred width of the table, please investigate the use of Table.PreferredWidth instead.")]


isAutoResized

public void isAutoResized(boolean value)
Returns or sets the boolean value indicating if table is auto resized

[Obsolete("RowFormat.IsAutoResized has been deprecated. " + "If you want to set the preferred width of the table, please investigate the use of Table.PreferredWidth instead.")]


isBreakAcrossPages

public boolean isBreakAcrossPages()
Returns or sets the boolean value indicating if there is a break across pages


isBreakAcrossPages

public void isBreakAcrossPages(boolean value)
Returns or sets the boolean value indicating if there is a break across pages


getBidi

public boolean getBidi()
Returns or sets whether table is right to left.


setBidi

public void setBidi(boolean value)
Returns or sets whether table is right to left.


getHorizontalAlignment

public RowAlignment getHorizontalAlignment()
Gets or sets horizontal alignment for the table.


setHorizontalAlignment

public void setHorizontalAlignment(RowAlignment value)
Gets or sets horizontal alignment for the table.


getWrapTextAround

public boolean getWrapTextAround()
Gets or sets a value indicating whether to use "Around" text wrapping.

Returns:
true if wrap text around; otherwise, false.

setWrapTextAround

public void setWrapTextAround(boolean value)
Gets or sets a value indicating whether to use "Around" text wrapping.


getPositioning

public TablePositioning getPositioning()
the positioning.

Returns:
The positioning.

getLayoutType

public LayoutType getLayoutType()
Gets or set the value of the layoutType. This element specifies the algorithm which shall be used to layout the comtents of the table within the document.

Returns:
The type of the layout.

setLayoutType

public void setLayoutType(LayoutType value)
Gets or set the value of the layoutType. This element specifies the algorithm which shall be used to layout the comtents of the table within the document.