You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2006/07/02 02:58:32 UTC

DO NOT REPLY [Bug 39943] New: - Suggestion...add HSSF object factory

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39943>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39943

           Summary: Suggestion...add HSSF object factory
           Product: POI
           Version: 2.5
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: enhancement
          Priority: P4
         Component: HSSF
        AssignedTo: poi-dev@jakarta.apache.org
        ReportedBy: wimpleshapers@yahoo.com


Create a POI object factory that would, at a minimum, create cell style and 
font objects based on a configuration file (xml or ini).  This would serve 
three purposes: 1) it would act like an html style sheet and allow you to 
centralize look and feel, 2) would allow for external customization of HSSF 
objects without a recompile, and 3) would remove 5 to 10 lines of code per 
object.  The configuration file could be divided into namespaces (ala log4j), 
allowing for the configuration to be hierarchical (meaning shared objects 
would only have to be defined once).  For example:

   IHSSFObjectFactory factory = HSSFObjectFactory.createFactory("namespace");
   HSSFFont headerFont = factory.createFont("header-font");

I have some sample code, but I'm not sure how I proceed from here.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
Mailing List:    http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/


DO NOT REPLY [Bug 39943] - Suggestion...add HSSF object factory

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39943>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39943


yegor@dinom.ru changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE




------- Additional Comments From yegor@dinom.ru  2007-01-12 03:00 -------


*** This bug has been marked as a duplicate of 39942 ***

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
Mailing List:    http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/