You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2011/12/26 19:06:37 UTC

DO NOT REPLY [Bug 118697] New: Impossible to reset a tab color to Default by API

https://issues.apache.org/ooo/show_bug.cgi?id=118697

             Bug #: 118697
        Issue Type: DEFECT
           Summary: Impossible to reset a tab color to Default by API
    Classification: Code
           Product: api
           Version: OOo 3.3
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: normal
          Priority: P5
         Component: code
        AssignedTo: tbo@openoffice.org
        ReportedBy: marcelly@club-internet.fr
                CC: ooo-issues@incubator.apache.org


The default color of a sheet tab is -1.
However, when setting -1 to TabColor by API, the value remains unchanged.

Set tab of Sheet 1 to a particular color, e.g. Blue. Then run this macro:

Sub Main
Dim sh As Object
sh = ThisComponent.Sheets(0)
MsgBox("Before :" & sh.TabColor)
sh.TabColor = -1
MsgBox("After :" & sh.TabColor)
End Sub

There is a nasty work-around : set to color -2 (or any other negative value)
This value is accepted and the tab displays as default. But this is not a
normal value.

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

DO NOT REPLY [Bug 118697] Impossible to reset a tab color to Default by API

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118697

--- Comment #1 from Ariel Constenla-Haile <ar...@apache.org> 2011-12-29 04:36:52 UTC ---
Fixed with revision 1225428

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

[Bug 118697] Impossible to reset a tab color to Default by API

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118697

bmarcelly <ma...@club-internet.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |VERIFIED
                 CC|                            |marcelly@club-internet.fr

--- Comment #3 from bmarcelly <ma...@club-internet.fr> ---
Tested on AOO 3.4 : OK

-- 
You are receiving this mail because:
You are on the CC list for the bug.

DO NOT REPLY [Bug 118697] Impossible to reset a tab color to Default by API

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118697

Ariel Constenla-Haile <ar...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|STARTED                     |RESOLVED
         Resolution|                            |FIXED

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

DO NOT REPLY [Bug 118697] Impossible to reset a tab color to Default by API

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118697

Ariel Constenla-Haile <ar...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |STARTED
                 CC|                            |arielch@apache.org
         AssignedTo|tbo@openoffice.org          |arielch@apache.org
     Ever Confirmed|0                           |1

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

[Bug 118697] Impossible to reset a tab color to Default by API

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118697

bmarcelly <ma...@club-internet.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|VERIFIED                    |CLOSED

--- Comment #4 from bmarcelly <ma...@club-internet.fr> ---
Closing.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug 118697] Impossible to reset a tab color to Default by API

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118697

--- Comment #2 from Ariel Constenla-Haile <ar...@apache.org> ---
@bmarcelly: Apache OpenOffice 3.4 has been released. Could you please verify
this issue is solved in the current release? You can download Apache OpenOffice
from http://www.openoffice.org/download

-- 
You are receiving this mail because:
You are on the CC list for the bug.