Aspose.Words dropping signature when saving to PDF

We have some Word documents (DOC) that our users are uploading that we then convert to a PDF file to allow for previewing. Users have noticed that some documents do not carry over a signature to the PDF. Attached is one of those documents and the code is effectively this:

class WordConverter(stream: S3ObjectInputStream) : PdfConverter() {
    private var document: Document? = null

    init {
        try {
            this.document = stream.use(::Document)
        } catch (ignored: Exception) {
            Span.current().recordException(ignored)
        }
    }   

    override fun isSupported() = document != null

    override fun savePdf(outputPath: String) {
        val options = PdfSaveOptions()
        document?.save(outputPath, options)
    }   
}

Word_with_signature.docx (42.5 KB)

(Note I had to rename from DOC :arrow_right: DOCX to upload it).

You can see :point_down: that a signature exists, but the resulting file does not have the signature when saving to PDF; it only has a :stop_button: around it.

Thanks in advance for any advice.

output.pdf (39.8 KB)

I forgot to add that we’re using Aspose.Words version 20.11, though the same behavior happens in 23.10 as well.

Turning on warnings :warning: in LoadOptions yield some things, but I’m not familiar at all w/ the Word DOC format to really know what the problem is.

2023/11/09 20:38:39 [collector] Waiting for event...                                                                                                                                                                                                                            
Warning: 16777216, Description: Last selection information is not supported by Aspose.Words.                                                                                                                                                                                    
Warning: 16777216, Description: Spell checker information is not supported by Aspose.Words.                                                                                                                                                                                     
Warning: 16777216, Description: Grammar checker information is not supported by Aspose.Words.                                                                                                                                                                                   
Warning: 16777216, Description: Threading information is not supported by Aspose.Words.                                                                                                                                                                                         
Warning: 16777216, Description: Language auto-detect data is not supported by Aspose.Words.                                                                                                                                                                                     
Warning: 16777216, Description: Smart tag recognizer data is not supported by Aspose.Words.                                                                                                                                                                                     
Warning: 16777216, Description: Unknown OfficeArt property found 0x01c5, ignored.                                                                                                                                                                                               
Warning: 16777216, Description: Unknown OfficeArt property found 0x01dc, ignored.                                                                                                                                                                                               
Warning: 16777216, Description: Unknown OfficeArt property found 0x01e0, ignored.                                                                                                                                                                                               
Warning: 16777216, Description: Unknown OfficeArt property found 0x0215, ignored.                                                                                                                                                                                               
Warning: 16777216, Description: Unknown OfficeArt property found 0x0219, ignored.                                                                                                                                                                                               
Warning: 16777216, Description: Unknown OfficeArt property found 0x0545, ignored.                                                                                                                                                                                               
Warning: 16777216, Description: Unknown OfficeArt property found 0x0546, ignored.                                                                                                                                                                                               
Warning: 16777216, Description: Unknown OfficeArt property found 0x054f, ignored.                                                                                                                                                                                               
Warning: 16777216, Description: Unknown OfficeArt property found 0x055c, ignored.                                                                                                                                                                                               
Warning: 16777216, Description: Unknown OfficeArt property found 0x0560, ignored.                                                                                                                                                                                               
Warning: 16777216, Description: Unknown OfficeArt property found 0x0585, ignored.                                                                                                                                                                                               
Warning: 16777216, Description: Unknown OfficeArt property found 0x0586, ignored.                                                                                                                                                                                               
Warning: 16777216, Description: Unknown OfficeArt property found 0x058f, ignored.                                                                                                                                                                                               
Warning: 16777216, Description: Unknown OfficeArt property found 0x059c, ignored.                                                                                                                                                                                               
Warning: 16777216, Description: Unknown OfficeArt property found 0x05a0, ignored.                                                                                                                                                                                               
Warning: 16777216, Description: Unknown OfficeArt property found 0x05c5, ignored.                                                                                                                                                                                               
Warning: 16777216, Description: Unknown OfficeArt property found 0x05c6, ignored.                                                                                                                                                                                               
Warning: 16777216, Description: Unknown OfficeArt property found 0x05cf, ignored.                                                                                                                                                                                               
Warning: 16777216, Description: Unknown OfficeArt property found 0x05dc, ignored.                                                                                                                                                                                               
Warning: 16777216, Description: Unknown OfficeArt property found 0x05e0, ignored.                                                                                                                                                                                               
Warning: 16777216, Description: Unknown OfficeArt property found 0x0605, ignored.                                                                                                                                                                                               
Warning: 16777216, Description: Unknown OfficeArt property found 0x0606, ignored.                                                                                                                                                                                               
Warning: 16777216, Description: Unknown OfficeArt property found 0x060f, ignored.                                                                                                                                                                                               
Warning: 16777216, Description: Unknown OfficeArt property found 0x061c, ignored.                                                                                                                                                                                               
Warning: 16777216, Description: Unknown OfficeArt property found 0x0620, ignored.                                                                                                                                                                                               
Warning: 16777216, Description: Unknown OfficeArt property found 0x0645, ignored.                                                                                                                                                                                               
Warning: 16777216, Description: Unknown OfficeArt property found 0x0646, ignored.                                                                                                                                                                                               
Warning: 16777216, Description: Unknown OfficeArt property found 0x064f, ignored.                                                                                                                                                                                               
Warning: 16777216, Description: Unknown OfficeArt property found 0x065c, ignored.                                                                                                                                                                                               
Warning: 16777216, Description: Unknown OfficeArt property found 0x0660, ignored.                                                                                                                                                                                               
Warning: 16777216, Description: Unknown OfficeArt property found 0x0847, ignored.                                                                                                                                                                                               
Warning: 16777216, Description: Unknown OfficeArt property found 0x08c8, ignored.                                                                                                                                                                                               
Warning: 16777216, Description: Unsupported PowerPoint property 0x000b, ignored.                                                                                                                                                                                                
Warning: 16777216, Description: Unsupported document property 0x0013, ignored.         

@leviwilson
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-26213

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.

Can you provide any details on what the problem is with this document?

@leviwilson Currently the issue is in the queue for analysis. Once analysis is done we will be able to provide you more information or probably a fix.

@leviwilson We have completed analysis of the issue. DOC files use ISF - binary ink format that is not currently supported by Aspose.Words. The issue has been lined to the root feature request. Unfortunately, implementation of it is not yet scheduled. Please accept our apologies for your inconvenience.