okxf_resolve_string_get_origin_object

 

Description

Construct a origin object by string

Syntax

BOOL okxf_resolve_string_get_origin_object( LPCSTR lpcsz, OriginObject * pObj, DWORD dwCntrl = 0 )

Parameters

lpcsz
[input] origin object range string
pObj
[output] pointer to receive the origin object
dwCntrl
[input] Reserved parameter, for later use.

Return

TRUE if successful otherwise FALSE

Examples

EX1

void okxf_resolve_string_get_origin_object_ex()
{
    string strRange = "[Book1]Sheet1!B";     
    Column col;
    okxf_resolve_string_get_origin_object(strRange, &col);
    if(col)
        out_str( col.GetName() );
}

Remark

See Also

OriginObject::GetRangeString

header to Included

xfutils.h

Reference