|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.backend.documentWriter.pdf.PdfNodeVisitor
public class PdfNodeVisitor
PDF NodeVisitor.
| Constructor Summary | |
|---|---|
PdfNodeVisitor(org.pdfbox.pdmodel.PDDocument doc,
org.pdfbox.pdmodel.edit.PDPageContentStream cs,
Dimen cx,
Dimen cy)
Create a new object. |
|
| Method Summary | |
|---|---|
void |
setPaperheight(Dimen ph)
Set the paper height. |
java.lang.Object |
visitAdjust(AdjustNode node,
java.lang.Object value2)
This method is called when an AdjustNode has been
encountered. |
java.lang.Object |
visitAfterMath(AfterMathNode node,
java.lang.Object value2)
This method is called when an AfterMathNode has
been encountered. |
java.lang.Object |
visitAlignedLeaders(AlignedLeadersNode node,
java.lang.Object value2)
This method is called when an AlignedLeadersNode
has been encountered. |
java.lang.Object |
visitBeforeMath(BeforeMathNode node,
java.lang.Object value2)
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(org.pdfbox.pdmodel.PDDocument doc,
org.pdfbox.pdmodel.edit.PDPageContentStream cs,
Dimen cx,
Dimen cy)
doc - the pdf documentcs - the pdf content streamcx - the current xcy - the current y| Method Detail |
|---|
public void setPaperheight(Dimen ph)
ph - The paper height to set.
public java.lang.Object visitAdjust(AdjustNode node,
java.lang.Object value2)
NodeVisitorAdjustNode has been
encountered.
visitAdjust in interface NodeVisitor<java.lang.Object,java.lang.Object>node - the first parameter for the visitor is the node visitedvalue2 - the second parameter for the visitor
NodeVisitor.visitAdjust(AdjustNode,
java.lang.Object)
public java.lang.Object visitAfterMath(AfterMathNode node,
java.lang.Object value2)
NodeVisitorAfterMathNode has
been encountered.
visitAfterMath in interface NodeVisitor<java.lang.Object,java.lang.Object>node - the first parameter for the visitor is the node visitedvalue2 - the second parameter for the visitor
NodeVisitor.visitAfterMath(AfterMathNode,
java.lang.Object)
public java.lang.Object visitAlignedLeaders(AlignedLeadersNode node,
java.lang.Object value2)
NodeVisitorAlignedLeadersNode
has been encountered.
visitAlignedLeaders in interface NodeVisitor<java.lang.Object,java.lang.Object>node - the first parameter for the visitor is the node visitedvalue2 - the second parameter for the visitor
NodeVisitor.visitAlignedLeaders(AlignedLeadersNode,
java.lang.Object)
public java.lang.Object visitBeforeMath(BeforeMathNode node,
java.lang.Object value2)
NodeVisitorBeforeMathNode has
been encountered.
visitBeforeMath in interface NodeVisitor<java.lang.Object,java.lang.Object>node - the first parameter for the visitor is the node visitedvalue2 - the second parameter for the visitor
NodeVisitor.visitBeforeMath(BeforeMathNode,
java.lang.Object)
public java.lang.Object visitCenteredLeaders(CenteredLeadersNode node,
java.lang.Object value)
NodeVisitorCenteredLeadersNode
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
NodeVisitor.visitCenteredLeaders(CenteredLeadersNode,
java.lang.Object)
public java.lang.Object visitChar(CharNode node,
java.lang.Object value)
throws GeneralException
NodeVisitorCharNode 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(CharNode,
java.lang.Object)
public java.lang.Object visitDiscretionary(DiscretionaryNode node,
java.lang.Object value)
NodeVisitorDiscretionaryNode
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
NodeVisitor.visitDiscretionary(DiscretionaryNode,
java.lang.Object)
public java.lang.Object visitExpandedLeaders(ExpandedLeadersNode node,
java.lang.Object value)
NodeVisitorExpandedLeadersNode
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
NodeVisitor.visitExpandedLeaders(ExpandedLeadersNode,
java.lang.Object)
public java.lang.Object visitGlue(GlueNode node,
java.lang.Object value)
NodeVisitorGlueNode 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
NodeVisitor.visitGlue(GlueNode,
java.lang.Object)
public java.lang.Object visitHorizontalList(HorizontalListNode node,
java.lang.Object value)
throws GeneralException
NodeVisitorHorizontalListNode
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(HorizontalListNode,
java.lang.Object)
public java.lang.Object visitInsertion(InsertionNode node,
java.lang.Object value)
NodeVisitorInsertionNode 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
NodeVisitor.visitInsertion(InsertionNode,
java.lang.Object)
public java.lang.Object visitKern(KernNode node,
java.lang.Object value)
NodeVisitorKernNode 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
NodeVisitor.visitKern(KernNode,
java.lang.Object)
public java.lang.Object visitLigature(LigatureNode node,
java.lang.Object value)
NodeVisitorLigatureNode 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
NodeVisitor.visitLigature(LigatureNode,
java.lang.Object)
public java.lang.Object visitMark(MarkNode node,
java.lang.Object value)
NodeVisitorMarkNode 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
NodeVisitor.visitMark(MarkNode,
java.lang.Object)
public java.lang.Object visitPenalty(PenaltyNode node,
java.lang.Object value)
NodeVisitorPenaltyNode 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
NodeVisitor.visitPenalty(PenaltyNode,
java.lang.Object)
public java.lang.Object visitRule(RuleNode node,
java.lang.Object value)
NodeVisitorRuleNode 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
NodeVisitor.visitRule(RuleNode,
java.lang.Object)
public java.lang.Object visitSpace(SpaceNode node,
java.lang.Object value)
NodeVisitorSpaceNode 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
NodeVisitor.visitSpace(SpaceNode,
java.lang.Object)
public java.lang.Object visitVerticalList(VerticalListNode node,
java.lang.Object value)
throws GeneralException
NodeVisitorVerticalListNode
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(VerticalListNode,
java.lang.Object)
public java.lang.Object visitVirtualChar(VirtualCharNode node,
java.lang.Object value)
throws GeneralException
NodeVisitorVirtualCharNode
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)
NodeVisitorWhatsItNode 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
NodeVisitor.visitWhatsIt(WhatsItNode,
java.lang.Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||