Commit ffd9b646 authored by Michael Hamann's avatar Michael Hamann
Browse files

XRENDERING-632: Figure and figure caption events are not handled by the...

XRENDERING-632: Figure and figure caption events are not handled by the composite and queue listener
parent 1bc86d4d
...@@ -334,6 +334,38 @@ public void endQuotationLine() ...@@ -334,6 +334,38 @@ public void endQuotationLine()
} }
} }
@Override
public void beginFigure(Map<String, String> parameters)
{
for (Listener listener : this.listeners) {
listener.beginFigure(parameters);
}
}
@Override
public void endFigure(Map<String, String> parameters)
{
for (Listener listener : this.listeners) {
listener.endFigure(parameters);
}
}
@Override
public void beginFigureCaption(Map<String, String> parameters)
{
for (Listener listener : this.listeners) {
listener.beginFigureCaption(parameters);
}
}
@Override
public void endFigureCaption(Map<String, String> parameters)
{
for (Listener listener : this.listeners) {
listener.endFigureCaption(parameters);
}
}
@Override @Override
public void endSection(Map<String, String> parameters) public void endSection(Map<String, String> parameters)
{ {
......
...@@ -359,6 +359,30 @@ public void endQuotationLine() ...@@ -359,6 +359,30 @@ public void endQuotationLine()
saveEvent(EventType.END_QUOTATION_LINE); saveEvent(EventType.END_QUOTATION_LINE);
} }
@Override
public void beginFigure(Map<String, String> parameters)
{
saveEvent(EventType.BEGIN_FIGURE, parameters);
}
@Override
public void endFigure(Map<String, String> parameters)
{
saveEvent(EventType.END_FIGURE, parameters);
}
@Override
public void beginFigureCaption(Map<String, String> parameters)
{
saveEvent(EventType.BEGIN_FIGURE_CAPTION, parameters);
}
@Override
public void endFigureCaption(Map<String, String> parameters)
{
saveEvent(EventType.END_FIGURE_CAPTION, parameters);
}
@Override @Override
public void endSection(Map<String, String> parameters) public void endSection(Map<String, String> parameters)
{ {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment