OC: Provide function to get the short description name of DataRange

Version: 2018

Type: Features

Category: Programming

Subcategory: Origin C

Jira: ORG-16836

Function below is added

BOOL    DataObject::GetCustomEscapedString(string& str, LPCSTR lpcszCustom);
BOOL    DatasetObject::GetCustomEscapedString(string& str, LPCSTR lpcszCustom); /// for loose dataset
void test_GetCustomEscapedString()
    Worksheet wks = Project.ActiveLayer();
    XYRange dr;
    dr.Add(wks, 0, "X");
    dr.Add(wks, 1, "Y");
    Column colY;
    string str1, str2;
    colY.GetCustomEscapedString(str2, "@U"); /// Longname & Unit