To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=56165
                  Issue #:|56165
                  Summary:|CreateEnumeration does not properly enumerate text at
                          |the end of an empty paragraph
                Component:|api
                  Version:|OOo 2.0
                 Platform:|All
                      URL:|
               OS/Version:|All
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|sw
              Reported by:|pitonyak





------- Additional comments from [EMAIL PROTECTED] Mon Oct 17 13:18:25 -0700 
2005 -------
More specifically, I am enumerating text looking for reference marks. 
I obtain the selected text and then enumerate the selected text. Consider the
following text:

Hello, how are
you
Blah

If you select the text from the “are you Blah” then everything enumerates as
expected: 

<NewParagraph/>                                 'First paragraph is enumerated
<TextContent>are</TextContent>
<NewParagraph/>                                 'Second paragraph is enumerated
<RefMark name='youmark'></RefMark>              'Start reference mark
<TextContent>you</TextContent>                  'See the text in the enumeration
<RefMark name='youmark'>you</RefMark>   'End reference mark
<NewParagraph/>
<TextContent>Blah</TextContent>

Notice that the text “you” has a reference mark around it. Now, if I select from
immediately AFTER “are” and then I include “you blah”, then I have the following
enumerations:

<NewParagraph/>                                 'First paragraph is enumerated
<TextContent></TextContent>                     'Nothing in the first paragraph
<RefMark name='youmark'></RefMark>              'Why is there a reference mark 
here?
<NewParagraph/>                                 'Second paragraph is enumerated
<RefMark name='youmark'></RefMark>              'Start reference mark
<TextContent>you</TextContent>                  'See the text in the enumeration
<RefMark name='youmark'>you</RefMark>   'End reference mark
<NewParagraph/>
<TextContent>Blah</TextContent>


Now, the start reference mark is enumerated twice. The attached document
contains a macro that demonstrates the problem very nicely:

---------------------------------------------------------------------
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