I am currrently developing an extension that at some point includes the insertion of text and a PageNumber element in a document. This is done using the following calls:
Code: Select all
Num_Position.insertString(NumCursor, "-", False)
Num_Position.insertTextContent(NumCursor, PageNumber, False)
Num_Position.insertString(NumCursor, "-", False)
Is there any way to combine these three calls to one to avoid the aformentioned behaviour?
Thanks in advance