Paolo Mantovani wrote:
Hi all,
Recently I have been looking for a way to display a message box from a pyuno
component.
This seems to be a common problem because I found several threads about this
topic in the ML archive (but no solutions)
Searching in the dev-guide I've found a small
Assuming a simple text document, I can enumerate text sections. I
thought that I could find red line text by checking for the
RedlinePortion service, but I can not. The example below finds redline
sections by checking for the existance of a specific property in the
property set information
And another question with redlines If I iterate over the redlines,
how can I accept or reject them?
Sub MainIterateRedLine
Dim oDoc
Dim oViewCursor
Dim oContWin
Dim oRedLines, oRedLine
Dim k%
Dim lRet As Long
Dim sDum$
oDoc = ThisComponent
oViewCursor = oDoc.CurrentController.ViewCursor