diff --git a/src/documentation/content/xdocs/hslf/how-to-shapes.xml b/src/documentation/content/xdocs/hslf/how-to-shapes.xml
index 21cdb00d1..f20bcef03 100644
--- a/src/documentation/content/xdocs/hslf/how-to-shapes.xml
+++ b/src/documentation/content/xdocs/hslf/how-to-shapes.xml
@@ -18,6 +18,7 @@
How to get shapes contained in a particular slide
Drawing a shape on a slide
How to add/retrieve pictures
+ How to set slide title
Features
@@ -62,7 +63,7 @@
The following pictute shows the class tree of HSLF shapes:
-
+
The following fragment demonstrates how to iterate over shapes for each slide.
@@ -209,6 +210,28 @@
+
+ How to set slide title
+
+ SlideShow ppt = new SlideShow();
+ Slide slide = ppt.createSlide();
+ TextBox title = slide.addTitle();
+ title.setText("Hello, World!");
+
+ //save changes
+ FileOutputStream out = new FileOutputStream("slideshow.ppt");
+ wb.write(out);
+ out.close();
+
+
+ Below is the equivalent code in PowerPoint VBA:
+
+
+ Set myDocument = ActivePresentation.Slides(1)
+ myDocument.Shapes.AddTitle.TextFrame.TextRange.Text = "Hello, World!"
+
+
+