|
|||||||||
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()
|
int |
getConsecutiveHyphensLimit()
Specifies the maximum number of consecutive lines of text that can end with a hyphen. |
boolean |
getHyphenateCaps()
Specifies whether to hyphenate the document contents automatically. |
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)
value
- the booleanpublic boolean getHyphenateCaps()
public void setHyphenateCaps(boolean value)
value
- the booleanpublic float getHyphenationZone()
public void setHyphenationZone(float value)
value
- the float valuepublic int getConsecutiveHyphensLimit()
public void setConsecutiveHyphensLimit(int value)
value
- the int value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |