Fixed underline tab underline bug (B2012-148)
This commit is contained in:
parent
a23d075403
commit
8352358613
@ -2438,13 +2438,13 @@ namespace VEPROMS.CSLA.Library
|
||||
((prevTbFormat != tbformat && (NextItem.MyContent.Type == (int)(MyContent.Type % 10000))))))
|
||||
{
|
||||
tbformat = tbformat + ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.IdentB;
|
||||
_MyTab.RemovedStyleUnderline = true;
|
||||
TabToIdentBAdjustFont();
|
||||
if (TabToIdentBAdjustFont())
|
||||
_MyTab.RemovedStyleUnderline = true;
|
||||
}
|
||||
return tbformat;
|
||||
}
|
||||
|
||||
private void TabToIdentBAdjustFont()
|
||||
private bool TabToIdentBAdjustFont()
|
||||
{
|
||||
if ((FormatStepData.TabData.Font.Style & E_Style.Underline) > 0)
|
||||
{
|
||||
@ -2452,7 +2452,9 @@ namespace VEPROMS.CSLA.Library
|
||||
if ((FormatStepData.TabData.Font.Style & E_Style.Bold) > 0) style |= FontStyle.Bold;
|
||||
if ((FormatStepData.TabData.Font.Style & E_Style.Italics) > 0) style |= FontStyle.Italic;
|
||||
_MyTab.MyFont.WindowsFont = new Font(FormatStepData.TabData.Font.WindowsFont.FontFamily, FormatStepData.TabData.Font.WindowsFont.Size, style);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
private string AlphabeticalNumbering(int number)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user