We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Not preserving paragraph end mark size when saving to pdf

ParagraphEndMarkSize.zip (35.5 KB)
Hi,

we have encountered weird issue: when you load a template (attached testTemplate.dotx) using

        using (var stream = new FileStream(path, FileMode.Open, FileAccess.Read, FileShare.ReadWrite))
        {
            var doc = new Document(stream);
            _hiddenBookmarksRemover.RemoveHiddenBookmarks(doc); 
            return doc;
        }

and then save doc to Word using

doc.Save(@“D:/test1.doc”);

(test1.doc) the paragraph end mark size is preserved( 1pt), if you then save doc again (without exiting app) to PDF (test2.pdf) you can see that there is white space under the picture in the footer (its because the paragraph end mark is now size 10pt). to better see it you can save doc third time to word again (test3.doc) and you can see that paragraph end mark is now 10pt instead of 1pt

can you please advice why this is happening and if there is a way of preventing this?

Thanks
Aga

@acturisaspose,

Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-16519. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-16519) have been fixed in this Aspose.Words for .NET 18.5 update and this Aspose.Words for Java 18.5 update.

The issues you have found earlier (filed as ) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan