28#include <com/sun/star/resource/XStringResourceManager.hpp>
58 std::u16string_view aDialogName,
59 std::u16string_view aCtrlName,
60 const css::uno::Reference< css::resource::XStringResourceManager >& xStringResourceManager,
61 const css::uno::Reference< css::resource::XStringResourceResolver >& xSourceStringResolver,
76 const css::uno::Reference < css::resource::XStringResourceManager >& xStringResourceManager );
88 < css::lang::Locale >& aLocaleSeq );
91 < css::lang::Locale >& aLocaleSeq );
102 const css::uno::Any& rControlAny, std::u16string_view aCtrlName);
105 const css::uno::Any& rControlAny, std::u16string_view aNewCtrlName);
108 const css::uno::Any& rControlAny, std::u16string_view aCtrlName);
111 const css::uno::Reference< css::container::XNameContainer >& xDialogModel );
114 const css::uno::Reference< css::container::XNameContainer >& xDialogModel );
117 const css::uno::Reference< css::container::XNameContainer >& xDialogModel );
119 static css::uno::Reference< css::resource::XStringResourceManager >
124 const css::uno::Reference< css::container::XNameContainer >& xDialogModel,
125 const css::uno::Reference< css::resource::XStringResourceManager >& xStringResourceManager );
128 const css::uno::Reference< css::container::XNameContainer >& xDialogModel,
129 const css::uno::Reference< css::resource::XStringResourceManager >& xStringResourceManager );
132 const css::uno::Any& rControlAny, std::u16string_view aCtrlName,
133 const css::uno::Reference< css::resource::XStringResourceResolver >& xSourceStringResolver );
136 const css::uno::Reference< css::container::XNameContainer >& xDialogModel,
137 std::u16string_view aDialogName,
138 const css::uno::Reference< css::resource::XStringResourceManager >& xStringResourceManager,
139 const css::uno::Reference< css::resource::XStringResourceResolver >& xSourceStringResolver );
142 const css::uno::Reference< css::container::XNameContainer >& xDialogModel,
143 const css::uno::Reference< css::resource::
144 XStringResourceResolver >& xSourceStringResolver,
145 const css::uno::Reference< css::resource::
146 XStringResourceManager >& xTargetStringResourceManager );
css::lang::Locale m_aLocaleBeforeBasicStart
void handleBasicStopped()
void handleBasicStarted()
static css::uno::Reference< css::resource::XStringResourceManager > getStringResourceFromDialogLibrary(const css::uno::Reference< css::container::XNameContainer > &xDialogLib)
static void resetResourceForDialog(const css::uno::Reference< css::container::XNameContainer > &xDialogModel, const css::uno::Reference< css::resource::XStringResourceManager > &xStringResourceManager)
void handleSetCurrentLocale(const css::lang::Locale &rLocale)
static void setControlResourceIDsForNewEditorObject(DlgEditor const *pEditor, const css::uno::Any &rControlAny, std::u16string_view aCtrlName)
void handleTranslationbar()
const css::uno::Reference< css::resource::XStringResourceManager > & getStringResourceManager() const
void enableResourceForAllLibraryDialogs()
void handleRemoveLocales(const css::uno::Sequence< css::lang::Locale > &aLocaleSeq)
static sal_Int32 implHandleControlResourceProperties(const css::uno::Any &rControlAny, std::u16string_view aDialogName, std::u16string_view aCtrlName, const css::uno::Reference< css::resource::XStringResourceManager > &xStringResourceManager, const css::uno::Reference< css::resource::XStringResourceResolver > &xSourceStringResolver, HandleResourceMode eMode)
void handleAddLocales(const css::uno::Sequence< css::lang::Locale > &aLocaleSeq)
void implEnableDisableResourceForAllLibraryDialogs(HandleResourceMode eMode)
static void removeResourceForDialog(const ScriptDocument &rDocument, const OUString &aLibName, std::u16string_view aDlgName, const css::uno::Reference< css::container::XNameContainer > &xDialogModel)
css::uno::Reference< css::resource::XStringResourceManager > m_xStringResourceManager
void disableResourceForAllLibraryDialogs()
static void deleteControlResourceIDsForDeletedEditorObject(DlgEditor const *pEditor, const css::uno::Any &rControlAny, std::u16string_view aCtrlName)
static void copyResourcesForPastedEditorObject(DlgEditor const *pEditor, const css::uno::Any &rControlAny, std::u16string_view aCtrlName, const css::uno::Reference< css::resource::XStringResourceResolver > &xSourceStringResolver)
static void renameControlResourceIDsForEditorObject(DlgEditor const *pEditor, const css::uno::Any &rControlAny, std::u16string_view aNewCtrlName)
static void setResourceIDsForDialog(const css::uno::Reference< css::container::XNameContainer > &xDialogModel, const css::uno::Reference< css::resource::XStringResourceManager > &xStringResourceManager)
ScriptDocument m_aDocument
static void copyResourceForDroppedDialog(const css::uno::Reference< css::container::XNameContainer > &xDialogModel, std::u16string_view aDialogName, const css::uno::Reference< css::resource::XStringResourceManager > &xStringResourceManager, const css::uno::Reference< css::resource::XStringResourceResolver > &xSourceStringResolver)
@ REMOVE_IDS_FROM_RESOURCE
LocalizationMgr(Shell *, ScriptDocument, OUString aLibName, const css::uno::Reference< css::resource::XStringResourceManager > &xStringResourceManager)
bool isLibraryLocalized()
static void setStringResourceAtDialog(const ScriptDocument &rDocument, const OUString &aLibName, std::u16string_view aDlgName, const css::uno::Reference< css::container::XNameContainer > &xDialogModel)
void handleSetDefaultLocale(const css::lang::Locale &rLocale)
static void copyResourceForDialog(const css::uno::Reference< css::container::XNameContainer > &xDialogModel, const css::uno::Reference< css::resource::XStringResourceResolver > &xSourceStringResolver, const css::uno::Reference< css::resource::XStringResourceManager > &xTargetStringResourceManager)
static void renameStringResourceIDs(const ScriptDocument &rDocument, const OUString &aLibName, std::u16string_view aDlgName, const css::uno::Reference< css::container::XNameContainer > &xDialogModel)
encapsulates a document which contains Basic scripts and dialogs