Free Support Forum - aspose.com

Problem with headers

First: sorry about my english

I have a document with header and a field “Field 1” and a picture in the header, when i fill this field (Field 1) And other field “Field 2” in the body no show the image… this appears in blank…

know about this problem?

thanks

jasanguineti

Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request. Could you please attach your template document for testing? I will investigate this issue and provide you more information.

Best regards.

Attach the file and add code i use…

Thanks

JASanguineti

----------------------------------------------------------------------
CCAsposeApp DocWork = new CCAsposeApp();
DocWork.FunSetField(Filename,
new string[] { “Titulo”, “Ref_Elaborado_por” },
new object[] { “titulo”, “jasanguineti” });

----------------------------------------------------------------------
using Aspose.Words;

public class CCAsposeApp
{
public string FunSetField(string arFilename, string[] arFields, object[] arObjects)
{
string ls_ret = “”;
try
{
Document doc = new Document(arFilename);
doc.MailMerge.Execute(arFields, arObjects);
doc.Save(arFilename);
}
catch (Exception e)
{ ls_ret = e.Message; }
return ls_ret;
}

}

Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for additional information. This is known issue # 3683 (Embedded image is not displayed after saving document in doc format.). We will try to resolve this issue before the next release. I will notify you as soon as it is done.

Best regards.

Only with .doc and not with .docx

Dear Alexy, I’m testing and the problem is when I save with .doc extention, If I save with .docx not appears this problem.

I have office 2007.

Regards


The issues you have found earlier (filed as 3683) have been fixed in this update.