|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |
java.lang.objectcom.spire.doc.ownerholder
com.spire.doc.documents.xml.documentserializable
com.spire.doc.formatting.formatbase
com.spire.doc.formatting.attrcollection
com.spire.doc.formatting.wordattrcollection
com.spire.doc.formatting.paragraphformat
public class paragraphformat
constructor summary | |
---|---|
paragraphformat()
initializes a new instance of the paragraphformat class. |
|
paragraphformat(idocument document)
initializes a new instance of the paragraphformat class. |
method summary | |
---|---|
boolean |
getafterautospacing()
gets a value indicating whether spacing after is automatic. |
float |
getafterspacing()
returns the spacing (in points) after the paragraph. |
boolean |
getautospacede()
gets the value that determines whether the space is automatically adjusted between asian and latin text. |
boolean |
getautospacedn()
gets the value that determines whether the space is automatically adjusted between asian text and numbers. |
java.awt.color |
getbackcolor()
gets background color of the paragraph |
boolean |
getbeforeautospacing()
gets a value indicating whether spacing before is automatic. |
float |
getbeforespacing()
returns the spacing (in points) before the paragraph. |
borders |
getborders()
gets collection of borders in the paragraph |
float |
getfirstlineindent()
gets first paragraph line indent |
horizontalalignment |
gethorizontalalignment()
returns horizontal alignment for the paragraph. |
boolean |
getkeepfollow()
true if the paragraph is to remains on the same page as the paragraph that follows it. |
boolean |
getkeeplines()
true if all lines in the paragraph are to remain on the same page. |
float |
getleftindent()
returns the value that represents the left indent for paragraph. |
float |
getlinespacing()
returns line spacing property of the paragraph. |
linespacingrule |
getlinespacingrule()
returns line spacing rule property of the paragraph. |
boolean |
getmirrorindents()
gets a value indicating whether indentation type is mirror indents. |
outlinelevel |
getoutlinelevel()
gets the outline level. |
boolean |
getoverflowpunc()
gets allow punctuation to extend past text extents. |
boolean |
getpagebreakafter()
true if a page break is forced after the paragraph |
boolean |
getpagebreakbefore()
true if a page break is forced before the paragraph |
float |
getrightindent()
returns the value that represents the right indent for paragraph. |
boolean |
getsuppressautohyphens()
indicates whether to suppress automatic hyphenation for the paragraph. |
tabcollection |
gettabs()
gets the tabs info. |
textalignment |
gettextalignment()
gets the style of textalignment |
boolean |
isbidi()
returns right-to-left property of the paragraph. |
void |
isbidi(boolean value)
sets right-to-left property of the paragraph. |
boolean |
iscolumnbreakafter()
true if a column break is forced after the paragraph |
void |
iscolumnbreakafter(boolean value)
true if a column break is forced after the paragraph |
boolean |
isframe()
gets a value indicating whether this instance is frame. |
boolean |
iskinsoku()
get a value that determines whether use asian rules for controlling first and last characters. |
void |
iskinsoku(boolean value)
set a value that determines whether use asian rules for controlling first and last characters. |
boolean |
iswidowcontrol()
true if the first and last lines in the paragraph are to remain on the same page as the rest of the paragraph. |
void |
iswidowcontrol(boolean value)
true if the first and last lines in the paragraph are to remain on the same page as the rest of the paragraph. |
void |
setafterautospacing(boolean value)
sets a value indicating whether spacing after is automatic. |
void |
setafterspacing(float value)
sets the spacing (in points) after the paragraph. |
void |
setautospacede(boolean value)
sets the value that determines whether the space is automatically adjusted between asian and latin text. |
void |
setautospacedn(boolean value)
sets the value that determines whether the space is automatically adjusted between asian text and numbers. |
void |
setbackcolor(java.awt.color value)
sets background color of the paragraph |
void |
setbeforeautospacing(boolean value)
sets a value indicating whether spacing before is automatic. |
void |
setbeforespacing(float value)
sets the spacing (in points) before the paragraph. |
void |
setfirstlineindent(float value)
sets first paragraph line indent |
void |
setfirstlineindentex(float firstlineindent)
sets the value that represents the first line indent for paragraph. |
void |
sethorizontalalignment(horizontalalignment value)
sets horizontal alignment for the paragraph. |
void |
setkeepfollow(boolean value)
true if the paragraph is to remains on the same page as the paragraph that follows it. |
void |
setkeeplines(boolean value)
true if all lines in the paragraph are to remain on the same page. |
void |
setleftindent(float value)
sets the value that represents the left indent for paragraph. |
void |
setleftindentex(float leftindent)
sets the value that represents the left indent for paragraph. |
void |
setlinespacing(float value)
sets line spacing property of the paragraph. |
void |
setlinespacingrule(linespacingrule value)
sets line spacing rule property of the paragraph. |
void |
setmirrorindents(boolean value)
sets a value indicating whether indentation type is mirror indents. |
void |
setoutlinelevel(outlinelevel value)
sets the outline level. |
void |
setoverflowpunc(boolean value)
sets allow punctuation to extend past text extents. |
void |
setpagebreakafter(boolean value)
true if a page break is forced after the paragraph |
void |
setpagebreakbefore(boolean value)
true if a page break is forced before the paragraph |
void |
setrightindent(float value)
sets the value that represents the right indent for paragraph. |
void |
setrightindentex(float rightindent)
sets the value that represents the right indent for paragraph. |
void |
setsuppressautohyphens(boolean value)
indicates whether to suppress automatic hyphenation for the paragraph. |
void |
settextalignment(textalignment value)
sets the style of textalignment |
methods inherited from class com.spire.doc.formatting.formatbase |
---|
clearformatting, haskey, isdefault |
methods inherited from class com.spire.doc.ownerholder |
---|
getdocument |
constructor detail |
---|
public paragraphformat()
paragraphformat
class.
public paragraphformat(idocument document)
paragraphformat
class.
document
- idocumentmethod detail |
---|
public boolean iskinsoku()
public void iskinsoku(boolean value)
value
- booleanpublic boolean isbidi()
public void isbidi(boolean value)
value
- if bidi, set to true.public tabcollection gettabs()
public boolean getkeeplines()
public void setkeeplines(boolean value)
value
- keeplinespublic boolean getkeepfollow()
public void setkeepfollow(boolean value)
value
- keepfollowpublic boolean getpagebreakbefore()
public void setpagebreakbefore(boolean value)
value
- pagebreakbeforepublic boolean getpagebreakafter()
public void setpagebreakafter(boolean value)
value
- pagebreakafterpublic boolean iswidowcontrol()
public void iswidowcontrol(boolean value)
value
- widowcontrolpublic boolean getautospacedn()
public void setautospacedn(boolean value)
value
- booleanpublic boolean getautospacede()
public void setautospacede(boolean value)
value
- booleanpublic horizontalalignment gethorizontalalignment()
public void sethorizontalalignment(horizontalalignment value)
value
- horizontalalignmentpublic float getleftindent()
public void setleftindent(float value)
value
- floatpublic float getrightindent()
public void setrightindent(float value)
value
- floatpublic float getfirstlineindent()
public void setfirstlineindent(float value)
value
- floatpublic float getbeforespacing()
public void setbeforespacing(float value)
value
- floatpublic float getafterspacing()
public void setafterspacing(float value)
value
- floatpublic borders getborders()
public java.awt.color getbackcolor()
public void setbackcolor(java.awt.color value)
value
- colorpublic boolean iscolumnbreakafter()
public void iscolumnbreakafter(boolean value)
value
- is columnbreakafter or notpublic float getlinespacing()
public void setlinespacing(float value)
value
- linespacingpublic linespacingrule getlinespacingrule()
public void setlinespacingrule(linespacingrule value)
value
- linespacingrulepublic boolean getbeforeautospacing()
public void setbeforeautospacing(boolean value)
value
- if spacing before is automatic, set to true.public boolean getafterautospacing()
public void setafterautospacing(boolean value)
value
- if spacing after is automatic, set to true.public outlinelevel getoutlinelevel()
public void setoutlinelevel(outlinelevel value)
value
- the outline level.public boolean getoverflowpunc()
public void setoverflowpunc(boolean value)
value
- overflowpuncpublic boolean isframe()
public textalignment gettextalignment()
public void settextalignment(textalignment value)
value
- textalignmentpublic boolean getmirrorindents()
public void setmirrorindents(boolean value)
value
- is mirrorindents or notpublic boolean getsuppressautohyphens()
public void setsuppressautohyphens(boolean value)
value
- is suppressautohyphens or notpublic void setleftindentex(float leftindent)
leftindent
- the left indent.public void setrightindentex(float rightindent)
rightindent
- the right indent.public void setfirstlineindentex(float firstlineindent)
firstlineindent
- the first line indent.
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |