} else {
endBlock( (Block) foNode);
}
+ } else if (foNode instanceof BasicLink) {
+ //BasicLink must be placed before Inline
+ if (bStart) {
+ startLink( (BasicLink) foNode);
+ } else {
+ endLink();
+ }
} else if (foNode instanceof Inline) {
if (bStart) {
startInline( (Inline) foNode);
Character c = (Character) foNode;
character(c);
}
- } else if (foNode instanceof BasicLink) {
- if (bStart) {
- startLink( (BasicLink) foNode);
- } else {
- endLink();
- }
} else if (foNode instanceof PageNumber) {
if (bStart) {
startPageNumber( (PageNumber) foNode);
}
//recurse table-footer
- if (table.getTableHeader()!=null) {
+ if (table.getTableFooter()!=null) {
recurseFONode( table.getTableFooter() );
}