PR: 26423 Submitted by: Simon Pepping git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197260 13f79535-47bb-0310-9956-ffa450edef68pull/30/head
*/ | */ | ||||
public static Property.Maker[] getGenericMappings() { | public static Property.Maker[] getGenericMappings() { | ||||
FOPropertyMapping gp = new FOPropertyMapping(); | FOPropertyMapping gp = new FOPropertyMapping(); | ||||
gp.createGenerics(); | |||||
// Create the shorthand first, they are referenced by the real properties. | // Create the shorthand first, they are referenced by the real properties. | ||||
gp.createShorthandProperties(); | gp.createShorthandProperties(); | ||||
gp.createGenerics(); | |||||
gp.createAccessibilityProperties(); | gp.createAccessibilityProperties(); | ||||
gp.createAbsolutePositionProperties(); | gp.createAbsolutePositionProperties(); | ||||
gp.createAuralProperties(); | gp.createAuralProperties(); |
inherited = generic.inherited; | inherited = generic.inherited; | ||||
defaultValue = generic.defaultValue; | defaultValue = generic.defaultValue; | ||||
percentBase = generic.percentBase; | percentBase = generic.percentBase; | ||||
if (shorthands != null) { | |||||
if (generic.shorthands != null) { | |||||
shorthands = new Property.Maker[generic.shorthands.length]; | shorthands = new Property.Maker[generic.shorthands.length]; | ||||
System.arraycopy(shorthands, 0, generic.shorthands, 0, shorthands.length); | System.arraycopy(shorthands, 0, generic.shorthands, 0, shorthands.length); | ||||
} | } |