RNO xoffset
RNO xoffset & “Improved Box with Paragraph” printing “Improved Box with Paragraph” box location fix possible null reference for determining auto indent of meta-sections Calvert: using format flag IdentWidth in defining tab width if it is set in format file
This commit is contained in:
parent
80315d2657
commit
5cc512234e
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -2245,9 +2245,9 @@ namespace Volian.Print.Library
|
|||||||
offset += (float)formatInfo.PlantFormat.FormatData.SectData.SectionNumber.Pos;
|
offset += (float)formatInfo.PlantFormat.FormatData.SectData.SectionNumber.Pos;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
float autoIndent = 0;
|
|
||||||
SectionConfig sc = itemInfo.MyParent.MyConfig as SectionConfig;
|
SectionConfig sc = itemInfo.MyParent.MyConfig as SectionConfig;
|
||||||
offset = (sc != null && sc.SubSection_AutoIndent == "Y") ? MyParent.XOffset : MyParent.MyTab.XOffset;
|
offset = (sc != null && sc.SubSection_AutoIndent == "Y") ? MyParent.XOffset
|
||||||
|
: (MyParent.MyTab != null)?MyParent.MyTab.XOffset:XOffset;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -183,6 +183,8 @@ namespace Volian.Print.Library
|
|||||||
float? tPtPerChar1 = myparent.MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.StepSectionLayoutData.TabPtsPerChar;
|
float? tPtPerChar1 = myparent.MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.StepSectionLayoutData.TabPtsPerChar;
|
||||||
if (tPtPerChar1 != null)
|
if (tPtPerChar1 != null)
|
||||||
Width = (float)tPtPerChar1 * origTab.Length;
|
Width = (float)tPtPerChar1 * origTab.Length;
|
||||||
|
else if ((myparent.MyItemInfo.FormatStepData != null) && (myparent.MyItemInfo.FormatStepData.TabData.IdentWidth ?? 0) > 0)
|
||||||
|
Width = (float)myparent.MyItemInfo.FormatStepData.TabData.IdentWidth;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
origTab = origTab + " ";
|
origTab = origTab + " ";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user