You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2010/03/15 18:55:26 UTC
DO NOT REPLY [Bug 48916] New: font.color problem in RichTextRun
copied from one SlideShow to another
https://issues.apache.org/bugzilla/show_bug.cgi?id=48916
Summary: font.color problem in RichTextRun copied from one
SlideShow to another
Product: POI
Version: 3.6
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: HSLF
AssignedTo: dev@poi.apache.org
ReportedBy: jeffrey.l.lavezzo@saic.com
Created an attachment (id=25129)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25129)
Example code to illustrate the problem
Using the attached Java and PPTs, the copied text in the output PPT has
font.color of white, even though the original is black and efforts are made to
make the color black.
This seems to be specific to the version of PowerPoint used to make the slides,
which is my customer's domain. I can make PPTs in OpenOffice that do not show
this problem.
Also, and this can be separated out into another bug if appropriate, when
setting the font.color of RichTextRuns in a slides MasterSlide I get a NPE.
This is also in the example code.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
DO NOT REPLY [Bug 48916] font.color problem in RichTextRun copied
from one SlideShow to another
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48916
--- Comment #2 from Jeff Lavezzo <je...@saic.com> 2010-03-15 17:57:10 UTC ---
Created an attachment (id=25131)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25131)
The 'merge' PPT to use with the example code.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
DO NOT REPLY [Bug 48916] font.color problem in RichTextRun copied
from one SlideShow to another
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48916
Yegor Kozlov <ye...@dinom.ru> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from Yegor Kozlov <ye...@dinom.ru> 2010-04-03 15:09:50 UTC ---
The problem should be fixed in r930525
The Invalid Color issue was caused by improper caching of decoded ppt records.
Two objects (TextShape and EscherTextboxWrapper) cached different instances of
the same logical records which resulted in incorrect text colors in the
resulting ppt.
The NPE was caused by null parent in parent-aware records. Propagation of
parent to parent-aware descendants is automatic, it happens when constructing
SlideShow. Your bug helped to discover a special case which was not covered.
Regards,
Yegor
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
DO NOT REPLY [Bug 48916] font.color problem in RichTextRun copied
from one SlideShow to another
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48916
--- Comment #1 from Jeff Lavezzo <je...@saic.com> 2010-03-15 17:56:20 UTC ---
Created an attachment (id=25130)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25130)
The 'template' PPT file for use with the example code
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org