You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by rr...@us.imshealth.com on 2007/10/12 14:09:57 UTC
Record Id 0x1050
For a proof-of-concept, I needed to change chart titles that are
formatted. I found that when chart titles are formatted, there is an
additional record type (id=0x1050) that describes the formatting runs.
It's a variable length record with the first short containing the number
of format runs and the remainder being sets of 2 shorts with pairs of
starting position and font index number.
I created a quick class to handle these and can clean it up / submit it
if there is interest.
-Russ Rogers
Re: Record Id 0x1050
Posted by Nick Burch <ni...@torchbox.com>.
On Fri, 12 Oct 2007, rrogers@us.imshealth.com wrote:
> For a proof-of-concept, I needed to change chart titles that are
> formatted. I found that when chart titles are formatted, there is an
> additional record type (id=0x1050) that describes the formatting runs.
> It's a variable length record with the first short containing the number
> of format runs and the remainder being sets of 2 shorts with pairs of
> starting position and font index number.
It'd be great to include this in POI. What we'd need is:
* The class(es)
* A sample spreadsheet that includes one of these records
* A quick unit test that opens up the sample file, reads out the correct
original info, makes a change to it, and checks that things get
serialised out correctly
If you do have a chance to write this, just open a new bug in bugzilla
with [patch] in the title, and upload these. Someone can then review and
commit them
Cheers
Nick
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org