Class BookmarkMover
java.lang.Object
org.docx4j.convert.out.common.preprocess.BookmarkMover
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 -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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
-