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

Free Support Forum - aspose.com

How to use setRunAttr to set metadata on aspose nodes using Java

We have been using setRunAttr to add some metadata on aspose nodes until we accidentally overwritten some int key used by aspose internally.
Would it be ok if extend classes like Run, Paragraph and so on to add methods for metadata? Are there any plans to make these classes final?


Please do not use setRunAttr method in your code as it is not public. We suggest you please read the following article.
Using DocumentBuilder to Modify a Document

Could you please share some more detail about your requirement? We will then provide you more information on it.