|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.render.rtf.rtflib.rtfdoc.RtfSpaceManager
public class RtfSpaceManager
This class is responsible for saving space-before/space-after attributes history and adding spacing to established candidates (i.e. attributes) or accumulation spacing in case of candidate absence.
Constructor Summary | |
---|---|
RtfSpaceManager()
Construct a newly allocated RtfSpaceManager object. |
Method Summary | |
---|---|
RtfAttributes |
getLastInlineAttribute()
Peeks at inline-level attribute stack. |
void |
popInlineAttributes()
Pops inline attributes from inline-level stack. |
void |
popRtfSpaceSplitter()
Removes RtfSpaceSplitter from top of block-level stack. |
void |
pushInlineAttributes(RtfAttributes attrs)
Pushes inline attributes to inline-level stack. |
RtfSpaceSplitter |
pushRtfSpaceSplitter(RtfAttributes attrs)
Builds RtfSpaceSplitter on attrs and adds it to the
block-level stack. |
void |
setCandidate(RtfAttributes attrs)
Set attributes as candidate for space attributes inheritance. |
void |
stopUpdatingSpaceBefore()
Iterates block-level stack (i.e. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RtfSpaceManager()
RtfSpaceManager
object.
Method Detail |
---|
public void stopUpdatingSpaceBefore()
public void setCandidate(RtfAttributes attrs)
attrs
- attributes to setpublic RtfSpaceSplitter pushRtfSpaceSplitter(RtfAttributes attrs)
attrs
and adds it to the
block-level stack.
attrs
- RtfAttribute to add
public void popRtfSpaceSplitter()
public void pushInlineAttributes(RtfAttributes attrs)
attrs
- attributes to addpublic void popInlineAttributes()
public RtfAttributes getLastInlineAttribute()
|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |