Package org.docx4j.samples
Class BookmarkAdd
java.lang.Object
org.docx4j.samples.AbstractSample
org.docx4j.samples.BookmarkAdd
-
Field Summary
FieldsFields inherited from class org.docx4j.samples.AbstractSample
inputfilepath, outputfilepath -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.docx4j.samples.AbstractSample
getInputFilePath, getOutputFilePath
-
Field Details
-
context
public static jakarta.xml.bind.JAXBContext context
-
-
Constructor Details
-
BookmarkAdd
public BookmarkAdd()
-
-
Method Details
-
main
- Parameters:
args-- Throws:
Exception
-
bookmarkRun
Surround the specified r in the specified p with a bookmark (with specified name and id)- Parameters:
p-r-name-id-
-