Hi,
I am trying to generate a .docx document programatically, Can any one please let me know how to add watermark(say for example a draft watermark) to the document that is being created programatically.
Thanks in advance.
It is currently Tue Nov 26, 2024 7:43 pm
Mar 21, 2014 2:24:19 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [HelloWorldServlet] in context with path [/FirstServlet] threw exception [Servlet execution threw an exception] with root cause
java.lang.NoClassDefFoundError: org/apache/xml/serializer/utils/DOM2Helper
at org.apache.xml.serializer.TreeWalker.<init>(TreeWalker.java:121)
at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:389)
at com.sun.xml.internal.bind.v2.runtime.XMLSerializer.writeDom(XMLSerializer.java:794)
at com.sun.xml.internal.bind.v2.runtime.property.ArrayReferenceNodeProperty.serializeListBody(ArrayReferenceNodeProperty.java:101)
<w:t>Salutation,<w:br/><w:br/>Text</w:t>
WARN JaxbValidationEventHandler - [ERROR] : unexpected element (uri:"http://schemas.openxmlformats.org/wordprocessingml/2006/main", local:"br"). Expected elements are <{ }text>
INFO JaxbValidationEventHandler - continuing (with possible element/attribute loss)
slidePart.getJaxbElement()
Total posts 10111 • Total topics 2842 • Total members 2074