24#include <osl/diagnose.h>
25#include <rtl/ustring.hxx>
37 std::u16string_view rInfo1)
43 std::u16string_view rInfo1,
44 std::u16string_view rInfo2)
46 return getResource(pResourceId, rInfo1, rInfo2, {});
50 std::u16string_view rInfo1,
51 std::u16string_view rInfo2,
52 std::u16string_view rInfo3)
55 OSL_ENSURE( !sResource.isEmpty(),
"resource not found?" );
57 OUString sString = sResource.replaceAll(
"$1", rInfo1 );
58 sString = sString.replaceAll(
"$2", rInfo2 );
59 sString = sString.replaceAll(
"$3", rInfo3 );
OUString loadString(TranslateId aResId)
loads the string with the specified resource id from the FormLayer mo file