Exemple #1
0
            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;
                }
            }
Exemple #2
0
 internal CCField(CCreator parent, ITisFieldData field) :
Exemple #3
0
 public CCField(ITisFieldData field)
     : this(null, field)
 {
 }