XMLContentDocParser parser;
String properties = itemEntry.getProperties();
boolean itemIsFixedFormat = (properties != null && properties.contains("rendition:layout-pre-paginated"));
parser = new XMLContentDocParser(epack.getZip(), report);
CSSStyleAttributeHandler h = new CSSStyleAttributeHandler(isGlobalFixed, itemIsFixedFormat);
h.setCssHandler(handler);
h.setReport(report);
h.setFileName(fileToParse);
parser.parseDoc(fileToParse, h);
Vector<CSSStyleAttributeHandler.StyleAttribute> styleTags = h.getStyleTagValues();
for (int t = 0; t < styleTags.size(); t++)
{
CSSStyleAttributeHandler.StyleAttribute value = styleTags.elementAt(t);
searchInsideValue(value, tsd, fileToParse);
}
Collection<CSSStyleAttributeHandler.StyleAttribute> styleAttributes = h.getStyleAttributesValues();
for (CSSStyleAttributeHandler.StyleAttribute value : styleAttributes)
{
searchInsideValue(value, tsd, fileToParse);
report.message(MessageId.ACC_013, new MessageLocation(fileToParse, value.getLine(), value.getColumn(), value.getValue()));
}