Free Support Forum - aspose.com

LCP-19893. Watermark format issue

Hi Aspose support,
One of our customers reported the problem with a watermark on the first page, after some research, we noticed that the problem appears only for a watermark on a first document’s page (no problems with other pages) and only when “Different First Page” option is enabled. And the problem reproduces only if save a document to Strict format, there is no problem with Transitional format.

The problem: Watermark object changes from WordArt to Shape with formatting loss.
See screenshot:
WatermarkIssue.png (76.1 KB)

Source document: Source.zip (16.3 KB)
Resulted document (with not expected behavior): ResultInStrict (not expected).zip (14.5 KB)

Code example:

private static void ConvertWord(string inputFile, string outputFile, string openPassword)
{
    Aspose.Words.Document doc = new Aspose.Words.Document(inputFile, 
    new Aspose.Words.LoadOptions()
    {
         Password = !string.IsNullOrEmpty(openPassword) ? openPassword : null
    });        
    doc.Unprotect();
       Aspose.Words.Saving.OoxmlSaveOptions saveOptions = new Aspose.Words.Saving.OoxmlSaveOptions(Aspose.Words.SaveFormat.Docx);
                                     
        saveOptions.Compliance = Aspose.Words.Saving.OoxmlCompliance.Iso29500_2008_Strict;

        doc.Save(outputFile, saveOptions);
}

Used Aspose.Words.dll v 20.12

Expected result: Watermark on the first page should have the same look and fill like in the source document

Suggestion to save into Transitional format doesn’t accept, as we have to save into Strict format.

Could you take a look and correct the problem, please?

@licenses,

We have logged this problem in our issue tracking system with ID WORDSNET-21580. We will further look into the details of this problem and will keep you updated on the status of correction. We apologize for your inconvenience.

Hi @awais.hafeez,
Do you have any updates regarding this issue?
Any estimation when you can start work on this/solve this?

@licenses,

WORDSNET-21580 is currently pending for analysis and is in the queue. We will inform you via this forum thread as soon as this issue will get resolved in future or any time frame (ETA) may be available. We apologize for any inconvenience.