This commit is contained in:
parent
bdd27f4487
commit
f94a646632
@ -425,7 +425,7 @@ namespace DataLoader
|
|||||||
// ||`----------- ALWAYS leave blank
|
// ||`----------- ALWAYS leave blank
|
||||||
// |`------------ Step Section Header marker
|
// |`------------ Step Section Header marker
|
||||||
// `------------- Internal section number (starts at A)
|
// `------------- Internal section number (starts at A)
|
||||||
|
char cbittst = sequence.PadRight(10)[8];
|
||||||
if (step.Substring(1, 1) == "0")
|
if (step.Substring(1, 1) == "0")
|
||||||
{
|
{
|
||||||
// if this section has the original edit section flag (sequence[2]) save the id.
|
// if this section has the original edit section flag (sequence[2]) save the id.
|
||||||
@ -449,16 +449,10 @@ namespace DataLoader
|
|||||||
{
|
{
|
||||||
ci.AddItem("Step", "LnkEnh", "Y");
|
ci.AddItem("Step", "LnkEnh", "Y");
|
||||||
}
|
}
|
||||||
char cbittst = sequence.PadRight(10)[8];
|
|
||||||
if (cbittst == ' ')
|
if (cbittst == ' ')
|
||||||
cbittst = '\0';
|
cbittst = '\0';
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// determine if TOC element (!exist = N)
|
|
||||||
if ((cbittst & TOC) > 1)
|
|
||||||
{
|
|
||||||
ci.AddItem("Section", "TOC", "Y");
|
|
||||||
}
|
|
||||||
// determine if autogenerated section (!exist = N)
|
// determine if autogenerated section (!exist = N)
|
||||||
if ((cbittst & AUTOGEN) > 1)
|
if ((cbittst & AUTOGEN) > 1)
|
||||||
{
|
{
|
||||||
@ -490,6 +484,17 @@ namespace DataLoader
|
|||||||
ci.AddItem("SubSection", "AutoIndent", "N");
|
ci.AddItem("SubSection", "AutoIndent", "N");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (cbittst == ' ')
|
||||||
|
cbittst = '\0';
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// Both step & word doc sections can be in toc
|
||||||
|
// determine if TOC element (!exist = N)
|
||||||
|
if ((cbittst & TOC) > 1)
|
||||||
|
{
|
||||||
|
ci.AddItem("Section", "TOC", "Y");
|
||||||
|
}
|
||||||
|
}
|
||||||
if (!didsub && sequence.Substring(4, 1) == "N")
|
if (!didsub && sequence.Substring(4, 1) == "N")
|
||||||
{
|
{
|
||||||
ci.AddItem("SubSection", "PH", "N");
|
ci.AddItem("SubSection", "PH", "N");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user