To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=58969





------- Additional comments from [EMAIL PROTECTED] Tue Dec  6 20:29:19 -0800 
2005 -------
I have verified this in 2.01 RC 1. I have not verified this against RC2.

I used a modified macro for testing (because all of my long documents also
contain tables)...

Sub IteratePortions()
 Dim oText
 Dim oEnum
 Dim oPara
 Dim oParaEnum
 Dim oPortion
 Dim oPortionCursor
 Dim sPortionString$

 oText = ThisComponent.getText()
 oEnum = oText.createEnumeration ()

 Do While oEnum.hasMoreElements
   oPara = oEnum.nextElement
   If oPara.supportsService("com.sun.star.text.Paragraph") Then
     oParaEnum = oPara.createEnumeration ()          
     Do While oParaEnum.hasMoreElements ()
       oPortion = oParaEnum.nextElement

       Select Case oPortion.TextPortionType
         Case "Text"
           'oPortionCursor = oText.createTextCursorByRange (oPortion, 0)
           oPortionCursor = oText.createTextCursorByRange (oPortion)
           sPortionString = oPortionCursor.getString ()
         Case Else
       End Select
     Loop
   End If
 Loop
End Sub

I would confirm this, but I am uncertain to whom I should assign it. I know, I
really should know. Bad me!

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to