Copying Content Between QTextDocument Instances
I would like programmatically to move/copy some content - text, blocks or tables from one QTextDocument instance to another. My first idea - select text from source document, copy it, and paste to destination document. But QTextCursor doesn't have an interface for copying text elements.
What is the most concise way to solve this problem?
Hi and welcome to devnet,
AFAIK, you can use QTextBlock/QTextTable and friends for that
Hope it helps