else if (EmbedAttribute.SCALE_GRID_BOTTOM.equals(key))
{
Integer intValue = Integer.parseInt(value);
if (intValue.intValue() < 0)
{
problems.add(new EmbedScalingGridValueProblem(location, EmbedAttribute.SCALE_GRID_BOTTOM, intValue.intValue()));
hadError = true;
}
else
{
intValue *= ISWFConstants.TWIPS_PER_PIXEL;
attributes.put(EmbedAttribute.SCALE_GRID_BOTTOM, intValue);
}
}
else if (EmbedAttribute.SCALE_GRID_LEFT.equals(key))
{
Integer intValue = Integer.parseInt(value);
if (intValue.intValue() < 0)
{
problems.add(new EmbedScalingGridValueProblem(location, EmbedAttribute.SCALE_GRID_LEFT, intValue.intValue()));
hadError = true;
}
else
{
intValue *= ISWFConstants.TWIPS_PER_PIXEL;
attributes.put(EmbedAttribute.SCALE_GRID_LEFT, intValue);
}
}
else if (EmbedAttribute.SCALE_GRID_RIGHT.equals(key))
{
Integer intValue = Integer.parseInt(value);
if (intValue.intValue() < 0)
{
problems.add(new EmbedScalingGridValueProblem(location, EmbedAttribute.SCALE_GRID_RIGHT, intValue.intValue()));
hadError = true;
}
else
{
intValue *= ISWFConstants.TWIPS_PER_PIXEL;
attributes.put(EmbedAttribute.SCALE_GRID_RIGHT, intValue);
}
}
else if (EmbedAttribute.SCALE_GRID_TOP.equals(key))
{
Integer intValue = Integer.parseInt(value);
if (intValue.intValue() < 0)
{
problems.add(new EmbedScalingGridValueProblem(location, EmbedAttribute.SCALE_GRID_TOP, intValue.intValue()));
hadError = true;
}
else
{
intValue *= ISWFConstants.TWIPS_PER_PIXEL;