Class BookmarkMover

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

public class BookmarkMover extends 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).
  • Field Details

    • log

      protected static org.slf4j.Logger log
  • Constructor Details

    • BookmarkMover

      public BookmarkMover()
  • Method Details