Kaydet (Commit) 17d86df2 authored tarafından Luboš Luňák's avatar Luboš Luňák

also change the font combo tooltip to say font is not available

Change-Id: I68e31498aa4916e11e04c57171e32cf9b3204108
üst 445ad883
...@@ -277,6 +277,8 @@ ...@@ -277,6 +277,8 @@
#define RID_SVXSTR_EXTRAS_CHARBACKGROUND (RID_SVX_START + 196) #define RID_SVXSTR_EXTRAS_CHARBACKGROUND (RID_SVX_START + 196)
#define RID_SVXSTR_CLEARFORM (RID_SVX_START + 197) #define RID_SVXSTR_CLEARFORM (RID_SVX_START + 197)
#define RID_SVXSTR_MORE (RID_SVX_START + 198) #define RID_SVXSTR_MORE (RID_SVX_START + 198)
#define RID_SVXSTR_CHARFONTNAME_NOTAVAILABLE (RID_SVX_START + 199)
#define RID_SVXSTR_CHARFONTNAME (RID_SVX_START + 200)
// Strings for insert/overwrite mode // Strings for insert/overwrite mode
#define RID_SVXSTR_INSERT_HELPTEXT (RID_SVX_START + 210) #define RID_SVXSTR_INSERT_HELPTEXT (RID_SVX_START + 210)
......
...@@ -809,6 +809,7 @@ void SvxFontNameBox_Impl::CheckAndMarkUnknownFont( const OUString& fontname ) ...@@ -809,6 +809,7 @@ void SvxFontNameBox_Impl::CheckAndMarkUnknownFont( const OUString& fontname )
{ {
font.SetItalic( ITALIC_NONE ); font.SetItalic( ITALIC_NONE );
SetControlFont( font ); SetControlFont( font );
SetQuickHelpText( SVX_RESSTR( RID_SVXSTR_CHARFONTNAME ));
} }
} }
else else
...@@ -817,6 +818,7 @@ void SvxFontNameBox_Impl::CheckAndMarkUnknownFont( const OUString& fontname ) ...@@ -817,6 +818,7 @@ void SvxFontNameBox_Impl::CheckAndMarkUnknownFont( const OUString& fontname )
{ {
font.SetItalic( ITALIC_NORMAL ); font.SetItalic( ITALIC_NORMAL );
SetControlFont( font ); SetControlFont( font );
SetQuickHelpText( SVX_RESSTR( RID_SVXSTR_CHARFONTNAME_NOTAVAILABLE ));
} }
} }
} }
......
...@@ -152,5 +152,17 @@ String RID_SVXSTR_TEXTCOLOR ...@@ -152,5 +152,17 @@ String RID_SVXSTR_TEXTCOLOR
{ {
Text [ en-US ] = "Font color"; Text [ en-US ] = "Font color";
}; };
// This is duplicated in GenericCommands.xcu in officecfg.
String RID_SVXSTR_CHARFONTNAME
{
Text [ en-US ] = "Font Name";
};
String RID_SVXSTR_CHARFONTNAME_NOTAVAILABLE
{
Text [ en-US ] = "Font Name. The current font is not available and will be substituted.";
};
// ********************************************************************** EOF // ********************************************************************** EOF
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment