Type info
Title new: ::comphelper::OfficeResourceBundle wrapping css.resource.OfficeResourceLoader
Posted by [EMAIL PROTECTED]
Affected ,-
Effective from 680m162


Summary

+ comphelper/officeresourcebundle.hxx
+ ::comphelper::OfficeResourceBundle


Description
The class OfficeResourceBundle in comphelper is a simple wrapper
around the css.resource.OfficeResourceLoader service, hiding all the
"instantiate the loader, and load the bundle" sugar from the caller.

You can instantiate an OfficeResourceBundle with the base name of the
resource file (e.g. "svx" for "svx680<locale>.res"), and subsequently
call its loadFoo methos for obtaining objects in this resource.

For the moment, there's a loadString only, since the
OfficeResourceBundle implementation supports strings only right now.
This could be extended if necessary.

Mere instantiation of the OfficeResourceBundle is cheap, as it does
not actually load the file - this happens only upon the first request
for a resource object.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to