Hi,
Hi Wahaj,
I do not see any merge fields in your document. You need to insert merge fields using Insert->Quick Parts->Field option in MS Word as you can see at http://www.aspose.com/docs/display/wordsjava/Prepare+a+Document
After inserting merge fields, you can use the code from http://www.aspose.com/docs/display/wordsjava/How+to++Execute+Simple+Mail+Merge to fill those fields. Please note that names of the merge fields should match the names passed through array of strings in the above mentioned code.
Best Regards,
Hi Ijaz,
Hi,
Hi Wahaj,
Adding signature line is not supported at the moment but a request in this regard has been logged into our issue tracking system as WORDSNET-11208. We will keep you updated on this issue in this thread.
Best Regards,
The issues you have found earlier (filed as WORDSNET-11208) have been fixed in this .NET update and this Java update.
This message was posted using Notification2Forum from Downloads module by aspose.notifier.
(1)
Hi,
- public Shape insertSignatureLine(com.aspose.words.SignatureLineOptions)
- public Shape insertSignatureLine(com.aspose.words.SignatureLineOptions,int,double,int,double,int)
Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
SignatureLineOptions options = new SignatureLineOptions();
options.setSigner(“John Doe”);
options.setSignerTitle(“Manager”);
options.setShowDate(false);
builder.insertSignatureLine(options);
doc.save(getMyDir() + “awjava-16.1.0.docx”);
Document doc = new Document(getMyDir() + “Document1.docx”);
Shape shape = (Shape)doc.getChild(NodeType.SHAPE, 0, true);
SignatureLine signatureLine = shape.getSignatureLine();
signatureLine.setSigner(“John Doe2”);
signatureLine.setSignerTitle(“Manager2”);
signatureLine.setShowDate(true);
doc.save(getMyDir() + “awjava-16.1.0.docx”);
The issues you have found earlier (filed as ) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan