return new OfficeDocument();
}
// we may have to parse an existing content.xml.
final ResourceKey contextKey = getRootHandler().getContext();
final ResourceManager resourceManager = getRootHandler().getResourceManager();
try
{
final ResourceKey key =
resourceManager.deriveKey(contextKey, "content.xml");
final Resource resource =
resourceManager.create(key, contextKey, JFreeReport.class);
final OfficeDocument report = (OfficeDocument) resource.getResource();
if (report != null)
{
return report;
}