Word DOCX to PDF - Some lines of text floats over and inside the footer area

Using Aspose.Words to convert the following Word document to PDF:
Manualconvert.docx (295.6 KB)
We’re currently running latest version 23.6 of Aspose and with following code to convert:

Aspose.Words.Document wordDoc = new Aspose.Words.Document(filename);

if (addMessageDelegate != null && !aborted)
	addMessageDelegate(DocProcessStatus.Message.MessageType.Info, "Exporting Word document to PDF...");

Aspose.Words.Saving.PdfSaveOptions options = new Aspose.Words.Saving.PdfSaveOptions();

options.Compliance = GetSaveWordFileFormat(exportToPdfUa);
options.ExportDocumentStructure = true;
options.DisplayDocTitle = true;

// Update all merge fields to display their correct results.
List<Aspose.Words.Fields.Field> mergefields = wordDoc.Range.Fields.Where(f => f.Type == Aspose.Words.Fields.FieldType.FieldMergeField).ToList();
foreach (Aspose.Words.Fields.Field f in mergefields)
	f.Unlink();

if (removeFieldCodes)
{
	var fieldsIf = wordDoc.Range.Fields.Where(f => f.Type == Aspose.Words.Fields.FieldType.FieldIf).ToList();
	foreach (var f in fieldsIf)
		f.Unlink();
}

wordDoc.UpdateFields();
wordDoc.Save(dstFilename, options);

As you can observe in the the result Pdf, some text is floating inside the footer area and things become unreadable
Manualconvert.pdf (124.7 KB)

@andersalvsaker
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): WORDSNET-25579

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

1 Like

@alexey.noskov
Hi,
Our customers having this issue is asking us about an update.
I can see that your status on this issue is: Postponed. What is the reason for that?

Thank you for any update you can provide.

@andersalvsaker Yes, unfortunately, the issue has been postponed and is not yet scheduled for development.
Looks like a rare case. In the problematic document there is wrapped table and a wrapped frame in the footer. They are positioned at the bottom of the page, but above the footer top. MS Word moves the footnotes up to avoid overlapping with those floaters. Aspose.Words just places the footnotes above the footer top, not taking floaters into account. It seems, MS Word logic is specific to 2013 mode. If compatibility mode is set via direct xml editing of settings.xml, MS Word also allows the footnotes to overlap with floaters. It looks like a new feature introduced in MS Word 2013 which was not implemented in Aspose.Words. Unfortunately, there are no resources for improving footnotes at this time. So the issue has been postponed.