Summary: | Pluggable area creation: AreaFactory | ||
---|---|---|---|
Product: | Fop - Now in Jira | Reporter: | Tibor Vyletel <tivy> |
Component: | general | Assignee: | fop-dev |
Status: | NEW --- | ||
Severity: | enhancement | CC: | tivy |
Priority: | P3 | ||
Version: | trunk | ||
Target Milestone: | --- | ||
Hardware: | Other | ||
OS: | other | ||
Attachments: | AreaFactory patch |
Description
Tibor Vyletel
2004-11-04 11:31:06 UTC
Created attachment 13325 [details]
AreaFactory patch
A more complete 'brief' description of this is in this POST to fop-dev: http://marc.theaimsgroup.com/?l=fop-dev&m=109956963917611&w=2 In AbstractLayoutManager: + protected AreaFactory getAreaFactory() { + return (userAgent != null) ? userAgent.getAreaFactory() : null; + } BTW, we can make AreaFactory a ThreadLocal in AbstractLayoutManager, correct? That way we can avoid .getAreaFactory() in FOUserAgent, also save the function call. I understand we couldn't do ThreadLocal for FOEventHandler (potentially recursive FO documents within the same process would need a different instances of FOEventHandler) but this may be a good use-case for ThreadLocal here. |