fixed the positioning of some checkoff lines next to substep tabs

This commit is contained in:
John Jenko 2014-02-07 20:20:13 +00:00
parent 4378749145
commit 7994cb1cf4

View File

@ -1729,8 +1729,12 @@ namespace Volian.Print.Library
// DocVersionInfo dvi = proc.ActiveParent as DocVersionInfo;
DocVersionInfo dvi = proc.MyDocVersion;
ROFstInfo rofst = dvi.DocVersionAssociations[0].MyROFst;
rofst.docVer = dvi;
ROFSTLookup lookup = rofst.ROFSTLookup;
/** Jim's changes
//rofst.docVer = dvi;
ROFSTLookup lookup = rofst.GetROFSTLookup(dvi);
***/
string linkInfoText = itemInfo.MyContent.Text.Replace(@"\v ", "");
Match m = Regex.Match(linkInfoText, @"(.*)[#]Link:([A-Za-z]*):(.*)");
if (m.Groups.Count < 4)
@ -1915,6 +1919,7 @@ namespace Volian.Print.Library
{
YOffset = ChildrenRight[0].YOffset;
if (MyTab != null) MyTab.YOffset = ChildrenRight[0].YOffset;
if (PartsRight.Count > 0) PartsRight[0].YOffset = ChildrenRight[0].YOffset;
}
}
// Need code to determine if the table will overlap the Right Column if it does then