Hello Michael,

On Tuesday 29 September 2009, 23:56, Michael Strobel wrote:
> Hi Frank,
> 
> I'm a bit confused. Actually our driver extension is written in Java, but I
>  guess getting the XComponentContext should be the same as if it were
>  written in C and most of the code for providing the entry point to it was
>  generated by NetBeans, so I didn't have to care much about it. 

then simply add a constructor that takes a css.uno.XComponentContext.

public final class MyObjectFactory extends WeakBase {

    private final XComponentContext m_xContext;
    
    public MyObjectFactory(XComponentContext context) {
        m_xContext = context;
    }
}

Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@dba.openoffice.org
For additional commands, e-mail: dev-h...@dba.openoffice.org

Reply via email to