|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.spire.doc.Hyphenation
public class Hyphenation
Class represents Hyphenation settings of the document.
Method Summary | |
---|---|
boolean |
getAutoHyphenation()
Specifies whether to hyphenate the document contents automatically. |
int |
getConsecutiveHyphensLimit()
Specifies the maximum number of consecutive lines of text that can end with a hyphen. |
boolean |
getHyphenateCaps()
Specifies whether to hyphenate words in ALL CAPITAL LETTERS. |
float |
getHyphenationZone()
Specifies the amount of whitespace which can be left at the end of a line (or added to justified lines) before hyphenation. |
void |
setAutoHyphenation(boolean value)
Specifies whether to hyphenate the document contents automatically. |
void |
setConsecutiveHyphensLimit(int value)
Specifies the maximum number of consecutive lines of text that can end with a hyphen. |
void |
setHyphenateCaps(boolean value)
Specifies whether to hyphenate words in ALL CAPITAL LETTERS. |
void |
setHyphenationZone(float value)
Specifies the amount of whitespace which can be left at the end of a line (or added to justified lines) before hyphenation. |
Method Detail |
---|
public boolean getAutoHyphenation()
public void setAutoHyphenation(boolean value)
public boolean getHyphenateCaps()
public void setHyphenateCaps(boolean value)
value
- if hyphenate words in ALL CAPITAL LETTERS, set to public float getHyphenationZone()
public void setHyphenationZone(float value)
value
- The hyphenation zone.public int getConsecutiveHyphensLimit()
public void setConsecutiveHyphensLimit(int value)
value
- The consecutive hyphens limit.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |