|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.apache.fop.fo.FONode
org.apache.fop.fo.FObj
org.apache.fop.fo.XMLObj
Since SVG objects are not layed out then this class checks that this element is not being layed out inside some incorrect element.
| Nested Class Summary |
| Nested classes inherited from class org.apache.fop.fo.FObj |
FObj.Maker |
| Field Summary | |
protected org.w3c.dom.Document |
doc
|
protected org.w3c.dom.Element |
element
|
protected static java.util.HashMap |
ns
|
protected java.lang.String |
tagName
|
| Fields inherited from class org.apache.fop.fo.FObj |
column, line, properties, propMgr, systemId |
| Fields inherited from class org.apache.fop.fo.FONode |
areaClass, areasGenerated, BREAK_AFTER, children, forcedStartOffset, forcedWidth, isInTableCell, linkSet, log, marker, parent, START |
| Constructor Summary | |
XMLObj(FObj parent,
PropertyList propertyList,
java.lang.String tag,
java.lang.String systemId,
int line,
int column)
|
|
| Method Summary | |
protected void |
addCharacters(char[] data,
int start,
int length)
adds characters (does nothing here) |
protected void |
addChild(FONode child)
|
void |
addGraphic(org.w3c.dom.Document doc,
org.w3c.dom.Element parent)
|
void |
buildTopLevel(org.w3c.dom.Document doc,
org.w3c.dom.Element svgRoot)
|
org.w3c.dom.Document |
createBasicDocument()
|
void |
forceStartOffset(int offset)
|
void |
forceWidth(int width)
|
java.util.ArrayList |
getMarkerSnapshot(java.util.ArrayList snapshot)
At the start of a new span area layout may be partway through a nested FO, and balancing requires rollback to this known point. |
abstract java.lang.String |
getNameSpace()
|
int |
layout(Area area)
layout this formatting object. |
void |
removeID(IDReferences idReferences)
removes property id |
void |
resetMarker()
|
void |
rollback(java.util.ArrayList snapshot)
When balancing occurs, the flow layout() method restarts at the point specified by the current marker snapshot, which is retrieved and restored using this method. |
void |
setIsInTableCell()
These method overrides prevent problems with the different types. |
void |
setLinkSet(LinkSet linkSet)
|
protected void |
setWritingMode()
Set writing mode for this FO. |
| Methods inherited from class org.apache.fop.fo.FObj |
addMarker, end, generatesReferenceAreas, getContentWidth, getName, getProperty, makePropertyManager |
| Methods inherited from class org.apache.fop.fo.FONode |
getLinkSet, getParent, mayPrecedeMarker, removeAreas, setLogger |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.String tagName
protected org.w3c.dom.Element element
protected org.w3c.dom.Document doc
protected static java.util.HashMap ns
| Constructor Detail |
public XMLObj(FObj parent,
PropertyList propertyList,
java.lang.String tag,
java.lang.String systemId,
int line,
int column)
parent - the parent formatting objectpropertyList - the explicit properties of this object| Method Detail |
public abstract java.lang.String getNameSpace()
public void addGraphic(org.w3c.dom.Document doc,
org.w3c.dom.Element parent)
public void buildTopLevel(org.w3c.dom.Document doc,
org.w3c.dom.Element svgRoot)
public org.w3c.dom.Document createBasicDocument()
protected void addChild(FONode child)
addChild in class FONode
protected void addCharacters(char[] data,
int start,
int length)
FObj
addCharacters in class FObjdata - textstart - start positionlength - length of the text
public int layout(Area area)
throws FOPException
layout in class FObjarea - the area to layout the object into
FOPExceptionpublic void removeID(IDReferences idReferences)
FObj
removeID in class FObjidReferences - the id to removepublic void setIsInTableCell()
setIsInTableCell in class FONodepublic void forceStartOffset(int offset)
forceStartOffset in class FONodepublic void forceWidth(int width)
forceWidth in class FONodepublic void resetMarker()
resetMarker in class FONodepublic void setLinkSet(LinkSet linkSet)
setLinkSet in class FONodepublic java.util.ArrayList getMarkerSnapshot(java.util.ArrayList snapshot)
FONode
getMarkerSnapshot in class FONodesnapshot - a ArrayList of markers (Integer)
public void rollback(java.util.ArrayList snapshot)
FONode
rollback in class FONodesnapshot - the ArrayList of saved markers (Integers)protected void setWritingMode()
FObj
setWritingMode in class FObj
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||