poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kiwiwi...@apache.org
Subject svn commit: r1717020 - in /poi: site/src/documentation/content/xdocs/status.xml trunk/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFSlide.java
Date Sun, 29 Nov 2015 01:23:54 GMT
Author: kiwiwings
Date: Sun Nov 29 01:23:54 2015
New Revision: 1717020

URL: http://svn.apache.org/viewvc?rev=1717020&view=rev
Log:
#46210 - Title placeholder not recognized by Powerpoint 2003

Modified:
    poi/site/src/documentation/content/xdocs/status.xml
    poi/trunk/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFSlide.java

Modified: poi/site/src/documentation/content/xdocs/status.xml
URL: http://svn.apache.org/viewvc/poi/site/src/documentation/content/xdocs/status.xml?rev=1717020&r1=1717019&r2=1717020&view=diff
==============================================================================
--- poi/site/src/documentation/content/xdocs/status.xml (original)
+++ poi/site/src/documentation/content/xdocs/status.xml Sun Nov 29 01:23:54 2015
@@ -40,6 +40,7 @@
     </devs>
 
     <release version="3.14-beta1" date="2015-11-??">
+        <action dev="PD" type="fix" fixes-bug="46210">Title placeholder not recognized
by Powerpoint 2003</action>
         <action dev="PD" type="fix" fixes-bug="58663">Pictures cannot be removed from
a slide</action>
         <action dev="PD" type="add" fixes-bug="58636">Replace ClientAnchor anchor type
constants with AnchorType enum</action>
         <action dev="PD" type="add" fixes-bug="58644">Replace Sheet.setZoom(num, den)
with Sheet.setZoom(scale)</action>

Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFSlide.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFSlide.java?rev=1717020&r1=1717019&r2=1717020&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFSlide.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFSlide.java Sun Nov 29 01:23:54
2015
@@ -43,6 +43,7 @@ import org.apache.poi.sl.draw.DrawFactor
 import org.apache.poi.sl.draw.Drawable;
 import org.apache.poi.sl.usermodel.Notes;
 import org.apache.poi.sl.usermodel.ShapeType;
+import org.apache.poi.sl.usermodel.SimpleShape.Placeholder;
 import org.apache.poi.sl.usermodel.Slide;
 
 /**
@@ -197,6 +198,7 @@ public final class HSLFSlide extends HSL
 	public HSLFTextBox addTitle() {
 		HSLFPlaceholder pl = new HSLFPlaceholder();
 		pl.setShapeType(ShapeType.RECT);
+		pl.setPlaceholder(Placeholder.TITLE);
 		pl.setRunType(TextHeaderAtom.TITLE_TYPE);
 		pl.setText("Click to edit title");
 		pl.setAnchor(new java.awt.Rectangle(54, 48, 612, 90));



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message