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/11/14 13:40:06 UTC

DO NOT REPLY [Bug 46210] New: Title placeholder not recognized by Powerpoint 2003

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

           Summary: Title placeholder not recognized by Powerpoint 2003
           Product: POI
           Version: 3.2-FINAL
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: minor
          Priority: P2
         Component: HSLF
        AssignedTo: dev@poi.apache.org
        ReportedBy: cpuidle@gmx.de


I'm creating a single slide with title. 
However, when I "Apply Style" in Powerpoint, it creates a new title placeholder
for the program-created slide. This does not happen for slides created by
Powerpoint. It seems as if the title placeholder is missing some kind of
attribute that makes Powerpoint recognize it- or it's an powerpoint issue...

Sample:

ppt = new SlideShow();
Slide slide = ppt.createSlide();
slide.addTitle().setText("Management Summary");


-- 
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 46210] Title placeholder not recognized by Powerpoint 2003

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





--- Comment #1 from Andreas Goetz <cp...@gmx.de>  2009-03-20 07:10:49 PST ---
It seems this is not supported yet:

http://article.gmane.org/gmane.comp.jakarta.poi.user/11121/match=placeholder

Yegor wrote:

> It shouldn't be hard to add this functionality. The user code may look like this:
> 
> Slide slide = ppt.createSlide(Slide.LAYOUT_TITLE_AND_TEXT);
> 
> TextShape title = slide.getPlaceholder(Slide.PLACEHOLDER_TITLE);
> title.getTextRun().setText("Hello, World");
> 
> TextShape body = slide.getPlaceholder(Slide.PLACEHOLDER_BODYTEXT);
> title.getTextRun().setText("Here\rAre\rSome\rBullet\rPoints");
> 
> I will see if it can be added.

-- 
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