To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=75430
                 Issue #|75430
                 Summary|OOo2.2 regression: setting CharHidden on a sw-paragrap
                        |h leaves the paragraph in an undefinded state
               Component|api
                 Version|OOo 2.2 RC3
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|jsc
             Reported by|clutz





------- Additional comments from [EMAIL PROTECTED] Thu Mar 15 15:46:23 +0000 
2007 -------
I'm testing OOo2.2 (680m8, Build 9119) and I have got the following regession
(the bug doesn't occur in older OOo-Versions):

There is a macro that hides a paragraph and shows the paragraph again using the
following lines:

par.CharHidden = true
par.CharHidden = false

after resetting the hidden state, the paragraph is not shown in the writer
document, and there is no way to get the paragraph displayed again.

To reproduce procede the following steps:

1) open the attached document hideAndShowProblem.odt

2) run the following macro that simply hides the 3rd Paragraph ("Abdruck von
I.") and tries to show it again:

Sub hideAndShow
    xenum = ThisComponent.Text.createEnumeration()
    for i = 1 to 3
      par = xenum.nextElement()
    next i
        
    par.CharHidden = true
    par.CharHidden = false
End Sub

3) Now you can see that the 3rd paragraph "Abdruck von I." is no longer 
displayed.

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