|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.hslf.record.TextSpecInfoRun
public class TextSpecInfoRun
Nested Class Summary | |
---|---|
static class |
TextSpecInfoRun.SpellInfoEnum
A enum that specifies the spelling status of a run of text. |
Constructor Summary | |
---|---|
TextSpecInfoRun(int len)
Inits a TextSpecInfoRun with default values |
|
TextSpecInfoRun(LittleEndianByteArrayInputStream source)
|
Method Summary | |
---|---|
short |
getAltLangId()
Alternate Windows LANGID of this text; must be a valid non-East Asian LANGID if the text has an East Asian language, otherwise may be an East Asian LANGID or language neutral (zero). |
java.lang.Boolean |
getBidi()
|
java.lang.Boolean |
getGrammarError()
|
void |
getGrammarError(java.lang.Boolean grammarError)
|
short |
getLangId()
Windows LANGID for this text. |
int |
getLength()
|
int |
getPP10RunId()
|
byte[] |
getSmartTagsBytes()
|
TextSpecInfoRun.SpellInfoEnum |
getSpellInfo()
|
void |
setAltLangId(short altLangId)
|
void |
setBidi(java.lang.Boolean bidi)
|
void |
setLangId(short langId)
|
void |
setLength(int length)
|
void |
setPP10RunId(int pp10RunId)
|
void |
setSmartTagsBytes(byte[] smartTagsBytes)
|
void |
setSpellInfo(TextSpecInfoRun.SpellInfoEnum spellInfo)
|
void |
writeOut(java.io.OutputStream out)
Write the contents of the record back, so it can be written to disk |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TextSpecInfoRun(int len)
len
- the length of the one and only runpublic TextSpecInfoRun(LittleEndianByteArrayInputStream source)
Method Detail |
---|
public void writeOut(java.io.OutputStream out) throws java.io.IOException
out
- the output stream to write to.
java.io.IOException
- if an error occurs.public TextSpecInfoRun.SpellInfoEnum getSpellInfo()
public void setSpellInfo(TextSpecInfoRun.SpellInfoEnum spellInfo)
spellInfo
- Spelling status of this text. null if not defined.public short getLangId()
public void setLangId(short langId)
langId
- Windows LANGID for this text, -1 to unsetpublic short getAltLangId()
public void setAltLangId(short altLangId)
public int getLength()
public void setLength(int length)
length
- Length of special info run.public java.lang.Boolean getBidi()
public void setBidi(java.lang.Boolean bidi)
bidi
- the bidirectional characters flag. false = not bidi, true = is bidi, null = not setpublic byte[] getSmartTagsBytes()
public void setSmartTagsBytes(byte[] smartTagsBytes)
smartTagsBytes
- the unparsed smart tags, null to unsetpublic int getPP10RunId()
public void setPP10RunId(int pp10RunId)
pp10RunId
- an identifier for a character run that contains StyleTextProp11 data, -1 to unsetpublic java.lang.Boolean getGrammarError()
public void getGrammarError(java.lang.Boolean grammarError)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |