protected void SetOptimum(Property opt, bool bIsDefault) { optimum = opt; if (!bIsDefault) { bfSet |= OPTSET; } }
protected void SetMaximum(Property max, bool bIsDefault) { maximum = max; if (!bIsDefault) { bfSet |= MAXSET; } }
protected void SetMinimum(Property minimum, bool bIsDefault) { this.minimum = minimum; if (!bIsDefault) { bfSet |= MINSET; } }
public override Property ConvertProperty( Property p, PropertyList propertyList, FObj fo) { if (p is ToBeImplementedProperty) { return p; } ToBeImplementedProperty val = new ToBeImplementedProperty(PropName); return val; }
public void SetComponent(string sCmpnName, Property cmpnValue, bool bIsDefault) { if (sCmpnName.Equals("length")) { length = cmpnValue; } else if (sCmpnName.Equals("conditionality")) { conditionality = cmpnValue; } }
public override Property ConvertProperty( Property p, PropertyList propertyList, FObj fo) { if (p is ListProperty) { return p; } else { return new ListProperty(p); } }
public void SetComponent(string sCmpnName, Property cmpnValue, bool bIsDefault) { if (sCmpnName.Equals("block-progression-direction")) { bpd = cmpnValue; } else if (sCmpnName.Equals("inline-progression-direction")) { ipd = cmpnValue; } }
public override Property ConvertProperty( Property p, PropertyList propertyList, FObj fo) { if (p is NumberProperty) { return p; } Number val = p.GetNumber(); if (val != null) { return new NumberProperty(val); } return ConvertPropertyDatatype(p, propertyList, fo); }
public override Property ConvertProperty( Property p, PropertyList propertyList, FObj fo) { if (p is ColorTypeProperty) { return p; } ColorType val = p.GetColorType(); if (val != null) { return new ColorTypeProperty(val); } return ConvertPropertyDatatype(p, propertyList, fo); }
public override void SetComponent(string componentName, Property componentValue, bool isDefault) { if (componentName.Equals("precedence")) { Precedence = componentValue; } else if (componentName.Equals("conditionality")) { Conditionality = componentValue; } else { base.SetComponent(componentName, componentValue, isDefault); } }
public virtual void SetComponent(string sCmpnName, Property cmpnValue, bool bIsDefault) { if (sCmpnName.Equals("minimum")) { SetMinimum(cmpnValue, bIsDefault); } else if (sCmpnName.Equals("optimum")) { SetOptimum(cmpnValue, bIsDefault); } else if (sCmpnName.Equals("maximum")) { SetMaximum(cmpnValue, bIsDefault); } }
public void SetComponent(string sCmpnName, Property cmpnValue, bool bIsDefault) { if (sCmpnName.Equals("within-line")) { setWithinLine(cmpnValue, bIsDefault); } else if (sCmpnName.Equals("within-column")) { setWithinColumn(cmpnValue, bIsDefault); } else if (sCmpnName.Equals("within-page")) { setWithinPage(cmpnValue, bIsDefault); } }
public override Property ConvertProperty( Property p, PropertyList propertyList, FObj fo) { if (IsAutoLengthAllowed()) { string pval = p.GetString(); if (pval != null && pval.Equals("auto")) { return new LengthProperty(new AutoLength()); } } if (p is LengthProperty) { return p; } Length val = p.GetLength(); if (val != null) { return new LengthProperty(val); } return ConvertPropertyDatatype(p, propertyList, fo); }
public void setWithinLine(Property withinLine, bool bIsDefault) { this.withinLine = withinLine; }
public void addProperty(Property prop) { list.Add(prop); }
public ListProperty(Property prop) { list = new ArrayList(); list.Add(prop); }
protected void setWithinColumn(Property withinColumn, bool bIsDefault) { this.withinColumn = withinColumn; }
public void setWithinPage(Property withinPage, bool bIsDefault) { this.withinPage = withinPage; }
internal Property GetSubpropValue( string propertyName, Property p, string subpropName) { PropertyMaker maker = FindMaker(propertyName); if (maker != null) { return maker.GetSubpropValue(p, subpropName); } else { return null; } }