in fop-core/src/main/java/org/apache/fop/render/rtf/RTFHandler.java [1533:1700]
private void invokeDeferredEvent(FONode foNode, boolean bStart) {
if (foNode instanceof PageSequence) {
if (bStart) {
startPageSequence((PageSequence) foNode);
} else {
endPageSequence((PageSequence) foNode);
}
} else if (foNode instanceof Flow) {
if (bStart) {
startFlow((Flow) foNode);
} else {
endFlow((Flow) foNode);
}
} else if (foNode instanceof StaticContent) {
if (bStart) {
startStatic(null);
} else {
endStatic(null);
}
} else if (foNode instanceof ExternalGraphic) {
if (bStart) {
image((ExternalGraphic) foNode);
}
} else if (foNode instanceof InstreamForeignObject) {
if (bStart) {
endInstreamForeignObject((InstreamForeignObject) foNode);
}
} else if (foNode instanceof Block) {
if (bStart) {
startBlock((Block) foNode);
} else {
endBlock((Block) foNode);
}
} else if (foNode instanceof BlockContainer) {
if (bStart) {
startBlockContainer((BlockContainer) foNode);
} else {
endBlockContainer((BlockContainer) foNode);
}
} else if (foNode instanceof BasicLink) {
//BasicLink must be placed before Inline
if (bStart) {
startLink((BasicLink) foNode);
} else {
endLink(null);
}
} else if (foNode instanceof Inline) {
if (bStart) {
startInline((Inline) foNode);
} else {
endInline((Inline) foNode);
}
} else if (foNode instanceof FOText) {
if (bStart) {
FOText text = (FOText) foNode;
text(text, text.getCharSequence());
}
} else if (foNode instanceof Character) {
if (bStart) {
Character c = (Character) foNode;
character(c);
}
} else if (foNode instanceof PageNumber) {
if (bStart) {
startPageNumber((PageNumber) foNode);
} else {
endPageNumber((PageNumber) foNode);
}
} else if (foNode instanceof Footnote) {
if (bStart) {
startFootnote((Footnote) foNode);
} else {
endFootnote((Footnote) foNode);
}
} else if (foNode instanceof FootnoteBody) {
if (bStart) {
startFootnoteBody((FootnoteBody) foNode);
} else {
endFootnoteBody((FootnoteBody) foNode);
}
} else if (foNode instanceof ListBlock) {
if (bStart) {
startList((ListBlock) foNode);
} else {
endList((ListBlock) foNode);
}
} else if (foNode instanceof ListItemBody) {
if (bStart) {
startListBody(null);
} else {
endListBody(null);
}
} else if (foNode instanceof ListItem) {
if (bStart) {
startListItem((ListItem) foNode);
} else {
endListItem((ListItem) foNode);
}
} else if (foNode instanceof ListItemLabel) {
if (bStart) {
startListLabel(null);
} else {
endListLabel(null);
}
} else if (foNode instanceof Table) {
if (bStart) {
startTable((Table) foNode);
} else {
endTable((Table) foNode);
}
} else if (foNode instanceof TableHeader) {
if (bStart) {
startHeader((TableHeader) foNode);
} else {
endHeader((TableHeader) foNode);
}
} else if (foNode instanceof TableFooter) {
if (bStart) {
startFooter((TableFooter) foNode);
} else {
endFooter((TableFooter) foNode);
}
} else if (foNode instanceof TableBody) {
if (bStart) {
startBody((TableBody) foNode);
} else {
endBody((TableBody) foNode);
}
} else if (foNode instanceof TableColumn) {
if (bStart) {
startColumn((TableColumn) foNode);
} else {
endColumn((TableColumn) foNode);
}
} else if (foNode instanceof TableRow) {
if (bStart) {
startRow((TableRow) foNode);
} else {
endRow((TableRow) foNode);
}
} else if (foNode instanceof TableCell) {
if (bStart) {
startCell((TableCell) foNode);
} else {
endCell((TableCell) foNode);
}
} else if (foNode instanceof Leader) {
if (bStart) {
startLeader((Leader) foNode);
}
} else if (foNode instanceof PageNumberCitation) {
if (bStart) {
startPageNumberCitation((PageNumberCitation) foNode);
} else {
endPageNumberCitation((PageNumberCitation) foNode);
}
} else if (foNode instanceof PageNumberCitationLast) {
if (bStart) {
startPageNumberCitationLast((PageNumberCitationLast) foNode);
} else {
endPageNumberCitationLast((PageNumberCitationLast) foNode);
}
} else {
RTFEventProducer eventProducer = RTFEventProducer.Provider.get(
getUserAgent().getEventBroadcaster());
eventProducer.ignoredDeferredEvent(this, foNode, bStart, foNode.getLocator());
}
}