Package org.docx4j.samples
Class WatermarkPicture
java.lang.Object
org.docx4j.samples.WatermarkPicture
A watermark is set via the headers.
This is different to w:document/w:background (see BackgroundImage sample for that,
though this WatermarkPicture is probably what you want.)
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static String(package private) static ObjectFactoryprivate byte[](package private) static Fileprivate WordprocessingMLPackage -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprivate RelationshipcreateHeaderPart(String nameSuffix) private SectPrprivate byte[]getImage()static voidprivate voidsetHdr(HeaderPart headerPart)
-
Field Details
-
DOCX_OUT
-
factory
-
imageFile
-
image
private byte[] image -
wordMLPackage
-
-
Constructor Details
-
WatermarkPicture
public WatermarkPicture()
-
-
Method Details