Free Support Forum - aspose.com

Text run runProperties

Hi, for translation purposes we are splitting texts into text segments, which are runs in OpenXML and Aspose. In OpenXML we could have additional properties for a text run, like localName or runProperties. How we can get and set those properties in Aspose.Words and Aspose.Slides? We are developing on .net platform. Thanks.

@r31

Could you please ZIP and attach the following resources here for our reference? We will then provide you more information about your query.

  • Your input Word and Slide documents.
  • Please attach the expected output files that shows the desired behavior.
  • Please share the correct names of run properties that you want to get and set.

@r31

From Aspose.Slides perspective, the API doesn’t support custom properties in XML and they are not in our implementation roadmap at the moment as well. We regret for your inconvenience.

Thanks for your answers.
What we would need is to add a label with some data (id, hashcode, description, …) to text runs in general. Actually we try to do this with Hyperlinks, but this conflicts with “real” existing hyperlinks in the documents.
Probably you have an idea, how we can cover the requirement with Aspose API.

@r31

Please note that Aspose.Words mimics the behavior of MS Word. It would be great if you please ZIP and attach your input and expected output Word documents here for our reference. We will then answer your query according to your requirement along with code example.