|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.backend.documentWriter.itextpdf.PdfNodeVisitor
public class PdfNodeVisitor
PDF NodeVisitor.
| Constructor Summary | |
|---|---|
PdfNodeVisitor(com.lowagie.text.Document document,
com.lowagie.text.pdf.PdfWriter writer,
BackendFontManager manager,
java.util.logging.Logger logger,
Localizer localizer)
Creates a new object. |
|
| Method Summary | |
|---|---|
void |
setPageSize(com.lowagie.text.Rectangle pageSize)
Set the page size. |
void |
setX(FixedDimen x)
Set the x position. |
void |
setY(FixedDimen y)
Set the y position. |
java.lang.Object |
visitAdjust(AdjustNode node,
java.lang.Object value)
This method is called when an AdjustNode has been
encountered. |
java.lang.Object |
visitAfterMath(AfterMathNode node,
java.lang.Object value)
This method is called when an AfterMathNode has
been encountered. |
java.lang.Object |
visitAlignedLeaders(AlignedLeadersNode node,
java.lang.Object value)
This method is called when an AlignedLeadersNode
has been encountered. |
java.lang.Object |
visitBeforeMath(BeforeMathNode node,
java.lang.Object value)
This method is called when a BeforeMathNode has
been encountered. |
java.lang.Object |
visitCenteredLeaders(CenteredLeadersNode node,
java.lang.Object value)
This method is called when a CenteredLeadersNode
has been encountered. |
java.lang.Object |
visitChar(CharNode node,
java.lang.Object value)
This method is called when a CharNode has been
encountered. |
java.lang.Object |
visitDiscretionary(DiscretionaryNode node,
java.lang.Object value)
This method is called when a DiscretionaryNode
has been encountered. |
java.lang.Object |
visitExpandedLeaders(ExpandedLeadersNode node,
java.lang.Object value)
This method is called when an ExpandedLeadersNode
has been encountered. |
java.lang.Object |
visitGlue(GlueNode node,
java.lang.Object value)
This method is called when a GlueNode has been
encountered. |
java.lang.Object |
visitHorizontalList(HorizontalListNode node,
java.lang.Object value)
This method is called when a HorizontalListNode
has been encountered. |
java.lang.Object |
visitInsertion(InsertionNode node,
java.lang.Object value)
This method is called when an InsertionNode has
been encountered. |
java.lang.Object |
visitKern(KernNode node,
java.lang.Object value)
This method is called when a KernNode has been
encountered. |
java.lang.Object |
visitLigature(LigatureNode node,
java.lang.Object value)
This method is called when a LigatureNode has been
encountered. |
java.lang.Object |
visitMark(MarkNode node,
java.lang.Object value)
This method is called when a MarkNode has been
encountered. |
java.lang.Object |
visitPenalty(PenaltyNode node,
java.lang.Object value)
This method is called when a PenaltyNode has been
encountered. |
java.lang.Object |
visitRule(RuleNode node,
java.lang.Object value)
This method is called when a RuleNode has been
encountered. |
java.lang.Object |
visitSpace(SpaceNode node,
java.lang.Object value)
This method is called when a SpaceNode has been
encountered. |
java.lang.Object |
visitVerticalList(VerticalListNode node,
java.lang.Object value)
This method is called when a VerticalListNode
has been encountered. |
java.lang.Object |
visitVirtualChar(VirtualCharNode node,
java.lang.Object value)
This method is called when a VirtualCharNode
has been encountered. |
java.lang.Object |
visitWhatsIt(WhatsItNode node,
java.lang.Object value)
This method is called when a WhatsItNode has been
encountered. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PdfNodeVisitor(com.lowagie.text.Document document,
com.lowagie.text.pdf.PdfWriter writer,
BackendFontManager manager,
java.util.logging.Logger logger,
Localizer localizer)
document - The pdf document.writer - The pdf writer.manager - The backend font managerlogger - The logger.localizer - The localizer| Method Detail |
|---|
public void setPageSize(com.lowagie.text.Rectangle pageSize)
pageSize - The size of the page.public void setX(FixedDimen x)
x - The x value.public void setY(FixedDimen y)
y - The y value.
public java.lang.Object visitAdjust(AdjustNode node,
java.lang.Object value)
throws GeneralException
AdjustNode has been
encountered.
visitAdjust in interface NodeVisitor<java.lang.Object,java.lang.Object>node - the first parameter for the visitor is the node visitedvalue - the second parameter for the visitor
GeneralException - in case of an errorNodeVisitor.visitAdjust(org.extex.typesetter.type.node.AdjustNode,
java.lang.Object)
public java.lang.Object visitAfterMath(AfterMathNode node,
java.lang.Object value)
throws GeneralException
AfterMathNode has
been encountered.
visitAfterMath in interface NodeVisitor<java.lang.Object,java.lang.Object>node - the first parameter for the visitor is the node visitedvalue - the second parameter for the visitor
GeneralException - in case of an errorNodeVisitor.visitAfterMath(org.extex.typesetter.type.node.AfterMathNode,
java.lang.Object)
public java.lang.Object visitAlignedLeaders(AlignedLeadersNode node,
java.lang.Object value)
throws GeneralException
AlignedLeadersNode
has been encountered.
visitAlignedLeaders in interface NodeVisitor<java.lang.Object,java.lang.Object>node - the first parameter for the visitor is the node visitedvalue - the second parameter for the visitor
GeneralException - in case of an errorNodeVisitor.visitAlignedLeaders(org.extex.typesetter.type.node.AlignedLeadersNode,
java.lang.Object)
public java.lang.Object visitBeforeMath(BeforeMathNode node,
java.lang.Object value)
throws GeneralException
BeforeMathNode has
been encountered.
visitBeforeMath in interface NodeVisitor<java.lang.Object,java.lang.Object>node - the first parameter for the visitor is the node visitedvalue - the second parameter for the visitor
GeneralException - in case of an errorNodeVisitor.visitBeforeMath(org.extex.typesetter.type.node.BeforeMathNode,
java.lang.Object)
public java.lang.Object visitCenteredLeaders(CenteredLeadersNode node,
java.lang.Object value)
throws GeneralException
CenteredLeadersNode
has been encountered.
visitCenteredLeaders in interface NodeVisitor<java.lang.Object,java.lang.Object>node - the first parameter for the visitor is the node visitedvalue - the second parameter for the visitor
GeneralException - in case of an errorNodeVisitor.visitCenteredLeaders(org.extex.typesetter.type.node.CenteredLeadersNode,
java.lang.Object)
public java.lang.Object visitChar(CharNode node,
java.lang.Object value)
throws GeneralException
CharNode has been
encountered.
visitChar in interface NodeVisitor<java.lang.Object,java.lang.Object>node - the first parameter for the visitor is the node visitedvalue - the second parameter for the visitor
GeneralException - in case of an errorNodeVisitor.visitChar(org.extex.typesetter.type.node.CharNode,
java.lang.Object)
public java.lang.Object visitDiscretionary(DiscretionaryNode node,
java.lang.Object value)
throws GeneralException
DiscretionaryNode
has been encountered.
visitDiscretionary in interface NodeVisitor<java.lang.Object,java.lang.Object>node - the first parameter for the visitor is the node visitedvalue - the second parameter for the visitor
GeneralException - in case of an errorNodeVisitor.visitDiscretionary(org.extex.typesetter.type.node.DiscretionaryNode,
java.lang.Object)
public java.lang.Object visitExpandedLeaders(ExpandedLeadersNode node,
java.lang.Object value)
throws GeneralException
ExpandedLeadersNode
has been encountered.
visitExpandedLeaders in interface NodeVisitor<java.lang.Object,java.lang.Object>node - the first parameter for the visitor is the node visitedvalue - the second parameter for the visitor
GeneralException - in case of an errorNodeVisitor.visitExpandedLeaders(org.extex.typesetter.type.node.ExpandedLeadersNode,
java.lang.Object)
public java.lang.Object visitGlue(GlueNode node,
java.lang.Object value)
throws GeneralException
GlueNode has been
encountered.
visitGlue in interface NodeVisitor<java.lang.Object,java.lang.Object>node - the first parameter for the visitor is the node visitedvalue - the second parameter for the visitor
GeneralException - in case of an errorNodeVisitor.visitGlue(org.extex.typesetter.type.node.GlueNode,
java.lang.Object)
public java.lang.Object visitHorizontalList(HorizontalListNode node,
java.lang.Object value)
throws GeneralException
HorizontalListNode
has been encountered.
visitHorizontalList in interface NodeVisitor<java.lang.Object,java.lang.Object>node - the first parameter for the visitor is the node visitedvalue - the second parameter for the visitor
GeneralException - in case of an errorNodeVisitor.visitHorizontalList(org.extex.typesetter.type.node.HorizontalListNode,
java.lang.Object)
public java.lang.Object visitInsertion(InsertionNode node,
java.lang.Object value)
throws GeneralException
InsertionNode has
been encountered.
visitInsertion in interface NodeVisitor<java.lang.Object,java.lang.Object>node - the first parameter for the visitor is the node visitedvalue - the second parameter for the visitor
GeneralException - in case of an errorNodeVisitor.visitInsertion(org.extex.typesetter.type.node.InsertionNode,
java.lang.Object)
public java.lang.Object visitKern(KernNode node,
java.lang.Object value)
throws GeneralException
KernNode has been
encountered.
visitKern in interface NodeVisitor<java.lang.Object,java.lang.Object>node - the first parameter for the visitor is the node visitedvalue - the second parameter for the visitor
GeneralException - in case of an errorNodeVisitor.visitKern(org.extex.typesetter.type.node.KernNode,
java.lang.Object)
public java.lang.Object visitLigature(LigatureNode node,
java.lang.Object value)
throws GeneralException
LigatureNode has been
encountered.
visitLigature in interface NodeVisitor<java.lang.Object,java.lang.Object>node - the first parameter for the visitor is the node visitedvalue - the second parameter for the visitor
GeneralException - in case of an errorNodeVisitor.visitLigature(org.extex.typesetter.type.node.LigatureNode,
java.lang.Object)
public java.lang.Object visitMark(MarkNode node,
java.lang.Object value)
throws GeneralException
MarkNode has been
encountered.
visitMark in interface NodeVisitor<java.lang.Object,java.lang.Object>node - the first parameter for the visitor is the node visitedvalue - the second parameter for the visitor
GeneralException - in case of an errorNodeVisitor.visitMark(org.extex.typesetter.type.node.MarkNode,
java.lang.Object)
public java.lang.Object visitPenalty(PenaltyNode node,
java.lang.Object value)
throws GeneralException
PenaltyNode has been
encountered.
visitPenalty in interface NodeVisitor<java.lang.Object,java.lang.Object>node - the first parameter for the visitor is the node visitedvalue - the second parameter for the visitor
GeneralException - in case of an errorNodeVisitor.visitPenalty(org.extex.typesetter.type.node.PenaltyNode,
java.lang.Object)
public java.lang.Object visitRule(RuleNode node,
java.lang.Object value)
throws GeneralException
RuleNode has been
encountered.
visitRule in interface NodeVisitor<java.lang.Object,java.lang.Object>node - the first parameter for the visitor is the node visitedvalue - the second parameter for the visitor
GeneralException - in case of an errorNodeVisitor.visitRule(org.extex.typesetter.type.node.RuleNode,
java.lang.Object)
public java.lang.Object visitSpace(SpaceNode node,
java.lang.Object value)
throws GeneralException
SpaceNode has been
encountered.
visitSpace in interface NodeVisitor<java.lang.Object,java.lang.Object>node - the first parameter for the visitor is the node visitedvalue - the second parameter for the visitor
GeneralException - in case of an errorNodeVisitor.visitSpace(org.extex.typesetter.type.node.SpaceNode,
java.lang.Object)
public java.lang.Object visitVerticalList(VerticalListNode node,
java.lang.Object value)
throws GeneralException
VerticalListNode
has been encountered.
visitVerticalList in interface NodeVisitor<java.lang.Object,java.lang.Object>node - the first parameter for the visitor is the node visitedvalue - the second parameter for the visitor
GeneralException - in case of an errorNodeVisitor.visitVerticalList(org.extex.typesetter.type.node.VerticalListNode,
java.lang.Object)
public java.lang.Object visitVirtualChar(VirtualCharNode node,
java.lang.Object value)
throws GeneralException
VirtualCharNode
has been encountered.
visitVirtualChar in interface NodeVisitor<java.lang.Object,java.lang.Object>node - the first parameter for the visitor is the node visitedvalue - the second parameter for the visitor
GeneralException - in case of an errorNodeVisitor.visitVirtualChar(org.extex.typesetter.type.node.VirtualCharNode,
java.lang.Object)
public java.lang.Object visitWhatsIt(WhatsItNode node,
java.lang.Object value)
throws GeneralException
WhatsItNode has been
encountered.
visitWhatsIt in interface NodeVisitor<java.lang.Object,java.lang.Object>node - the first parameter for the visitor is the node visitedvalue - the second parameter for the visitor
GeneralException - in case of an errorNodeVisitor.visitWhatsIt(org.extex.typesetter.type.node.WhatsItNode,
java.lang.Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||