Renaming Table Of Contents items

Class library usage, coding and language questions.
hellboy81
Posts: 25
Joined: Sun Dec 10, 2017 8:52 pm

Renaming Table Of Contents items

Post by hellboy81 » Fri Jun 15, 2018 12:18 pm

I need to customize Table Of Contents in PDF generated by Ranorex.PDF.

As I mentioned this items from attributes testcontainername, headertext and displayname in activity[/b ] from *.rxlog.data.

How can I override text from this attributes?
Last edited by hellboy81 on Fri Nov 23, 2018 1:22 pm, edited 1 time in total.

User avatar
RobinHood42
Posts: 324
Joined: Fri Jan 09, 2015 3:24 pm

Re: Renaming Table Of Contents items

Post by RobinHood42 » Mon Jun 18, 2018 12:15 pm

Hi,

As you mentioned correctly, you would need to modify the *.rxlog.data. Since it's a XML file you can simply use C# to manipulate the file. (XMLDocument)

Cheers,
Robin :mrgreen: