hyphenation-ag凯发旗舰厅



com.spire.doc
class hyphenation

java.lang.object
  extended by com.spire.doc.hyphenation

public class hyphenation
extends java.lang.object

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

getautohyphenation

public boolean getautohyphenation()

setautohyphenation

public void setautohyphenation(boolean value)
specifies whether to hyphenate the document contents automatically.
parameters:
value - the boolean

gethyphenatecaps

public boolean gethyphenatecaps()
specifies whether to hyphenate the document contents automatically.
returns:
if automatically hyphenate the document contents, set to true

sethyphenatecaps

public void sethyphenatecaps(boolean value)
specifies whether to hyphenate words in all capital letters.
parameters:
value - the boolean

gethyphenationzone

public float gethyphenationzone()
specifies the amount of whitespace which can be left at the end of a line (or added to justified lines) before hyphenation.
returns:
the hyphenation zone.

sethyphenationzone

public 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.
parameters:
value - the float value

getconsecutivehyphenslimit

public int getconsecutivehyphenslimit()
specifies the maximum number of consecutive lines of text that can end with a hyphen.
returns:
the consecutive hyphens limit.

setconsecutivehyphenslimit

public void setconsecutivehyphenslimit(int value)
specifies the maximum number of consecutive lines of text that can end with a hyphen.
parameters:
value - the int value


网站地图