Remove Unnecessary debug message
Fixed logic to find external transition when attempting to delete a procedure Turn-on Table Shrinking Generically
This commit is contained in:
parent
5b07290ccd
commit
1463ec8853
@ -2631,7 +2631,7 @@ namespace VEPROMS.CSLA.Library
|
||||
#region Lookups and More Related
|
||||
private ItemInfoList Lookup(int fromType, ref ItemInfoList itemInfoList)
|
||||
{
|
||||
Console.WriteLine(itemInfoList);
|
||||
//Console.WriteLine(itemInfoList);
|
||||
if (itemInfoList == null)
|
||||
itemInfoList = Lookup(fromType);
|
||||
return itemInfoList;
|
||||
|
@ -379,8 +379,8 @@ namespace Volian.Controls.Library
|
||||
{
|
||||
if (rs.ReplaceWord.Contains("{RO}"))
|
||||
{
|
||||
if (_MyItemInfo.InList(34770,34771,34782,34882,34886,34916,34891,35121,36361))
|
||||
Console.WriteLine("FixDiffUnitROReplaceWords jcb");
|
||||
//if (_MyItemInfo.InList(34770,34771,34782,34882,34886,34916,34891,35121,36361))
|
||||
// Console.WriteLine("FixDiffUnitROReplaceWords jcb");
|
||||
string oldvalue = text;
|
||||
string replaceWord = rs.ReplaceWord;
|
||||
string replaceWord2 = Regex.Replace( replaceWord,@"(\{RO\})([0-9,]+)(\{RO\})",@"\\v <START]\\v0 ($2)\\v");
|
||||
|
@ -482,7 +482,7 @@ namespace Volian.Controls.Library
|
||||
// this line of code was moved before the find for the indent so that
|
||||
// the window gets resized if the indent changes the height, i.e. more line(s) in window.
|
||||
AddEventHandlers();
|
||||
if (MyItemInfo.InList(186722)) Console.WriteLine("here");
|
||||
//if (MyItemInfo.InList(186722)) Console.WriteLine("here");
|
||||
if ((indchar = Find(indentToken, indchar, RichTextBoxFinds.None)) >= 0)
|
||||
{
|
||||
int nindents = 0;
|
||||
|
@ -2266,7 +2266,7 @@ namespace Volian.Controls.Library
|
||||
{
|
||||
if (ex.Message.Contains("has External Transitions and has no next step"))
|
||||
{
|
||||
using (TransitionInfoList exTrans = TransitionInfoList.GetExternalTransitions(ii.ItemID))
|
||||
using (TransitionInfoList exTrans = TransitionInfoList.GetExternalTransitionsToChildren(ii.ItemID))
|
||||
{
|
||||
DialogResult ans = MessageBox.Show("Transitions exist to this step and cannot be adjusted automatically." +
|
||||
"\r\n\r\nDo you want to be placed on the " + (exTrans.Count > 1 ? "first " : "") + "substep with the problem Transition?" +
|
||||
|
@ -1068,14 +1068,14 @@ namespace Volian.Print.Library
|
||||
case TextAlignEnum.LeftBottom:
|
||||
case TextAlignEnum.RightBottom:
|
||||
hAdjust = Math.Max(0,h - (mult * HContent) )-1;
|
||||
Console.WriteLine("\"Bottom\",{0},{1},{2}", h, HContent, hAdjust);
|
||||
//Console.WriteLine("\"Bottom\",{0},{1},{2}", h, HContent, hAdjust);
|
||||
break;
|
||||
case TextAlignEnum.CenterCenter:
|
||||
case TextAlignEnum.GeneralCenter:
|
||||
case TextAlignEnum.LeftCenter:
|
||||
case TextAlignEnum.RightCenter:
|
||||
hAdjust = Math.Max(0,(h - (mult * HContent)) / 2)-1;
|
||||
Console.WriteLine("\"Middle\",{0},{1},{2}", h, HContent, hAdjust);
|
||||
//Console.WriteLine("\"Middle\",{0},{1},{2}", h, HContent, hAdjust);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
@ -26,7 +26,8 @@ namespace Volian.Print.Library
|
||||
Phase7=64,
|
||||
Phase8=128,
|
||||
Phase9=256,
|
||||
Phase10=512
|
||||
Phase10=512,
|
||||
AllPhases=1+2+4+8+16+32+64+128+256+512
|
||||
}
|
||||
public class Rtf2Pdf
|
||||
{
|
||||
@ -114,7 +115,7 @@ namespace Volian.Print.Library
|
||||
return (c == ' ');
|
||||
}
|
||||
}
|
||||
private static TableScrunching _AllowTableScrunching = TableScrunching.None; // RHM20150507 Table Scrunch
|
||||
private static TableScrunching _AllowTableScrunching = TableScrunching.AllPhases; // RHM20150507 Table Scrunch
|
||||
public static TableScrunching AllowTableScrunching
|
||||
{
|
||||
get { return Rtf2Pdf._AllowTableScrunching; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user