linestyles = defineShape.shapeWithStyle.linestyles;
}
public void PlaceObject2(Attributes attributes) throws SAXParseException
{
PlaceObject tag = new PlaceObject(stagPlaceObject2);
tag.depth = parseInt(getAttribute(attributes, "depth"));
if (hasAttribute(attributes, "className"))
{
tag.setClassName(getAttribute(attributes, "className"));
}
if (hasAttribute(attributes, "hasImage"))
{
tag.setHasImage(getAttribute(attributes, "hasImage").equals("true"));
}
if (hasAttribute(attributes, "idref"))
{
int idref = parseInt(getAttribute(attributes, "idref"));
tag.setRef(findCharacter(idref));
}
if (hasAttribute(attributes, "name"))
{
tag.setName(getAttribute(attributes, "name"));
}
if (hasAttribute(attributes, "clipDepth"))
{
tag.setClipDepth(parseInt(getAttribute(attributes, "clipDepth")));
}
if (hasAttribute(attributes, "ratio"))
{
tag.setRatio(parseInt(getAttribute(attributes, "ratio")));
}
if (hasAttribute(attributes, "cxform"))
{
tag.setCxform(parseCXForm(getAttribute(attributes, "cxform")));
}
if (hasAttribute(attributes, "matrix"))
{
tag.setMatrix(parseMatrix(getAttribute(attributes, "matrix")));
}
stack.push(tag);
text = new StringBuilder();
}