Package org.docx4j.convert.out.html
Class BookmarkStartWriter
java.lang.Object
org.docx4j.convert.out.common.writer.AbstractSimpleWriter
org.docx4j.convert.out.common.writer.AbstractBookmarkStartWriter
org.docx4j.convert.out.html.BookmarkStartWriter
- All Implemented Interfaces:
Writer
public class BookmarkStartWriter extends AbstractBookmarkStartWriter
Generate a reference so that the w:bookmarkStart it can be referenced.
The preprocessing step BookmarkMover should have moved any Bookmarks to the beginning of a paragraph, therefore an inline should always work.
The preprocessing step BookmarkMover should have moved any Bookmarks to the beginning of a paragraph, therefore an inline should always work.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.docx4j.convert.out.common.Writer
Writer.TransformState -
Field Summary
Fields inherited from class org.docx4j.convert.out.common.writer.AbstractBookmarkStartWriter
WRITER_ID -
Constructor Summary
Constructors Constructor Description BookmarkStartWriter() -
Method Summary
Modifier and Type Method Description org.w3c.dom.NodetoNode(AbstractWmlConversionContext context, java.lang.Object unmarshalledNode, org.w3c.dom.Node modelContent, Writer.TransformState state, org.w3c.dom.Document doc)Generate the corresponding document fragmentMethods inherited from class org.docx4j.convert.out.common.writer.AbstractSimpleWriter
createTransformState, getID
-
Constructor Details
-
BookmarkStartWriter
public BookmarkStartWriter()
-
-
Method Details
-
toNode
public org.w3c.dom.Node toNode(AbstractWmlConversionContext context, java.lang.Object unmarshalledNode, org.w3c.dom.Node modelContent, Writer.TransformState state, org.w3c.dom.Document doc) throws javax.xml.transform.TransformerExceptionDescription copied from interface:WriterGenerate the corresponding document fragment- Returns:
- Throws:
javax.xml.transform.TransformerException
-