|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.northwestern.at.wordhoard.tools.cm.Style edu.northwestern.at.wordhoard.tools.cm.TextElementRule
public class TextElementRule
A text element rule.
Field Summary | |
---|---|
static byte |
ALWAYS
Always create a work part. |
static byte |
NEVER
Never create a work part. |
static byte |
SOMETIMES
Sometimes create a work part, in contexts where one must be interpolated. |
Fields inherited from class edu.northwestern.at.wordhoard.tools.cm.Style |
---|
BOLD, CENTER, EXTENDED, ITALIC, LEFT, MONOSPACED, NO_CHANGE, OVERLINE, PLAIN, RIGHT, STYLE_NAMES, SUBSCRIPT, SUPERSCRIPT, UNDERLINE |
Constructor Summary | |
---|---|
TextElementRule(org.w3c.dom.Element el)
Creates a new text element rule. |
Method Summary | |
---|---|
byte |
getCreatePart()
Gets when to create a work part. |
boolean |
getDoNotCreateWorkParts()
Returns true if descendants should never create work parts. |
byte |
getEmitTagName()
Returns true to generate start and end tags for element. |
boolean |
getFootnote()
Returns true to treat as footnote. |
java.lang.String |
getGenAfter()
Gets the string to generate after processing the element. |
java.lang.String |
getGenBefore()
Gets the string to generate before processing the element. |
boolean |
getIgnoreChildren()
Returns true to ignore children. |
boolean |
getIgnoreRend()
Returns true to ignore rend attribute. |
boolean |
getLineBreak()
Returns true to generate line break before and after. |
java.lang.String |
getName()
Returns the element name. |
boolean |
getParBreak()
Returns true to generate paragraph break before and after. |
boolean |
getStyleChange()
Returns true if this elements changes the style. |
Methods inherited from class edu.northwestern.at.wordhoard.tools.cm.Style |
---|
add, clone, getIndent, getLineStyle, getWordStyles, setIndent, setLineStyle, setWordStyles, styleChange, toString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final byte NEVER
public static final byte SOMETIMES
public static final byte ALWAYS
Constructor Detail |
---|
public TextElementRule(org.w3c.dom.Element el)
el
- TextElementRule element. Method Detail |
---|
public java.lang.String getName()
public boolean getIgnoreChildren()
public boolean getLineBreak()
public boolean getParBreak()
public byte getCreatePart()
public boolean getFootnote()
public boolean getDoNotCreateWorkParts()
public boolean getIgnoreRend()
public java.lang.String getGenBefore()
public java.lang.String getGenAfter()
public boolean getStyleChange()
public byte getEmitTagName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |