Exemple #1
0
        public static Point ConvertContainer(ExporterCollection myList, ISimpleContainer container, int leftPos, Point curPos)
        {
            ExporterCollection ml = BaseConverter.ConvertItems(container, curPos);

            myList.AddRange(ml);
            return(new Point(leftPos, curPos.Y + container.Size.Height));
        }
		protected  Point ConvertStandardRow(ExporterCollection mylist,ISimpleContainer simpleContainer)
		{
			Console.WriteLine("ConvertStandardRow");
			var rowSize = simpleContainer.Size;
			
			Point curPos = new Point(DefaultLeftPosition, CurrentPosition.Y);
			ExporterCollection ml = BaseConverter.ConvertItems (simpleContainer, curPos);
			EvaluationHelper.EvaluateRow(Evaluator,ml);
			
			mylist.AddRange(ml);
		
			curPos = new Point (DefaultLeftPosition,CurrentPosition.Y + simpleContainer.Size.Height + 2 * GlobalValues.GapBetweenContainer);
			simpleContainer.Size = rowSize;
			return curPos;
			
		}