How to set hidden custom attribute values for each paragraph in a docx document?

We have a specific requirement to add hidden custom attribute values to each paragraph, image, shape, and other elements. Additionally, we need to be able to read these custom attribute values using the Aspose Words API after exporting the document.

@ideal.gu Unfortunately, there is no way to add custom attributes to document nodes. There is no way to achieve this dues to the restrictions of MS Word document formats.

<w:smartTag> Is this possible?

@ideal.gu Yes, you can create smart tags using Aspose.Words. Please see our documentation for more information:
https://reference.aspose.com/words/net/aspose.words.markup/smarttag/