Is it possible to remove the space between two pages?

Hello,

Directly in Word it is possible to remove the spacing between two pages by hiding the header and footer. See image capture “img-1” and “img-2”

Is it possible to reproduce this operation with Aspose when saving a “docm” in “htmlFixed”? See image capture “img-3”

I provide you with the code with the tests I performed.

I am using Aspose.Words 22.3.0

Cordially
element.zip (911.6 KB)

@ISIWARE No, unfortunately, there is no way to show/hide headers footers upon exporting document to Html Fixed. However, you can decrease spacing between the pages by setting HtmlFixedSaveOptions.PageMargins property:

Document doc = new Document(@"C:\Temp\in.docx");

HtmlFixedSaveOptions opt = new HtmlFixedSaveOptions();
opt.PageMargins = 0;

doc.Save(@"C:\Temp\out.html", opt);

Hello,

Thank you for your return.
Would a software evolution be possible?
Indeed, the opening of this ticket follows the request of several of our customers.

Cordially.

@ISIWARE I have logged a feature request WORDSNET-24543 about this. We will consider adding such option, but currently I cannot provide you any estimates or promises.

Hi,

Have you added a new option to remove space between two pages?

Cordially

@ISIWARE Unfortunately, implementation of this feature has been postponed and is not yet scheduled for development. Please accept our apologies for your inconvenience.

Hi,

Have you added a new option to remove space between two pages?

Cordially

@ISIWARE I am afraid, there are no news regarding the issue. It is still postponed and are not scheduled for development.