Hi,
we are developping a program where we need to open a Word document, replace some predifined tags with some multiline text and finally save the document in pdf.
I'm currently evaluating Aspose.Word for .net for this purpose and I find some issues when trying to use the range.replace method.
My code could ideally be as simple as :
Dim doc As New Spire.Doc.Document(myWordFileName)
doc.Range.Replace(myTagText, myReplacementText, False, True)
doc.SaveToFile(myPDFFileName)
But when trying to run this code we find out that
- The multiline replacement text is not supported.
- The isMatchWholeWord parameters is inoperant.
I looked for a solution in this forum but I didn't find any. Could you tell me if these issues are going to be addressed in a future release (I found a post from 2005 telling that this would be corrected in a few months...) or do you have a workaround to achieve the same functionnalities with some sample code?
Thank you in advance
|