| java.lang.Object com.lowagie.text.Chunk com.lowagie.text.rtf.AbstractRtfField
All known Subclasses: com.lowagie.text.rtf.GenericRtfField,
AbstractRtfField | abstract class AbstractRtfField extends Chunk implements RtfField(Code) | | This class implements an abstract RtfField.
This class is based on the RtfWriter-package from Mark Hall.
ONLY FOR USE WITH THE RtfWriter NOT with the RtfWriter2.
author: Dirk Weigenand (Dirk.Weigenand@smb-tec.com) version: $Id: AbstractRtfField.java 2698 2007-04-19 12:03:08Z blowagie $ since: Mon Aug 19 14:50:39 2002 |
Method Summary | |
final public String | content() empty implementation for Chunk. | final public String | getContent() empty implementation for Chunk. | final public boolean | isAlt() Determines whether this RtfField shall refer to an end
note. | final public boolean | isDirty() | final public boolean | isLocked() Determines whtether the field is locked, i.e. | final public boolean | isPrivate() Determines whether the field is in suitable form for display. | final public void | setAlt(boolean rtfFieldIsAlt) Determines whether this RtfField shall refer to an end note. | final public void | setDirty(boolean rtfFieldIsDirty) | final public void | setEdited(boolean rtfFieldWasEdited) Set whether text has been added, removed from thre field result
since the field was last updated. | final public void | setLocked(boolean rtfFieldIsLocked) Set whether the field can be updated. | final public void | setPrivate(boolean rtfFieldIsPrivate) Set whether the field is in suitable form for
display. | final public boolean | wasEdited() Determines whether text has been added, removed from the field
result since the field was last updated. | public void | write(RtfWriter writer, OutputStream out) For Interface RtfField. | final protected void | writeRtfFieldBegin(OutputStream out) Write the beginning of an RtfField to the OutputStream. | final protected void | writeRtfFieldEnd(OutputStream out) Close the RtfField. | abstract public void | writeRtfFieldInitializationStuff(OutputStream out) Abstract method for writing custom stuff to the Field
Initialization Stuff part of an RtfField. | final protected void | writeRtfFieldInstBegin(OutputStream out) Write RtfField Initialization Stuff to OutputStream. | final protected void | writeRtfFieldInstEnd(OutputStream out) Write end of RtfField Initialization Stuff to OutputStream. | final protected void | writeRtfFieldModifiers(OutputStream out) Write the modifiers defined for a RtfField to the OutputStream. | final protected void | writeRtfFieldResultBegin(OutputStream out) Write beginning of RtfField Result to OutputStream. | final protected void | writeRtfFieldResultEnd(OutputStream out) Write end of RtfField Result to OutputStream. | abstract public void | writeRtfFieldResultStuff(OutputStream out) Abstract method for writing custom stuff to the Field Result
part of an RtfField. |
AbstractRtfField | public AbstractRtfField(String content, Font font)(Code) | | public constructor
Parameters: content - the content of the field Parameters: font - the font of the field |
getContent | final public String getContent()(Code) | | empty implementation for Chunk.
an empty string |
isAlt | final public boolean isAlt()(Code) | | Determines whether this RtfField shall refer to an end
note.
true if this RtfField shall refer to an endnote, false otherwise. |
isDirty | final public boolean isDirty()(Code) | | Determines whether the field was changed since the field was
last updated
true if the field was changed since the fieldwas last updated, false otherwise. |
isLocked | final public boolean isLocked()(Code) | | Determines whtether the field is locked, i.e. it cannot be
updated.
true iff the field cannot be updated,false otherwise. |
isPrivate | final public boolean isPrivate()(Code) | | Determines whether the field is in suitable form for display.
whether the field is in suitable form for display:true yes, false no it cannot be displayed. |
setAlt | final public void setAlt(boolean rtfFieldIsAlt)(Code) | | Determines whether this RtfField shall refer to an end note.
Parameters: rtfFieldIsAlt - true if this RtfField shall referto an end note, false otherwise |
setDirty | final public void setDirty(boolean rtfFieldIsDirty)(Code) | | Set whether a formatting change has been made since the field
was last updated
Parameters: rtfFieldIsDirty - true if the field waschanged since the field was last updated, falseotherwise. |
setEdited | final public void setEdited(boolean rtfFieldWasEdited)(Code) | | Set whether text has been added, removed from thre field result
since the field was last updated.
Parameters: rtfFieldWasEdited - Determines whether text has beenadded, removed from the field result since the field was lastupdated (true, false otherwise.. |
setLocked | final public void setLocked(boolean rtfFieldIsLocked)(Code) | | Set whether the field can be updated.
Parameters: rtfFieldIsLocked - true if the field cannot beupdated, false otherwise. |
setPrivate | final public void setPrivate(boolean rtfFieldIsPrivate)(Code) | | Set whether the field is in suitable form for
display. I.e. it's not a field with a picture as field result
Parameters: rtfFieldIsPrivate - Determines whether the field is insuitable form for display: true it can be displayed,false it cannot be displayed. |
wasEdited | final public boolean wasEdited()(Code) | | Determines whether text has been added, removed from the field
result since the field was last updated.
rtfFieldWasEdited true if text has been added,removed from the field result since the field was last updated,false otherwise. |
writeRtfFieldInitializationStuff | abstract public void writeRtfFieldInitializationStuff(OutputStream out) throws IOException(Code) | | Abstract method for writing custom stuff to the Field
Initialization Stuff part of an RtfField.
Parameters: out - throws: IOException - |
writeRtfFieldInstBegin | final protected void writeRtfFieldInstBegin(OutputStream out) throws IOException(Code) | | Write RtfField Initialization Stuff to OutputStream.
Parameters: out - throws: IOException - |
writeRtfFieldInstEnd | final protected void writeRtfFieldInstEnd(OutputStream out) throws IOException(Code) | | Write end of RtfField Initialization Stuff to OutputStream.
Parameters: out - throws: IOException - |
writeRtfFieldModifiers | final protected void writeRtfFieldModifiers(OutputStream out) throws IOException(Code) | | Write the modifiers defined for a RtfField to the OutputStream.
Parameters: out - throws: IOException - |
writeRtfFieldResultBegin | final protected void writeRtfFieldResultBegin(OutputStream out) throws IOException(Code) | | Write beginning of RtfField Result to OutputStream.
Parameters: out - throws: IOException - |
writeRtfFieldResultStuff | abstract public void writeRtfFieldResultStuff(OutputStream out) throws IOException(Code) | | Abstract method for writing custom stuff to the Field Result
part of an RtfField.
Parameters: out - throws: IOException - |
Methods inherited from com.lowagie.text.Chunk | public static Object[][] addToArray(Object original, Object item)(Code)(Java Doc) public StringBuffer append(String string)(Code)(Java Doc) public String content()(Code)(Java Doc) public Font font()(Code)(Java Doc) public HashMap getAttributes()(Code)(Java Doc) public ArrayList getChunks()(Code)(Java Doc) public String getContent()(Code)(Java Doc) public Font getFont()(Code)(Java Doc) public float getHorizontalScaling()(Code)(Java Doc) public Image getImage()(Code)(Java Doc) public static Set getKeySet(Hashtable table)(Code)(Java Doc) public float getTextRise()(Code)(Java Doc) public float getWidthPoint()(Code)(Java Doc) public boolean hasAttributes()(Code)(Java Doc) public boolean isEmpty()(Code)(Java Doc) public boolean process(ElementListener listener)(Code)(Java Doc) public Chunk setAction(PdfAction action)(Code)(Java Doc) public Chunk setAnchor(URL url)(Code)(Java Doc) public Chunk setAnchor(String url)(Code)(Java Doc) public Chunk setAnnotation(PdfAnnotation annotation)(Code)(Java Doc) public void setAttributes(HashMap attributes)(Code)(Java Doc) public Chunk setBackground(Color color)(Code)(Java Doc) public Chunk setBackground(Color color, float extraLeft, float extraBottom, float extraRight, float extraTop)(Code)(Java Doc) public void setFont(Font font)(Code)(Java Doc) public Chunk setGenericTag(String text)(Code)(Java Doc) public Chunk setHorizontalScaling(float scale)(Code)(Java Doc) public Chunk setHyphenation(HyphenationEvent hyphenation)(Code)(Java Doc) public Chunk setLocalDestination(String name)(Code)(Java Doc) public Chunk setLocalGoto(String name)(Code)(Java Doc) public Chunk setNewPage()(Code)(Java Doc) public Chunk setRemoteGoto(String filename, String name)(Code)(Java Doc) public Chunk setRemoteGoto(String filename, int page)(Code)(Java Doc) public Chunk setSkew(float alpha, float beta)(Code)(Java Doc) public Chunk setSplitCharacter(SplitCharacter splitCharacter)(Code)(Java Doc) public Chunk setTextRenderMode(int mode, float strokeWidth, Color strokeColor)(Code)(Java Doc) public Chunk setTextRise(float rise)(Code)(Java Doc) public Chunk setUnderline(float thickness, float yPosition)(Code)(Java Doc) public Chunk setUnderline(Color color, float thickness, float thicknessMul, float yPosition, float yPositionMul, int cap)(Code)(Java Doc) public String toString()(Code)(Java Doc) public int type()(Code)(Java Doc)
|
|
|