|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pt.tumba.parser.rtf.RTF2HTML.HTMLStateMachine
private class RTF2HTML.HTMLStateMachine
Description of the Class
Field Summary | |
---|---|
boolean |
acceptFonts
Description of the Field |
private int |
alignment
|
private java.lang.String[] |
alignNames
|
private boolean |
bold
|
private java.awt.Color |
color
|
private boolean |
firstLine
|
private double |
firstLineIndent
|
private java.lang.String |
fontName
|
private boolean |
italic
|
private double |
leftIndent
|
private double |
oldLeftIndent
|
private double |
oldRightIndent
|
private double |
rightIndent
|
private int |
size
|
private boolean |
underline
|
Constructor Summary | |
---|---|
RTF2HTML.HTMLStateMachine()
Constructor for the HTMLStateMachine object |
Method Summary | |
---|---|
private void |
closeIndentTable(java.lang.StringBuffer stringbuffer,
double d,
double d1)
Description of the Method |
private void |
closeSubsetTags(java.lang.StringBuffer stringbuffer)
Description of the Method |
private void |
closeTag(boolean flag,
java.lang.String s,
java.lang.StringBuffer stringbuffer)
Description of the Method |
private void |
closeTag(java.awt.Color color1,
java.lang.String s,
java.lang.StringBuffer stringbuffer)
Description of the Method |
private void |
closeTag(int i,
int j,
java.lang.String s,
java.lang.StringBuffer stringbuffer)
Description of the Method |
private void |
closeTag(java.lang.String s,
java.lang.String s1,
java.lang.StringBuffer stringbuffer)
Description of the Method |
void |
closeTags(java.lang.StringBuffer stringbuffer)
Description of the Method |
java.lang.String |
getSpaceTab(int i)
Gets the spaceTab attribute of the HTMLStateMachine object |
private java.lang.String |
makeColorString(java.awt.Color color1)
Description of the Method |
private void |
openIndentTable(java.lang.StringBuffer stringbuffer,
double d,
double d1)
Description of the Method |
java.lang.String |
performFirstLineIndent(java.lang.String s2)
Description of the Method |
private int |
updateAlignment(javax.swing.text.AttributeSet attributeset,
int k,
java.lang.StringBuffer stringbuffer)
Description of the Method |
private boolean |
updateBoolean(javax.swing.text.AttributeSet attributeset,
java.lang.Object obj,
java.lang.String s,
boolean flag2,
java.lang.StringBuffer stringbuffer)
Description of the Method |
private double |
updateDouble(javax.swing.text.AttributeSet attributeset,
double d2,
java.lang.Object obj)
Description of the Method |
private java.awt.Color |
updateFontColor(javax.swing.text.AttributeSet attributeset,
java.awt.Color color3,
java.lang.StringBuffer stringbuffer)
Description of the Method |
private java.lang.String |
updateFontName(javax.swing.text.AttributeSet attributeset,
java.lang.String s2,
java.lang.StringBuffer stringbuffer)
Description of the Method |
private int |
updateFontSize(javax.swing.text.AttributeSet attributeset,
int k,
java.lang.StringBuffer stringbuffer)
Description of the Method |
void |
updateState(javax.swing.text.AttributeSet attributeset,
java.lang.StringBuffer stringbuffer,
javax.swing.text.Element element)
Description of the Method |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.String[] alignNames
public boolean acceptFonts
private java.lang.String fontName
private java.awt.Color color
private int size
private int alignment
private boolean bold
private boolean italic
private boolean underline
private double firstLineIndent
private double oldLeftIndent
private double oldRightIndent
private double leftIndent
private double rightIndent
private boolean firstLine
Constructor Detail |
---|
RTF2HTML.HTMLStateMachine()
Method Detail |
---|
public void updateState(javax.swing.text.AttributeSet attributeset, java.lang.StringBuffer stringbuffer, javax.swing.text.Element element)
attributeset
- Description of the Parameterstringbuffer
- Description of the Parameterelement
- Description of the Parameterprivate void openIndentTable(java.lang.StringBuffer stringbuffer, double d, double d1)
stringbuffer
- Description of the Parameterd
- Description of the Parameterd1
- Description of the Parameterprivate void closeIndentTable(java.lang.StringBuffer stringbuffer, double d, double d1)
stringbuffer
- Description of the Parameterd
- Description of the Parameterd1
- Description of the Parameterpublic void closeTags(java.lang.StringBuffer stringbuffer)
stringbuffer
- Description of the Parameterprivate void closeSubsetTags(java.lang.StringBuffer stringbuffer)
stringbuffer
- Description of the Parameterprivate void closeTag(boolean flag, java.lang.String s, java.lang.StringBuffer stringbuffer)
flag
- Description of the Parameters
- Description of the Parameterstringbuffer
- Description of the Parameterprivate void closeTag(java.awt.Color color1, java.lang.String s, java.lang.StringBuffer stringbuffer)
color1
- Description of the Parameters
- Description of the Parameterstringbuffer
- Description of the Parameterprivate void closeTag(java.lang.String s, java.lang.String s1, java.lang.StringBuffer stringbuffer)
s
- Description of the Parameters1
- Description of the Parameterstringbuffer
- Description of the Parameterprivate void closeTag(int i, int j, java.lang.String s, java.lang.StringBuffer stringbuffer)
i
- Description of the Parameterj
- Description of the Parameters
- Description of the Parameterstringbuffer
- Description of the Parameterprivate int updateAlignment(javax.swing.text.AttributeSet attributeset, int k, java.lang.StringBuffer stringbuffer)
attributeset
- Description of the Parameteri
- Description of the Parameterstringbuffer
- Description of the Parameter
private java.awt.Color updateFontColor(javax.swing.text.AttributeSet attributeset, java.awt.Color color3, java.lang.StringBuffer stringbuffer)
attributeset
- Description of the Parametercolor1
- Description of the Parameterstringbuffer
- Description of the Parameter
private java.lang.String updateFontName(javax.swing.text.AttributeSet attributeset, java.lang.String s2, java.lang.StringBuffer stringbuffer)
attributeset
- Description of the Parameters
- Description of the Parameterstringbuffer
- Description of the Parameter
private double updateDouble(javax.swing.text.AttributeSet attributeset, double d2, java.lang.Object obj)
attributeset
- Description of the Parameterd
- Description of the Parameterobj
- Description of the Parameter
private int updateFontSize(javax.swing.text.AttributeSet attributeset, int k, java.lang.StringBuffer stringbuffer)
attributeset
- Description of the Parameteri
- Description of the Parameterstringbuffer
- Description of the Parameter
private boolean updateBoolean(javax.swing.text.AttributeSet attributeset, java.lang.Object obj, java.lang.String s, boolean flag2, java.lang.StringBuffer stringbuffer)
attributeset
- Description of the Parameterobj
- Description of the Parameters
- Description of the Parameterflag
- Description of the Parameterstringbuffer
- Description of the Parameter
private java.lang.String makeColorString(java.awt.Color color1)
color1
- Description of the Parameter
public java.lang.String performFirstLineIndent(java.lang.String s2)
s
- Description of the Parameter
public java.lang.String getSpaceTab(int i)
i
- Description of the Parameter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |