function parse_formatter_strings(id)
%   Bill Aldrich
%   Copyright 1990-2005 The MathWorks, Inc.

summary = cv('get',id,'formatter.summary.formatStr');
if ~isempty(summary)
    [newStr,pts,types,indices] = cv('ParseFormatterStrings', summary);
    cv('set',id ...
        ,'formatter.summary.formatStr',       newStr ...
        ,'formatter.summary.insertPts',       pts ...
        ,'formatter.summary.insertTypes',     types ...
        ,'formatter.summary.insertIndices',   indices ...
        );
end
detail = cv('get',id,'formatter.detail.formatStr');
if ~isempty(detail)
    [newStr,pts,types,indices] = cv('ParseFormatterStrings', detail); 
    cv('set',id ...
        ,'formatter.detail.formatStr',       newStr ...
        ,'formatter.detail.insertPts',       pts ...
        ,'formatter.detail.insertTypes',     types ...
        ,'formatter.detail.insertIndices',   indices ...
        );
end

verbose = cv('get',id,'formatter.verbose.formatStr');
if ~isempty(verbose)
    [newStr,pts,types,indices] = cv('ParseFormatterStrings', verbose);
    cv('set',id ...
        ,'formatter.verbose.formatStr',       newStr ...
        ,'formatter.verbose.insertPts',       pts ...
        ,'formatter.verbose.insertTypes',     types ...
        ,'formatter.verbose.insertIndices',   indices ...
        );
end