Commit 5f394c36 authored by Jos van den Oever's avatar Jos van den Oever

Also order text:bookmark.

parent 9ea85e3d
......@@ -560,7 +560,8 @@ public class OdfNormalizer {
}
static private final String markArray[] = { "bookmark-end",
"reference-mark-end", "reference-mark-start", "bookmark-start" };
"reference-mark-end", "bookmark", "reference-mark-start",
"bookmark-start" };
static private final List<String> markList = Arrays.asList(markArray);
static private final HashSet<String> marks = new HashSet<String>();
static {
......@@ -616,7 +617,7 @@ public class OdfNormalizer {
XPathResult<Element> elements = XPath
.elementIterator(
document,
"//text:reference-mark-start|//text:reference-mark-end|//text:bookmark-start|//text:bookmark-end");
"//text:reference-mark-start|//text:reference-mark-end|//text:bookmark|//text:bookmark-start|//text:bookmark-end");
List<Node> list = new LinkedList<Node>();
List<Node> done = new LinkedList<Node>();
for (Element e : elements) {
......
Markdown is supported
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