Bug 47355 - TableCell to expose TableCellDescriptor
Summary: TableCell to expose TableCellDescriptor
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: HWPF (show other bugs)
Version: unspecified
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-11 09:55 UTC by Max Stocker
Modified: 2009-06-19 07:02 UTC (History)
0 users



Attachments
A patch to TableCell that adds a method to return the TableCellDescriptor (2.49 KB, patch)
2009-06-11 09:59 UTC, Max Stocker
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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