This commit is contained in:
@@ -46,9 +46,9 @@ namespace DataLoader
|
||||
stptext = TextConvert.ConvertText(Textm, conv_caret);
|
||||
else
|
||||
stptext = TextConvert.ConvertText(Textm.Substring(0, tok), conv_caret);
|
||||
|
||||
//string stpTextOrg = stptext;
|
||||
string seqcvt = TextConvert.ConvertSeq(stpseq);
|
||||
|
||||
|
||||
string newstptyp = null;
|
||||
bool ManualPagebreak = false;
|
||||
char cbittst = StepType.PadRight(2)[0];
|
||||
@@ -74,20 +74,21 @@ namespace DataLoader
|
||||
// Before we save it, handle RO & Transitions tokens.
|
||||
int tokrt = Textm.IndexOf('\x15');
|
||||
bool txtdirty = false;
|
||||
bool bIsROTable = false;
|
||||
bool isROTable = false;
|
||||
int rotype = 0;
|
||||
if (tokrt > -1)
|
||||
{
|
||||
txtdirty = true;
|
||||
stptext = MigrateRos(cn, stptext, seqcvt, content, docver, conv_caret);
|
||||
stptext = MigrateRos(cn, stptext, seqcvt, content, docver, conv_caret, ref rotype);
|
||||
stptext = stptext.TrimEnd(" ".ToCharArray());
|
||||
// if this is a table RO, then save a flag in the config
|
||||
bIsROTable = (Textm.Length == 1);
|
||||
isROTable = (rotype == 2);
|
||||
}
|
||||
tokrt = Textm.IndexOf('\x3a6');
|
||||
if (tokrt > -1)
|
||||
{
|
||||
txtdirty = true;
|
||||
stptext = MigrateRos(cn, stptext, seqcvt, content, docver, conv_caret);
|
||||
stptext = MigrateRos(cn, stptext, seqcvt, content, docver, conv_caret, ref rotype);
|
||||
stptext = stptext.TrimEnd(" ".ToCharArray());
|
||||
}
|
||||
|
||||
@@ -108,7 +109,7 @@ namespace DataLoader
|
||||
//string fixStpText = FixStepText(stptext,content.Type);
|
||||
string fixStpText = "";
|
||||
if (IsATable(content.Type))
|
||||
fixStpText = ConvertTableToGrid(stptext, content, fmt, bIsROTable);
|
||||
fixStpText = ConvertTableToGrid(stptext, content, fmt, isROTable);
|
||||
else
|
||||
fixStpText = FixStepText(stptext);
|
||||
if (fixStpText != stptext)
|
||||
|
Reference in New Issue
Block a user