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 2008/05/13 09:50:19 UTC

DO NOT REPLY [Bug 44985] New: HSLF: modifying text causes error: Powerpoint can't read this text

https://issues.apache.org/bugzilla/show_bug.cgi?id=44985

           Summary: HSLF: modifying text causes error: Powerpoint can't read
                    this text
           Product: POI
           Version: 3.0-dev
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSLF
        AssignedTo: dev@poi.apache.org
        ReportedBy: sberthouzoz@hotmail.com


Created an attachment (id=21954)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=21954)
Template to modify

Hello everyone,

I have a ppt file as template and I want to replace some parts of text (tagged
between < and >)  of the text in it. Therefore I loop over each slide, get the
TextRuns and RichTextRuns, and call richTextRun.setText(text) for updating the
presentation and keeping the styles.

At the end, I write the SlideShow to a new file. But when I open the output
with PowerPoint, I get an error...
I use POI 3.1-beta1 and PowerPoint2003 SP3 on WindowsXP.


-- 
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 44985] HSLF: modifying text causes error: Powerpoint can' t read this text

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44985


Sylvain Berthouzoz <sb...@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #21955|application/octet-stream    |text/plain
          mime type|                            |




-- 
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 44985] HSLF: modifying text causes error: Powerpoint can' t read this text

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44985





--- Comment #2 from Sylvain Berthouzoz <sb...@hotmail.com>  2008-05-13 00:55:06 PST ---
Created an attachment (id=21956)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=21956)
output produce by POI


-- 
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 44985] HSLF: modifying text causes error: Powerpoint can' t read this text

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44985





--- Comment #1 from Sylvain Berthouzoz <sb...@hotmail.com>  2008-05-13 00:51:13 PST ---
Created an attachment (id=21955)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=21955)
Source code that produce the bug


-- 
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 44985] HSLF: modifying text causes error: Powerpoint can' t read this text

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44985


Yegor Kozlov <ye...@dinom.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #3 from Yegor Kozlov <ye...@dinom.ru>  2008-05-14 05:45:51 PST ---
Fixed in r656252

TextSpecInfoAtom wasn't properly updated when the parent text was changed.

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