Bug 47355

Summary: TableCell to expose TableCellDescriptor
Product: POI Reporter: Max Stocker <maxstocker>
Component: HWPFAssignee: POI Developers List <dev>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: A patch to TableCell that adds a method to return the TableCellDescriptor

Description Max Stocker 2009-06-11 09:55:48 UTC
Currently org.apache.poi.hwpf.usermodel.TableCell has a private field of type TableCellDescriptor. Some of the fields of TableCellDescriptor are exposed via the TableCell API but not all.

In my particular case having access to more of the fields from TableCellDescriptor would be helpful.

I would like to add a method called getDescriptor to the TableCell class that returns the private TableCellDescriptor
Comment 1 Max Stocker 2009-06-11 09:59:46 UTC
Created attachment 23797 [details]
A patch to TableCell that adds a method to return the TableCellDescriptor

This does all I need. 

Does adding a getter method require a unit test? I can't imagine how this breaks anything...
Comment 2 Yegor Kozlov 2009-06-19 07:02:05 UTC
Applied in r786511

Thanks,
Yegor