4.2. Parsing a mixed property value

Example: <fo:region-body margin="4pt+20%"/>, property being parsed: margin="4pt+20%", propId = 134.

PropertyParser.parseProperty

return the RelativeNumericProperty:

 prop = "(4000mpt +20.0%)"
 prop = {
    operation: 1
    op1: instance of org.apache.fop.fo.properties.FixedLength(id=744)
    op2: instance of org.apache.fop.fo.properties.PercentLength(id=757)
    dimension: 1
    org.apache.fop.fo.properties.Property.specVal: null
}

The value 1 for the operation corresponds to RelativeProperty.ADDITION. The value 1 for the dimension indicates that this is a length. PropertyList:

 this = "{margin=[(4000mpt +20.0%)]}"