This commit is contained in:
2011-03-10 13:30:13 +00:00
parent 579f1c9af5
commit a67f3dc6c7
2 changed files with 11 additions and 8 deletions

View File

@@ -25,7 +25,7 @@ namespace DataLoader
{
public partial class Loader
{
private string MigrateRos(OleDbConnection cn, string textm, string seqcvt, Content content, DocVersion docver, bool conv_caret)
private string MigrateRos(OleDbConnection cn, string textm, string seqcvt, Content content, DocVersion docver, bool conv_caret,ref int rotype)
{
StringBuilder rotxt = new StringBuilder();
int instance = 0;
@@ -73,6 +73,8 @@ namespace DataLoader
try
{
string rov = rofstinfo.ROFSTLookup.GetRoValue(ROID.ToUpper());
ROFSTLookup.rochild myro = rofstinfo.ROFSTLookup.GetRoChild12(ROID.ToUpper());
rotype = Math.Max(rotype, myro.type);
//jsj string rov = TextConvert.ConvertText(rofstinfo.ROFSTLookup.GetRoValue(ROID.Substring(0, 12).ToUpper()));
//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);