Kaydet (Commit) b2a82d9b authored tarafından Keigo Kawamura's avatar Keigo Kawamura Kaydeden (comit) Eike Rathke

tdf#95878 made more useful function suggestion system in formula editing

I made function list suggestion and description tip in libreoffice calc.
This change give us a nice function suggestion and easy function input.
For example if I write "=i" then calc suggests
"[if], iferror, ifna, and 50 more". You should only choice the function
you would write with Ctrl-Tab and Ctrl-Shift-Tab, and then type Enter.
Also there is a description of suggesting function, so even if you
do not know the true name of the function you want to write, you can
find the function.
This change also give us a description of arguments of selected function.
If I write "=i" and push enter key, then calc show "=if()" and
a description of arguments of function "if()".

Change-Id: Icd5ad04ea092fa39f27bb2776fd9e93649896baf
Reviewed-on: https://gerrit.libreoffice.org/20035Reviewed-by: 's avatarEike Rathke <erack@redhat.com>
Tested-by: 's avatarEike Rathke <erack@redhat.com>
üst e4b05284
......@@ -703,7 +703,10 @@
#define STR_TABLE_COUNT 530
#define SC_GLOBSTR_STR_COUNT 531 /**< the count of permanently resident strings */
#define STR_FUNCTIONS_FOUND 531
#define STR_FUNCTIONS_NAMEDESCS 532
#define SC_GLOBSTR_STR_COUNT 533 /**< the count of permanently resident strings */
#endif
......
This diff is collapsed.
......@@ -208,6 +208,7 @@ public:
void ShowTipCursor();
void ShowTip( const OUString& rText ); // at Cursor
void ShowTipBelow( const OUString& rText );
void ShowFuncList( const ::std::vector< OUString > & rFuncStrVec );
void SetRefScale( const Fraction& rX, const Fraction& rY );
void UpdateRefDevice();
......
......@@ -2097,6 +2097,14 @@ Resource RID_GLOBSTR
{
Text [ en-US ] = "Sheet %1 of %2";
};
String STR_FUNCTIONS_FOUND
{
Text [ en-US ] = "%1 and %2 more";
};
String STR_FUNCTIONS_NAMEDESCS
{
Text [ en-US ] = " : ";
};
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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