This commit is contained in:
Kathy Ruffing 2011-08-24 11:39:43 +00:00
parent 0d5547134e
commit e4df9391c3

View File

@ -73,16 +73,9 @@ namespace DataLoader
RoUsage ro = RoUsage.MakeRoUsage(content, ROID, null, DateTime.Now, "Migration", rodb); RoUsage ro = RoUsage.MakeRoUsage(content, ROID, null, DateTime.Now, "Migration", rodb);
try try
{ {
//string rov = rofstinfo.ROFSTLookup.GetRoValue(ROID.ToUpper());
ROFSTLookup.rochild myro = rofstinfo.ROFSTLookup.GetRoChild12(ROID.ToUpper()); ROFSTLookup.rochild myro = rofstinfo.ROFSTLookup.GetRoChild12(ROID.ToUpper());
rotype = Math.Max(rotype, myro.type); rotype = Math.Max(rotype, myro.type);
//jsj string rov = TextConvert.ConvertText(rofstinfo.ROFSTLookup.GetRoValue(ROID.Substring(0, 12).ToUpper())); string roval = rofstinfo.ROFSTLookup.GetTranslatedRoValue(ROID.ToUpper(), conv_caret);
//string results = string.Format(@"{0}{1}\v #Link:ReferencedObject:{2} {3} {4}\v0",
// '\x15', rofstinfo.ROFSTLookup.GetRoValue(ROID.Substring(0, 12).ToUpper()), ro.ROUsageID, ROID, rodb.RODbID);
// TODO: NEED TO PASS IN ConvertCaret FORMAT FLAG
string roval = TextConvert.ConvertDOSSuperAndSubScripts(rofstinfo.ROFSTLookup.GetRoValue(ROID.ToUpper()));
roval = TextConvert.ReplaceUnicode(roval, conv_caret);
if (textm[tok] == '\x3a6' && roval.IndexOf('\n')>-1) // figure - just get image name if (textm[tok] == '\x3a6' && roval.IndexOf('\n')>-1) // figure - just get image name
{ {
roval = roval.Substring(0, roval.IndexOf('\n')); roval = roval.Substring(0, roval.IndexOf('\n'));