Undo/Redo and TDocStdDocument->Main()

Hi!
After I'm using undo/redo operation TDocStdDocument->Main() return more Labels, that I have In my work.

I think that Undo/Redo save the labels in MainLabel of the document. But how I can know wich labels is created with Undo/Redo ????

JuryS's picture

And how I can get TDF_MainLabel without Undo/Redo labels ???