Ok thanks I have found

=>
    a2dDocumentTemplate* found = NULL;
        const_forEachIn( a2dDocumentTemplateList,
&a2dDocviewGlobals->GetDocviewCommandProcessor()->GetDocTemplates())
        {
        a2dDocumentTemplateList::value_type temp = *iter;

            if (temp->GetDocumentTypeName () == documentTypeName )
        {
                found  = temp;
                break;
        }
    }

    return found;

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Wxart2d-users_dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev

Reply via email to