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 classBookmarkMover.BookmarkMoverVisitor -
Field Summary
Fields Modifier and Type Field Description protected static org.slf4j.Loggerlog -
Constructor Summary
Constructors Constructor Description BookmarkMover() -
Method Summary
Modifier and Type Method Description static voidprocess(WordprocessingMLPackage wmlPackage)Move bookmarks into a paragraph
-
Field Details
-
log
protected static org.slf4j.Logger log
-
-
Constructor Details
-
BookmarkMover
public BookmarkMover()
-
-
Method Details
-
process
Move bookmarks into a paragraph
-