(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: com :: sun :: star ::

module resource
Description
Interfaces to access (UI) resource files.

Services
StringResource specifies a service providing access to a resource string table implementing the ::com::sun::star::awt::XDialog interface.
StringResourceWithLocation specifies a service providing access to a resource string table implementing the XStringResourceWithLocation interface.
StringResourceWithStorage specifies a service providing access to a resource string table implementing the XStringResourceWithStorage interface.
Singletons
OfficeResourceLoader describes a XResourceBundleLoader which provides access to the OpenOffice.org resource files.
Interfaces
XLocale offers some operations on ::com::sun::star::lang::Locale structures.
XResourceBundle [ DEPRECATED ]
Resource bundles contain locale-specific objects.
XResourceBundleLoader makes it possible to load resource bundles.
XStringResourceManager Interface to manage a resource string table containing a set of strings for different locales. The interface is derived from XStringResourceResolver that allows to access the string table but not to modify it. This interface also allows to modify the string table. It's designed to be used in the context of creating a string table, e.g. from a string table editor or from a Dialog Editor designing localized dialogs.
XStringResourcePersistence Interface derived from XStringResourceManager containing basic persistence functionality limited to operations that are independend from a associated location or storage.
XStringResourceResolver Interface to access strings in a resource. The interface is derived from ::com::sun::star::util::XModifyBroadcaster All registered ::com::sun::star::util::XModifyListener interfaces will be notified if either the current locale changes or if a string is added, changed or removed. This usually will only happen if the implementing object also supports the interface XStringResourceManager and is used in the design mode of a Dialog or String table editor. But also changing the locale at runtime can be supported in this way.
XStringResourceSupplier Provides access to a string resource represented by a XStringResourceResolver.
XStringResourceWithLocation Extends XStringResourcePersistence by methods to handle an associated location.
XStringResourceWithStorage Extends XStringResourcePersistence by methods to handle an associated ::com::sun::star::embed::XStorage instance.
Exceptions
MissingResourceException is used to signal that a resource is missing.
Top of Page

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.