Fixed Calvert bug where an attachment section had a title but no number which caused the title to print too far to the left.
This commit is contained in:
parent
5cd3f11451
commit
d5eca11786
@ -2345,7 +2345,11 @@ namespace Volian.Print.Library
|
||||
|
||||
if (itemInfo.IsFootnote) itemInfo.MyTab = null;
|
||||
|
||||
if (itemInfo.MyTab != null && itemInfo.MyTab.Text != null && itemInfo.MyTab.Text != "")
|
||||
//if (itemInfo.MyTab != null && itemInfo.MyTab.Text != null && itemInfo.MyTab.Text != "")
|
||||
// bug fix - if the section does not have a section number, then we need to build an empty tab for the itemInfo
|
||||
// so that we place the section title in the correct location. so we need to go into this IF code block
|
||||
// even if itemInfo has a MyTab that is an empty string when itemInfo is a section - 2/11/2015
|
||||
if (itemInfo.MyTab != null && itemInfo.MyTab.Text != null && (itemInfo.MyTab.Text != "" || itemInfo.IsSection))
|
||||
{
|
||||
float localXOffset = XOffset;
|
||||
bool doprint = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user