Class BookmarkMover

java.lang.Object
org.docx4j.convert.out.common.preprocess.BookmarkMover

public class BookmarkMover
extends java.lang.Object
This class moves w:bookmarkStart into the next paragraph if they are outside of a paragraph. This is done so that the BoomarkStartModelWriter are able to generate a correct output. If w:bookmarkStart is moved, then a corresponding w:bookmarkEnd is written after it and it's w:bookmarkEnd deleted (as the conversion ignores any bookmarkEnd, it doesn't matter where they are).
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    protected static class  BookmarkMover.BookmarkMoverVisitor  
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected static org.slf4j.Logger log  
  • Constructor Summary

    Constructors 
    Constructor Description
    BookmarkMover()  
  • Method Summary

    Modifier and Type Method Description
    static void process​(WordprocessingMLPackage wmlPackage)
    Move bookmarks into a paragraph

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait