Check if text-element is unique in export is moved to class TextElement.