This commit is contained in:
2009-11-13 13:30:19 +00:00
parent 57fc6fa1a7
commit 236f2b9fe9
3 changed files with 106 additions and 8 deletions

View File

@@ -889,7 +889,8 @@ namespace VEPROMS.CSLA.Library
ContentInfo cont = MyContent;
//string number = cont.Number;
string number = DisplayNumber;
if (cont.Type >= 20000) number = Ordinal.ToString() + ".";
//if (cont.Type >= 20000) number = Ordinal.ToString() + ".";
if (cont.Type >= 20000) number = MyTab.CleanText;
return string.Format("{0} {1}", number, DisplayText).Trim();
//return string.Format("{0} {1}", number, cont.Text).Trim();
//return string.Format("{0} {1}", cont.Number, cont.Text);
@@ -1503,7 +1504,7 @@ namespace VEPROMS.CSLA.Library
protected bool _TagsSetup = false;
public virtual void SetupTags()
{
_MyTab = new Tab(_ActiveFormat.PlantFormat.FormatData.Font);
_MyTab = new Tab(ActiveFormat.PlantFormat.FormatData.Font);
_MyHeader = null;
_MyFooter = null;
_MyTab.CleanText = DisplayNumber;