rowformat-ag凯发旗舰厅



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

public class rowformat
extends wordattrcollection

row format class.


constructor summary
rowformat()
          initializes a new instance of the rowformat class.
 
method summary
 java.awt.color getbackcolor()
          gets background color.
 boolean getbidi()
          returns whether table is right to left.
 borders getborders()
          gets borders.
 float getcellspacing()
          returns spacing between cells.
 rowalignment gethorizontalalignment()
          gets horizontal alignment for the table.
 layouttype getlayouttype()
          gets the value of the layouttype.
 float getleftindent()
          returns table indent.
 paddings getpaddings()
          gets paddings.
 tablepositioning getpositioning()
          the positioning
 boolean getwraptextaround()
          gets a value indicating whether to use "around" text wrapping.
 boolean isautoresized()
          returns the boolean value indicating if table is auto resized
 void isautoresized(boolean value)
          sets the boolean value indicating if table is auto resized
 boolean isbreakacrosspages()
          returns the boolean value indicating if there is a break across pages
 void isbreakacrosspages(boolean value)
          sets the boolean value indicating if there is a break across pages
 void setbackcolor(java.awt.color color)
          sets background color.
 void setbidi(boolean value)
          sets whether table is right to left.
 void setcellspacing(float value)
          sets spacing between cells.
 void sethorizontalalignment(rowalignment value)
          sets horizontal alignment for the table.
 void setlayouttype(layouttype value)
          set the value of the layouttype.
 void setleftindent(float value)
          sets table indent.
 void setwraptextaround(boolean value)
          sets a value indicating whether to use "around" text wrapping.
 
methods inherited from class com.spire.doc.formatting.formatbase
clearformatting, haskey, isdefault
 
methods inherited from class com.spire.doc.ownerholder
getdocument
 
constructor detail

rowformat

public rowformat()
initializes a new instance of the rowformat class.
method detail

getbackcolor

public java.awt.color getbackcolor()
gets background color.
returns:
color

setbackcolor

public void setbackcolor(java.awt.color color)
sets background color.
parameters:
color - background color.

getborders

public borders getborders()
gets borders.
returns:
borders

getpaddings

public paddings getpaddings()
gets paddings.
returns:
paddings

getcellspacing

public float getcellspacing()
returns spacing between cells.
returns:
cellspacing

setcellspacing

public void setcellspacing(float value)
sets spacing between cells.
parameters:
value - cellspacing

getleftindent

public float getleftindent()
returns table indent.
returns:
table indent.

setleftindent

public void setleftindent(float value)
sets table indent.
parameters:
value - table indent.

isautoresized

public boolean isautoresized()
returns the boolean value indicating if table is auto resized
returns:
is autoresized or not

isautoresized

public void isautoresized(boolean value)
sets the boolean value indicating if table is auto resized
parameters:
value - is autoresized or not

isbreakacrosspages

public boolean isbreakacrosspages()
returns the boolean value indicating if there is a break across pages
returns:
is breakacrosspages or not

isbreakacrosspages

public void isbreakacrosspages(boolean value)
sets the boolean value indicating if there is a break across pages
parameters:
value - is breakacrosspages or not

getbidi

public boolean getbidi()
returns whether table is right to left.
returns:
is bidi or not

setbidi

public void setbidi(boolean value)
sets whether table is right to left.
parameters:
value - is bidi or not

gethorizontalalignment

public rowalignment gethorizontalalignment()
gets horizontal alignment for the table.
returns:
rowalignment

sethorizontalalignment

public void sethorizontalalignment(rowalignment value)
sets horizontal alignment for the table.
parameters:
value - rowalignment

getwraptextaround

public boolean getwraptextaround()
gets a value indicating whether to use "around" text wrapping.
returns:
true if wrap text around; otherwise, false.

setwraptextaround

public void setwraptextaround(boolean value)
sets a value indicating whether to use "around" text wrapping.
parameters:
value - true if wrap text around; otherwise, false.

getpositioning

public tablepositioning getpositioning()
the positioning
returns:
the positioning

getlayouttype

public layouttype getlayouttype()
gets 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)
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.
parameters:
value - the type of the layout.


网站地图