Separate Boxed Cautions/notes & AdjHighLevelTab for High Level RNO location

This commit is contained in:
Kathy Ruffing 2013-08-20 11:18:11 +00:00
parent a75e3cdebd
commit 3f3b835538

View File

@ -92,7 +92,11 @@ namespace Volian.Print.Library
}
else // Change Box Style
{
if (bxIndx != null)
bool handleSeparateBox = true;
if (childItemInfo.IsCaution && !childItemInfo.FormatStepData.SeparateBoxCautions) handleSeparateBox = false;
if (childItemInfo.IsNote && !childItemInfo.FormatStepData.SeparateBox) handleSeparateBox = false;
if (bxIndx != null && (handleSeparateBox || bxIndex != bxIndx))
{
if (box != null)
{
@ -1209,8 +1213,10 @@ namespace Volian.Print.Library
}
else if (mytab != null)
{
mytab.XOffset += mytab.Width;
float adjusttab = (itemInfo.MyParent.IsHigh) ? itemInfo.FormatStepData.AdjHighLevelTab??0 : 0;
mytab.XOffset += (mytab.Width + adjusttab);
XOffset = mytab.XOffset + mytab.Width;
if (adjusttab != 0) Width += (mytab.Width);
}
}
if(adjustAgain)