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 2012/05/23 07:35:52 UTC

[Bug 119402] css.awt.SpinningProgressControlModel do not work well

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |arielch@apache.org

--- Comment #1 from Ariel Constenla-Haile <ar...@apache.org> ---
(In reply to comment #0)
> It seems this problem is caused by lacking of spinning images from
> images.zip.

You are right: those images are not on the zip file, and the GraphicProvider
(used in the toolkit code to retrieve the images, fails):

Sub Main
    Dim oGraphicProvider as Object
    oGraphicProvider = CreateUnoService("com.sun.star.graphic.GraphicProvider")

    oGraphic = GetGraphic(oGraphicProvider,
"private:graphicrepository/toolkit/tk/spinner03-grey_11.png")
    oGraphic = GetGraphic(oGraphicProvider,
"private:graphicrepository/shared/spinner-32-01.png")
End Sub

Function GetGraphic(oProvider as Object, sURL$)
    Dim aMediaProps(0) as new com.sun.star.beans.PropertyValue
    aMediaProps(0).Name  = "URL"
    aMediaProps(0).Value = sURL
    GetGraphic = oProvider.queryGraphic(aMediaProps)
End Function

-- 
You are receiving this mail because:
You are the assignee for the bug.