public CCField(CCreator parent, ITisFieldData field) : #endif this(parent, field != null? field.Name:String.Empty, field != null? field.Contents:String.Empty, field != null? field.Confidence:short.MinValue, field != null? field.FieldBoundingRect:new TIS_RECT(), parent == null || !parent.CurrentProfile.IgnoreExceptions ? CCUtils.GetSpecialTags(field) : null, parent == null || !parent.CurrentProfile.IgnoreNamedUserTags ? CCUtils.GetNamedUserTags(field, false) : null, parent == null || !parent.CurrentProfile.IgnoreUserTags ? CCUtils.GetUserTags(field, true) : null) { this.EflowOwner = field; this.ParentCollection = field.ParentCollection; this.ParentForm = field.ParentForm; this.ParentPage = field.ParentPage; this.ParentGroup = field.ParentFieldGroup; this.ParentFieldArray = field.ParentFieldArray; this.Index = field.TableRepetitionIndex; this.ParentTable = field.ParentFieldTable; if (field.ParentFieldArrayExists) { this.NamedParent = field.ParentFieldArray.Name; } else if (field.ParentFieldGroupExists) { this.NamedParent = field.ParentFieldGroup.Name; } }
internal CCField(CCreator parent, ITisFieldData field) :
public CCField(ITisFieldData field) : this(null, field) { }