Fixed problem converting RO Tables
This commit is contained in:
parent
e80a615fa6
commit
0a12c02129
@ -89,7 +89,7 @@ namespace DataLoader
|
|||||||
stptext = MigrateRos(cn, stptext, seqRoTran, content, docver, conv_caret, ref rotype);
|
stptext = MigrateRos(cn, stptext, seqRoTran, content, docver, conv_caret, ref rotype);
|
||||||
stptext = stptext.TrimEnd(" ".ToCharArray());
|
stptext = stptext.TrimEnd(" ".ToCharArray());
|
||||||
// if this is a table RO, then save a flag in the config
|
// if this is a table RO, then save a flag in the config
|
||||||
isROTable = (rotype == 2);
|
isROTable = (rotype == 2 || rotype == 3);
|
||||||
}
|
}
|
||||||
tokrt = Textm.IndexOf('\x3a6');
|
tokrt = Textm.IndexOf('\x3a6');
|
||||||
if (tokrt > -1)
|
if (tokrt > -1)
|
||||||
@ -117,6 +117,8 @@ namespace DataLoader
|
|||||||
string fixStpText = "";
|
string fixStpText = "";
|
||||||
if (IsATable(content.Type))
|
if (IsATable(content.Type))
|
||||||
{
|
{
|
||||||
|
//if (ProcNumber == "EOP-ES-1.2")
|
||||||
|
// Console.WriteLine("here");
|
||||||
bool hasBorder = !WithoutBorder(content.Type);
|
bool hasBorder = !WithoutBorder(content.Type);
|
||||||
fixStpText = ConvertTableToGrid(stptext, content, fmt, isROTable, hasBorder ? GridLinePattern.Single : GridLinePattern.None );
|
fixStpText = ConvertTableToGrid(stptext, content, fmt, isROTable, hasBorder ? GridLinePattern.Single : GridLinePattern.None );
|
||||||
int? typ = ConvertTableType(content, fmt);
|
int? typ = ConvertTableType(content, fmt);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user