Bug 45815 - [PATCH] Fix for extra bullets and bold on text boxes
[PATCH] Fix for extra bullets and bold on text boxes
Status: RESOLVED FIXED
Product: POI
Classification: Unclassified
Component: HSLF
unspecified
PC Mac OS X 10.4
: P2 normal (vote)
: ---
Assigned To: POI Developers List
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2008-09-15 18:17 UTC by Don Boulia
Modified: 2008-09-18 03:59 UTC (History)
0 users



Attachments
Fix for StyleTextPropAtom bit mask (953 bytes, patch)
2008-09-15 18:17 UTC, Don Boulia
Details | Diff
input test case powerpoint file (130.50 KB, application/vnd.ms-powerpoint)
2008-09-15 18:17 UTC, Don Boulia
Details
Simple java test case that reads in a ppt file and writes it out unchanged (2.23 KB, text/plain)
2008-09-15 18:18 UTC, Don Boulia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Don Boulia 2008-09-15 18:17:11 UTC
Created attachment 22584 [details]
Fix for StyleTextPropAtom bit mask

When reading and writing out the sample input file (no changes), the resulting output file will have bullets and bold on text that originally was not bulleted.  Looking at the file differences, the source of the issue seems to be missing bits in the bit mask code in StyleTextPropAtom.  The included patch preserves these bits and produces a file identical to the input file on output.
Comment 1 Don Boulia 2008-09-15 18:17:38 UTC
Created attachment 22585 [details]
input test case powerpoint file
Comment 2 Don Boulia 2008-09-15 18:18:44 UTC
Created attachment 22586 [details]
Simple java test case that reads in a ppt file and writes it out unchanged