Пример #1
0
        void FillInternal(IPrintableObject item)
        {
            var dbItem = item as IDataItem;

            if (dbItem != null)
            {
                dbItem.DBValue = String.Empty;
                dbItem.DBValue = ReadValueFromProperty(dbItem.ColumnName);
                if (String.IsNullOrEmpty(dbItem.DataType))
                {
                    dbItem.DataType = SetTypeFromProperty(dbItem.ColumnName).ToString();
                }
            }
        }
        public static IExportColumn CreateItem(IPrintableObject item)
        {
            var export = item.CreateExportColumn();

            return(export);
        }
 public void AddPrintableObject(IPrintableObject printableObject) {
     this.printableObjectList.Add(printableObject);
 }
Пример #4
0
		void FillInternal(IPrintableObject item)
		{
			var dbItem = item as IDataItem;
			if (dbItem != null) {
				dbItem.DBValue = String.Empty;
				dbItem.DBValue = ReadValueFromProperty(dbItem.ColumnName);
				if (String.IsNullOrEmpty(dbItem.DataType)) {
					dbItem.DataType = SetTypeFromProperty(dbItem.ColumnName).ToString();
				}
			}
		}
Пример #5
0
		public Size Measure(IPrintableObject reportItem, Graphics graphics)
		{
			return MeasurementService.Measure((ITextItem)reportItem,graphics);
		}
Пример #6
0
		public Size Measure(IPrintableObject reportItem,Graphics graphics)
		{
			return reportItem.Size;
		}
Пример #7
0
		public static IExportColumn CreateItem (IPrintableObject item) {
			var export = item.CreateExportColumn();
			return export;
		}