Lines 24-29
import java.util.Map;
Link Here
|
24 |
import org.xml.sax.Attributes; |
24 |
import org.xml.sax.Attributes; |
25 |
import org.xml.sax.Locator; |
25 |
import org.xml.sax.Locator; |
26 |
|
26 |
|
|
|
27 |
import org.apache.fop.accessibility.StructureElement; |
27 |
import org.apache.fop.apps.FOPException; |
28 |
import org.apache.fop.apps.FOPException; |
28 |
import org.apache.fop.fo.FONode; |
29 |
import org.apache.fop.fo.FONode; |
29 |
import org.apache.fop.fo.FOTreeBuilderContext; |
30 |
import org.apache.fop.fo.FOTreeBuilderContext; |
Lines 133-138
public class Marker extends FObjMixed {
Link Here
|
133 |
return markerClassName; |
134 |
return markerClassName; |
134 |
} |
135 |
} |
135 |
|
136 |
|
|
|
137 |
public void addStructureElements(StructureElement parent) { |
138 |
StructureElement structure = createStructureElement(); |
139 |
structure.setRole(role); |
140 |
structure.setPtr(newPtrId()); |
141 |
parent.addChild(structure); |
142 |
super.addStructureElements(structure); |
143 |
} |
144 |
|
136 |
/** {@inheritDoc} */ |
145 |
/** {@inheritDoc} */ |
137 |
public String getLocalName() { |
146 |
public String getLocalName() { |
138 |
return "marker"; |
147 |
return "marker"; |