Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: mozilla ::

interface XProfileManager
Description
is the interface to bootup and switch Mozilla/Thunderbird profiles
See also
MozillaProductType, XProfileDiscover, MozillaBootstrap

Methods' Summary
bootupProfile attempts to init xpcom runtime using given profile.  
shutdownProfile attempts to shutdown the current profile.  
getCurrentProduct attempts to get the current product.  
getCurrentProfile attempts to get the current profile name.  
isCurrentProfileLocked attempts to check whether the current profile locked or not  
setCurrentProfile attempts to set the current used profile name for the given product.  
Methods' Details
bootupProfile
long
bootupProfile( [in] MozillaProductType  product,
[in] string  profileName );

Description
attempts to init xpcom runtime using given profile.
Parameter product
is the product to start up.
Parameter profileName
the profile name to be used.
Returns
the current refrence count for the given profile.
shutdownProfile
long
shutdownProfile();

Description
attempts to shutdown the current profile.
Returns
the current refrence count for the current profile.
getCurrentProduct
MozillaProductType
getCurrentProduct();

Description
attempts to get the current product.
Returns
the current used product.
getCurrentProfile
string
getCurrentProfile();

Description
attempts to get the current profile name.
Returns
the current used profile.
isCurrentProfileLocked
boolean
isCurrentProfileLocked();

Description
attempts to check whether the current profile locked or not
Returns
return sal_True is current profile is locked
setCurrentProfile
string
setCurrentProfile( [in] MozillaProductType  product,
[in] string  profileName );

Description
attempts to set the current used profile name for the given product.
Parameter product
is the product to be used.
Parameter profileName
the profile name to be used.
Returns
the current used profile name for the given product.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.