Bug 43721 - HSSF Record Id 0x1050 defines Chart Title Format
Summary: HSSF Record Id 0x1050 defines Chart Title Format
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: 3.0-dev
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---
Assignee: POI Developers List
Depends on:
Reported: 2007-10-29 06:57 UTC by Russ Rogers
Modified: 2007-11-12 13:50 UTC (History)
0 users

Sample workbook with Formatted Graph Title (14.00 KB, application/octet-stream)
2007-10-29 07:05 UTC, Russ Rogers
Prototype class defintiion (3.80 KB, text/plain)
2007-10-29 07:24 UTC, Russ Rogers

Note You need to log in before you can comment on or make changes to this bug.
Description Russ Rogers 2007-10-29 06:57:28 UTC
The HSSF Record Type Id=0x1050 describes the font formatting for chart 
titles.  This record will only be present if the Chart Title contains multiple 
font formats.  The record is variable length, with the first short containing 
the number of format changes.  Each format change consists of two shorts, the 
offset from the beginning of the title string and the font index that is 
should be applied to that text.
Comment 1 Russ Rogers 2007-10-29 07:05:12 UTC
Created attachment 21055 [details]
Sample workbook with Formatted Graph Title
Comment 2 Russ Rogers 2007-10-29 07:24:58 UTC
Created attachment 21056 [details]
Prototype class defintiion

Sample code for a class to handle the 0x1050 record type.  The modifyFormatRun
method is one I needed to build a prototype for my use and would need to be
enhanced to make it production-ready.
Comment 3 Nick Burch 2007-11-12 13:50:27 UTC
Thanks for this code. I've added it to svn, along with a sample test. Please
feel free to open a new bug if you've got some new code to further extend the
capabilities of record class, or to improve the test.