also change the font combo tooltip to say font is not available
Change-Id: I68e31498aa4916e11e04c57171e32cf9b3204108
This commit is contained in:
@@ -277,6 +277,8 @@
|
||||
#define RID_SVXSTR_EXTRAS_CHARBACKGROUND (RID_SVX_START + 196)
|
||||
#define RID_SVXSTR_CLEARFORM (RID_SVX_START + 197)
|
||||
#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
|
||||
#define RID_SVXSTR_INSERT_HELPTEXT (RID_SVX_START + 210)
|
||||
|
@@ -809,6 +809,7 @@ void SvxFontNameBox_Impl::CheckAndMarkUnknownFont( const OUString& fontname )
|
||||
{
|
||||
font.SetItalic( ITALIC_NONE );
|
||||
SetControlFont( font );
|
||||
SetQuickHelpText( SVX_RESSTR( RID_SVXSTR_CHARFONTNAME ));
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -817,6 +818,7 @@ void SvxFontNameBox_Impl::CheckAndMarkUnknownFont( const OUString& fontname )
|
||||
{
|
||||
font.SetItalic( ITALIC_NORMAL );
|
||||
SetControlFont( font );
|
||||
SetQuickHelpText( SVX_RESSTR( RID_SVXSTR_CHARFONTNAME_NOTAVAILABLE ));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -152,5 +152,17 @@ String RID_SVXSTR_TEXTCOLOR
|
||||
{
|
||||
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
|
||||
|
||||
|
Reference in New Issue
Block a user